Parameter configuration method for graphics programs, parameter configuration device, and vehicle development debugging method

The parameter configuration method for graphics programs simplifies the setup process by using string-based configuration and sequencing operations, addressing inefficiencies and errors in parameter handling, particularly in automotive development.

JP7837600B2Active Publication Date: 2026-03-31SHANGHAI TOSUN TECH LTD
View PDF 6 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2025-02-13
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Existing graphics programs require different parameter objects for different parameter types, leading to inefficiencies in development due to the need for manual variable assignment and increased risk of parameter mismatch errors, particularly in automotive development.

Method used

A parameter configuration method and system that allows users to configure parameters using strings, performing sequencing and desequencing operations to simplify the parameter setup process, eliminating the need for manual variable assignment and improving development efficiency.

Benefits of technology

Enhances development efficiency by allowing direct string-based parameter configuration, reducing errors and simplifying the setup process, especially in automotive development scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007837600000010
    Figure 0007837600000010
  • Figure 0007837600000011
    Figure 0007837600000011
  • Figure 0007837600000012
    Figure 0007837600000012
Patent Text Reader

Abstract

To provide a vehicle software development technology, specifically, a parameter configuration method and apparatus for a graphics program, and a vehicle development debug method.SOLUTION: A parameter configuration method for a graphics program includes configuring a parameter of an execution unit, performing a ranking operation on a parameter configuration character string related to the parameter, and performing a reverse ranking operation on the ranked character string when executing the graphics program to obtain an actual parameter value required for the execution unit in the graphics program.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application claims priority based on Chinese Patent Application No. 202310753619.9 filed on June 25, 2023, and US Patent Application No. 18 / 234,407 filed on August 16, 2023, the entire contents of which are incorporated herein by reference. The present invention belongs to the technical field of vehicle software development technology, and specifically relates to a parameter configuration method and system for a graphics program and a vehicle development debug system.

Background Art

[0002] When a graphics program configures parameters for each execution unit, it is necessary to set an entry corresponding to each different parameter based on the difference in parameter types. Different parameter types need to create different parameter objects, thereby affecting the development efficiency.

[0003] The reason for creating different parameter objects for different parameter types is as follows. A graphics program is generally composed of blocks of different shapes and connection lines with arrows between the blocks. The blocks can be called "execution units", and the connection lines with arrows between the blocks represent the logical or data flow. An execution unit is generally used to execute a specific operation, such as the call of an API function, assignment, logical operation, etc. Those that depend on these operations or are the targets of the operations are called "parameters". Parameters have different types such as numeric type, string type, object type, etc.

Summary of the Invention

[0004] The present invention relates to a parameter configuration method and system for a graphics program and a vehicle development debug system. The parameter configuration method for the graphics program is as follows: The process involves configuring the parameters of an execution unit, performing a serialization operation on the parameter configuration character string associated with those parameters, and displaying the serialized string in a parameter correspondence table associated with those parameters, and This includes performing a deserialization operation on the ordered strings when executing a graphics program to obtain the actual parameter values ​​required for the execution unit in the graphics program.

[0005] Furthermore, the present invention provides a parameter configuration device for graphics programs. This device includes a computer, the computer is A parameter manager is used to configure the parameters of an execution unit and to perform a sequencing operation on the corresponding parameter configuration strings. A parameter correspondence table used to display parameter names and sequential strings, The system is configured to include a parameter value parser, which is used to de-order the above-mentioned ordered strings and obtain the actual parameter values ​​required for the execution unit in the graphics program.

[0006] In a third aspect, the present invention further provides a parameter configuration system for graphics programs. This system includes a parameter configuration device for the graphics program. The aforementioned computer further, It is configured to include a graphics program that includes at least one execution unit, The execution units described above can obtain the actual parameter values ​​required for each.

[0007] In a fourth aspect, the present invention further provides a parameter configuration method for a vehicle graphics program. This method is Configure the vehicle parameters of the execution unit, perform a sequencing operation on the corresponding vehicle parameter configuration strings, and display the sequenced strings in the parameter correspondence table. This includes performing a desequencing operation on the above string when executing the graphics program to obtain the actual vehicle parameter values ​​required for the execution unit in the graphics program.

[0008] In a fifth aspect, the present invention further provides a parameter configuration device for a vehicle graphics program. This device includes a computer, the computer is A vehicle parameter manager is used to configure the vehicle parameters of the execution unit and to perform a sequencing operation on the corresponding vehicle parameter configuration strings. A vehicle parameter correspondence table used to display vehicle parameter names and sequential strings, The system is configured to include a vehicle parameter value analyzer, which is used to perform a de-ordering operation on the above-mentioned ordered strings in order to obtain the actual vehicle parameter values ​​required for the execution unit in the vehicle graphics program.

[0009] In a sixth aspect, the present invention further provides a computer-readable storage medium. This storage medium stores computer-readable instructions (programs), and when these instructions are executed by at least one processor, it causes the parameter configuration method for the graphics program described above to be executed.

[0010] In a seventh aspect, the present invention further provides an electronic device comprising a processor, a readable storage medium, a communication bus, and a communication interface, wherein the processor, the readable storage medium, and the communication interface communicate with each other via the communication bus. The above-mentioned readable storage medium is configured to store a program for executing the parameter configuration method for the graphics program described above, and the processor is configured to execute the program for the parameter configuration method for the graphics program described above.

