Search

CN-121978986-A - Simulation equipment control method, device, equipment and readable storage medium

CN121978986ACN 121978986 ACN121978986 ACN 121978986ACN-121978986-A

Abstract

The simulation equipment control method comprises the steps that an upper computer obtains configuration instructions, the configuration instructions comprise simulation equipment to be controlled and racks to be controlled, the simulation equipment to be controlled is connected with a relay, the relay comprises connection paths among a plurality of racks, the upper computer sends control instructions to the relay connected with the simulation equipment to be controlled, the relay is controlled to open the connection paths among the racks to be controlled, and the connection paths among other racks are closed, so that the upper computer uses the simulation equipment to be controlled and the racks to be controlled to carry out simulation test. According to the application, through controlling the relay connected with the simulation equipment, the simulation equipment can be flexibly connected with different racks for completing different simulation test projects, so that the problem that various simulation equipment is configured for each rack in a whole set or the simulation equipment is detached from one rack to another rack at present is avoided.

Inventors

  • XIONG DEJIAN
  • WU BO
  • LIU JINGTAO
  • HU MENG
  • ZHAO HUI

Assignees

  • 岚图汽车科技股份有限公司

Dates

Publication Date
20260505
Application Date
20260130

Claims (10)

  1. 1. A simulation apparatus control method, characterized in that the simulation apparatus control method comprises: the method comprises the steps that an upper computer obtains configuration instructions, the configuration instructions comprise simulation equipment to be controlled and a rack to be controlled, the simulation equipment to be controlled is connected with a relay, and the relay comprises a connecting passage with a plurality of racks; The upper computer sends a control instruction to a relay connected with the simulation equipment to be controlled, and the relay is controlled to open a connecting passage between the upper computer and the rack to be controlled and close a connecting passage between the upper computer and other racks so that the upper computer can perform simulation test by using the simulation equipment to be controlled and the rack to be controlled.
  2. 2. The simulation device control method of claim 1, wherein the simulation device to be controlled is a plurality of simulation devices, each simulation device to be controlled is connected with one relay, and the host computer sends a control instruction to the relay connected with the simulation device to be controlled comprises: and the upper computer sends a control instruction to a relay connected with each simulation device to be controlled.
  3. 3. The simulation device control method according to claim 2, comprising, before the host computer acquires the configuration instruction: According to the scene of the simulation test, selecting simulation equipment to be controlled and a rack to be controlled from a plurality of simulation equipment and a plurality of racks, and generating configuration instructions based on the selected simulation equipment to be controlled and the selected rack to be controlled.
  4. 4. The simulation device control method according to claim 1, comprising, before the host computer acquires a configuration instruction: and sending a configuration instruction to the upper computer through the cloud.
  5. 5. The simulation apparatus control method according to claim 1, wherein the simulation apparatus control method further comprises: the plurality of racks are controlled to alternately execute different simulation test items by the configuration instructions using the plurality of simulation devices.
  6. 6. A simulation device control apparatus, characterized in that the simulation device control apparatus comprises: the acquisition module is used for acquiring configuration instructions by the upper computer, wherein the configuration instructions comprise simulation equipment to be controlled and a rack to be controlled, the simulation equipment to be controlled is connected with the relay, and the relay comprises a connecting passage with a plurality of racks; The control module is used for sending a control instruction to the relay connected with the simulation equipment to be controlled by the upper computer, controlling the relay to open a connecting passage between the upper computer and the rack to be controlled, and closing the connecting passage between the upper computer and other racks so as to carry out simulation test by using the simulation equipment to be controlled and the rack to be controlled.
  7. 7. The simulation device control apparatus of claim 6, wherein the simulation device to be controlled is a plurality of simulation devices, each simulation device to be controlled is connected with one relay, and the upper computer sends a control command to the relay connected with the simulation device to be controlled for: and the upper computer sends a control instruction to a relay connected with each simulation device to be controlled.
  8. 8. The simulated device control apparatus of claim 7, further comprising a generation module to: According to the scene of the simulation test, selecting simulation equipment to be controlled and a rack to be controlled from a plurality of simulation equipment and a plurality of racks, and generating configuration instructions based on the selected simulation equipment to be controlled and the selected rack to be controlled.
  9. 9. A simulation device control device, characterized in that it comprises a processor, a memory, and a simulation device control program stored on the memory and executable by the processor, wherein the simulation device control program, when executed by the processor, implements the steps of the simulation device control method according to any one of claims 1 to 5.
  10. 10. A readable storage medium, wherein a simulation device control program is stored on the readable storage medium, wherein the simulation device control program, when executed by a processor, implements the steps of the simulation device control method according to any one of claims 1 to 5.

