Simulation signal triggering method for vehicle testing and related device thereof

By automatically determining the target simulation signal by acquiring current operation information and the mapping relationship between quick operation response, the problem of low flexibility in the manual triggering method in the existing technology is solved, thereby improving the simulation signal triggering efficiency and shortening the test cycle.

CN115685970BActive Publication Date: 2026-02-17KUNYI ELECTRONICS TECHNOLOGY (SHANGHAI) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211379851.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-04
Publication Date
2026-02-17
Estimated Expiration
2042-11-04

AI Technical Summary

Technical Problem

In existing vehicle testing, the triggering method of simulation signals relies on manual operation, which is inflexible and makes it difficult to grasp the triggering timing, thus complicating the simulation process and reducing the efficiency of signal simulation.

Method used

By acquiring current operation information and utilizing the quick operation response mapping relationship, the target simulation signal is automatically determined and sent to the vehicle for testing. This includes key value matching, associated key status detection, conflict judgment, and historical usage information optimization, which enriches the triggering methods of simulation signals.

Benefits of technology

It improves the triggering efficiency of simulation signals, shortens the testing and R&D cycle, and enhances the flexibility and efficiency of vehicle testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115685970B_ABST
    Figure CN115685970B_ABST
Patent Text Reader

Abstract

The application relates to a simulation signal triggering method for vehicle testing and a related device thereof, wherein the method comprises the following steps: obtaining a user operation instruction, and determining current operation information carried by the user operation instruction; the operation information comprises at least one of various shortcut information; in a shortcut operation response database, a corresponding target shortcut operation is matched; the shortcut operation response database comprises at least one shortcut operation response mapping relationship; the shortcut operation response mapping relationship comprises operation information of a shortcut operation and simulation signal parameters of at least one simulation signal; according to the target shortcut operation, the simulation signal parameters are determined, at least one target simulation signal is generated, and the at least one target simulation signal is sent to a vehicle. The application can enrich the triggering mode of the simulation signal, further improve the triggering efficiency of the simulation signal, thereby accelerating the testing and research and development speed, and shortening the testing and research and development cycle of a large batch of vehicles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle testing technology, and in particular to a simulation signal triggering method and related equipment for vehicle testing. Background Technology

[0002] In fields such as autonomous driving and assisted driving, multi-bus simulation, testing, and diagnostics for vehicles can be implemented at the terminal to support vehicle network development and testing. For example, VCar DAS software can be used as a host computer on the computer side to simulate signals.