[0011] In an eighth aspect, the present invention further provides a vehicle development debugging system. This system includes a computer device, a bus adapter, or a programming device. The above computer device includes a processor, a readable storage medium, a communication bus, and a communication interface. The above-mentioned readable storage medium is configured to store a program that executes the parameter configuration method for the graphics program described above. The above-mentioned processor is configured to execute the program for the parameter configuration method for the graphics program described above and generate text code. The above-mentioned processor, the above-mentioned readable storage medium, and the above-mentioned communication interface communicate with the bus adapter via the above-mentioned communication bus. The above processor is further configured to compile at least one executable code of the above text code. The above bus adapter is configured to write compiled executable code to a debugging device, or The above-mentioned writing device is configured to write the compiled executable code to the debugging device.

[0012] In a ninth embodiment, the present invention further provides a computer program product comprising a computer-readable storage medium in which computer-readable program code is stored, the computer-readable program code comprising instructions, the instructions causing at least one processor or at least one computer device to execute a parameter configuration method for a graphics program.

[0013] This invention is intended to provide a brief overview of some of the subject matter described herein. Therefore, it should be understood that the features described above are merely examples and should not be construed as narrowing the scope or essence of the subject matter described herein in any way.

[0014] Other features, aspects, and advantages of the subject matter described herein will become apparent from the following specific embodiments, accompanying drawings, and claims. Other features and advantages of the present invention are described in the following specification and some will become apparent from the specification or will be understood by practicing the invention. The object and other advantages of the present invention are realized and obtained by the structures specifically pointed out in the specification and drawings. To make the above-mentioned objectives, features, and advantages of the present invention easier to understand, preferred embodiments will be given below and described in detail in conjunction with the accompanying drawings. To more clearly describe specific embodiments of the present invention or technical solutions of the prior art, the drawings that are necessary for describing specific embodiments or prior art are briefly described below. The drawings described below are some embodiments of the present invention, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without any creative effort. [Brief explanation of the drawing]

[0015] [Figure 1] Figure 1 shows flowcharts of parameter configuration methods for graphics programs according to several embodiments. [Figure 2] Figure 2 shows a schematic interface diagram after setting the double-type parameter AValue to the local variable v0 in some embodiment cases. [Figure 3] Figure 3 shows a schematic interface diagram after setting the double-type parameter AValue to a CAN signal in some embodiment cases. [Figure 4]FIG. 4 is a schematic block diagram of a parameter configuration device for a graphics program according to some embodiments. [Figure 5] FIG. 5 is a schematic block diagram of a parameter configuration system for a graphics program according to some embodiments. [Figure 6] FIG. 6 is a schematic block diagram of a parameter configuration device for a vehicle graphics program according to some embodiments. [Figure 7] FIG. 7 is a schematic block diagram of an electronic device according to some embodiments. [Figure 8] FIG. 8 is a schematic connection diagram of a vehicle development debug system (bus adapter) according to some embodiments. [Figure 9] FIG. 9 shows a schematic connection diagram of a vehicle development debug system (writing device) according to some embodiments. [Figure 10] FIG. 10 shows a flowchart of a vehicle development debug method according to some embodiments.

Embodiments for Carrying out the Invention

[0016] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions of the present invention with reference to the drawings. It is clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative labor belong to the protection scope of the present invention.

[0017] In related technologies, if a graphics program needs to increase the number of execution units, it must configure the parameters required for that execution unit. Since different types require different parameter inputs, the user must declare a parameter object for each type that requires input and complete the settings for that parameter object before entering the parameters; otherwise, it will cause a parameter mismatch error, thereby preventing the graphics program from running normally.

[0018] The problem is particularly pronounced in graphics programs during the automotive development process. The user must determine whether the vehicle speed is less than or equal to a set vehicle speed C. According to conventional methods, the user must first submit a variable v, then retrieve the current vehicle speed signal via a simulation engine or signal manager provided by the system (for the purposes of this explanation, both the system and the systems mentioned in subsequent content are computer software including graphics programs), and assign the value of the vehicle speed signal to variable v. Simultaneously, the user must submit a variable c, retrieve the value of the set vehicle speed C using a parameter manager provided by the system, and assign it to variable c. Finally, variables v and c must be provided as parameters to the execution unit that determines the vehicle speed. Encountering a large number of execution units with numerous parameters during development significantly reduces development efficiency.

[0019] Therefore, the parameter configuration method for graphics programs provided in at least one embodiment has a very high efficiency advantage, specifically allowing users to directly configure parameters using strings, and simplifying the parameter configuration process to that of text-based parameters. In scenes of batch automatic generation or shared placement, string-type parameters have an inherent speed advantage.

[0020] Specifically, at least one embodiment provides a method for configuring parameters for a graphics program. This method includes configuring the parameters of an execution unit, performing a sequencing operation on the placed parameters, and displaying the sequenced strings in a parameter correspondence table; and, when executing the graphics program, performing a desequencing operation on the sequenced strings to obtain the actual parameter values ​​required for the execution unit in the graphics program.

[0021] To explain, a computer software system including a graphics program, as described in several embodiments, is designed to initially set the parameter configuration type of the execution unit in the graphics program to a string. Furthermore, at least one embodiment simplifies the parameter configuration process to that of text-based parameters by allowing the user to directly configure the parameters using strings.

