Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

58 results about "Global variable" patented technology

In computer programming, a global variable is a variable with global scope, meaning that it is visible (hence accessible) throughout the program, unless shadowed. The set of all global variables is known as the global environment or global state. In compiled languages, global variables are generally static variables, whose extent (lifetime) is the entire runtime of the program, though in interpreted languages (including command-line interpreters), global variables are generally dynamically allocated when declared, since they are not known ahead of time.

Scheduling process circulation engine method and configuration method thereof

The invention relates to the technical field of scheduling process arrangement, and particularly provides a scheduling process circulation engine method which comprises the following steps: S1, a starting node analyzes parameter data transmitted externally for preliminary analysis; s2, querying global variable data in the cache, if the global variable data exist, loading, and if the global variable data do not exist, continuing, and storing the parameter data in the step S1 into a global variable; s3, loading the data; s4, determining and obtaining strategy data configuration of the node; s5, recording an execution log of the scheme; s6, whether the scheme is executed or not is confirmed, if the scheme is executed, the scheme is not executed any more, and if the scheme is not executed, all node data are sequenced according to the sequence number sequence, and the data of each node is executed and processed; s7, recording an execution log of the scheme; s8, callback is executed, and if the service needing to be callback exists, the service is callback, and configured callback data are transmitted; and S9, ending the execution of the ending node. Compared with the prior art, the labor efficiency and the service docking efficiency of different platforms of each node can be greatly improved.
Owner:INSPUR TIANYUAN COMM INFORMATION SYST CO LTD

Method and system for automatic regression test of RPA component

The invention belongs to the technical field of RPA testing, and particularly relates to a method and system for automatic regression testing of an RPA component. The method comprises the following steps: S1, performing parameterized transmission on common configuration according to different execution environments, different client versions and different executors during RPA component regression; s2, building a general component test framework, filling the general component test framework with the to-be-tested component according to the function scene, and setting a judgment standard for judging whether component function judgment is passed or not and judging whether component return value type judgment is correct or not; s3, collecting test data, and uniformly summarizing the test data into a global variable; s4, storing the collected test data into a database, and performing data analysis; and S5, judging whether to send a message notification or not according to the initial configuration after the test data is stored in the database. The method has the characteristic that the automatic regression test of the component can be completed through the self-packaged test framework of the RPA tool without depending on a third-party tool.
Owner:浙江实在智能科技有限公司

System and method for automatic transfer of global variables between application screens

A method, performed by at least one processor of a computing device, for automatically transferring information from one screen to another, includes: outputting a first screen of a first application opened on a platform; outputting a second screen of a second application opened on the platform, while the first screen is output; determining whether a global variable is included for a user input field of the second screen; based on determining that the global variable is included for the user input field of the second screen, obtaining a value of the global variable from the first screen; and including the obtained value of the global variable in the user input field, of the outputted second screen, corresponding to the global variable.
Owner:RAKUTEN SYMPHONY INC

Atomic violation detection method and device, electronic equipment and storage medium

PendingCN122173404AError detection/correctionInterrupt handlerVerification
This application provides a method, apparatus, electronic device, and storage medium for detecting atomicity violations, belonging to the field of software testing technology. The method includes: running the program under test using different input variables, identifying global variable access pairs covered during the execution of the program under test; for each global variable access pair, re-running the program under test using the corresponding input variables, and injecting feasible interrupt handlers between the global variable access pairs; if the interrupt handlers access the same global variable, recording the global variable access pair as a candidate global variable access pair; if the candidate global variable access pair simultaneously satisfies both spatial atomicity and temporal atomicity, then determining that the candidate global variable access pair has an atomicity violation risk. This application achieves efficient and accurate detection of atomicity violations by comprehensively covering variable access pairs, actively constructing interrupt scenarios, and establishing a spatiotemporal dual verification model.
Owner:BEIHANG UNIV +1

Method for loading and executing process by script engine and script engine

The invention discloses a script engine and a method for loading and executing processes of the script engine, and the method comprises the following steps: a rule engine analyzes and compiles all process files in a working directory to generate a grammar rule check tree, a symbol table and a program table; the virtual machine loads the symbol table and the program table to a system and initializes and assigns variables in the global variable table; in the process of initializing the variables, independently initializing global symbols in the symbol table, adding the global symbols into a global variable table, and establishing an index for the global variable table; after variable initialization is completed, the virtual machine starts process management, and the process management is responsible for management of a program calling frame stack and a process local variable container. According to the invention, the flexibility and expansibility of field process implementation are improved.
Owner:YUNNAN KSEC INTELLIGENT EQUIP