[0003] For example, the host computer software can simulate the sensing signals emitted by the sensors and then send these signals directly or indirectly to the vehicle (such as the vehicle's bus), thereby receiving the sensor detection results fed back by the vehicle. The vehicle's controller can respond to these detection results and perform corresponding processing to complete the testing and diagnosis of the target function.

[0004] However, in existing host computer software, simulated signals can only be triggered manually by the user. For example, the host computer software interface may display a list of simulated signals, with a trigger button for each signal. Clicking the trigger button activates the corresponding simulated signal. Manual triggering only allows for one type of signal to be triggered, and it's difficult to control the timing of the trigger, resulting in low flexibility and limitations imposed by the current user interface. These issues complicate the entire simulation process and reduce the efficiency of signal simulation. Summary of the Invention

[0005] In view of this, this application proposes a simulation signal triggering method and related equipment for vehicle testing, which can enrich the triggering methods of simulation signals, further improve the triggering efficiency of simulation signals, thereby accelerating the testing and development speed and shortening the testing and development cycle of large-scale vehicles.

[0006] According to one aspect of this application, a simulation signal triggering method for vehicle testing is provided, the method comprising: acquiring current operation information; the current operation information being used to characterize a user's current shortcut operation on the keyboard; determining a target simulation signal mapped by the current operation information based on the current operation information and at least one preset shortcut operation response mapping relationship; the shortcut operation response mapping relationship being used to characterize the mapped operation information and the simulation signal; and sending the target simulation signal to the vehicle to test the vehicle.

[0007] Further, based on the current operation information and at least one preset quick operation response mapping relationship, determining the target simulation signal mapped by the current operation information includes: acquiring at least one trigger entry created by the user, each trigger entry including a key value corresponding to the trigger entry; determining whether the key value in the current operation information matches the key value in the at least one trigger entry; if the key value in the current operation information matches the key value in the at least one trigger entry, determining the target simulation signal mapped by the current operation information; if the key value in the current operation information does not match the key value in the at least one trigger entry, not responding to the current operation information.

[0008] Further, determining the target simulation signal mapped by the current operation information based on the current operation information and at least one preset shortcut operation response mapping relationship also includes: querying multiple shortcut operations corresponding to the current operation information based on the current operation information and at least one preset shortcut operation response mapping relationship, wherein the multiple shortcut operations reuse the same key value in the current operation information; detecting whether the associated key corresponding to each shortcut operation in the multiple shortcut operations is in a triggered state; if the associated key is in a triggered state, determining the target simulation signal based on the associated key and the key value in the current operation information; if the associated key is not in a triggered state, determining the target simulation signal based on the key value in the current operation information.

[0009] Furthermore, before determining whether the key value in the current operation information matches the key value in the at least one trigger entry, the simulation signal triggering method for vehicle testing further includes: determining whether the current operation information conflicts with other types of operation information at the same time; if the current operation information conflicts with other types of operation information at the same time, prioritizing the matching of the target shortcut operation corresponding to the key value in the current operation information; if the current operation information does not conflict with other types of operation information at the same time, matching the target shortcut operation corresponding to the current operation information according to the creation order of each trigger entry.

[0010] Further, determining whether the current operation information conflicts with other types of operation information at the same time includes: obtaining the preset priorities of different types of operation information; and determining whether the current operation information conflicts with other types of operation information at the same time based on the priorities.

[0011] Furthermore, the operation information recorded in the at least one shortcut operation response mapping relationship also includes single trigger values ​​and cyclic trigger values; prioritizing the matching of target shortcut operations corresponding to key values ​​in the current operation information includes: detecting a third target shortcut operation corresponding to the cyclic trigger value; if the third target shortcut operation has been triggered, detecting whether a second target shortcut operation corresponding to the single trigger value has been triggered; if the second target shortcut operation has been triggered, pausing the third target shortcut operation, and resuming execution of the third target shortcut operation after executing the second target shortcut operation; if the second target shortcut operation has not been triggered, detecting whether a first target shortcut operation corresponding to the key value has been triggered; if the first target shortcut operation has been triggered, pausing the third target shortcut operation, and resuming execution of the third target shortcut operation after executing the first target shortcut operation; if the first target shortcut operation has not been triggered, continuing to execute the third target shortcut operation.

[0012] Further, the operation information recorded in the at least one shortcut operation response mapping relationship includes the key values ​​of the keys on the keyboard; determining the target simulation signal mapped by the current operation information based on the current operation information and the preset at least one shortcut operation response mapping relationship further includes: acquiring multiple key values ​​of the keyboard; filtering out multiple candidate key values ​​not recorded in the at least one shortcut operation response mapping relationship from the multiple key values; acquiring historical usage information of the candidate key values; the historical usage information includes at least one of the following: write count information, used to characterize the number of times the candidate key value is written to the shortcut operation response mapping relationship; trigger count information, used to characterize the number of times the candidate key value is written to the shortcut operation response mapping relationship; trigger count information, used to characterize the number of times the candidate key value is written to the shortcut operation response mapping relationship. The system includes: the number of times the key corresponding to the candidate key value is triggered when it is written into the shortcut operation response mapping relationship; signal description information, used to describe the historical simulation signal mapped when the candidate key value is written into the shortcut operation response mapping relationship; when configuring the corresponding operation information for any simulation signal, determining the recommendation priority of the multiple candidate key values ​​based on the historical usage information, and recommending some or all candidate key values ​​to the user as the key value mapped to any simulation signal based on the recommendation priority; and in response to the user triggering any target candidate key value, determining that any simulation signal is mapped to the target candidate key value to obtain a new shortcut operation response mapping relationship.

[0013] According to another aspect of this application, a simulation signal triggering device for vehicle testing is provided, the simulation signal triggering device for vehicle testing comprising: an acquisition module for acquiring current operation information; the current operation information representing a user's current shortcut operation on the keyboard; a signal generation module for determining a target simulation signal mapped by the current operation information based on the current operation information and at least one preset shortcut operation response mapping relationship; the shortcut operation response mapping relationship representing the mapped operation information and the simulation signal; and a signal transmission module for transmitting the target simulation signal to the vehicle to test the vehicle.

[0014] According to another aspect of this application, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the simulation signal triggering method for vehicle testing.

[0015] According to another aspect of this application, an electronic device is provided, comprising: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the simulation signal triggering method for vehicle testing.

[0016] By acquiring the current operation information, and then determining the target simulation signal mapped by the current operation information based on the current operation information and at least one preset quick operation response mapping relationship, the target simulation signal is finally sent to the vehicle to test the vehicle. According to various aspects of this application, the triggering methods of simulation signals can be enriched, the triggering efficiency of simulation signals can be further improved, thereby accelerating the testing and development speed and shortening the testing and development cycle of large-scale vehicles. Attached Figure Description

[0017] The technical solution and other beneficial effects of this application will become apparent from the following detailed description of specific embodiments in conjunction with the accompanying drawings.

[0018] Figure 1 A flowchart illustrating a simulation signal triggering method for vehicle testing according to an embodiment of this application is shown.

[0019] Figure 2 A schematic diagram showing the host computer interface of an embodiment of this application is provided.

[0020] Figure 3 This diagram illustrates a simulation signal configuration according to an embodiment of the present application.

[0021] Figure 4 A schematic diagram illustrating another simulation signal configuration according to an embodiment of this application is shown.

[0022] Figure 5A block diagram of a simulation signal triggering device for vehicle testing according to an embodiment of this application is shown.

[0023] Figure 6 A schematic diagram of the structure of an electronic device according to an embodiment of this application is shown. Detailed Implementation

[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0025] In the description of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.

[0026] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication between two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0027] The following disclosure provides many different implementations or examples for carrying out different structures of this application. To simplify the disclosure, specific examples of components and arrangements are described below. Of course, these are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples; such repetition is for simplification and clarity and does not in itself indicate a relationship between the various implementations and / or arrangements discussed. In addition, examples of various specific processes and materials are provided in this application, but those skilled in the art will recognize the application of other processes and / or the use of other materials. In some instances, methods, means, elements, and circuits well known to those skilled in the art are not described in detail in order to highlight the main points of this application.

[0028] Figure 1 A flowchart illustrating a simulation signal triggering method for vehicle testing according to an embodiment of this application is shown. Figure 1 As shown, the simulation signal triggering method for vehicle testing may include:

[0029] Step S1: Obtain current operation information; the current operation information is used to represent a shortcut operation that the user is currently performing on the keyboard;

[0030] The current operation information can be sent via a terminal. For example, the terminal can be a computer device with host computer software installed. The host computer software can be used to test or diagnose the function and operation of the target vehicle. The terminal can be used to execute the simulation signal triggering method for vehicle testing. It should be noted that the host computer software can run on various terminal platforms, such as computers, tablets, mobile phones, embedded devices, etc. This application does not limit the specific platform on which the host computer software runs.