[0022] Furthermore, some implementations set type prefixes and associate each type prefix with a corresponding parameter type. This allows for different parameter configurations and executions, where the user simply provides a parameter configuration string. The system then performs bidirectional conversion to the corresponding parameter configuration string, eliminating the need to set a variable for each parameter as in the conventional method. Instead, the system first determines the variable value and then transmits the variable to the execution unit. The string placement can be supported by the graphics program's own parameter configuration module. The user can complete the parameter configuration simply by clicking the corresponding add-on button and selecting the required parameter configuration string in the parameter manager, thereby effectively improving the development efficiency of graphics programs.

[0023] Various non-limiting embodiments of the embodiments of this disclosure are described in detail below in reference to the accompanying drawings.

[0024] As shown in Figure 1, several embodiments provide a method for configuring parameters for graphics programs. This method includes the following: In step S101, the parameters of the execution unit are configured, a sequencing operation is performed on the parameter configuration strings associated with those parameters, and the sequenced strings are displayed in the parameter correspondence table associated with those parameters.

[0025] In some embodiments, the above sequencing operation includes the following: In the sequencing process, a sequenced string is obtained by adding a type prefix to the parameter construct string. The expression of the above sequenced string includes a first part and a second part, the first part being the type prefix and the second part being the parameter construct string.

[0026] Specifically, the first and second parts are distinguished by a single delimiter. As a selectable implementation method, the delimiter can be created by adding square brackets, quotation marks, vertical separators, etc., to the first part. Examples of display effects include the [type prefix] parameter string, the "type prefix" parameter string, and the |type prefix| parameter string. For the purposes of explanation, several examples of implementations will be described using the "[type prefix] parameter string" display effect as an example.

[0027] Specifically, the parameter configuration strings associated with each parameter can be set by the user.

[0028] The following will explain the ranking operation method in detail, along with some case examples. As shown in Figure 2, this is an example of how to place a double-type parameter AValue in a graphics program's execution unit. For example, if you need to assign the value of local variable v0 to parameter AValue, you need to add local variable v0 by clicking the corresponding add button (alternatively, the add button may be the arrow button located to the right of the parameter value input box) in the parameter value input box corresponding to parameter AValue. Once the add operation is complete, "[Var]v0" will be displayed in the parameter value input box. [Var] is a type prefix, and this type prefix [Var] indicates that it takes the value of a local variable, and "v0" following the type prefix allows you to place a string in the parameter set by the user. "[Var]v0" is a sequenced string, and its entirety indicates that it takes the value of local variable v0.

[0029] In another case, if it is necessary to assign the value of signal Signal1 of message Message1 from node Node1 in the automotive CAN network Network1 connected to program channel 1 to parameter AValue, it is necessary to click the corresponding add button in the parameter value input box corresponding to parameter AValue to add the value of the CAN signal. As shown in Figure 3, when the add operation is completed, "[CAN]0 / Network1 / Node1 / Message1 / Signal1" will be displayed in the parameter value input box. [CAN] is a type prefix, and this type prefix [CAN] indicates that it takes the value of a CAN signal. The "0 / Network1 / Node1 / Message1 / Signal1" that follows the type prefix is ​​a parameter configuration string, and the meaning of this placement parameter string is as follows: The channel index where the signal is located starts from 0, so 0 represents channel 1, 1 represents channel 2, and so on. Network1 is the network name, Node1 is the node name, Message1 is the message name, and Signal1 is the signal name. "[CAN]0 / Network1 / Node1 / Message1 / Signal1" is a sequenced string, and its entirety represents the value of this CAN signal.

[0030] In some embodiments, the above sequencing operation further includes the following: In the sequencing process, it is first determined whether the parameter construct is a non-immediate number. If it is a non-immediate number, a type prefix is ​​added to the parameter construct to obtain a sequenced string; otherwise, the parameter construct is used as the sequenced string.

[0031] Specifically, non-immediate values ​​are strings that are not immediate values, while immediate values ​​include, for example, numeric types and string types. Numeric types include, for example, 1234, 45.67, and string types include, for example, abcde.

[0032] The following sections will explain in detail, with examples, methods for ranking operations that are not immediate. As an example, consider how to assign a double-type parameter AValue to an execution unit in a graphics program. If you need to assign a numerical size of 100 to the parameter AValue, you can simply enter "100" into the parameter value input box corresponding to parameter AValue; in other words, there is no need to add a type prefix before "100" during the sequencing operation.

[0033] As another example, consider how to configure a string parameter AString in a graphics program's execution unit. If you need to assign the word "Vehicle" to the parameter AString, you can simply enter "Vehicle" into the parameter value input box corresponding to the parameter AString; in other words, there is no need to add a type prefix before "Vehicle" during the ordering operation.

[0034] In step S102, when executing the graphics program, a de-ordering operation is performed on the ordered strings to obtain the actual parameter values ​​required for the execution unit in the graphics program.

[0035] In some embodiments, when executing the graphics program, the de-ordering of the ordered strings includes, in the de-ordering process, first determining whether a type prefix exists in the ordered strings, extracting the type prefix if it exists, identifying the parameter type, and then performing a de-ordering operation on the parameter constituent strings based on the parameter type to obtain the actual parameter values.

[0036] The following will explain in detail the method of reverse ranking, using a case study. For example, the sequenced string is "[CAN]0 / Network1 / Node1 / Message1 / Signal1". First, it is determined whether the string contains a type prefix, then the type of the type prefix is ​​identified. In this example, the type prefix [CAN] indicates that it takes the value of a CAN signal, and the sequenced CAN signal follows the type prefix.

