Test method and system of remote control vehicle test bench
By automatically generating control commands and signal mapping files through cloud tools, and combining image recognition and OCR technologies, the remote vehicle control testing process is automated, solving the problem of complex upper computer software development and deployment, and achieving rapid adaptation and efficient testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- DONGFENG MOTOR GRP
- Filing Date
- 2026-03-12
- Publication Date
- 2026-05-12
AI Technical Summary
The development and deployment of the host computer software for existing remote-controlled vehicle automation test benches is complicated, requiring manual adjustment and writing of test cases, which is time-consuming, labor-intensive, and unfriendly, and cannot quickly adapt to different needs and hardware changes.
By deploying signal mapping files and test case configuration file generation tools in the cloud, control commands are automatically generated, simulating test signals from equipment. The testing process is automated through image recognition and OCR technology, reducing manual intervention.
It enables rapid adaptation to different vehicle models and hardware, reduces reconstruction costs, improves testing efficiency, supports rapid iteration, simplifies operation processes, and is suitable for multi-person collaboration and cross-platform access.
Smart Images

Figure CN122018488A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, and in particular to a test method and system for remote vehicle control. Background Technology
[0002] A remote-controlled vehicle automation test bench typically consists of three parts: the hardware under test (DUT), a vehicle signal simulation device, and a host computer with accompanying test cases. The DUT generally refers to a TBO (Track Box), the vehicle signal simulation device is typically a CAN analyzer, and the host computer is usually the control software for the simulation device (with accompanying test cases). During software development, as requirements, projects, and signal simulation hardware change, the host computer of the automation test bench, which is closely related to actual needs, will inevitably change as well, requiring real-time updates to the host computer software.
[0003] The most widely used deployment method currently is still to manually adjust the host computer driver, manually write test cases according to requirements, and then combine the two and deploy them on the host computer. This typically requires specialized testers who are familiar with signal simulation hardware drivers and their secondary development, thoroughly understand the relevant requirements, reasonably set up test cases, and write the relevant programs to deploy on the host computer. Then, they wait for the host computer software to output the test results.
[0004] The development and deployment of host computer software is relatively complex. From understanding the requirements to simulating signals and controlling the equipment, and then combining them into a usable host computer program, it is often time-consuming and labor-intensive, and often can only serve one version of requirements or one project. The test cases included in the host computer program are often manually written, which is not very user-friendly for people who are not familiar with configuration files, and it is impossible to judge whether the test cases are reasonable. Summary of the Invention
[0005] The present invention aims to solve at least one of the technical problems existing in the prior art, and proposes a test method and system for remote vehicle control.
[0006] In a first aspect, embodiments of the present invention provide a testing method for a remote vehicle control test bench, comprising:
[0007] Obtain the test case and signal mapping file;
[0008] Based on the test cases and signal mapping file, control commands corresponding to the remote vehicle control test process are generated.
[0009] The simulation equipment generates test signals based on control commands and sends them to the device under test.
[0010] Provide feedback on the test results and compare them with the expected results of the test cases.
[0011] In some embodiments, the simulation device has multiple sets of modular driver interfaces, and the corresponding driver interface is called based on the test case.
[0012] In some embodiments, obtaining the test case and signal mapping file includes:
[0013] Use tools to standardize the generation of signal mapping files and test case configuration files, and deploy them in the cloud;
[0014] The host computer obtains test case configuration files and mapping files from the cloud based on the remote vehicle control test process.
[0015] In some embodiments, the use of tools to standardize the generation of signal mapping files and test case configuration files, and deploying them in the cloud, includes:
[0016] Multiple remote vehicle control test process modules are deployed in the cloud. Each remote vehicle control test process module includes a signal mapping file. The signal mapping file of the corresponding remote vehicle control test process module is retrieved based on the remote vehicle control test process input by the host computer.
[0017] In some embodiments, the use of tools to standardize the generation of signal mapping files and test case configuration files, and deploying them in the cloud, includes:
[0018] The test case configuration file is automatically generated according to the specific input process analysis, and includes the button to be clicked, the initial value of the relevant signal, and the expected result.
[0019] In some embodiments, the step of generating control commands corresponding to the remote vehicle control test process based on the test cases and signal mapping file includes:
[0020] The host computer displays the buttons corresponding to the remote vehicle control test process, and the buttons required by the control command are clicked sequentially based on image recognition.
[0021] In some embodiments, a webpage is developed in the cloud using the Flask framework, and the webpage includes an entry point for program and configuration replacement operations, an entry point for real vehicle environment simulation, and an entry point for automatic test configuration.
[0022] Secondly, embodiments of the present invention provide a testing system for a remotely controlled vehicle test bench, configured to implement the above-described method, including:
[0023] Obtain test cases and signal mapping files from the cloud;
[0024] The host computer generates control commands corresponding to the remote vehicle control test process based on the test cases and signal mapping file.
[0025] The analog device generates test signals based on control commands and sends them to the device under test.
[0026] Thirdly, embodiments of the present invention also provide an electronic device, comprising:
[0027] One or more processors;
[0028] Memory, used to store one or more programs;
[0029] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the methods.
[0030] Fourthly, embodiments of the present invention also provide a computer-readable medium storing a computer program, which, when executed by a processor, implements the steps of any of the methods described.
[0031] The testing method for a remote vehicle control test bench provided by this invention can automatically generate control commands corresponding to the remote vehicle control test process based on test cases and signal mapping files. Based on these control commands, the simulated device can generate test signals to the device under test. Both test cases and signal mapping files can be automatically generated using a generation tool. This allows for rapid adaptation to different vehicle models or hardware, reducing the overall reconstruction cost caused by equipment replacement, eliminating manual coding work, and supporting rapid iterative adaptation to new processes. Attached Figure Description
[0032] Figure 1 This is a schematic diagram of the structure of an embodiment of the test method of the remote vehicle control test bench of the present invention;
[0033] Figure 2 This is a schematic diagram of the structure of a test system of the remote vehicle control test bench of the present invention;
[0034] Figure 3 This is a schematic diagram of the structure of an embodiment of the electronic device of the present invention. Detailed Implementation
[0035] To enable those skilled in the art to better understand the technical solutions of the present invention, exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to aid understanding. These should be considered merely exemplary. Therefore, those skilled in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0036] Where there is no conflict, the various embodiments of the present invention and the features thereof may be combined with each other.
[0037] As used herein, the term “and / or” includes any and all combinations of one or more related enumerated entries.
[0038] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used herein, the singular forms “a” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that when the terms “comprising” and / or “made of” are used in this specification, the presence of the stated feature, integral, step, operation, element, and / or component is specified, but the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof is not excluded. Terms such as “connected” or “linked” are not limited to physical or mechanical connections but can include electrical connections, whether direct or indirect.
[0039] Unless otherwise specified, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having the meaning consistent with their meaning in the context of the relevant art and the invention, and will not be interpreted as having an idealized or overly formal meaning unless expressly so defined herein.
[0040] In the technical solution of this invention, the collection, storage, use, processing, transmission, provision, and disclosure of user personal information all comply with relevant laws and regulations and do not violate public order and good morals. The use of user data in this technical solution follows relevant national laws and regulations (e.g., the "Information Security Technology - Personal Information Security Specification"). For example: appropriate measures are taken for personal information access control; restrictions are imposed on the display of personal information; the purpose of using personal information does not exceed the scope of direct or reasonable association; and explicit identity targeting is eliminated when using personal information to avoid precisely locating a specific individual.
[0041] In related technologies, the development and deployment of host computer software is relatively complex. From understanding the requirements to simulating signals and controlling equipment, and then combining them into a usable host computer program, it is often time-consuming and labor-intensive, and often can only serve one version of requirements or one project. The test cases contained in the host computer program are often manually written, which is not very user-friendly for people who are not familiar with configuration files, and it is impossible to judge whether the test cases are reasonable.
[0042] To address at least one of the technical problems existing in the aforementioned related technologies, the present invention provides a testing method for a remote vehicle control test bench. Figure 1 A flowchart illustrating the steps of a test method for a remote vehicle control test bench provided in an embodiment of the present invention.
[0043] like Figure 1As shown, the testing system of this remote-controlled vehicle test bench includes the following steps:
[0044] Step S10: Obtain the test case and signal mapping file.
[0045] This step provides two standardized tools: one is a signal mapping file generation tool, which allows users to manually associate vehicle signals with analog device signals to generate mapping files in JSON or XML format; the other is a test case configuration file generation tool, which automatically generates configuration files containing information such as initial values of relevant signals, clicked buttons, and expected results based on the remote vehicle control test process input by the user (such as the order of steps and expected results).
[0046] The two tools mentioned above can run as independent applications, and the generated files can be uploaded to the cloud for storage. This means that test cases and signal mapping files can be pre-stored and stored in the cloud.
[0047] Generally, a stable operating system (such as Linux) is deployed on a cloud server, along with the necessary software environment. This includes a Python runtime environment, the Flask framework, a database (such as MySQL or SQLite for storing configuration and test data), web services (such as Nginx for web access), and security components (such as a firewall). The server needs to be configured with a public IP address or domain name to ensure that multiple users can access it across platforms via a browser. This enables cross-platform access and multi-user collaboration, eliminating the need for users to install complex software locally; centralized cloud management reduces maintenance costs and improves resource utilization.
[0048] After a user accesses the webpage on the host computer, they can input the remote vehicle control test process that needs to be tested, and then the corresponding test cases and signal mapping files can be retrieved from the cloud and sent to the host computer.
[0049] In this embodiment, multiple remote vehicle control test process modules are deployed on the cloud. Each remote vehicle control test process module includes a signal mapping file. The signal mapping file of the corresponding remote vehicle control test process module is retrieved based on the remote vehicle control test process input by the host computer.
[0050] Specifically, the remote vehicle control test process (such as starting the vehicle, adjusting the air conditioning, setting the navigation, etc.) is generally broken down into multiple independent process units. That is, each remote vehicle control test process module includes test cases and signal mapping files corresponding to multiple independent process units. Each process unit defines a series of operation steps, and its test case configuration file includes initializing signal values, calling the driver module to set signals, recognizing screen buttons through image processing and simulating clicks, and waiting for the device under test to respond, etc.
[0051] Step S20: Generate control commands corresponding to the remote vehicle control test process based on the test cases and signal mapping file.
[0052] Control commands are generated by using test cases and signal mapping files. Specifically, the host computer reads the configuration file of the test cases and maps the configuration file of the test cases to the signal mapping file, thereby obtaining the relevant signals corresponding to the remote vehicle control test process and generating the corresponding control commands.
[0053] Step S30: The simulation device generates a test signal based on the control command and sends it to the device under test.
[0054] The analog device is connected to the device under test. The aforementioned control commands are sent to the analog device, which in turn generates corresponding test signals based on the control commands and sends these test signals to the device under test, thereby enabling various test actions on the device under test.
[0055] Step S40: Provide feedback on the test results and compare them with the expected results of the test cases.
[0056] During the testing process, the device under test (DUT) feeds back the test results to the host computer and compares them with the expected results preset in the test cases. Specifically, after the DUT responds, the results are usually presented in the form of a screen pop-up or status change. The result interface is captured by taking a screenshot, and key text is extracted using OCR (Optical Character Recognition) technology to obtain the test results.
[0057] Furthermore, if the test result is the same as the expected result or falls within the expected result setting range, it indicates that the remote vehicle control test result of the tested device is qualified; otherwise, it indicates that the test result is unqualified. Specifically, a qualified test result will be returned as "Pass" in the test report, while an unqualified result will be returned as "Fail" along with the expected result and the returned result, which facilitates analysis and reproduction.
[0058] In this invention, control commands corresponding to the remote vehicle control test process can be automatically generated based on test cases and signal mapping files. Then, based on these control commands, the simulation device can generate test signals to the device under test. This allows for quick replacement and adaptation to different vehicle models or hardware as needed, reducing the overall reconstruction cost caused by equipment replacement. It also saves the workload of manual programming and supports rapid iteration to adapt to new processes.
[0059] In the preferred embodiment, the driver interfaces of various signal simulation devices are standardized, packaged into a unified module, and stored in the cloud server as an independent file.
[0060] In this embodiment, the driver interfaces of various signal simulation devices (such as CAN boxes) are standardized and encapsulated into unified modules. Each driver module implements a standard API, such as setting message period for sending and receiving messages, and initialization. These modules are stored as independent files on a cloud server and are called through the system interface layer. This improves device compatibility, allowing different models of signal simulation devices to be called through the same interface, reducing code modifications when replacing devices; the modular design facilitates maintenance and expansion, and new devices only require the addition of the corresponding driver module.
[0061] It is understandable that the process module relies on the driver module to send and receive signals, and also relies on configuration files to obtain signal mappings and test steps. This step is performed after the driver module is deployed to ensure that the process is executable.
[0062] Understandably, the flexible configuration of the testing process allows users to quickly adjust the process according to different vehicle models without modifying the core code; the integration of image processing and OCR technology enables the system to automatically handle graphical interface interactions and simulate human operation.
[0063] In the preferred solution, the Flask framework is used to develop a responsive web interface for the cloud. This web interface integrates multiple functional modules, specifically:
[0064] Entry point for program and configuration replacement operations: On the "Program Management" page, users can upload, replace, or delete driver modules, process modules, and configuration files, and the system will automatically update and integrate them.
[0065] Real vehicle environment simulation entry: On the "Real vehicle environment bench simulation" page, a visual panel is provided to display signal values (such as CAN signal status), and buttons are provided for users to manually turn signals on / off, simulating the vehicle environment in real time.
[0066] Automatic test configuration entry: On the "Load Testing Configuration" page, users can upload test case configuration files, set test plans (such as the number of loops), start / stop automatic tests, and view real-time progress.
[0067] As we can understand, the web interface is the user's entry point to the system, integrating various functional modules. It relies on a cloud environment to provide network services and calls backend drivers and process modules to perform operations to enable user interaction.
[0068] It is understood that this embodiment provides an intuitive and easy-to-use interface, lowering the barrier to entry and allowing non-professional users to easily manage tests; it supports multiple users logging in and collaborating simultaneously, improving team efficiency; and cross-platform compatibility ensures access from any device.
[0069] All the above modules are integrated on a cloud server to ensure smooth data flow: the web interface receives user input and calls the process module; the process module reads the configuration file and drives the signal simulation device; test results are returned to the interface and stored. End-to-end testing is performed to simulate a complete remote vehicle control test process, verifying functions such as signal transmission, image processing, OCR recognition, and result comparison.
[0070] Furthermore, in the method provided by this embodiment of the invention, the buttons corresponding to the remote vehicle control test process are displayed on the host computer, and the buttons to be clicked according to the control command are clicked sequentially based on image recognition. In this embodiment, the image to be clicked is obtained based on the control command, and image recognition technology is used to find the relevant buttons on the host computer and press them (simulating button clicks), thereby realizing the control of the test signals of the simulated device.
[0071] The testing method provided by this invention allows users to access a cloud-based webpage interface through a browser and log in to their account.
[0072] In the "Program and Configuration Replacement Operation Entry", upload or replace the driver module and process module as needed (such as when adapting to a new vehicle model).
[0073] Use the configuration file generation tool to create signal mapping files and test case configuration files, and upload them through "Program Management".
[0074] Manually adjust the signal in the "real vehicle environment bench simulation" to verify the equipment connection and signal simulation effect.
[0075] In the "Load Testing Configuration", select the test case file, set the test plan, and start the automatic test.
[0076] The system automatically performs tests: the process module drives the device according to the configuration, simulates the operation, obtains the response of the device under test, compares the results and generates a report.
[0077] Users can view or download test reports and logs on the interface, analyze the results, and optimize configurations.
[0078] It is understood that the method provided in this embodiment of the invention can realize remote management of the entire process, allowing users to complete tests without touching the physical test bench; improve testing efficiency, automate execution and reduce manual intervention; facilitate problem reproduction and analysis, and accelerate development iteration.
[0079] In this embodiment, the high replaceability of the module improves testing flexibility: the CAN box driver, test cases, and test process programs are designed independently, supporting quick replacement and adaptation to different vehicle models or hardware, reducing the overall reconstruction cost caused by equipment replacement.
[0080] In this embodiment, the backend management achieves efficient control. The unified management module of the management backend built by the Flask framework is replaced and its configuration is updated. Combined with permission hierarchy and operation logs, the error rate of manual intervention is reduced.
[0081] In this embodiment, automated test case generation lowers the barrier to entry. The tool automatically parses the vehicle control process to generate test cases containing abnormal scenarios, saving the workload of manual writing and supporting rapid iteration to adapt to new processes.
[0082] In this embodiment, the real vehicle simulation and stress testing are linked to optimize the test effect, and the environmental parameters and stress testing strategies are linked to configure. This can be used for development self-testing and stress testing to identify potential problems under high load. The relevant configurations can be created by the user using the tools.
[0083] Please see Figure 2 Based on the same inventive concept, the present invention also provides a testing system for a remote vehicle control test bench. Figure 2 This is a schematic diagram of the structure of a test system for a remote vehicle control test bench provided in an embodiment of the present invention. It is applied to the test method of the remote vehicle control test bench provided in the above embodiment and specifically includes: cloud, host computer and simulation equipment.
[0084] Obtain test cases and signal mapping files from the cloud.
[0085] In this embodiment, a stable operating system (such as Linux) is deployed on a cloud server, and the necessary software environment is installed. This includes a Python runtime environment, the Flask framework, a database (such as MySQL or SQLite for storing configuration and test data), network services (such as Nginx for web access), and security components (such as a firewall). The server needs to be configured with a public IP address or domain name to ensure that multiple users can access it across platforms via a browser.
[0086] Understandably, enabling cross-platform access and multi-user collaboration allows users to operate through a browser without installing complex software locally; centralized cloud management reduces maintenance costs and improves resource utilization.
[0087] Specifically, the user-programmed "test task package" (including process selection, test case configuration, and signal mapping relationships) is precisely distributed from the cloud to the designated or optimal host computer. The system receives execution status, progress logs, and intermediate results uploaded from the host computer in real time and displays them dynamically on a web console (e.g., real-time log streams, progress bars).
[0088] It receives test results (screenshots, OCR text, signal data) uploaded from the host computer, performs a final comparison and intelligent analysis with the expected test results in the cloud, integrates all data, and automatically generates a standardized test report with a clear structure and detailed process data (Pass / Fail list, error screenshots, signal timing diagram).
[0089] In addition, the driver interfaces of various signal simulation devices are standardized, packaged into a unified module, and stored as an independent file on a cloud server.
[0090] In this invention, the driver interfaces of various signal simulation devices (such as CAN boxes) are standardized and encapsulated into unified modules. Each driver module implements a standard API, such as setting message period for sending and receiving messages, and initializing the device. These modules are stored as independent files on a cloud server and are called through the system interface layer. This improves device adaptability; different models of signal simulation devices can be called through the same interface, reducing code modifications when replacing devices. The modular design facilitates maintenance and expansion; new devices only require the addition of the corresponding driver module.
[0091] A responsive cloud-based web interface was developed using the Flask framework. This interface integrates multiple functional modules, such as entry points for program and configuration replacement, real-vehicle environment simulation, and automated test configuration. All modular drivers, test process modules, signal mapping files, test case configuration files, and test plans are centrally stored in the cloud. When the CAN box driver needs updating or a new test process needs to be added, an update is only required once in the cloud, and the changes can be distributed and deployed to all networked test benches (host computers) with a single click, achieving second-level synchronization and upgrades.
[0092] The host computer generates control commands corresponding to the remote vehicle control test process based on the test cases and signal mapping files.
[0093] Specifically, the host computer connects to the cloud server via a network and also to the simulation device. Thus, the host computer receives the specific test procedures and configuration files (as shown in the "Test Case Configuration File") from the cloud server, and controls the local signal simulation device (such as a CAN card) through the driver interface to simulate vehicle network signals, providing the necessary input environment for the device under test.
[0094] Using image recognition technology, the system automatically locates and "clicks" specified button images on the host computer, thereby triggering the function of the device under test. After triggering the test, the system monitors the response of the device under test (mainly screen changes). After the test is completed, a screenshot of the result interface is captured, and key text information is extracted using OCR technology as the test result.
[0095] The collected test results are compared with the expected results sent from the cloud to generate a preliminary judgment (Pass / Fail). All execution logs, process screenshots, judgment results, and other data are uploaded to the cloud server in real time to generate the final test report and dashboard display.
[0096] The simulation device generates test signals based on control commands and sends them to the device under test.
[0097] Specifically, at the start of the test, based on the "test case configuration file" sent from the cloud, the host computer drives the entire vehicle network signal to a preset initial state (such as: all doors locked, engine off, lights off), providing a clean starting point for the test.
[0098] When the host computer "clicks" a button on the central control screen via image recognition, it immediately commands the simulation device to emit the corresponding signal change. During the test, the system continuously simulates the normal operating signals of the vehicle to maintain the realism and consistency of the environment. Simultaneously, it captures the output signal of the device under test and feeds it back to the host computer as part of the test results.
[0099] In addition, this invention provides two standardized tools: one is a signal mapping file generation tool, which allows users to manually associate vehicle model signals with analog device signals to generate mapping files in JSON or XML format; the other is a test case configuration file generation tool, which automatically generates configuration files containing initial signal values, button images, expected OCR results, etc., based on the user-input test process (such as step sequence and expected results). These tools can be integrated into a web interface or run as standalone applications, and the generated files are uploaded to cloud storage.
[0100] It's understandable that configuration file generation tools serve as an auxiliary means for user interaction with the system, providing input data for process modules and driver modules. They are used after the process module is deployed to ensure that the correct configuration is prepared before testing.
[0101] Furthermore, it simplifies the configuration process and reduces human error; standardized file formats facilitate system parsing and improve test repeatability and consistency; and tool automation reduces user workload and speeds up test preparation.
[0102] The remote vehicle control test bench testing system provided by this invention deploys an operating system on a cloud server; standardizes the drive interfaces of various signal simulation devices, encapsulates them into unified modules, and stores them in the cloud server as independent files; breaks down the remote vehicle control testing process into independent modules, with each independent module decoupled from the specific signals of the unified module; and uploads the files generated by the signal decoupling of the independent modules and the unified module to the cloud server for storage. This constructs a flexible and easy-to-use remote vehicle control testing platform, laying the foundation for the environment, deploying core functional modules, and integrating testing and defining user processes with configuration tools and a web interface, greatly enhancing versatility and adapting to multi-vehicle testing; improving operational convenience and supporting multi-user cross-platform collaboration; and improving testing efficiency and maintainability, providing a standardized cloud solution for automotive testing.
[0103] Based on the same inventive concept, embodiments of the present invention also provide an electronic device. Figure 3 This is a structural block diagram of an electronic device provided in an embodiment of the present invention. Figure 3 As shown, an embodiment of the present invention provides an electronic device including: one or more processors 101, a memory 102, and one or more I / O interfaces 103. The memory 102 stores one or more programs, which, when executed by the one or more processors, enable the one or more processors to implement a test method for any of the remote vehicle control test benches described in the above embodiments; the one or more I / O interfaces 103 are connected between the processor and the memory, configured to enable information interaction between the processor and the memory.
[0104] The processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); the I / O interface (read / write interface) 103 is connected between the processor 101 and the memory 102, and can realize information interaction between the processor 101 and the memory 102, including but not limited to a data bus (Bus).
[0105] In some embodiments, the processor 101, memory 102, and I / O interface 103 are interconnected via bus 104, and thus connected to other components of the computing device.
[0106] In some embodiments, the one or more processors 101 include a field-programmable gate array.
[0107] This invention also provides a computer-readable medium. The computer-readable medium stores a computer program, which, when executed by a processor, implements the steps in the testing method of any of the remote-controlled vehicle test benches described in the above embodiments. The computer-readable storage medium can be volatile or non-volatile.
[0108] This invention also provides a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code. When the computer-readable code is run in the processor of an electronic device, the processor in the electronic device executes the test method of the remote vehicle test bench described above.
[0109] Those skilled in the art will understand that all or some of the steps, systems, and apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software can be distributed on a computer-readable storage medium, which may include computer storage media (or non-transitory media) and communication media (or transient media).
[0110] As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable program instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), flash memory or other memory technologies, portable compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, it is known to those skilled in the art that communication media typically contain computer-readable program instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0111] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0112] The computer program instructions used to perform the operations of this invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing state information from the computer-readable program instructions. This electronic circuitry can execute the computer-readable program instructions to implement various aspects of the invention.
[0113] The computer program product described herein can be implemented specifically through hardware, software, or a combination thereof. In one alternative embodiment, the computer program product is specifically embodied in a computer storage medium; in another alternative embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.
[0114] Various aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0115] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0116] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0117] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0118] Example embodiments have been disclosed herein, and while specific terminology has been used, it is for illustrative purposes only and should be construed as such, and is not intended to be limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics, and / or elements described in conjunction with particular embodiments may be used alone, or in combination with features, characteristics, and / or elements described in conjunction with other embodiments, unless otherwise expressly indicated. Therefore, those skilled in the art will understand that various changes in form and detail may be made without departing from the scope of the invention as set forth in the appended claims.
Claims
1. A testing method for a remote-controlled vehicle test bench, characterized in that, It includes: Obtain the test cases and signal mapping files; Based on the test cases and signal mapping file, control commands corresponding to the remote vehicle control test process are generated. The simulation equipment generates test signals based on control commands and sends them to the device under test. Provide feedback on the test results and compare them with the expected results of the test cases.
2. The testing method for the remote-controlled vehicle test bench according to claim 1, characterized in that, The simulation device has multiple sets of modular driver interfaces, and the corresponding driver interface is called based on the test case.
3. The testing method for the remote-controlled vehicle test bench according to claim 1, characterized in that, The process of obtaining the test case and signal mapping file includes: Use tools to standardize the generation of signal mapping files and test case configuration files, and deploy them in the cloud; The host computer obtains test case configuration files and mapping files from the cloud based on the remote vehicle control test process.
4. The testing method for the remote-controlled vehicle test bench according to claim 3, characterized in that, The tool is used to standardize the generation of signal mapping files and test case configuration files, and these are deployed in the cloud, including: Multiple remote vehicle control test process modules are deployed in the cloud. Each remote vehicle control test process module includes a signal mapping file. The signal mapping file of the corresponding remote vehicle control test process module is retrieved based on the remote vehicle control test process input by the host computer.
5. The test method for the remote vehicle control test bench according to claim 3, characterized in that, The tool is used to standardize the generation of signal mapping files and test case configuration files, and these are deployed in the cloud, including: The test case configuration file is automatically generated according to the specific input process analysis, and includes the button to be clicked, the initial value of the relevant signal, and the expected result.
6. The testing method for the remote-controlled vehicle test bench according to claim 1, characterized in that, The generation of control commands corresponding to the remote vehicle control test process based on the test cases and signal mapping file includes: The host computer displays the buttons corresponding to the remote vehicle control test process, and the buttons required by the control command are clicked sequentially based on image recognition.
7. The testing method for the remote-controlled vehicle test bench according to claim 1, characterized in that, The webpage is developed in the cloud using the Flask framework. The webpage includes an entry point for program and configuration replacement operations, an entry point for real vehicle environment simulation, and an entry point for automatic test configuration.
8. A testing system for a remote-controlled vehicle test bench, characterized in that, Configured to implement the method of any one of claims 1-7, comprising: Obtain test cases and signal mapping files from the cloud; The host computer generates control commands corresponding to the remote vehicle control test process based on the test cases and signal mapping file. The simulation device generates test signals based on control commands and sends them to the device under test.
9. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 7.
10. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 7.