[0031] In this application, the operation information can include various types such as key values ​​and gestures. For example, on a computer platform, the host computer software running on the platform can send simulation signals by setting shortcut keys for sending simulation signals, by drawing corresponding shapes on the computer interface using input method gestures, or by recognizing specific gestures through the computer camera to send simulation signals matching the corresponding gestures. Of course, the host computer software can also set a traditional send button, sending simulation signals by clicking the send button, or automatically sending simulation signals after configuring the settings related to simulation signals.

[0032] Since the operation information in the embodiments of this application can be of various types, it can enrich the triggering methods of simulation signals, further improve the triggering efficiency of simulation signals, thereby accelerating the testing and development speed and shortening the testing and development cycle of a large number of vehicles.

[0033] Step S2: Based on the current operation information and at least one preset quick operation response mapping relationship, determine the target simulation signal mapped by the current operation information; the quick operation response mapping relationship is used to characterize the mapped operation information and simulation signal;

[0034] In one example, the target simulation signal can be used to simulate signals from the Electronic Control Unit (ECU) or sensors in a vehicle. The target simulation signal is transmitted to the vehicle via the vehicle bus to test or diagnose the operation of the target module in the vehicle. The application of the vehicle bus includes, but is not limited to, local interconnect protocols, controller area networks, high-speed fault-tolerant network protocols, automotive Ethernet, and wireless networks such as Bluetooth and Wi-Fi. This application is not limited to these.

[0035] The quick action response database can pre-store at least one quick action response mapping relationship. For example, when the operation information is a key value, it corresponds to the 26 letter keys on a computer keyboard, and the quick action corresponding to these 26 letter keys can be pre-stored in the operation response database. Each letter key corresponds to a quick action, such as key A corresponding to the "continuous send" operation, key B corresponding to the "send only once" operation, key C corresponding to the "pause send" operation, and key D corresponding to the "resume send" operation. As another example, when the operation information is a gesture shape, the quick action corresponding to each possible gesture can be pre-stored in the operation response database, such as extending the thumb corresponding to the "continuous send" operation, and extending the index finger corresponding to the "send only once" operation.

[0036] It should be noted that the mapping relationship between the operation information and the shortcut operation can be updated and adjusted according to specific application scenarios. For example, one operation information can correspond to one shortcut operation or multiple shortcut operations. Conversely, one shortcut operation can correspond to one operation information or multiple operation information. It is understood that this application does not limit the mapping relationship between the operation information and the shortcut operation.

[0037] Specifically, based on the current operation information and at least one preset quick operation response mapping relationship, determining the target simulation signal mapped by the current operation information may include:

[0038] Step S21: Obtain at least one trigger entry created by the user, each trigger entry including the key value corresponding to the trigger entry;

[0039] Figure 2 A schematic diagram showing the host computer interface of an embodiment of this application is provided.

[0040] See Figure 2 For example, two trigger entries are created in the host computer interface. Trigger entry 21 has a custom name of CAN_Message_01, the signal name to be simulated is EPBi_3FA, the ID in the relevant configuration parameters is 3FA, the channel is CAN1, the DLC is 8, the type is CAN, the trigger options are set to send time Now, indicating immediate transmission, the key value is set to K, the loop period is set to 500ms, and the number of loops is infinite; trigger entry 22 has a custom name of CAN_Message_02, the signal name to be simulated is VCU_2FC, the ID in the relevant configuration parameters is 2FC, and all other parameters are the same as trigger entry 21.

[0041] Each of the aforementioned trigger entries may include a trigger source item, a trigger condition item, and a trigger action item. For example, in Figure 2 In the configuration, the name of the signal to be simulated reflects the trigger source item, the key value K is set as the trigger condition item, and the cycle period in the trigger options is the trigger action item. When the trigger condition of key K is met, the host computer software can continuously send a simulation signal with a period of 500ms and an infinite loop to the corresponding vehicle bus to test or diagnose the vehicle through the vehicle bus.

[0042] It should be noted that in this application, when filling in some trigger entries, such as filling in the custom name of trigger entry 21, the ID in the relevant configuration parameters can be automatically completed based on the custom name, without having to manually fill in the ID field again, so as to improve the generation efficiency of the trigger entries.

[0043] In practical applications, to open Figure 2 The interface shown can be accessed via the toolbar buttons in the host computer software. Then... Figure 2 Right-click on the interface to create a new sending frame, and set the attributes and values ​​of the relevant parameters of the frame to configure the trigger entry.

[0044] exist Figure 2 In this configuration, the key value K can be used as a shortcut key to send the corresponding simulation signal. Multiple trigger entries can be configured, and different trigger entries can be configured with different shortcut keys. Alternatively, different simulation signals can be configured with the same shortcut key to send multiple simulation signals corresponding to multiple trigger entries simultaneously using the same shortcut key.

[0045] Step S22: Determine whether the key value in the current operation information matches the key value in the at least one trigger entry;

[0046] For example, the key value in the current parameter could be M, indicating that the user presses the letter M on the computer keyboard. In this case, since M and Figure 2The key value K in the current operation information is inconsistent with the key value K in the current operation information. Figure 2 If the key value in the trigger entry does not match, the current operation information may not be responded to. However, when the key value in the current parameter is K, indicating that the user has pressed the letter K on the computer keyboard, then since K and... Figure 2 The key value K in the current operation information is consistent with the key value K in the current operation information. Figure 2 By matching the key values ​​in the trigger entries, the target simulation signal mapped by the current operation information can be determined.

[0047] Step S23: If the key value in the current operation information matches the key value in the at least one trigger entry, determine the target simulation signal mapped by the current operation information; if the key value in the current operation information does not match the key value in the at least one trigger entry, do not respond to the current operation information.