[0037] In other words, in this example, we will perform a desequencing operation on the parameter configuration string "0 / Network1 / Node1 / Message1 / Signal1". The specific process is as follows. First, based on the type prefix [CAN], it is determined that the ordered parameter is of a CAN signal type, and this must be done according to a specific de-ordering operation for CAN signals. This operation first decomposes the parameter string into five substrings using the separator " / ", which are (1)0, (2)Network1, (3)Node1, (4)Message1, and (5)Signal1. If there are fewer or more substrings than five, it means that the ordering information is invalid, which also means that the parameter call is invalid, and the call will fail.

[0038] Next, the CAN signal is analyzed based on a specific desequencing operation to obtain five substrings. Substring (1) represents the logical channel index, starting at 0, where 0 represents channel 1. Substring (2) indicates the network name, which in this example is Network1. Substring (3) indicates the node name, which in this example is Node1. Substring (4) indicates the message name, which in this example is Message1. Substring (5) indicates the signal name, which in this example is Signal1. Based on the five pieces of basic information obtained, the value of signal Signal1 in message Message1 at node Node1 in network Network1 at channel 1 can finally be accessed via the CAN bus simulation engine.

[0039] In some embodiments, the method for arranging parameters for the graphics program further includes establishing a correspondence between type prefixes and parameter types. Establishing a correspondence between type prefixes and parameter types includes constructing a correspondence table between type prefixes and parameter types.

[0040] In some embodiments, the correspondence between type prefixes and parameter types is shown in the table below, for example, but is not limited thereto. [Table 1]

[0041] In some embodiments, the parameter type includes at least one or more of signal parameters, system variables, local variables, system constants, and path parameters.

[0042] In some implementations, the parameter types and corresponding examples, along with their interpretations, are shown in the table below, for example, but are not limited to these examples. (The table is divided into four sections.) [Table 2] [Table 3] [Table 4] [Table 5]

[0043] The following describes in detail the process of configuring parameters for graphics programs in several examples, referring to a complete case. Assume the user needs to call a function to set the value of the system variable "GearVar". The function prototype is as follows: app.set_system_var_double(const char* ACompleteName, double AValue). The function name is app.set_system_var_double. The function has two parameters, as follows: ACompleteName is a string type and is the name of the system variable to be set. AValue is a double-precision double type and is the value to be set.

[0044] The steps in the parameter configuration process are as follows: In step S201, the function app.set_system_var_double is selected. After selection, the system automatically identifies the two parameter names and types of the function and displays these two parameters in a parameter correspondence table. The user then needs to configure the parameters in a column of parameter values ​​in the parameter correspondence table, as shown in the table below. [Table 6]

[0045] In step S202, the user first places the parameter ACompleteName, opens the parameter manager, opens the system variable selector through the parameter manager, selects the system variable "GearVar" in the system variable selector, and confirms the selection.

[0046] In step S203, the parameter manager automatically generates a sequenced string "GearVar" based on the user's selection and enters it into the parameter value column corresponding to the "ACompleteName" row.

[0047] In step S204, the user continues to place the parameter AValue, assuming that the user needs to set the value of a specific range signal "Gear" on the bus as the parameter value. Open the Parameter Manager, select CAN channel 1, find the CAN network "Powertrain" on channel 1, expand the network, select the node "Engine", expand the node, select the message "EngineData" that it sent, expand the message, select the signal "Gear" in the message, and confirm the selection.

[0048] In step S205, the parameter manager automatically generates an ordered string "[CAN]0 / Powertrain / Engine / EngineData / Gear" based on the user's selection and enters it into the parameter value column corresponding to the "AValue" row.

[0049] In step S206, the placement of the parameter correspondence table is completed, and the contents of the parameter correspondence table after placement are as follows. [Table 7]

[0050] After the parameter configuration is complete, when the graphics program is executed, each execution unit in the graphics program executes the corresponding instruction based on the actual parameter values ​​obtained after desequencing.

[0051] As shown in Figure 4, some embodiments further provide a parameter configuration device for graphics programs. This device includes a computer, which is configured to include the following:

[0052] One is a parameter manager (parameter management device), which is used to configure the parameters of the execution unit and to perform a sequencing operation on the parameter configuration strings associated with those parameters. Specifically, the details of the ranking operation are described above and will not be explained here.

[0053] Another is a parameter correspondence table, which is used to display the parameter names and their associated strings. In one implementation method, the parameter correspondence table is a table consisting of three columns, with the first row of each column being the column title.

[0054] The first column is the parameter number column, with the column title "No.", and the column content consists of pure numbers, which are automatically filled in by the system, starting from 1. The second column is the parameter name column. The column title is "Parameter Name," and the column content is the name of the signal or function parameter that needs to be set. This column is automatically filled in by the system according to the actual situation. The third column contains the parameter value, with the column title "Parameter Value". The column content consists of the parameter that the user needs to enter, which can be entered manually by the user or automatically after selection by the parameter selector. An example of a parameter correspondence table is shown below. [Table 8]

[0055] Another component is a parameter value analyzer, which performs a desequencing operation on the ordered strings mentioned above to obtain the actual parameter values ​​required for the execution unit in the graphics program. Specifically, the details of the de-sequencing operation are described above and will be omitted here.

[0056] Referring to Figure 5, as possible embodiments, some embodiments further provide a parameter configuration system for graphics programs. Like the parameter configuration device for graphics programs described above, the computer is further configured to include the following: One is a graphics program, which includes at least one execution unit. Furthermore, the execution unit is suitable for obtaining the corresponding required actual parameter values.