Assembly line global variable use method and device and medium

The invention provides an assembly line global variable use method and device and a medium, and the method comprises the steps: receiving an assembly line creation instruction sent by a user after selecting a preset assembly line environment with an assembly line global variable based on a front-end page; creating a target assembly line; receiving a name of a target assembly line global variable introduced into the target assembly line script when a user edits a target assembly line; storing the script added with the target assembly line global variable name in the assembly line environment; and when an execution instruction of a user is received, replacing the name in the script with the value of the global variable of the target assembly line, and executing the target assembly line. According to the method, the device and the medium, the problem that in the prior art, when the assembly line global variable is used daily, the assembly line global variable can be set and used only by logging in the assembly line environment, and data security risks exist can be solved.
Owner:CHINA UNITED NETWORK COMM GRP CO LTD

A Dynamic Instruction Conversion Memory Access Optimization Method Based on Data Pre-Alignment

The present invention discloses a memory access optimization method for dynamic instruction conversion based on data pre-alignment. By pre-constructing a memory mapping table for the mapping relationship between the x86 segment base address and the ARM page table base address in the ARM system, a data information table is established when loading and executing an executable file in the dynamic instruction conversion mode, and the initialized and uninitialized global variables and static variables are obtained to establish a first variable table and a second variable table respectively. For statically allocated memory, instruction conversion and static pre-alignment of instructions and variables are completed according to the memory mapping table, the data information table, the first variable table and the second variable table. For dynamically allocated memory, instruction conversion and dynamic pre-alignment of instructions and variables are completed according to the memory mapping table. Finally, based on the address continuity of the memory space, related instructions are merged into batch data transfer instructions to further optimize memory access, realizing memory access optimization during instruction conversion.
Owner:北京麟卓信息科技有限公司

Verification method and device

The invention discloses a verification method and device, a verification parameter method is defined in a strategy class, the verification parameter method comprises method parameters, and the method parameters comprise a to-be-verified object, a field of the to-be-verified object and a first grouping list; an annotation of a target field is obtained through a reflection method, the name of the annotation of the target field is compared with the annotation class name maintained by the first global variable, and the target field is any one of the fields of the to-be-verified object; if the target annotation class name is hit, obtaining a second grouping list corresponding to the target annotation class name; if the first grouping list and the second grouping list have an intersection and the field value of the target field is determined not to be null, obtaining an instance of a corresponding strategy class according to the target annotation class name; and checking the target field by calling a checking method through the instance. In this way, verification of the request message body field level can be achieved based on the user-defined annotation created by the framework constructed by adopting reflection and strategy modes, personalized verification can be achieved, and the requirement for flexible verification is met.
Owner:AGRICULTURAL BANK OF CHINA

Program detection method and device and computing equipment

The embodiment of the invention provides a program detection method and device and computing equipment, and relates to the technical field of computers. The method comprises the steps of receiving a to-be-detected program, performing code detection on the program, and determining a statement where a global variable in the program is located; according to the library file and the statement where the global variable is located, the program is modified, and the modified program is obtained. According to the embodiment of the invention, the global variable is positioned through code detection, the global variable in a program does not need to be manually positioned, and the positioning efficiency and accuracy of the global variable can be improved. Moreover, the library file provided by the embodiment of the invention can provide a programming interface for realizing variable calculation operation, relation operation, logic operation or bit operation and other operation operations on the weak memory model, a memory barrier instruction does not need to be manually inserted, and the modification difficulty is reduced. Therefore, the program modification efficiency is improved. And through program modification, safe operation of the multi-thread program under the weak memory model is ensured.
Owner:HUAWEI TECH CO LTD

Analysis device and method for detecting variable vulnerability in software using machine learning model

Provided are a device and method for detecting a variable vulnerability in software using a machine learning (ML) model. The method performed by an analysis device includes receiving a source code of a program to be analyzed, replacing call functions, variable names, and call stack functions in an execution log generated during execution of the source code with certain identifiers (IDs) to preprocess the execution log, analyzing the preprocessed execution log through a pretrained first learning model to classify whether each pair of a global variable and a call function is at an initialization location, analyzing the preprocessed execution log through a pretrained second learning model to estimate a maximum value and a minimum value of the global variable, and determining whether the global variable is vulnerable on the basis of information output by the first learning model and information output by the second learning model.
Owner:EWHA UNIV IND COLLABORATION FOUND