Description

Simulation equipment control method, device, equipment and readable storage medium Technical Field The present application relates to the field of simulation technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for controlling a simulation device. Background In the development of vehicles, it is often necessary to perform various simulation test items on a plurality of racks through connection using various simulation devices (such as adb, sampsonig, CANoe, microphone, etc.). The adb is a debugging bridging tool of the android platform, the same star is automobile electronic testing equipment and software, the CANoe is a bus development environment, and some simulation equipment such as the CANoe is high in cost. However, to complete multiple simulation test projects, it is costly if multiple simulation devices are configured for each rack in its entirety, and labor and efficiency are wasted if the simulation devices are detachably mounted from one rack to another. Disclosure of Invention The application provides a simulation equipment control method, a device, equipment and a readable storage medium, which aim to solve the technical problems that if a plurality of simulation equipment is configured for each rack in a whole set, the cost is high, and if the simulation equipment is detached from one rack to another rack, the labor is consumed and the efficiency is low. In a first aspect, an embodiment of the present application provides a method for controlling a simulation apparatus, where the method includes: the method comprises the steps that an upper computer obtains configuration instructions, the configuration instructions comprise simulation equipment to be controlled and a rack to be controlled, the simulation equipment to be controlled is connected with a relay, and the relay comprises a connecting passage with a plurality of racks; The upper computer sends a control instruction to a relay connected with the simulation equipment to be controlled, and the relay is controlled to open a connecting passage between the upper computer and the rack to be controlled and close a connecting passage between the upper computer and other racks so that the upper computer can perform simulation test by using the simulation equipment to be controlled and the rack to be controlled. Optionally, the simulation equipment to be controlled is a plurality of, and every simulation equipment to be controlled is connected with a relay, the host computer sends the control command to the relay that is connected with the simulation equipment to be controlled and includes: and the upper computer sends a control instruction to a relay connected with each simulation device to be controlled. Optionally, before the upper computer obtains the configuration instruction, the method includes: According to the scene of the simulation test, selecting simulation equipment to be controlled and a rack to be controlled from a plurality of simulation equipment and a plurality of racks, and generating configuration instructions based on the selected simulation equipment to be controlled and the selected rack to be controlled. Optionally, before the upper computer obtains the configuration instruction, the method includes: and sending a configuration instruction to the upper computer through the cloud. Optionally, the simulation device control method further includes: the plurality of racks are controlled to alternately execute different simulation test items by the configuration instructions using the plurality of simulation devices. In a second aspect, an embodiment of the present application provides a simulation device control apparatus, including: the acquisition module is used for acquiring configuration instructions by the upper computer, wherein the configuration instructions comprise simulation equipment to be controlled and a rack to be controlled, the simulation equipment to be controlled is connected with the relay, and the relay comprises a connecting passage with a plurality of racks; The control module is used for sending a control instruction to the relay connected with the simulation equipment to be controlled by the upper computer, controlling the relay to open a connecting passage between the upper computer and the rack to be controlled, and closing the connecting passage between the upper computer and other racks so as to carry out simulation test by using the simulation equipment to be controlled and the rack to be controlled. Optionally, the simulation equipment to be controlled is a plurality of, and every simulation equipment to be controlled is connected with a relay, the host computer sends control command to the relay that is connected with the simulation equipment to be controlled and is used for: and the upper computer sends a control instruction to a relay connected with each simulation device to be controlled. Optionally, the simulation device control apparatus furthe