[0057] Specifically, in some embodiments, parameters can be quickly and easily assigned to each execution unit in a graphics program by a parameter configuration module, and when the graphics program is executed, the actual parameter values ​​required for each execution unit in the graphics program can be quickly and easily provided, thereby effectively improving the development efficiency of the graphics program.

[0058] In some embodiments, the parameter configuration device for a graphics program is used, and the functions of the graphics program are implemented in the processor. For specific details, please refer to the detailed explanation of the parameter configuration method for the graphics program described above, but the explanation will be omitted here.

[0059] Some embodiments further provide a parameter configuration method for a vehicle graphics program. This method includes configuring vehicle parameters for an execution unit, performing a sequencing operation on vehicle parameter configuration strings associated with the vehicle parameters, displaying the sequenced strings in a parameter correspondence table associated with the vehicle parameters, and, when executing the graphics program, performing a desequencing operation on the sequenced strings to obtain the actual vehicle parameter values ​​required for the execution unit in the graphics program.

[0060] In some embodiments, the application scenarios for the parameter configuration method for vehicle graphics programs include automotive development scenarios and automotive testing scenarios.

[0061] The following provides a detailed explanation of parameter configuration methods for graphics programs applied in automotive development scenarios, using examples. Specifically, in the development process of a graphics program for an automotive algorithm, it is necessary to perform a decision logic to determine whether a signal value is within a specified range. If the signal is within the specified range, logic A is executed; otherwise, logic B is executed. For example, it is necessary to determine whether the engine speed signal is between 1000 and 3000 RPM. Assume that this engine speed signal is named EngSpeed ​​on the FlexRay bus, and that it is sent by the Engine node in the message EngineData, which is located in the Powertrain database, which is located on channel 2.

[0062] When implementing the decision logic, the determined signal parameters can be arranged by the parameter manager as follows: In step S301, by clicking the Parameter Manager, first click the FlexRay Type button, and then in the pop-up FlexRay Signal Selector, sequentially select Channel 2, FlexRay Network Powertrain, Node Engine, Message EngineData, and Signal EngSpeed, and confirm the selection. In step S302, the parameter manager automatically sequences the signal. The sequenced string is "[FlexRay]1 / Powertrain / Engine / EngineData / EngSpeed".

[0063] The type prefix [FlexRay] indicates that the signal is a FlexRay signal. The parameter string following the type prefix is ​​separated by " / " and consists of the following five elements: (1) 1 indicates channel 2 (starting from 0). (2) Powertrain indicates the network name. (3) Engine indicates the node name. (4) EngineData indicates the message name. (5) EngSpeed ​​indicates the signal name.

[0064] The following section provides a detailed explanation of how to configure parameters for a graphics program applied to an automotive test scene, using examples. Specifically, in automotive testing, the graphics program function "test.check_verdict" is used to determine whether a target signal is within a predetermined range. It has four parameters, and when the user chooses to call this function, the system automatically displays the parameter table for the function as follows. [Table 9] Here, AName indicates a description of the content that needs to be determined. This content is a string and can be included in the test report, for example, "Engine Speed ​​(EngSpeed)". AValue indicates the signal value to be judged, such as the engine speed read from the FlexRay bus. AMin indicates the minimum value within the detection range. AMax indicates the maximum value within the judgment range.

[0065] When the user calls the function, they configure the parameters in the following steps: In step S401, place AName and directly enter "Engine Speed ​​EngSpeed" in the corresponding parameter value column. In step S402, place AValue and click the Parameter Manager. First, click the FlexRay type button, and then in the pop-up FlexRay signal selector, sequentially select Channel 3, FlexRay network Powertrain, node Engine, message EngineData, and signal EngSpeed, and confirm your selections. In step S403, the parameter manager automatically sequences the signal. The sequenced string is "[FlexRay]2 / Powertrain / Engine / EngineData / EngSpeed", and this is entered into the parameter value column corresponding to AValue in the parameter table. In step S404, AMin is placed, and the user can select the test parameter "RangeMin" located in the system variables. By clicking the Parameter Manager, first click the System Variable Type button, and then in the pop-up System Variable Selector, select the system variable "RangeMin" and confirm the selection. In step S405, the parameter manager automatically sequences the system variable, and the sequenced string is "[Sys]RangeMin", which is entered into the column for the parameter value corresponding to AMin in the parameter table. In step S406, AMax is placed, and the user can select the test parameter "RangeMax" located in the system variables. This is done by clicking the Parameter Manager, first clicking the System Variable Type button, and then selecting the system variable "RangeMax" in the pop-up system variable selector and confirming the selection. In step S407, the parameter manager automatically sequences the system variable, and the sequenced string is "[Sys]RangeMax", which is entered into the column for the parameter value corresponding to AMax in the parameter table.

[0066] In some embodiments, the specific steps for configuring parameters for a vehicle graphics program are the same as the parameter configuration method for graphics programs described above, and are therefore omitted from this explanation.

[0067] As shown in Figure 6, some embodiments further provide a parameter configuration device for a vehicle graphics program. This device includes a computer, the computer is A vehicle parameter manager used to configure vehicle parameters for an execution unit and to perform a sequencing operation on vehicle parameter configuration strings associated with said vehicle parameters, A vehicle parameter correspondence table used to display the vehicle parameter names and sequential strings related to the vehicle parameters, This includes a vehicle parameter value analyzer used to perform a de-ordering operation on the above-mentioned ordered strings and obtain the actual vehicle parameter values ​​required for the execution unit in the vehicle graphics program.