Implementation method and device of converter software architecture and electronic equipment

The invention relates to the technical field of software architecture application, in particular to a converter software architecture implementation method, device and equipment and a computer readable storage medium. The method comprises the steps that software modules are divided according to hardware resource types, and each hardware resource corresponds to an independent code folder; all code operations related to the resource are limited in the folder; defining all user global variables in a single. C file, and declaring the global variables in a single. H file; a layered structure is adopted to realize a communication interface, and comprises a hardware layer, a protocol analysis layer and an application layer. User variables are configured through a structure table, and each variable supports attribute judgment and read-write operation by taking a group number and a sub-index number as a unique identifier. And a three-layer architecture of a hardware layer, a protocol analysis layer and an application layer is adopted, so that the flexibility and expandability of the system are improved. All global variables are declarated through a single. C file and a single. H file, and the problem of repeated definition of the variables is avoided.
Owner:HUANENG CLEAN ENERGY RES INST +2

Method for automatically realizing instruction addressing in pointer mode during inertial device calibration

The invention discloses a method for automatically realizing instruction addressing in a pointer mode during inertial device calibration, which comprises the following steps of: A, establishing a global array variable of an instruction set structure body, and defining the size of an array according to the number of actual instruction sets; b, initializing a global variable of the instruction set array defined in the step A so as to assign each element in the array; c, defining a specific performance function instance, that is, each instruction generally has a specific performance function to be executed; and D, automatically addressing the main body part of the performance function by adopting a pointer mode, circularly traversing the global variable array defined in the step A through for, automatically finding the corresponding performance function according to the one-to-one correspondence relationship in the step B, and finally automatically skipping to the performance function instance defined in the step C for execution. Through the method, the problems of low reliability, low real-time performance and low subsequent function expandability in the instruction interaction process between the inertial measurement unit and the PC terminal during data acquisition and performance calibration can be solved.
Owner:SHANGHAI HUAYI INFORMATION TECH CO LTD

Synchronous reaction component-oriented software architecture model correctness verification method

The invention discloses a software architecture model correctness verification method oriented to a synchronous reaction type component, and relates to the technical field of model verification, in the method, a source model in an XML format is analyzed by means of a Dom4j package, and model nodes, migration and global variable information are extracted, classified and stored. Then, a mapping rule from a software architecture model to PROMELA codes is designed, and conversion of a model structure, data and various elements is covered; security and activity verification attributes are defined by using an SPIN tool, and the branch accessibility of the control node is judged through a control variable and assertion. From the starting node, the model elements are sequentially converted into variables, channels and processes of PROMELA. And finally, generating a verification script, performing grammar check and attribute verification on the converted model, analyzing a verification report to obtain a result, and repeating operation if other attributes need to be verified. The method provides a systematic and effective means for ensuring the correctness of the software architecture model.
Owner:NORTHWESTERN POLYTECHNICAL UNIV

Method for acquiring debugging data of distributed application program

The embodiment of the invention discloses a method for acquiring debugging data of a distributed application program. The method comprises the following steps: calling an information capturing interface at a position where debugging information needs to be captured in a to-be-debugged application program, and compiling and linking to obtain a reorganized to-be-debugged application program; configuring the reorganized to-be-debugged application program by utilizing the running container component, loading and starting the reorganized to-be-debugged application program by utilizing the running container component, and loading debugging information or debugging files of the reorganized to-be-debugged application program by utilizing the running container component; when the reorganized to-be-debugged application program runs to the position where debugging information needs to be captured, interruption is generated through the debugging anchor point assembly, the interruption is responded through the running container assembly, address information of the interruption is positioned through the debugger, all local variables and all global variables of the context of a current statement are obtained according to the address information to be coded, and the debugging information is obtained; the operation container assembly is used for outputting coded information; and after the interruption is ended, the running container component restores running.
Owner:BEIJING SIMULATION CENT

RPA task execution retry optimization method based on machine learning