[0048] Wherein, if the key value in the current operation information matches the key value in at least one trigger entry, the quick operation response database can be traversed to determine the target simulation signal mapped by the current operation information.

[0049] Further, determining the target simulation signal mapped by the current operation information based on the current operation information and at least one preset quick operation response mapping relationship also includes:

[0050] Step S231: Based on the current operation information and at least one preset shortcut operation response mapping relationship, query multiple shortcut operations corresponding to the current operation information, wherein the multiple shortcut operations reuse the same key value in the current operation information;

[0051] For example, the key value K can be used for quick triggering. Figure 2 The trigger entries are defined in the context of the system. When the user presses K on the keyboard, the simulation signals corresponding to trigger entry 21 and trigger entry 22 can be sent to the vehicle bus together. If no signal termination condition is set, the simulation signals corresponding to trigger entry 21 and trigger entry 22 can be sent indefinitely. At this time, the transmission of the simulation signals corresponding to trigger entry 21 and trigger entry 22 can be paused by simultaneously pressing Ctrl and K on the keyboard while they are being transmitted. The key value K can be used for both transmitting and pausing simulation signals, and can be reused for different functions in different application scenarios. In other words, the multiple shortcut operations can reuse the same key value in the current operation information.

[0052] Step S232: Detect whether the associated key corresponding to each shortcut operation in the plurality of shortcut operations is in a triggered state;

[0053] For example, the key value K can be used to send or pause a simulated signal. When key value K is used to pause a simulated signal, it needs to be used in conjunction with Ctrl, in which case Ctrl is the associated key. Therefore, when specifically detecting the trigger state of a key, it is necessary to detect not only whether K is triggered, but also whether the associated key Ctrl is in a triggered state.

[0054] Step S233: If the associated button is in the triggered state, determine the target simulation signal based on the associated button and the button value in the current operation information; if the associated button is not in the triggered state, determine the target simulation signal based on the button value in the current operation information.

[0055] For example, when both key K and associated key Ctrl are detected to be triggered simultaneously, the simulation signals corresponding to trigger entry 21 and trigger entry 22 can be paused. However, when the associated key Ctrl is not detected to be triggered, the simulation signals corresponding to trigger entry 21 and trigger entry 22 will not be paused even if key K is in the triggered state.

[0056] Furthermore, before determining whether the key value in the current operation information matches the key value in the at least one trigger entry, the simulation signal triggering method for vehicle testing further includes:

[0057] Step S201: Determine whether the current operation information conflicts with other types of operation information at the same time;

[0058] For example, if the key value in the current operation information is K, and a browser is currently open with a shortcut key K configured to toggle whether the currently viewed page enters reading mode, then the current operation information conflicts with the browser's operation information at the same time. In this case, the browser's configured shortcut key K can be automatically filtered, and the target shortcut operation corresponding to the key value K in the current operation information can be matched first.

[0059] Step S202: If the current operation information conflicts with other types of operation information at the same time, the target shortcut operation corresponding to the key value in the current operation information shall be matched first; if the current operation information does not conflict with other types of operation information at the same time, the target shortcut operation corresponding to the current operation information shall be matched according to the creation order of each trigger entry.

[0060] Specifically, the creation order of the trigger entries can be the chronological order in which they were created. Of course, other orders can also be used to match the target shortcut operation corresponding to the current operation information; this application is not limited to this.

[0061] Prior to step S201, it can be determined whether the key value in the corresponding trigger entry is enabled. If the key value in the corresponding trigger entry is enabled, the target shortcut operation corresponding to the key value in the current operation information is then matched; otherwise, if the key value in the corresponding trigger entry is disabled, the key value in the current operation information may not be responded to.

[0062] For example, in Figure 2 In the example, for trigger entry 21, a box control corresponding to the key value K is set to the left of the key value. When the box control is checked, it indicates that the key value is enabled; when the box control is not checked, it indicates that the key value is disabled, and even if K is entered on the keyboard, the corresponding trigger request cannot be activated.

[0063] In practical applications, the box control next to the target button can also be placed in other locations in the host computer software. Alternatively, the enable and disable states of the button value can be set in other ways; for example, an uppercase button value can represent the enable state, and a lowercase button value can represent the disable state. It is understood that this application does not limit how the working state of the button value is set.

[0064] Further, determining whether the current operation information conflicts with other types of operation information at the same time includes:

[0065] Step S2011: Obtain the priority of preset different types of operation information;

[0066] Step S2012: Determine whether the current operation information conflicts with other types of operation information at the same time based on the priority.

[0067] For example, the priority of operation information corresponding to a button value can be higher than the priority of operation information corresponding to a gesture shape. Thus, when both operation information corresponding to a button value and operation information corresponding to a gesture shape exist simultaneously, the operation information corresponding to the button value can be responded to first.

[0068] Furthermore, the operation information recorded in the at least one shortcut operation response mapping relationship also includes single trigger values ​​and cyclic trigger values, preferentially matching the target shortcut operation corresponding to the key value in the current operation information, including:

[0069] Step S2021: Detect the third target shortcut operation corresponding to the loop trigger value;

[0070] The cyclic trigger value can correspond to periodic triggering. For example, in Figure 2 In the configuration, the simulation signal cycle time corresponding to trigger entry 21 is set to 500ms. After the cycle time is configured, the send button can be clicked to start sending the periodic simulation signal. The third target shortcut operation can be a repetitive sending mode corresponding to the periodic signal.

[0071] Step S2022: If the third target shortcut operation has been triggered, detect whether the second target shortcut operation corresponding to the single trigger value has been triggered;