[0068] The functions of the vehicle parameter manager, vehicle parameter correspondence table, and vehicle parameter value analyzer are the same as those of the parameter manager, parameter correspondence table, and parameter value analyzer described above, and therefore will not be explained here.

[0069] In some embodiments, the specific implementation functions of the vehicle parameter manager, vehicle parameter correspondence table, and vehicle parameter value analyzer in the parameter configuration device for vehicle graphics programs are implemented in a processor or computer. For specific details, please refer to the detailed description of the parameter configuration method for graphics programs described above, and the description will be omitted here.

[0070] The following describes some embodiments of the electronic devices of this disclosure from the perspective of hardware processing, but does not limit the specific implementation of the electronic devices. As shown in Figure 7, the electronic device includes a processor, a readable storage medium, a communication bus, and a communication interface. Here, the processor, the readable storage medium, and the communication interface communicate with each other via the communication bus. The readable storage medium is configured to store a program that executes the parameter configuration method for the graphics program, and the processor is configured to execute the program for the parameter configuration method for the graphics program.

[0071] In other embodiments, computer devices and industrial computers can also be considered types of electronic devices. Note that the configuration shown in Figure 7 is not limited to electronic devices and may include fewer or more components than those shown, may be a combination of several components, or may have different components arranged.

[0072] In some embodiments, the communication interface may be a communication interface that can be connected to an external bus adapter, such as an RS232, RS485, USB port, and TYPE port. A wired or wireless network interface may also be included, and the network interface may optionally include wired and / or wireless interfaces (e.g., a Wi-Fi interface, a Bluetooth® interface, etc.) that are typically used to establish a communication connection between the computer device and other electronic devices.

[0073] A readable storage medium or computer-readable storage medium includes at least one type of memory. Memory includes flash memory, hard disks, multimedia cards, card-type memory (e.g., SD or DX memory), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, it may be an internal storage unit of a computer device, such as a hard disk. In other embodiments, memory may be an external storage device of a computer device, such as a plug-in hard disk, SmartMedia® card (SMC), Secure Digital (SD), or flash card. Furthermore, memory may include both internal storage units and external storage devices of a computer device. Memory is used to store various types of data, such as application software and computer program code installed on the computer device, as well as to temporarily store output data or data to be output.

[0074] In some embodiments, the processor may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip that executes program code stored in memory or processes data, for example, to run a computer program.

[0075] In some embodiments, the communication bus may be an input / output bus, such as a Peripheral Component Interconnect (PCI) bus or an Enhanced Industry Standard Architecture (EISA) bus. This bus can be divided into an address bus, a data bus, a control bus, etc.

[0076] Optionally, the computer device may further include a user interface. The user interface may include input units such as a display and a keyboard, and optionally, the user interface may also include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. In this case, the display is also called a display screen or display unit for displaying information processed within the computer device and for displaying a visualized user interface.

[0077] When the above processor executes the above program, it implements the steps in the embodiment of the parameter configuration method for the graphics program shown in Figure 1. For example, steps S101 to S102 shown in Figure 1. Alternatively, when the processor executes the computer program, it implements the functions of each module or unit in the embodiment of each of the above devices.

[0078] In some embodiments, the processor is used to specifically accomplish the following steps. One step is to configure the parameters of the execution unit, perform a sequencing operation on the parameter configuration strings associated with those parameters, and display the sequenced strings in a parameter correspondence table associated with those parameters. Another step involves performing a de-ordering operation on the ordered strings when executing the graphics program to obtain the actual parameter values ​​required for the execution unit in the graphics program.

[0079] Optionally, in possible embodiments, the processor can be used to accomplish the following steps: One step is to establish a correspondence between type prefixes and parameter types. Another step in the sequencing process is to obtain a sequenced string by adding a type prefix to the parameter construct string. The expression of the sequenced string above includes a first part and a second part, the first part being the type prefix and the second part being the parameter construct string.

[0080] Optionally, in possible embodiments, the processor can be used to accomplish the following steps: One step in the sequencing process is to first determine whether the parameter construct string is a non-immediate value or not. Another step is to obtain a sequenced string by adding a type prefix to the parameter construct string if it is not an immediate value, and otherwise to use the parameter construct string as is in a sequenced string.

[0081] Optionally, in possible embodiments, the processor can be used to accomplish the following steps: In the desequencing process, the first step is to determine whether a type prefix exists in the above string, extract the type prefix if it exists, identify the parameter type, and then perform a desequencing operation on the parameter constituent strings based on the parameter type to obtain the actual parameter values.

[0082] Optionally, in possible embodiments, the processor can be used to accomplish the following steps: A step of constructing a correspondence table between type prefixes and parameter types, wherein the parameter types include at least one or more of signal parameters, system variables, local variables, system constants, and path parameters.

[0083] Some embodiments further provide a computer-readable storage medium. A program for a parameter configuration method for a graphics program is stored on this computer-readable storage medium, and when this program is executed by a processor, specific steps of the parameter configuration method for a graphics program can be realized. A detailed description of the parameter configuration method for a graphics program is provided below and is omitted here.