The invention discloses an RPA task execution retry optimization method based on machine learning, and relates to the technical field of machine learning, an external tool is not needed, a developer can directly complete debugging in a browser, front-end and back-end real-time communication is achieved through the WebSocket technology, the developer can monitor the execution state of each process link in real time, and the execution efficiency is improved. Therefore, fine-grained control is carried out on the process anytime and anywhere; besides, global variables and the capability of skipping to any link are modified in real time, so that a developer can quickly verify different logic branches under the condition of not restarting a process; most importantly, the system and a low-code designer are seamlessly integrated, and design, debugging and operation are simultaneously carried out in a unified interface, so that the switching cost in the development process is reduced, the whole development, test and debugging process is smoother, and the development efficiency and experience are remarkably improved.
Owner:YUNZHANGFANG NETWORK TECH CO LTD

Data-driven distributed fault detection method and device

PendingCN120256869AComplex mathematical operationsReconstruction methodManifold regularization
The invention discloses a data-driven distributed fault detection method and a data-driven distributed fault detection device, which are used for analyzing and extracting more valuable information from two levels of global variables and local sub-block variables to implement distributed fault detection. The distributed fault detection method disclosed by the invention not only relates to the application of a brand new algorithm of manifold regularization slow feature analysis, but also provides a plurality of improved technical schemes related to variable quantum block division, neighborhood and reconstruction modes thereof, and whitening processing. In order to overcome the defect that feature analysis is only carried out on each sub-block after blocking is completed in the traditional method, the method provided by the invention inherits the modeling thought of mutual staggering from local sub-blocks to global sub-blocks and then to the local sub-blocks, and comprehensively represents the time sequence and spatial distribution features of learning data changes. Besides, the invention further designs a distributed fault detection device based on the same concept, and the central control module can execute the execution process of a manifold regularization slow feature analysis algorithm and also can autonomously divide variable sub-blocks.
Owner:NINGBO POLYTECHNIC

Method for controlling program processing logic

The embodiment of the invention relates to a method for controlling program processing logic, and the method comprises the steps: determining whether a preset file directory contains an identification file or not, so as to generate a determination result; based on the determination results, variable values of global variables in a running memory are determined, the running memory is used for loading the target program, and different determination results correspond to different variable values of the global variables; determining the processing logic of the target program based on the variable value of the global variable; and in response to starting of the target program, running the target program according to the processing logic. Therefore, the matching degree between program operation and object requirements can be improved, the iteration efficiency of the program can be improved, the complexity of control program processing logic is reduced, and the operation risk of the program is reduced.
Owner:SHENZHEN SECURITIES COMM

Method and apparatus for generating code-based module design document

This application provides a method and apparatus for generating code-based module design documents. The method includes: obtaining target code; deleting compiler directives and comments from the target code to obtain code text; identifying and extracting global variables and function structures from the code text; comparing the identifiers in each function structure in parallel with global variables, and comparing the identifiers before the left parenthesis in each function structure in parallel with the function names of other function structures, and associating the global variables and / or function names that match the comparison with the corresponding function structures, wherein the other function structures are the function structures outside the current function structure in each function structure; and generating and outputting a target module design document in a preset format based on each function structure and its associated global variables and / or function names. This achieves efficient and accurate generation of module design documents.
Owner:CASCO SIGNAL (BEIJING) CO LTD

Fault site backtracking method, device and readable storage medium based on firmware emulation

The present application relates to the technical field of firmware emulation, and particularly relates to a fault scene backtracking method and device based on firmware emulation and a readable storage medium, wherein the method comprises the following steps: when an execution command is received, it is determined whether the execution time of the execution command is located at a preset backtracking time point, and the backtracking time point is preset according to a preset period; when the execution time is located at the backtracking time point, a flash memory backtracking position, firmware global variables and host computer information corresponding to the backtracking time point are acquired; according to at least one of the flash memory backtracking position, the firmware global variables and the host computer information, backtracking information of the firmware is determined, so that when an error reporting signal is triggered, the firmware is backtracked to a fault occurrence scene located before the triggering time of the error reporting signal according to the backtracking information. The difficulty of troubleshooting in the firmware emulation process is reduced, and the problem of how to backtrack the data information of the firmware to the time point when the error occurs is solved.
Owner:YEESTOR MICROELECTRONICS CO LTD

Unified operation and maintenance method and device for heterogeneous infrastructure