[0072] The single trigger value can be sent via a single trigger button (e.g., a send button). For example, if the periodic simulation signal corresponding to trigger entry 21 has already been sent, clicking the send button will send the simulation signal again during the sending interval of the periodic simulation signal. The second target shortcut operation can be a single-send method corresponding to the periodic signal.

[0073] Step S2023: If the second target shortcut operation is triggered, pause the third target shortcut operation, and resume execution of the third target shortcut operation after executing the second target shortcut operation; if the second target shortcut operation is not triggered, check whether the first target shortcut operation corresponding to the key value is triggered.

[0074] For example, during the transmission interval of the periodic simulation signal corresponding to trigger entry 21, a simulation signal can be sent once via a second target shortcut operation. At this time, the periodic transmission of the simulation signal can be paused. Then, after the transmission interval of the periodic simulation signal is completed and another simulation signal is sent, the transmission of the periodic signal can be resumed. When no second target shortcut operation corresponding to the single send button is detected, it is possible to further detect whether the first target shortcut operation corresponding to the button value is triggered.

[0075] Step S2024: If the first target shortcut operation is triggered, pause the third target shortcut operation, and resume execution of the third target shortcut operation after the first target shortcut operation is executed; if the first target shortcut operation is not triggered, continue to execute the third target shortcut operation.

[0076] The first target shortcut operation corresponding to the key value can be set as needed. Taking the first target shortcut operation having the same function as the single send button as an example, when key value K is pressed, the simulation signal corresponding to trigger entry 21 can also be sent once. If key value K is pressed and the send button is clicked simultaneously, since the second target shortcut operation corresponding to the send button has a higher priority and the first target shortcut operation corresponding to key value K has a lower priority, the second target shortcut operation can be responded to first.

[0077] In this application, the priority of the first target shortcut operation, the second target shortcut operation, and the third target shortcut operation increases sequentially. It can be understood that the priority can be set as needed, and this application does not limit it.

[0078] Further, the operation information recorded in the at least one shortcut operation response mapping relationship includes the key value of the key on the keyboard; determining the target simulation signal mapped by the current operation information based on the current operation information and the preset at least one shortcut operation response mapping relationship further includes:

[0079] Step S241: Obtain multiple key values ​​of the keyboard;

[0080] The multiple key values ​​can be other keys excluding the associated key. For example, if the associated key is the Ctrl key, then the multiple key values ​​can be the key values ​​of the 26 letter keys excluding the Ctrl key.

[0081] Step S242: Filter out multiple candidate key values ​​that are not recorded in the at least one shortcut operation response mapping relationship from the multiple key values;

[0082] Specifically, the candidate key values ​​may not be recorded in the at least one shortcut operation response mapping relationship. That is, the at least one shortcut operation response mapping relationship can dynamically change based on the current operation information. For the at least one shortcut operation response mapping relationship, some keys may have been triggered, and some keys may not have been triggered. In this case, the candidate key values ​​that have not been triggered can be obtained by filtering from the multiple key values.

[0083] Step S243: Obtain the historical usage information of the candidate key value; the historical usage information includes at least one of the following: write count information, used to characterize the number of times the candidate key value is written into the shortcut operation response mapping relationship; trigger count information, used to characterize the number of times the key corresponding to the candidate key value is triggered when the candidate key value is written into the shortcut operation response mapping relationship; signal description information, used to describe the historical simulation signal mapped when the candidate key value is written into the shortcut operation response mapping relationship;

[0084] When a candidate key value is triggered, it can be automatically written to the shortcut operation response mapping relationship, so that the shortcut operation response mapping relationship can dynamically update the target shortcut operation corresponding to the current operation information according to the triggering changes of the candidate key value. In practical applications, when the key corresponding to the candidate key value is triggered, it can be written to the shortcut operation response mapping relationship once, or it can be not written to the shortcut operation response mapping relationship. Alternatively, when the key corresponding to the candidate key value is triggered several times, the number of times the candidate key value is written to the shortcut operation response mapping relationship is recorded as one. In other words, the trigger count information and the write count information can be statistically analyzed according to different rules as needed, and this application is not limited to this.

[0085] The signal description information may include the name and / or signal content of the historical simulation signal. The signal content may be parameters related to the historical simulation signal, such as the signal's waveform, amplitude, and phase. The specific content of the signal description information can be selected according to actual needs.

[0086] Step S244: When configuring phase mapping operation information for any of the simulated signals, determine the recommendation priority of the multiple candidate key values ​​according to the historical usage information, and recommend some or all of the candidate key values ​​to the user as the key values ​​for phase mapping of any of the simulated signals according to the recommendation priority;

[0087] The operation information for the phase mapping of any simulated signal configuration can be preset. When setting the key value corresponding to the trigger entry, the recommended priority of the multiple candidate key values ​​can be determined based on the historical usage information. For example, if key value K is used frequently, its recommended priority can be set to the highest. Then, based on the recommended priority, some or all candidate key values ​​can be recommended to the user as the key values ​​for the phase mapping of any simulated signal. In one example, high-priority key values ​​can be displayed first or highlighted on the host computer interface so that the user can quickly select high-priority key values ​​for configuration.

[0088] Furthermore, when configuring phase-mapped operation information for any of the simulated signals, determining the recommendation priority of the plurality of candidate key values ​​based on the historical usage information, and recommending some or all of the candidate key values ​​to the user as the key values ​​for phase mapping of any of the simulated signals based on the recommendation priority, may further include:

[0089] Step S2441: If the number of writes for any candidate key value is greater than the number of writes threshold, then calculate the similarity between the historical simulation signal of the candidate key value and the name and / or signal content of any simulation signal.

[0090] The threshold for the number of writes is an integer greater than or equal to 1, such as a natural number like 1 or 2.