[0084] As shown in Figures 8 and 9, some embodiments further provide a vehicle development debugging system. This system includes a computer device, a bus adapter, or a programming device. The above computer device includes a processor, a readable storage medium, a communication bus, and a communication interface. The above-mentioned readable storage medium is configured to store a program that executes the parameter configuration method for the graphics program described above. The above-mentioned processor is configured to execute the program for the parameter configuration method for the graphics program described above and generate text code. The above-mentioned processor, the above-mentioned readable storage medium, and the above-mentioned communication interface communicate with the bus adapter via the above-mentioned communication bus. The above processor is further configured to compile at least one executable code of the above text code. The above bus adapter is configured to write compiled executable code to the debugging device. Or, The above-mentioned writing device is configured to write the compiled executable code to the debugging device.

[0085] As shown in Figure 10, some embodiments further provide a vehicle development debugging method. This method includes the following: In step S201, a computer device executes a program for parameter configuration methods for graphics programs to generate text code, and then compiles at least one executable code from the above text code. In step S202, the compiled executable code is written to the debug device via the bus adapter. Alternatively, the compiled executable code is written to the debug device by the programmer.

[0086] In some embodiments, the computer device corresponds to the above-mentioned electronic device. In some embodiments, the parameter configuration method for graphics programs further includes establishing a correspondence between type prefixes and parameter types. The above sequencing operation also includes the following: In the sequencing process, a sequenced string is obtained by adding type prefixes to the parameter configuration string. The expression of the above sequenced string includes a first part and a second part, the first part being the type prefix and the second part being the parameter configuration string.

[0087] In some embodiments, the above sequencing operation further includes the following: In the sequencing process, it is first determined whether the parameter construct string is a non-immediate value. If it is a non-immediate value, a type prefix is ​​added to the parameter construct string to obtain a sequenced string; otherwise, the parameter construct string is used as the sequenced string.

[0088] In some embodiments, when executing the graphics program, de-ordering the ordered strings is performed. The desequencing process first determines whether a type prefix exists in the sequenced string, extracts the type prefix if it exists, identifies the parameter type, and then performs a desequencing operation on the parameter constituent strings based on the parameter type to obtain the actual parameter values.

[0089] In some embodiments, establishing the correspondence between the above type prefixes and parameter types involves constructing a correspondence table between type prefixes and parameter types.

[0090] The above processor is configured to compile at least one executable code in the above text code. In some embodiments, the compilation of the text code can be achieved by running a cross-compiler.

[0091] In some embodiments, the bus adapter may be a CAN bus adapter, a CANFD bus adapter, a FastLIN bus adapter, a LIN bus adapter, an Ethernet bus adapter, or a FlexRay bus adapter. It may be one-to-one or one-to-many, and some other embodiments do not limit the specific implementation of the bus adapter. In some embodiments, the compiled executable code may be written by communicating with a debugging device via the UDS, XCP, or CCP protocol.

[0092] In some embodiments, the writing device may refer to a programmer.

[0093] In some embodiments, the debugging device in the automotive sector may specifically refer to an in-vehicle ECU and its related systems. For example, but not limited to, electric power steering systems (EPS), anti-lock braking systems (ABS), electronic stability control systems (ESC), automotive engine management systems, and battery management systems (BMS). These devices can be connected to a computer via a bus, thereby enabling the reception and execution of compiled executable code.

[0094] In some of the vehicle development debugging systems, the specific method for configuring the parameters for the graphics program is the same as the method for configuring the parameters for the graphics program described above, so the explanation is omitted here.

[0095] Some embodiments further provide a computer program product. This product includes a computer-readable storage medium in which computer-readable program code is stored, the computer-readable program code including instructions, these instructions causing at least one processor or at least one computer device to execute any of the parameter configuration methods for the possible graphics program described above.

[0096] Some embodiments provide a computer-readable storage medium. This storage medium stores computer-readable instructions, which, when executed by at least one processor, cause the parameter configuration method for the graphics program described in the above embodiments to be executed.

[0097] In some embodiments of the present invention, the disclosed apparatus and methods can, of course, be implemented in other ways. The embodiments of the apparatus described above are merely illustrative; for example, flowcharts and block diagrams in the drawings illustrate the implementable architectures, functions, and operations of apparatus, methods, and computer program products according to some embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code. The module, program segment, or part of code contains executable instructions for implementing one or more predetermined logical functions. In some alternative implementations, the functions represented in the blocks may occur in an order different from that shown in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and sometimes in reverse order depending on the related functions. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, may be implemented in a dedicated hardware-based system that performs a predetermined function or operation, or in a combination of dedicated hardware and computer instructions.

[0098] Furthermore, in each embodiment of the present invention, each functional module may be integrated to form a single independent part, each module may exist individually, or two or more modules may be integrated to form a single independent part.

[0099] The above functions can be implemented in the form of software function modules and, when sold or used as independent products, can be stored on a single computer-readable storage medium. Based on this understanding, the technical solutions of the present invention, in their essence or in parts that contribute to the prior art, or parts of said technical solutions, can be represented in the form of a software product. The computer software product is stored on a storage medium and contains a plurality of instructions that cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention.

[0100] By illustrating the preferred embodiments of the present invention described above, those skilled in the art can make various changes and modifications to the above-described content without departing from the technical spirit of the present invention. The technical scope of the present invention is not limited to the contents of the specification and must be determined based on the claims.

Claims