The invention provides a unified operation and maintenance method and device for heterogeneous infrastructures, and belongs to the technical field of computer software, and the method comprises the following steps: obtaining a declarative YAML configuration file defined with resource pool information, global variables and application configuration information, and analyzing the configuration file to obtain a structured configuration object; identifying target resource types contained in application information, global variables and resource pool information in the structured configuration object; matching a corresponding target application template from a predefined template library, and rendering the target application template based on the global variable to generate an execution instruction; based on the execution instruction, generating an independent Ansible execution file for each application; and running the Ansible execution file to complete application installation, and after the application installation is completed, realizing state sharing between the applications based on a context management mechanism. According to the method, the problems of high configuration complexity, difficulty in ensuring consistency and difficulty in hybrid deployment in operation and maintenance management can be solved.
Owner:WUHAN BAISIJIE TECH CO LTD

System and method for creating software components capable of sharing state across threads in a thread-isolated execution environment

PendingUS20260187242A1Parallel computingMultithreading
A system and method for generating software components in a multithreaded processing environment that are capable of being executed in a thread-isolated manner to prevent data leakage across threads and that are linked together in a manner that enables the software components to share state includes generating a face template for a thread-specific face in a first thread and initializing a global variable that includes a global handle to a thread-local static variable. Thread-specific faces can then be initialized in threads from the face template. A thread-local static variable is lazy-initialized for each thread-specific face from the global variable in a manner that links the faces together to act as a single component.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

A method and system for describing a PLC project

ActiveCN121300215BPathPingObject type
This invention belongs to the field of PLC automation technology, specifically relating to a PLC project description method and system. The method includes: describing a PLC project in a development environment based on the TOML markup language; creating corresponding program units, global variable sets, periodic tasks, and devices according to the description of the PLC project, and encapsulating them in the PLC project file, or modifying the attributes of program units, global variable sets, periodic tasks, or devices in the PLC project file according to the description of the PLC project; and exporting the PLC project file. The PLC project and its corresponding program units, global variable sets, periodic tasks, and devices are all edited and generated or modified according to the description format of metadata + object definition, and the object definition section at least defines fields representing the operation mode, fields representing the object path, and fields representing the object type.
Owner:SHANGHAI BAOSIGHT SOFTWARE CO LTD

Global variable integration method

The invention provides a global variable integration method, which comprises the following steps of: opening client software of battery detection equipment, opening a step editor on the client software, and editing step flow parameters; after the work step flow parameters are edited, a channel to be tested is selected and clicked to start, the client packages the work step flow parameters and sends the packed work step flow parameters to the server, the server sends the packed work step flow parameters to the middle computer, and the middle computer parses the work step flow parameters and then starts the channel to start testing; the middle computer executes the process step test logic according to the process step flow parameters and synchronously executes the function of global variable integral parameters, and a client channel interface displays the value of a global variable for storing an integral result in real time; and ending the test until the step flow of the test channel is executed. The software code maintenance cost can be reduced; the integral requirements of different test parameters of the user are met, integral objects have diversity, and integral on internal fixed variables, user-defined variables and external variables is supported.
Owner:NEWARE TECH LTD

Full-automatic industrial production line analysis method and system

The invention discloses a full-automatic industrial production line analysis method and system, and the method comprises the steps: automatically exporting a PLC code through a Siemens official automation interface, and writing the PLC code into a server file system; performing instrumentation marking on the exported PLC code through a global variable, writing back the PLC code into a TIA Portal engineering project, and downloading the PLC code into PLC equipment; global variables in the data blocks corresponding to the PLC are read in real time, and all codes executed at the current moment are retrieved and matched in the PLC codes subjected to instrumentation marking; collecting PLC codes, and constructing the PLC codes into a JSON data set adaptive to the large model based on an industrial production line customization scene so as to train the large model; and obtaining a response text generated by the large model based on the trained large model. According to the method, the execution progress of the current PLC program can be automatically synchronized in real time and displayed in a natural language form, and zero migration cost is realized.
Owner:ZHEJIANG VOCATIONAL COLLEGE OF COMMERCE

Object management for managing runtime overhead

A computer implemented method manages a memory. A number of processor units determines a creation of an object in a program. The number of processor units determines a set of uses of the object in the program. The number of processor units add an allocation program code to allocate memory to the object in an off heap region in memory in response to the object not being within a call chain and not being assigned to a global variable. The number of processor units add a deallocation program code to deallocate the memory after each possible last use in a set of possible last uses of the object in the uses of the object in the program in response to the object not being within the call chain and not being assigned to the global variable. Additionally, a computer system and a computer program product for managing memory are provided.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Automatic analysis method of Linux kernel source code