[0091] Step S2442: If the similarity is greater than the similarity threshold, then the recommendation priority of the candidate key value is determined to be the first priority;

[0092] In this embodiment, 0 can represent dissimilarity and 1 can represent similarity, with the similarity ranging from 0 to 1. The similarity threshold can be, for example, a natural number such as 0.8 or 0.9. Furthermore, before step S2442, the similarity of any candidate key value can be determined by combining the trigger count information. It is understood that any method for calculating text similarity in this field is acceptable, and this application does not limit how the similarity is calculated.

[0093] In the above schemes, since the simulation signals with high similarity are usually for the same or similar test purposes, it is more in line with the user's operating habits for the test purpose to prioritize using the key values ​​that have been used in the past.

[0094] Step S2443: Determine the recommended priority of candidate key values ​​that were not determined as first priority as second priority;

[0095] For example, the first priority has a higher priority level than the second priority level. In a specific display, the candidate button values ​​of the first priority are displayed first, and then the candidate button values ​​of the second priority are displayed.

[0096] Step S2444: Recommend candidate key values ​​of the first priority and candidate key values ​​of the second priority to the user through the key recommendation window, and prioritize recommend the candidate key values ​​of the first priority to the user during the recommendation process.

[0097] When recommending candidate key values ​​for the first priority, these values ​​can be sorted based on the trigger count information or the similarity score. Specifically, if sorting is based on the trigger count information, a higher trigger count indicates that the test is more likely to be triggered by a key, and the corresponding candidate key value can be ranked higher in the sorting.

[0098] Furthermore, given the sorting results, the candidate key values ​​for the first priority can be recommended based on those sorting results. For example, a key recommendation window can be displayed on the interface. The first page of this window can list the candidate key values ​​for each first priority, and these listed candidate key values ​​can be sorted based on the sorting results. Of course, random sorting or other sorting methods are also possible. In practice, the user can manually switch pages in the key recommendation window. When the key recommendation window switches to the second page, the candidate key values ​​for the second priority are displayed. It is understood that the sorting can be random or determined according to certain rules; this application does not limit the specific implementation of the sorting.

[0099] Step S245: In response to the user's triggering of any target candidate key value, determine that the simulated signal is mapped to the target candidate key value, and obtain a new shortcut operation response mapping relationship.

[0100] Users can select any target candidate key value by clicking, triggering the corresponding key. Once a key value is triggered, any simulated signal to be simulated can be associated with the triggered target candidate key value, thereby establishing a new quick operation response mapping relationship.

[0101] Specifically, for button values, the system can record the name of the simulated signal set by the user and the frequency (number of times) of the button value set for that simulated signal. When the frequency of the button value set for that simulated signal reaches a preset threshold, the system can prioritize recommending the button value when the user sets that simulated signal. For gesture shapes, similarly, the system can also record the name of the simulated signal set by the user and the frequency of the gesture shape set for that simulated signal.

[0102] In one example, if the frequency of multiple key values ​​exceeds a preset threshold, these candidate keys exceeding the preset threshold can be displayed in descending order of frequency, or the key with the highest frequency can be selected for display. That is to say, in this application, the higher the frequency of a key value or gesture shape, the higher its priority.

[0103] For example, in Figure 2 In the dropdown menu, keyboard shortcuts can be displayed in the order of A, Z, and F. When the key value K is used frequently, it can be displayed at the top of the dropdown menu, replacing the original key value A.

[0104] by Figure 2For example, trigger entry 21 is configured with the key value K. If trigger entry 22 is also configured with the key value K, then when the user inputs K on the computer keyboard, the host computer software detects the input of the key value K, maps the trigger entry corresponding to the key value K from the pre-set mapping relationship, and then sends out the two trigger signals corresponding to that trigger entry. Different trigger combinations can also be set at different trigger times.

[0105] In practical applications, the mapping relationship can be appropriately extended. For example, after pressing key value K, several simulated signals corresponding to trigger entries can be sent sequentially. Furthermore, the mapping relationship can be further enriched by combining mouse button clicks, double clicks, and other operations. For instance, when the left mouse button is clicked, the simulated signal corresponding to the trigger entry can be sent, while when the left mouse button is double-clicked, the sending of the corresponding simulated signal can be stopped. As another example, the mapping relationship can be set according to the number of times the key value is pressed. When key value K is pressed once, the simulated signal corresponding to trigger entry 21 can be sent. After a certain interval, when key value K is pressed a second time, the period for sending the simulated signal corresponding to trigger entry 21 can be shortened by a preset step size, and the simulated signal corresponding to trigger entry 21 with adjusted frequency can be resent. Of course, the mapping relationship can also be specifically set by combining long presses of the key with other keys such as the space bar; this application is not limited to this.

[0106] In one example, the host computer software can be configured with a send button at the location of the trigger entry. When the send button is clicked, a simulated signal matching the trigger entry corresponding to the send button is emitted. The send button represents a traditional manual triggering method. The send button can be configured in parallel with signal simulations based on key values ​​or gesture shapes.

[0107] For example, when the send button is clicked to send trigger entry 21, a simulation signal with a period of 500ms will be continuously sent. If the send button is pressed again, the sending of the simulation signal for trigger entry 21 will be paused after pressing button value K, and the simulation signal corresponding to the trigger entry of the send button will be sent. The simulation signal corresponding to the trigger entry of the send button can be sent all at once or periodically. After the simulation signal corresponding to the trigger entry of the send button has been sent, the sending of the simulation signal for trigger entry 21 will resume.

[0108] Step S3: Send the target simulation signal to the vehicle to test the vehicle.

[0109] Furthermore, the simulation signal triggering method for vehicle testing also includes:

[0110] Step S41: Obtain the activation status of the host computer interface;

[0111] The activation status of the host computer interface can be measured by whether the host computer interface is open. For example, when the host computer software interface is displayed on the computer desktop or minimized, it indicates that the host computer interface is in an active state; when the host computer software interface is closed or occupied by other higher priority processes, it indicates that the host computer interface is in an inactive state.

[0112] Step S42: When the host computer interface is active, the user operation command is detected in real time; when the host computer interface is inactive, the user operation command is not responded to.

[0113] Specifically, in this application, the activation of the host computer interface is a necessary condition. This is because other applications on the host computer platform may set shortcut keys that conflict with the host computer software's shortcut keys. Therefore, when the host computer interface is active, the shortcut priority of the host computer software can be set to the highest. This ensures that regardless of who is currently using the software interface, trigger requests based on the shortcut can be successfully sent.

[0114] Figure 3 This diagram illustrates a simulation signal configuration according to an embodiment of this application. Figure 4 A schematic diagram illustrating another simulation signal configuration according to an embodiment of this application is shown.

[0115] like Figure 3 and Figure 4 As shown, for example, the host computer interface can display configuration items for the simulation signal corresponding to the selected trigger entry. For example, in Figure 2 In this case, trigger item 22 is selected. At this time, the configuration items of the simulation signal corresponding to trigger item 22 can be displayed simultaneously on the host computer interface. For example, in Figure 3 In the simulation signal, configuration item 31 can be a regular linear value or a key-value pair; Figure 4 In this application, the configuration item 41 for the simulation signal can include dynamically changing signal data, such as random, sine, trigonometric, key, cyclic list, user-defined values, etc. It is understood that this application does not limit the specific settings for the configuration items of the simulation signal.

[0116] In summary, this application obtains current operation information, then determines the target simulation signal mapped by the current operation information based on the current operation information and at least one preset quick operation response mapping relationship, and finally sends the target simulation signal to the vehicle for testing. This enables faster triggering of simulation signals, is particularly suitable for parallel triggering of multiple types of simulation signals, and is also compatible with traditional manual triggering methods such as button sending. It meets various triggering needs, enriches the triggering methods of simulation signals, and further improves the triggering efficiency of simulation signals, thereby accelerating testing and development speed and shortening the testing and development cycle of large-scale vehicles.

[0117] Figure 5 A block diagram of a simulation signal triggering device for vehicle testing according to an embodiment of this application is shown.

[0118] like Figure 5 As shown, the simulation signal triggering device 50 for vehicle testing in this embodiment of the application may include:

[0119] The acquisition module 51 is used to acquire current operation information; the current operation information is used to represent a shortcut operation that the user is currently performing on the keyboard.

[0120] The signal generation module 52 is used to determine the target simulation signal mapped by the current operation information based on the current operation information and at least one preset quick operation response mapping relationship; the quick operation response mapping relationship is used to characterize the mapped operation information and simulation signal.

[0121] The signal transmitting module 53 is used to send the target simulation signal to the vehicle to test the vehicle.

[0122] In addition, this application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the simulation signal triggering method for vehicle testing.

[0123] Furthermore, this application also provides an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the simulation signal triggering method for vehicle testing.

[0124] Figure 6 A schematic diagram of the structure of an electronic device according to an embodiment of this application is shown.

[0125] like Figure 6 As shown, the electronic device can be used to implement the simulation signal triggering method for vehicle testing. Specifically, the electronic device may include a computer system. It should be noted that... Figure 3The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0126] like Figure 6 As shown, the computer system includes a Central Processing Unit (CPU) 1801, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 1802 or programs loaded from storage portion 1808 into Random Access Memory (RAM) 1803, such as performing the methods described in the above embodiments. The RAM 1803 also stores various programs and data required for system operation. The CPU 1801, ROM 1802, and RAM 1803 are interconnected via a bus 1804. An Input / Output (I / O) interface 1805 is also connected to the bus 1804.

[0127] The following components are connected to I / O interface 1805: an input section 1806 including a keyboard, mouse, etc.; an output section 1807 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1808 including a hard disk, etc.; and a communication section 1809 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 1809 performs communication processing via a network such as the Internet. A drive 1810 is also connected to I / O interface 1805 as needed. Removable media 1811, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 1810 as needed so that computer programs read from them can be installed into storage section 1808 as needed.

[0128] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1809, and / or installed from removable medium 1811. When the computer program is executed by central processing unit (CPU) 1801, it performs various functions defined in the system of this application.

[0129] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. The transmitted data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0130] 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 this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated 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 a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0131] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.

[0132] In another aspect, this application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the electronic device. The computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods described in the above embodiments.

[0133] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0134] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the method according to the embodiments of this application.

[0135] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0136] The above provides a detailed description of the simulation signal triggering method and related equipment for vehicle testing provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the technical solutions and core ideas of this application. Those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A method of triggering simulation signals for testing a target module for a vehicle, characterized in that, The method comprises: obtaining current operation information; the current operation information is used to represent a kind of shortcut operation of user for keyboard currently; determining target simulation signal mapped by the current operation information according to the current operation information and preset at least one shortcut operation response mapping relationship; the shortcut operation response mapping relationship is used to represent the mapping operation information and simulation signal; sending the target simulation signal to the target module for vehicle to test the target module; wherein, according to the current operation information and preset at least one shortcut operation response mapping relationship, determining the target simulation signal mapped by the current operation information comprises: according to the current operation information and preset at least one shortcut operation response mapping relationship, inquiring a plurality of shortcut operations corresponding to the current operation information, wherein the plurality of shortcut operations multiplex the key value in the same current operation information; detecting whether the associated key corresponding to each shortcut operation in the plurality of shortcut operations is in a trigger state; if the associated key is in the trigger state, determining the target simulation signal according to the associated key and the key value in the current operation information; if the associated key is not in the trigger state, determining the target simulation signal according to the key value in the current operation information; wherein, before judging whether the key value in the current operation information matches the key value in the at least one trigger item, the simulation signal trigger method for testing the target module for vehicle further comprises: judging whether the current operation information conflicts with other types of operation information at the same time; if the current operation information conflicts with other types of operation information at the same time, preferentially matching the target shortcut operation corresponding to the key value in the current operation information; if the current operation information does not conflict with other types of operation information at the same time, matching the target shortcut operation corresponding to the current operation information according to the creation order of each trigger item; judging whether the current operation information conflicts with other types of operation information at the same time comprises: obtaining the priority of different types of operation information preset; determining whether the current operation information conflicts with other types of operation information at the same time according to the priority.