1. A method for configuring parameters for a graphics program, Computer equipment, Configure the parameters of the execution unit, perform a sequencing operation on the parameter configuration strings associated with those parameters, When executing the graphics program, a de-ordering operation is performed on the ordered string to obtain the actual parameter values ​​required for the execution unit in the graphics program. This further includes establishing a correspondence between type prefixes and parameter types. In the aforementioned ranking operation, In the sequencing process, a sequenced string is obtained by adding a type prefix to the parameter construct string, and the expression of the sequenced string includes a first part and a second part, the first part being the type prefix and the second part being the parameter construct string. A parameter configuration method for a graphics program, characterized by the following:

2. The parameter configuration method for a graphics program according to claim 1, characterized in that the first part and the second part are distinguished by a single delimiter, and the delimiter includes adding square brackets, quotation marks, or vertical line separators to the first part.

3. The parameter configuration method for a graphics program according to claim 1, characterized in that the parameter configuration strings associated with each parameter can be set by the user.

4. The aforementioned ranking operation is, In the ranking process, first, it is determined whether the parameter construct string is a non-immediate value or not. The parameter configuration method for a graphics program according to claim 1, further comprising: if the parameter is not an immediate value, a type prefix is ​​added to the parameter configuration string to obtain a sequenced string; otherwise, the parameter configuration string is used as a sequenced string.

5. The parameter configuration method for a graphics program according to claim 4, characterized in that the non-immediate value is a numeric or string type, and is a string excluding immediate values.

6. A method for configuring parameters for a graphics program, Computer equipment, Configure the parameters of the execution unit, perform a sequencing operation on the parameter configuration strings associated with those parameters, When executing the graphics program, a de-ordering operation is performed on the ordered string to obtain the actual parameter values ​​required for the execution unit in the graphics program. When executing the graphics program, performing deordering on the ordered strings is, A parameter configuration method for a graphics program, characterized in that, in the desequencing process, it first determines whether a type prefix exists in the sequenced string, extracts the type prefix if it exists, identifies the parameter type, performs a desequencing operation on the parameter configuration string based on the parameter type, and obtains the actual parameter value.

7. Establishing the correspondence between the aforementioned type prefix and parameter type is A parameter configuration method for a graphics program according to claim 1, characterized by comprising constructing a correspondence table between type prefixes and parameter types.

8. The parameter configuration method for a graphics program according to claim 1, characterized in that the parameter type includes at least one or more of signal parameters, system variables, local variables, system constants, and path parameters.

9. The parameter configuration method for a graphics program according to claim 6, characterized in that it includes displaying the ordered strings in a parameter correspondence table related to the parameter.

10. The parameter configuration method for a graphics program according to claim 1, characterized in that the parameter configuration method for a graphics program is used in an automobile development scene and an automobile test scene.

11. The parameter configuration method for a graphics program according to claim 6, characterized in that the parameter configuration method for a graphics program is used in an automobile development scene and an automobile test scene.

12. A parameter configuration device for graphics programs, Including a computer, said computer, A parameter manager used to configure the parameters of an execution unit and to perform a sequencing operation on parameter configuration strings associated with those parameters, The system is configured to include a parameter value analyzer used to perform a desequencing operation on the ordered strings and obtain the actual parameter values ​​required for the execution unit in the graphics program. This further includes means for establishing a correspondence between type prefixes and parameter types, In the aforementioned ranking operation, The parameter manager is a parameter configuration device for a graphics program, characterized in that, in the sequencing process, it obtains a sequenced string by adding a type prefix to the parameter configuration string, and the expression of the sequenced string includes a first part and a second part, the first part being a type prefix and the second part being a parameter configuration string.

13. A parameter configuration device for a graphics program, Including a computer, said computer, A parameter manager used to configure the parameters of an execution unit and to perform a sequencing operation on parameter configuration strings associated with those parameters, The system is configured to include a parameter value analyzer used to perform a desequencing operation on the ordered strings and obtain the actual parameter values ​​required for the execution unit in the graphics program. The parameter value analyzer is a parameter configuration device for graphics programs, characterized in that, in the desequencing process, it first determines whether a type prefix exists in the sequenced string, extracts the type prefix if it exists, identifies the parameter type, and performs a desequencing operation on the parameter configuration string based on the parameter type to obtain the actual parameter value.

14. The parameter configuration device according to claim 12 or 13, characterized in that it is used in automotive development and automotive testing scenes.

15. A computer-readable storage medium, A computer-readable storage medium that stores computer-readable instructions, and when the instructions are executed by at least one processor, causes the parameter configuration method for a graphics program described in any one of claims 1 to 11 to be executed.

16. It is an electronic device, It includes a processor, a readable storage medium, a communication bus, and a communication interface. The processor, the readable storage medium, and the communication interface communicate with each other via the communication bus. The electronic device is characterized in that the readable storage medium is configured to store a program for executing the parameter configuration method for a graphics program described in any one of claims 1 to 11, and the processor is configured to execute the program for the parameter configuration method for a graphics program.

17. A vehicle development debugging method, A computer device executes a program for a parameter configuration method for a graphics program according to any one of claims 1 to 11 to generate text code, and compiles at least one executable code of the text code. A vehicle development debugging method characterized by writing compiled executable code to a debugging device via a bus adapter or a programming device.

18. A computer-readable program, A program characterized by causing at least one processor or at least one computer device to execute the parameter configuration method for a graphics program described in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Menu interface system

    JP1994095832A

  • Execution history recording device, label substitution device and program

    JP2003296137A

  • Source code template generator

    JP2009230606A

  • Translation of expressions in computer environment

    JP2012160214A

  • Network device and network system

    JP2014059822A