The invention provides an automatic analysis method of a Linux kernel source code. The method comprises the following steps: setting a rule definition of each statement block, and decomposing a Linux kernel source code into an annotation statement block, a function statement block (subdivided into a function declaration statement block and a function definition statement block), a global variable statement block, a user-defined data type statement block and a macro definition statement block according to the rule definition; each statement block serves as a module, and an inter-module relation table and a data and inter-module relation table are analyzed; according to the method, through a full-automatic analysis process, the whole Linux kernel source code can be systematically analyzed under the condition that manual intervention is not needed, and a structured analysis result is output.
Owner:BEIJING JIAOTONG UNIV

Software key class identification method, equipment and medium

PendingCN119987737ACode compilationCreation/generation of source codeSoftware networkLocal variable
The invention discloses a software key class identification method and device and a medium, and relates to the field of software developing.The method comprises the steps that various software elements in software source codes and coupling types among the elements are analyzed; the software comprises element classes, interfaces, attributes, methods and local variables; the coupling type comprises an inheritance relationship between classes, an implementation relationship between the classes and interfaces, a parameter relationship, a global variable relationship, a local variable relationship, a return type relationship, an instantiation relationship, an attribute access relationship and a calling relationship between methods; constructing a class coupling network according to various software elements and coupling types among the elements; constructing a gravitational entropy index according to the class coupling network, and calculating gravitational entropy index values of all class nodes in the class coupling network; sorting all class nodes according to the gravitational entropy index values to generate a class node sequence; and based on the class node sequence, identifying the software key class, and according to the application, the software network can be comprehensively constructed and the software key class can be accurately identified.
Owner:ZHEJIANG GONGSHANG UNIVERSITY

Method and device for processing GPU shared memory allocation by llvm compiler

The invention discloses a method and device for processing GPU shared memory allocation by an llvm compiler, and belongs to the field of data process.The method includes the steps that a kernel function call chain is reconstructed, equipment functions called by multiple kernels are renamed after being copied, and shared memory variables in the equipment functions are copied at the same time; it is ensured that each device function only exists in one call chain, so that the problem of device function shared memory address conflict in the compiling period is solved, and meanwhile accumulated calculation of offset addresses and memory sizes of related shared memory variables in the kernel function call chains is achieved by setting global variables of a kernel action domain. And the problem of shared memory allocation during compiling is efficiently solved.
Owner:沐曦科技(成都)有限公司

Method and System for Automated Regression Testing of RPA Components

The present invention belongs to the technical field of RPA testing, and particularly relates to a method and system for automated regression testing of RPA components. The method includes: S1, when the RPA components are regressed, parameterize and transfer the common configurations according to different execution environments, differences in client versions, and different executors; S2, build a general component test framework, fill the components to be tested into the general component test framework according to functional scenarios, and set judgment criteria for determining whether the component functions pass and whether the component return value types are correct; S3, collect test data and uniformly summarize the test data into global variables; S4, store the collected test data in a database and perform data analysis; S5, after the test data is stored in the database, determine whether to send a message notification according to the initialization configuration. The present invention has the characteristics of being able to achieve component automated regression testing through the test framework encapsulated by the RPA tool itself without relying on third-party tools.
Owner:浙江实在智能科技有限公司

A vehicle testing method, device, electronic equipment and storage medium

Embodiments of the present application provide a vehicle testing method, device, electronic equipment and storage medium, the method comprising: the test software constructs global variables for hard-wire signals and bus signals of different test platforms respectively, and stores the mapping relationship between each test platform and the global variables to obtain a first mapping relationship; in response to a user selecting a target test platform from the test platforms, the target global variable corresponding to the target test platform is queried from the first mapping relationship; the target test script is generated based on the target global variable, and the remote control function test is completed by calling the test management software in the target test platform and the simulation hardware in the hardware-in-the-loop test cabinet through the target test script. The method can ensure that the generated test script can be used on different test platforms with different software and hardware, regardless of whether the hardware-in-the-loop system is dSpace, VT, ETAS or NI, the automation script written by the test software can be adapted, and there is no situation such as cannot be reused, difficult to transplant, etc.
Owner:CHONGQING CHANGAN AUTOMOBILE CO LTD