2. The method of claim 1, wherein the method further comprises: According to the current operation information and preset at least one shortcut operation response mapping relationship, determining the target simulation signal mapped by the current operation information comprises: obtaining at least one trigger item created by the user, each trigger item comprises a key value corresponding to the trigger item; judging whether the key value in the current operation information matches the key value in the at least one trigger item; if the key value in the current operation information matches the key value in the at least one trigger item, determining the target simulation signal mapped by the current operation information; if the key value in the current operation information does not match the key value in the at least one trigger item, not responding to the current operation information.

3. The method of claim 1, wherein the method further comprises: The operation information recorded in the at least one shortcut operation response mapping relationship further includes a single trigger value and a cycle trigger value; The priority matching of the target shortcut operation corresponding to the key value in the current operation information includes: Detecting a third target shortcut operation corresponding to the cycle trigger value; In the case that the third target shortcut operation has been triggered, detecting whether a second target shortcut operation corresponding to the single trigger value is triggered; If the second target shortcut operation is triggered, pausing the third target shortcut operation, and after executing the second target shortcut operation, resuming the execution of the third target shortcut operation; if the second target shortcut operation is not triggered, detecting whether a first target shortcut operation corresponding to the key value is triggered; If the first target shortcut operation is triggered, pausing the third target shortcut operation, and after executing the first target shortcut operation, resuming the execution of the third target shortcut operation; if the first target shortcut operation is not triggered, continuing to execute the third target shortcut operation.

4. The method of claim 1, wherein, The operation information recorded in the at least one shortcut operation response mapping relationship includes a key value of a key in the keyboard; According to the current operation information, and a preset at least one shortcut operation response mapping relationship, determining a target simulation signal mapped by the current operation information, further includes: Obtaining a plurality of key values of the keyboard; Filtering a plurality of candidate key values from the plurality of key values, which are not recorded in the at least one shortcut operation response mapping relationship; Obtaining historical usage information of the candidate key values; the historical usage information includes at least one of the following: write frequency information, used to represent the number of times that the candidate key value is written into a shortcut operation response mapping relationship; trigger frequency information, used to represent the number of times that the key corresponding to the candidate key value is triggered when the candidate key value is written into a shortcut operation response mapping relationship; signal description information, used to describe the historical simulation signal mapped by the candidate key value when the candidate key value is written into a shortcut operation response mapping relationship; When configuring mapping operation information for any simulation signal, determining a recommended priority of the plurality of candidate key values according to the historical usage information, and recommending part or all of the candidate key values to a user as key values mapped by the any simulation signal according to the recommended priority; In response to the user triggering any target candidate key value, determining that the any simulation signal is mapped to the target candidate key value, and obtaining a new shortcut operation response mapping relationship.

5. An emulated signal triggering device for testing a target module for a vehicle, characterized in that The simulation signal triggering device for testing a target module for a vehicle includes: An obtaining module, configured to obtain current operation information; the current operation information is used to represent a shortcut operation of a user for a keyboard; A signal generation module, configured to determine a target simulation signal mapped by the current operation information according to the current operation information and a preset at least one shortcut operation response mapping relationship; the shortcut operation response mapping relationship is used to represent mapping operation information and a simulation signal; A signal sending module, configured to send the target simulation signal to a target module for a vehicle to test the target module. The signal generation module is further configured to query a plurality of shortcut operations corresponding to the current operation information according to the current operation information and a preset shortcut operation response mapping relationship, wherein the plurality of shortcut operations share a same key value in the current operation information; detect whether an associated key corresponding to each shortcut operation in the plurality of shortcut operations is in a triggered state; if the associated key is in the triggered state, determine the target simulation signal according to the associated key and the key value in the current operation information; and if the associated key is not in the triggered state, determine the target simulation signal according to the key value in the current operation information. The signal generation module is further configured to determine whether the current operation information conflicts with other types of operation information at the same time; if the current operation information conflicts with other types of operation information at the same time, preferentially match a target shortcut operation corresponding to a key value in the current operation information; and if the current operation information does not conflict with other types of operation information at the same time, match a target shortcut operation corresponding to the current operation information according to a creation order of each trigger item. The signal generation module is further configured to acquire a priority of different types of operation information, and determine whether the current operation information conflicts with other types of operation information at the same time according to the priority.

6. A computer readable medium having stored thereon a computer program, characterized in that, The computer program, when executed by a processor, implements the simulation signal triggering method for testing a target module for a vehicle according to any one of claims 1 to 4.

7. An electronic device, comprising: The computer program, when executed by a processor, implements the simulation signal triggering method for testing a target module for a vehicle according to any one of claims 1 to 4. one or more processors; a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the simulation signal triggering method for testing a target module for a vehicle according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Test method and system for testing vehicle-mounted controller by means of vehicle simulation device

    CN105589453A