| CPC G06F 8/437 (2013.01) [G06F 8/447 (2013.01)] | 2 Claims |

|
1. A method of configuring a parameter for a graphic program, comprising:
configuring a parameter for an execution unit, performing a serialization operation on a parameter configuration character string associated with the parameter, and displaying a serialized character string in a parameter correspondence table associated with the parameter;
performing a deserialization operation on the serialized character string at a time of running the graphic program to obtain an actual parameter value desired by the execution unit in the graphic program;
establishing a correspondence between a type prefix and a parameter type; and
the serialization operation comprises:
in a serialization process, obtaining the serialized character string by adding the type prefix to the parameter configuration character string, wherein an expression of the serialized character string comprises a first part being the type prefix and a second part being the parameter configuration character string:
in the serialization process, determining whether the parameter configuration character string is a non-immediate number;
if the parameter configuration character string is the non-immediate number, obtaining the serialized character string by adding the type prefix to the parameter configuration character string, or directly taking the parameter configuration character string as the serialized character string; and
wherein, the operation of performing the deserialization operation on the serialized character string at the time of running the graphic program comprises:
in a deserialization process, determining whether a type prefix is present in the serialized character string; if the type prefix is present, extracting the type prefix to identify a parameter type, and performing the deserialization operation on the parameter configuration character string based on the parameter type to obtain the actual parameter value.
|