Vehicle equipment testing method and device and storage medium
Automatically control vehicle equipment for switching operations through virtual switch controllers, solving the problems of large labor consumption and inaccurate testing in the prior art, and achieving efficient and accurate vehicle equipment fatigue and durability testing.
Patent Information
- Application Number
- CN202510001934.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2045-01-02
AI Technical Summary
The prior art requires a lot of manpower to perform mechanical operations when conducting fatigue and durability tests of vehicle parts and equipment, which is time-consuming and labor-intensive and easy to touch by mistake. The single-piece test cannot fully simulate the vehicle environment, and the test results are not accurate enough.
The test command is sent to the vehicle through a virtual switch controller, the seat controller responds to sending processing commands, the vehicle body controller controls the vehicle table plate equipment and/or the vehicle screen equipment to perform switch operations, and the test control equipment obtains switch test information and generates test results.
It realizes an automated test process, reduces labor consumption and testing costs, improves testing efficiency and accuracy, and can truly test vehicle equipment in the vehicle environment.
Smart Images

Figure CN119688327A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of equipment testing, and in particular to a testing method, device and storage medium for vehicle equipment. Background Art
[0002] Generally, for the safety and reliability of vehicles, it is necessary to conduct a large number of fatigue endurance tests on vehicle parts and equipment, that is, to determine whether vehicle parts and equipment (such as table tops) can still be used normally after completing a certain amount of operations.
[0003] In the related art, manual mechanical operation is required to execute the entire vehicle's logic of opening and closing the table by pressing a physical switch, that is, it is necessary to manually click the table opening button, and then click the closing button after the table is fully opened. Therefore, the above test method requires a lot of manpower to do mechanical clicking, which is time-consuming, labor-intensive and easy to touch by mistake. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, at least one embodiment of the present disclosure provides a vehicle equipment testing method, device and storage medium.
[0005] In a first aspect, the present disclosure provides a vehicle equipment testing method, which is applied to a vehicle and includes:
[0006] The seat controller sends a processing instruction to the body controller in response to the test instruction sent by the test control device based on the virtual switch controller;
[0007] The body controller controls the vehicle table device and / or vehicle screen device to perform switch operations based on the processing instructions, so that the test control device obtains switch test information formed by the vehicle table device and / or vehicle screen device performing switch operations, and generates test results based on the switch test information and preset target switch information.
[0008] In a second aspect, the present disclosure provides a vehicle equipment testing method, which is applied to test control equipment, comprising:
[0009] Based on a preset virtual switch controller, a test instruction is sent to the vehicle, so that the seat controller in the vehicle responds to the test instruction and sends a processing instruction to the body controller, and the body controller controls the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction;
[0010] The switch test information formed by the vehicle table device and / or the vehicle screen device performing the switch operation is obtained, and a test result is generated based on the switch test information and preset target switch information.
[0011] In a third aspect, the present disclosure provides a vehicle equipment testing device, which is applied to a vehicle, and the device includes:
[0012] A response sending module, used for the seat controller to send a processing instruction to the body controller in response to the test instruction sent by the test control device based on the virtual switch controller;
[0013] A receiving control module is used for the body controller to control the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction, so that the test control device obtains the switch test information formed by the vehicle table device and / or the vehicle screen device performing the switch operation, and generates a test result based on the switch test information and the preset target switch information.
[0014] In a fourth aspect, the present disclosure provides a vehicle equipment testing device, which is applied to test a control device, and the device includes:
[0015] A sending module, used for sending a test instruction to the vehicle based on a preset virtual switch controller, so that the seat controller in the vehicle responds to the test instruction and sends a processing instruction to the body controller, and the body controller controls the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction;
[0016] An acquisition generation module is used to acquire switch test information generated by the vehicle table device and / or the vehicle screen device performing switch operations, and generate test results based on the switch test information and preset target switch information.
[0017] In a fifth aspect, the present disclosure provides an electronic device, including: a processor and a memory;
[0018] The processor is used to execute any vehicle equipment testing method provided by the embodiments of the present disclosure by calling the program or instruction stored in the memory.
[0019] In a sixth aspect, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program or instruction, wherein the program or instruction enables a computer to execute any of the vehicle equipment testing methods provided by the embodiments of the present disclosure.
[0020] In a seventh aspect, the present disclosure provides a computer program product, which is used to execute any of the vehicle equipment testing methods provided by the embodiments of the present disclosure.
[0021] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has at least the following advantages:
[0022] In the embodiment of the present disclosure, the seat controller responds to the test instruction sent by the test control device based on the virtual switch controller, and sends a processing instruction to the body controller. The body controller controls the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction, so that the test control device obtains the switch test information formed by the vehicle table device and / or the vehicle screen device performing the switch operation, and generates a test result based on the switch test information and the preset target switch information. Therefore, when performing fatigue and endurance testing, the entire test process can be started and completed through the automated program control instruction, and the test can be performed at any time, reducing the manpower and energy consumption of the tester, reducing the test cost, and improving the test efficiency; at the same time, when performing fatigue and endurance testing, because the state of the vehicle and the equipment environment of various sensors, inductors, etc. are comprehensive and interactive, only in the whole vehicle environment can the problems of the vehicle table device and / or the vehicle screen device be truly tested. In the embodiment of the present disclosure, the test is based on the whole vehicle environment, and the test is not only the fatigue and endurance in a single environment, so the test accuracy and reliability of the vehicle equipment can be further improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0025] Figure 1 A structural schematic diagram of a vehicle equipment testing system provided by an exemplary embodiment of the present disclosure;
[0026] Figure 2 A flowchart of a method for testing vehicle equipment provided by an exemplary embodiment of the present disclosure;
[0027] Figure 3 A flowchart of a method for testing vehicle equipment provided by another exemplary embodiment of the present disclosure;
[0028] Figure 4 A schematic diagram of an interactive process of a vehicle equipment testing method provided in a specific embodiment of the present disclosure;
[0029] Figure 5 A schematic diagram of the structure of a testing device for vehicle equipment provided by an embodiment of the present disclosure;
[0030] Figure 6A schematic structural diagram of a vehicle equipment testing device provided in another embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] In order to more clearly understand the above-mentioned purposes, features and advantages of the present disclosure, the present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It is understandable that the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments, and the specific embodiments described herein are only used to explain the present disclosure, rather than to limit the present disclosure. In the absence of conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in the field belong to the scope of protection of the present disclosure.
[0032] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0033] Usually, for the safety and reliability of vehicles, it is necessary to conduct a large number of fatigue durability tests on vehicle parts and equipment (such as table tops), that is, to determine whether the vehicle parts and equipment can still perform as required after completing a certain amount of operations, that is, to conduct reliability tests within the specified use time of the vehicle parts and equipment. Usually, through durability tests, reliability-related problems in the design, manufacturing process and use of vehicle parts and equipment can be found and corrected, which can effectively improve the process level and make improvements; in addition, the amount of wear can be observed to preliminarily determine the service life of the vehicle parts and equipment.
[0034] In this embodiment, the table top is taken as an example of a vehicle part equipment that needs to be tested. In the existing testing method, during the durability test of the table top, the traditional seat supplier directly gives different current sizes to the controller to open and close the table top, and cyclically changes the current to achieve the durability test. Although the above-mentioned method based on single-piece testing can strictly perform durability tests according to time and accuracy, because it is a single-piece test, not a whole vehicle test, the environment cannot be completely comparable to a real car, and the interaction between various controllers in the whole vehicle environment cannot be tested. A single single-piece test cannot reflect the integrity of the entire link, and the test results cannot cover most working conditions and are not accurate enough; when traditional car companies conduct whole-vehicle durability tests, they press a physical switch to execute the whole-vehicle logic to open and close the small table top, which requires manual mechanical operation, that is, they need to manually click the open button, and then click the close button after the table top is fully opened to cycle the test. The above-mentioned manual testing method results in a long test time cost, and errors will occur for the tester because the operation time cannot be strictly controlled.
[0035] In view of the single-piece test conducted by the above-mentioned tabletop supplier, because it is not a whole vehicle test, the environment cannot be completely comparable to the real vehicle, the test conducted cannot cover all working conditions, and the traditional whole vehicle durability test requires a lot of manpower to do mechanical clicking, which is time-consuming and labor-intensive and prone to accidental touches. The present disclosure provides a vehicle equipment testing method that can be applied to Figure 1 In the application environment shown. The vehicle equipment testing method is applied to the vehicle equipment testing system. The vehicle equipment testing system includes a test control device 100 and a vehicle 200. The test control device 100 obtains one or more test cases based on receiving test contents such as test time, test number, and test index input by the user. The test control device 100 triggers the virtual switch controller by executing a test script pre-written based on the test case, so that the current of the seat changes. The seat controller generates different processing instructions according to different current change values. When the processing instruction is a vehicle table device switch instruction or a vehicle screen device switch instruction, the vehicle table device and / or the vehicle screen device is controlled to switch the switch state. At the same time, the test control device 100 obtains the switch test information and the preset target switch information formed by the vehicle table device and / or the vehicle screen device performing the switch operation to generate the test result.
[0036] Therefore, when conducting tests, automated tests are used, and there is no need for manual mechanical clicking to conduct tests, which reduces testing costs while improving testing efficiency and effectiveness. When conducting fatigue and endurance tests, because the state of the vehicle and the equipment environments of various sensors and inductors are comprehensively interactive, problems with the vehicle desktop equipment and / or vehicle screen equipment can only be truly tested in the whole vehicle environment. In the present disclosed embodiment, the test is conducted based on the whole vehicle environment, and the test is not just fatigue and endurance in a single environment, so the test accuracy and reliability of the vehicle equipment can be further improved.
[0037] The specific implementation of the vehicle equipment testing method, device and storage medium disclosed in the present invention is explained in detail below with reference to the accompanying drawings.
[0038] Figure 1 A flow chart of a method for testing vehicle equipment provided for an exemplary embodiment of the present disclosure. The method can be executed by a testing device for vehicle equipment provided for an embodiment of the present disclosure. The testing device for vehicle equipment can be implemented using software and / or hardware and can be integrated into a vehicle.
[0039] like Figure 2 As shown, the vehicle equipment testing method may include the following steps:
[0040] Step 201: The seat controller sends a processing instruction to the body controller in response to a test instruction sent by a test control device based on a virtual switch controller.
[0041] In the embodiment of the present disclosure, the vehicle is connected to a test control device, and the vehicle equipment is controlled by the test control device to perform testing. A test script can be generated according to actual test requirements (such as number of tests, test time, test scenarios (such as vehicle driving or stationary, etc.), test indicators, etc.), so that the test script is executed by the test control device to control the vehicle equipment to operate according to the test instructions, and the corresponding test results are obtained for analysis to obtain a test report.
[0042] In the disclosed embodiment, a test instruction is sent to the vehicle by triggering a virtual switch controller provided on a test control device. Specifically, when the virtual switch controller is triggered, the control resistance of the virtual switch controller changes, thereby changing the current of a seat in the vehicle. The seat controller obtains the information of the change in the seat current and sends a processing instruction to the body controller.
[0043] In the disclosed embodiment, the seat controller generates different processing instructions according to different seat current change values. For example, a seat current change value of 1 generates a processing instruction for controlling the vehicle table device, and a seat current change value of 2 generates a processing instruction for controlling the vehicle screen device; that is, the virtual switch controller can trigger the switch to control the vehicle table device and can also trigger the switch to control the vehicle screen device. It can be understood that triggering the switch to control the vehicle table device only requires switching the vehicle table device, while triggering the switch to control the vehicle screen device requires switching operations based on the switch status of the vehicle table device.
[0044] In the disclosed embodiment, after the test control device sends a test instruction to the vehicle based on a preset virtual switch controller, the seat controller obtains a change in the current of the seat and sends a processing instruction to the body controller.
[0045] Step 202, the body controller controls the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction, so that the test control device obtains the switch test information formed by the vehicle table device and / or the vehicle screen device performing the switch operation, and generates a test result based on the switch test information and the preset target switch information.
[0046] In the disclosed embodiment, the vehicle table device is usually disposed behind the front seats of the vehicle. The vehicle table device wraps the vehicle screen device, so only the vehicle table device can be controlled to switch on and off. When controlling the switch of the vehicle table device, it is necessary to perform relevant switch operations on the vehicle table device. Therefore, there is a situation where the body controller controls the vehicle table device and / or the vehicle screen device to perform switch operations based on processing instructions.
[0047] In the disclosed embodiment, after receiving the processing instruction, the vehicle body controller parses the processing instruction and determines that it is a vehicle table device processing instruction, and then controls the vehicle table device to switch from a first switch state to a second switch state. The vehicle table device may be a table of a seat on a vehicle.
[0048] In the embodiment of the present disclosure, the body controller can obtain the first switch state of the vehicle table device, that is, the current position state of the vehicle table device; wherein the first switch state of the vehicle table device can be one or more of closed, open, closing, opening, and stopped in the middle.
[0049] It can be understood that the vehicle table device will send the switch status message of the vehicle table device according to a preset period (such as 1 second, 2 seconds, etc.), so that the body controller can obtain the switch status message, and thus obtain the first switch state of the vehicle table device based on the switch status message; wherein, the switch status message refers to the data information used to indicate the switch state of the vehicle table device, such as the data information is a string 11 indicating that the vehicle table device is in the open state, and the data information is a string 00 indicating that the vehicle table device is in the closed state, and the content and length of the data information can also be set according to actual application needs.
[0050] In the embodiment of the present disclosure, the vehicle table device is controlled to switch from a first switch state to a second switch state, and the second switch state is different from the first switch state. For example, the first switch state is closed or closing, and triggering the virtual switch controller at this time will turn on the vehicle table device, that is, the second switch state is the open state; the first switch state is open, opening or stopped in the middle, and triggering the virtual switch controller at this time will turn off the vehicle table device, that is, the second switch state is the closed state.
[0051] It can be understood that the test control device can obtain switch test information generated by the vehicle table device performing switch operations, that is, during the switch test of the vehicle table device, one or more switch test information such as the switch usage time, switch speed, return state and whether there is friction sound can be obtained as the vehicle table device performs switch operations.
[0052] In the disclosed embodiment, target switch information is pre-set, such as standard switch usage time, standard switch speed, normal return and absence of friction sound, etc. After acquiring switch test information formed by the vehicle table device performing the switch operation, it is determined whether the switch test information meets the target switch information. For example, if the switch test information meets the target switch information, test pass information is generated as the test result; for example, if the switch test information does not meet the target switch information, test fail information is generated as the test result.
[0053] It is understandable that the test control device can send test instructions in a loop to obtain multiple test results, and perform statistics on the multiple test results to determine the fatigue durability test results of the vehicle table equipment, such as determining the reliability of the table based on the proportion of test pass times.
[0054] It can also be understood that the test control device can send test instructions in a loop, can count the number of tests, and after meeting a certain value, determine whether the vehicle table device can still be used normally to determine the fatigue durability test results. For example, after a single switch on the vehicle table device for 10,000 times, the vehicle table device still has no interference, no friction sound (i.e. noise), and the vehicle table device remains in its return position without deviation and the switch is still carried out at a uniform speed and the total duration does not change significantly, thereby determining that the vehicle table device has good fatigue durability.
[0055] In the disclosed embodiment, the vehicle table device can only be opened and closed when the vehicle table device is in the open state, that is, under normal circumstances, if the vehicle screen device is in the open state, the vehicle table device is also in the open state; if the vehicle screen device is in the closed state, the vehicle table device can be in the open state or in the closed state. The vehicle screen device is a screen device on a seat in the vehicle.
[0056] In the embodiment of the present disclosure, after receiving the processing instruction, the body controller parses the processing instruction and determines it as a vehicle screen device processing instruction. It is necessary to control the vehicle screen device in combination with the on / off status of the vehicle table device. In other words, controlling the switch of the vehicle screen device needs to be performed according to the on / off status of the vehicle table device.
[0057] Specifically, the body controller sends the processing instruction to the vehicle controller. The vehicle controller obtains that the vehicle screen device is in an open state (which may be fully opened, opening, stopped in the middle, etc.), then controls the vehicle screen device to be closed, and sends the closing state information of the vehicle screen device to the body controller. After obtaining the closing state information of the vehicle screen device, the body controller controls the vehicle table device to switch to a closed state.
[0058] It can be understood that during the switch test of the vehicle table device, the test control device can obtain one or more of the switch usage time, switch speed, return status and whether there is friction sound of the vehicle table device as the switch test information of the vehicle table device, and obtain one or more of the switch usage time, switch speed, return status and whether there is friction sound of the vehicle screen device as the switch test information formed by the vehicle screen device performing the switch operation.
[0059] In the embodiment of the present disclosure, after acquiring the switch test information of the vehicle table device and the switch test information formed by the vehicle screen device performing the switch operation, it is determined whether the switch test information of the vehicle table device satisfies the target switch information of the vehicle table device and whether the switch test information of the vehicle screen device satisfies the target switch information of the vehicle screen device to generate a test result. For example, the switch test information of the vehicle table device and the vehicle table device both satisfy the corresponding target switch information to generate test pass information as a test result; for another example, the switch test information of the vehicle table device or the vehicle table device does not satisfy the corresponding target switch information to generate test fail information as a test result.
[0060] Specifically, after receiving the processing instruction, the vehicle computer controller controls the vehicle screen device to switch to the open state when the vehicle screen device is in the closed state and the vehicle table device is in the open state. When the vehicle screen device is in the closed state and the vehicle table device is in the closed state, the vehicle table device opening instruction is sent to the body controller. The body controller controls the vehicle table device to switch to the open state and sends the vehicle table device opening information to the vehicle computer controller. The vehicle computer controller controls the vehicle screen device to switch to the open state.
[0061] Similarly, during the switch test of the vehicle table device, the test control device can obtain one or more switch test information of the vehicle table device as a result of the vehicle table device performing a switch operation, such as the switch usage time, switch speed, return status, and the presence of friction sound, as well as obtain one or more switch test information of the vehicle screen device as a result of the vehicle table device performing a switch operation, such as the switch usage time, switch speed, return status, and the presence of friction sound, as well as other switch test information.
[0062] Similarly, after obtaining the switch test information formed by the vehicle table device executing the switch operation and the switch test information formed by the vehicle screen device executing the switch operation, determine whether the switch test information of the vehicle table device satisfies the target switch information of the vehicle table device and whether the switch test information of the vehicle screen device satisfies the target switch information of the vehicle screen device to generate a test result. For example, the switch test information of the vehicle table device and the vehicle table device both satisfy the corresponding target switch information to generate test pass information as the test result; for another example, the switch test information of the vehicle table device or the vehicle table device does not satisfy the corresponding target switch information to generate test fail information as the test result.
[0063] It is understandable that the test control device can send test instructions in a loop, can count the number of tests that have been conducted, and after meeting a certain value, determine whether the vehicle table device and the vehicle screen device can still be used normally to determine the fatigue durability test results. For example, when the vehicle table device is turned off, after controlling the vehicle screen device such as the back screen switch 10,000 times, the vehicle table device and the vehicle screen device can still be used normally (there is no interference between the vehicle table device and the vehicle screen device), there is no friction sound (noise), the vehicle table device and the vehicle screen device remain in their returned position without deviation, and the opening and closing are still carried out at a uniform speed and the total duration does not change significantly, thereby determining that the vehicle table device and the vehicle screen device have good fatigue durability.
[0064] Thereby, it is possible to solve the technical problem that the existing method of fatigue testing is only a single-piece test, which can only ensure whether the durability of a single piece is qualified, but lacks the detection of the entire link. The above-mentioned fatigue durability test of monitoring the vehicle table equipment and the vehicle screen equipment in the whole vehicle environment can monitor each operation step, and the test is more comprehensive.
[0065] In the vehicle equipment testing method of the disclosed embodiment, the seat controller responds to the test instruction sent by the test control device based on the virtual switch controller, and sends a processing instruction to the body controller. The body controller controls the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction, so that the test control device obtains the switch test information formed by the vehicle table device and / or the vehicle screen device performing the switch operation, and generates a test result based on the switch test information and the preset target switch information. Therefore, when performing fatigue and endurance testing, the entire test process is started and completed through the automated program control instruction, and the test can be performed at any time, reducing the manpower and energy consumption of the tester, reducing the test cost, and improving the test efficiency; at the same time, when performing fatigue and endurance testing, because the state of the vehicle and the equipment environment of various sensors, inductors, etc. are comprehensively interactive, only in the whole vehicle environment can the problems of the vehicle table device and / or the vehicle screen device be truly tested. In the disclosed embodiment, the test is based on the whole vehicle environment, and the test is not only the fatigue and endurance in a single environment, so the test accuracy and reliability of the vehicle equipment can be further improved.
[0066] Figure 3 This is a flow chart of a vehicle equipment testing method provided by another exemplary embodiment of the present disclosure, which can be performed by a vehicle equipment testing device provided by an embodiment of the present disclosure, and the vehicle equipment testing device can be implemented by software and / or hardware and can be integrated in a test control device. The test control device can be a computer, a mobile phone, or other device.
[0067] like Figure 3 As shown, the vehicle equipment testing method may include the following steps:
[0068] Step 301, based on the preset virtual switch controller, a test instruction is sent to the vehicle, so that the seat controller in the vehicle responds to the test instruction and sends a processing instruction to the body controller, and the body controller controls the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction.
[0069] In the disclosed embodiment, a test script is generated by a test control device based on test contents such as test time, test number, and test indicators, and the test script is executed based on the test control device to trigger a test instruction sent by a virtual switch controller to the vehicle, so that the current of the vehicle seat changes. The seat controller generates different processing instructions according to different current change values, such as vehicle table device processing instructions, that is, instructions for controlling the position state of the vehicle table device to change, such as controlling the vehicle table device to close when the vehicle table device is in an open state; for example, controlling the vehicle table device to open when the vehicle table device is in a closed state, etc.
[0070] In the disclosed embodiment, by writing a script in the test case writing software and nesting functions in the script, the automated test is executed according to the written steps, and the steps are distributed and executed according to the situation. At the same time, the current message status of the entire vehicle is monitored at each node. During the execution of the test script, it is also possible to obtain whether the monitoring information reaches and meets expectations. For example, the preset test results are compared with the actual test results. If the comparison results are consistent, the test is judged to be successful. If not, the test is judged to be a failure.
[0071] Specifically, test cases are written according to the test content (for example, test targets include the return status of the vehicle desktop device and / or the vehicle screen device, the switching time and speed of the vehicle desktop device and / or the vehicle screen device, etc.). The test cases are logical and subdivide each step, prerequisite, and change amount that occurs after the operation is executed. At the same time, the script function (including test time, control mode, etc.) is written. According to the actual test situation, test conditions are set, such as the vehicle power mode (indicating the vehicle driving status), the switching conditions of the vehicle desktop device and / or the vehicle screen device, and different control resistances are given to the virtual switch controller to realize the switching control of the vehicle desktop device and / or the vehicle screen device.
[0072] It should be noted that when starting the test, it is also necessary to detect whether all controllers of the vehicle are in the initial state to prevent the results of the previous test from interfering with the test conditions of the next test.
[0073] Step 302, obtaining switch test information generated by the vehicle table device and / or the vehicle screen device performing a switch operation, and generating a test result based on the switch test information and preset target switch information.
[0074] In the embodiment of the present disclosure, in the process of controlling the vehicle desktop device and / or the vehicle screen device to perform switch operations, the test control device can collect test messages through a preset script or software (such as canoe software), so as to obtain switch test information formed by the vehicle desktop device and / or the vehicle screen device performing switch operations during the test, such as each test, switch test information whether there is noise in the vehicle desktop device and / or the vehicle screen device, the opening or closing time, the average opening or closing speed, and the return status of the vehicle desktop device and the vehicle screen device, etc., and compare the switch test information of the vehicle desktop device and / or the vehicle screen device with the target switch information in the preset test target, such as the standard opening time, no noise, etc., to determine whether the test result is passed, thereby generating a test result.
[0075] In the embodiment of the present disclosure, in order to further meet the test requirements, the test results can also be displayed in the text form of a test report, so that the user can analyze the test conditions that failed in the test results to meet the use requirements of the vehicle-connected device. In order to further meet the test requirements, the test report also includes test information such as the test time.
[0076] The vehicle equipment testing method of the disclosed embodiment sends a test instruction to the vehicle based on a preset virtual switch controller, so that the seat controller in the vehicle responds to the test instruction and sends a processing instruction to the body controller, and the body controller controls the vehicle table device and / or the vehicle screen device to execute the switch based on the processing instruction, obtains the switch test information formed by the vehicle table device and / or the vehicle screen device executing the switch operation, and generates the test result based on the switch test information and the preset target switch information. Therefore, when performing fatigue and durability testing, the entire test process is started and completed through the automatic program control instruction, and the test can be performed at any time, which reduces the manpower and energy consumption of the tester, reduces the test cost, and improves the test efficiency; at the same time, when performing fatigue and durability testing, because the state of the vehicle and the equipment environment of various sensors, inductors, etc. are comprehensive and interactive, only in the whole vehicle environment can the problems of the vehicle table device and / or the vehicle screen device be truly tested. In the disclosed embodiment, the test is based on the whole vehicle environment, and the test is not only the fatigue and durability in a single environment, so the test accuracy and reliability of the vehicle equipment can be further improved.
[0077] In an optional embodiment of the present disclosure, the number of times a vehicle desktop device and / or a vehicle screen device has been tested is obtained; when the number of times tested is greater than or equal to a preset test number threshold, usage status information of the vehicle desktop device and / or the vehicle screen device is obtained, and test usage information of the vehicle desktop device and / or the vehicle screen device is determined based on the usage status information.
[0078] In the embodiment of the present disclosure, the test number threshold can be selected and set according to the actual application scenario. When the number of tests is greater than or equal to the preset test number threshold, the test can be stopped, and the usage status information of the vehicle desktop device and / or the vehicle screen device can be obtained, such as the return status of the vehicle desktop device and / or the vehicle screen device, etc. The test usage information of the vehicle desktop device and / or the vehicle screen device is determined based on the usage status information, that is, it is determined whether the vehicle desktop device and / or the vehicle screen device is in normal use.
[0079] Specifically, the number of tests that have been counted is greater than or equal to the test number threshold, and it is determined whether the vehicle table device and / or the vehicle screen device can still be used normally to determine the fatigue durability test result. For example, after the vehicle table device is switched on and off 10,000 times, the vehicle table device still has no interference, no friction sound (i.e., noise), and the vehicle table device keeps returning to its original position without deviation, and the switch is still carried out at a uniform speed and the total duration does not change significantly, thereby determining that the fatigue durability of the vehicle table device is relatively good; for example, after the back screen is switched on and off 10,000 times, the vehicle table device and the vehicle screen device can still be used normally (the vehicle table device and the vehicle screen device do not have interference), no friction sound (noise), the vehicle table device and the vehicle screen device keep returning to their original position without deviation, and the switch is still carried out at a uniform speed and the total duration does not change significantly, thereby determining that the fatigue durability of the vehicle table device and the vehicle screen device is relatively good. Therefore, after a certain number of tests, the vehicle table device and / or the vehicle screen device are analyzed for their usage status to determine the fatigue durability test result of the vehicle table device and / or the vehicle screen device.
[0080] In an optional embodiment of the present disclosure, the vehicle power mode and test results corresponding to each test instruction are obtained; statistical processing is performed based on the vehicle power mode and test results corresponding to each test instruction to obtain the test results corresponding to each vehicle power mode; and the association information between the vehicle power mode and the vehicle desktop device and / or vehicle screen device is determined based on the test results corresponding to each vehicle power mode.
[0081] In the embodiment of the present disclosure, the test control device triggers a virtual switch controller to send a test instruction once, indicating that a test is performed, which can correspond to a test result. It can be understood that each test can correspond to different test conditions such as the power supply mode of the whole vehicle (including vehicle driving, stopping, etc.), so that the power supply mode of the whole vehicle corresponding to each test result in all test results can be obtained, so that one or more test results corresponding to each whole vehicle power supply mode can be obtained, so as to analyze the test results corresponding to each whole vehicle power supply mode, such as the number of test results that pass in vehicle driving mode, and the number of test results that pass in vehicle stopping mode, so as to determine whether the power supply mode of the whole vehicle has an impact on the use of the vehicle desktop device and / or vehicle screen device and other related information, so that the use operations of the vehicle desktop device and / or vehicle screen device under different vehicle power supply modes can be adjusted in a targeted manner later.
[0082] Thus, the association information between the whole vehicle power mode and the vehicle desktop device and / or vehicle screen device is further obtained to guide the actual use of the vehicle desktop device and / or vehicle screen device, and further meet the use requirements of the vehicle equipment.
[0083] As an example scenario, Figure 4As shown, step 4.1 the test control device obtains the test requirement text, and determines the switching conditions of the vehicle table device and / or the vehicle screen device according to the test requirement text; step 4.2 writes a test script according to the switching conditions of the vehicle table device and / or the vehicle screen device; step 4.3 debugs the test script; step 4.4 executes the test script through the automated test platform to send a test instruction based on the virtual switch controller, such as turning on the vehicle screen device; step 4.5 sends a signal to the seat; step 4.6 the seat signal is sent to the body controller; step 4.7 the body controller sends a signal to the vehicle controller; step 4.8 the vehicle controller turns on or off the vehicle screen device according to actual conditions; step 4.9 obtains the switch test information formed by the vehicle table device and / or the vehicle screen device performing the switch operation; step 4.10 obtains the switch test information of the vehicle table device and / or the vehicle screen device and generates a test result in combination with the preset target switch information for analysis.
[0084] Specifically, in the vehicle environment, each controller will send its own status in real time. Each event is divided into periodic events and trigger events. The status of the vehicle table device and the vehicle screen device belongs to the periodic type and will continuously send the status of the vehicle table device and the vehicle screen device on the public channel. When the seat issues a processing instruction, the body controller checks the current position status of the vehicle table device and the vehicle screen device. For example, the vehicle table device is turned on and off, and the signal is given to the seat, and the seat is given to the body controller. The body controller determines the current position status of the vehicle table device. If the vehicle table device is closed at this time, the vehicle table device is turned on. If the vehicle table device is not closed at this time, the vehicle table device is turned off; similarly, the vehicle screen device is also turned on if the vehicle screen device is closed at this time. If it is not closed at this time, the vehicle screen device is turned on. In addition, during the test process, the test control device can read the real-time message (the status message sent by each controller), and generate the test results according to whether the change in the position status of the vehicle table device and the vehicle screen device is the same as the preset change according to the execution of the test.
[0085] Therefore, when conducting fatigue and endurance tests, automated tests are used. After only writing the test cases and debugging the automated tests, there is no need to consume manpower and energy for testing. Even arbitrary tests and statistics of failure times and analysis of failure causes can be performed, thereby reducing testing costs and improving testing efficiency. When conducting fatigue and endurance tests, the entire vehicle environment is built. Not only the fatigue and endurance of a single controller is tested, but also the problems of the entire vehicle environment are tested, because many links in the vehicle will conflict. Only the entire vehicle environment can determine whether there are other problems, further improving the accuracy and reliability of vehicle equipment testing.
[0086] In order to implement the above embodiments, the present disclosure further provides a vehicle equipment testing device, which can be implemented by software and / or hardware and can be integrated in a cloud server.
[0087] Figure 5 A structural diagram of a vehicle equipment testing device provided by an embodiment of the present disclosure, such as Figure 5 As shown, the vehicle equipment testing device 50 may include: a response sending module 510 and a receiving control module 520 .
[0088] Wherein, the response sending module 510 is used for the seat controller to send a processing instruction to the body controller in response to the test instruction sent by the test control device based on the virtual switch controller;
[0089] A receiving control module 520 is used for the body controller to control the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction, so that the test control device obtains the switch test information formed by the vehicle table device and / or the vehicle screen device performing the switch operation, and generates a test result based on the switch test information and the preset target switch information.
[0090] Optionally, the receiving control module 520 is specifically configured to:
[0091] The body controller determines that the processing instruction is a vehicle table device processing instruction, and controls the vehicle table device to switch from a first switch state to a second switch state, so that the test control device obtains the switch test information formed by the vehicle table device performing the switch operation, and generates a test result based on the switch test information and the preset target switch information.
[0092] Optionally, the receiving control module 520 is further configured to:
[0093] The body controller determines that the processing instruction is a vehicle screen device processing instruction, and the body controller sends the processing instruction to the vehicle computer controller;
[0094] When the vehicle screen device is in the on state after receiving the processing instruction, the vehicle controller controls the vehicle screen device to be turned off, and sends the closing state information of the vehicle screen device to the vehicle body controller;
[0095] After the body controller receives the closing status information of the vehicle screen device, it controls the vehicle table device to switch to the closed state, so that the test control device obtains the switch test information formed by the vehicle table device and the vehicle screen device performing the switch operation and the preset target switch information to generate a test result.
[0096] Optionally, the receiving control module 520 is further configured to:
[0097] After receiving the processing instruction, the vehicle controller controls the vehicle screen device to switch to the open state when obtaining that the vehicle screen device is in the closed state, and sends a vehicle table device opening instruction to the vehicle body controller when obtaining that the vehicle table device is in the open state;
[0098] After receiving the vehicle table device opening instruction, the vehicle body controller controls the vehicle table device to switch to the opening state, and sends the vehicle table device opening information to the vehicle machine controller;
[0099] After receiving the vehicle table device startup information, the vehicle controller controls the vehicle screen device to switch to the on state, so that the test control device obtains the switch test information and preset target switch information formed by the vehicle table device and the vehicle screen device performing the switch operation to generate the test result.
[0100] The vehicle equipment testing device provided in the embodiment of the present disclosure that can be applied to the cloud server can execute the vehicle equipment testing method applied to the cloud server provided in the embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method. Contents not fully described in the embodiment of the device of the present disclosure can refer to the description in any method embodiment of the present disclosure.
[0101] In order to implement the above-mentioned embodiments, the present disclosure further provides a testing device for vehicle equipment, which can be implemented by software and / or hardware and can be integrated in a charging pile terminal.
[0102] Figure 6 A structural diagram of a vehicle equipment testing device provided by another embodiment of the present disclosure, such as Figure 6 As shown, the vehicle equipment testing device 60 may include: a sending module 610 and an acquisition generation module 620 .
[0103] The sending module 610 is used to send a test instruction to the vehicle based on a preset virtual switch controller, so that the seat controller in the vehicle responds to the test instruction and sends a processing instruction to the body controller, and the body controller controls the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction;
[0104] The acquisition generation module 620 is used to obtain switch test information generated by the vehicle table device and / or the vehicle screen device performing a switch operation, and generate a test result based on the switch test information and preset target switch information.
[0105] Optionally, the device further comprises:
[0106] A first acquisition module is used to obtain the number of times the vehicle table device has been tested;
[0107] An acquisition and determination module is used to obtain usage status information of the vehicle table device when the number of tests is greater than or equal to a preset test number threshold, and determine the test usage information of the vehicle table device and / or vehicle screen device based on the usage status information.
[0108] Optionally, the device further comprises:
[0109] A second acquisition module is used to obtain the vehicle power mode and test results corresponding to each test instruction;
[0110] A statistical module, used for performing statistical processing based on the vehicle power mode and test results corresponding to each of the test instructions to obtain the test results corresponding to each vehicle power mode;
[0111] A determination module is used to determine the association information between the vehicle power mode and the vehicle table device and / or the vehicle screen device based on the test results corresponding to each vehicle power mode.
[0112] The testing device for vehicle equipment applicable to a charging pile terminal provided in the embodiments of the present disclosure can execute the testing method for vehicle equipment applicable to a charging pile terminal provided in the embodiments of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method. Contents not fully described in the embodiments of the present disclosure device can refer to the description in any method embodiment of the present disclosure.
[0113] The disclosed embodiment also provides an electronic device, including a processor and a memory; the processor calls the program or instructions stored in the memory to execute the steps of each embodiment of the vehicle equipment testing method as described above, which will not be repeated here to avoid repeated description.
[0114] The embodiments of the present disclosure also provide a computer-readable storage medium, which is non-transitory and stores programs or instructions. The programs or instructions enable a computer to execute the steps of the various embodiments of the vehicle equipment testing method as described above. To avoid repeated description, they will not be repeated here.
[0115] The embodiments of the present disclosure also provide a computer program product, which is used to execute the steps of each embodiment of the vehicle equipment testing method as described above.
[0116] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0117] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A vehicle equipment testing method, characterized in that: Applied to vehicles, including: The seat controller sends a processing instruction to the body controller in response to the test instruction sent by the test control device based on the virtual switch controller; The body controller controls the vehicle table device and / or vehicle screen device to perform switch operations based on the processing instructions, so that the test control device obtains switch test information formed by the vehicle table device and / or vehicle screen device performing switch operations, and generates test results based on the switch test information and preset target switch information.
2. The method according to claim 1, characterized in that The vehicle body controller controls the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction, so that the test control device obtains switch test information formed by the vehicle table device and / or the vehicle screen device performing the switch operation, and generates a test result based on the switch test information and preset target switch information, including: The body controller determines that the processing instruction is a vehicle table device processing instruction, and controls the vehicle table device to switch from a first switch state to a second switch state, so that the test control device obtains the switch test information formed by the vehicle table device performing the switch operation, and generates a test result based on the switch test information and the preset target switch information.
3. The method according to claim 1, characterized in that The vehicle body controller controls the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction, so that the test control device obtains switch test information formed by the vehicle table device and / or the vehicle screen device performing the switch operation, and generates a test result based on the switch test information and preset target switch information, including: The body controller determines that the processing instruction is a vehicle screen device processing instruction, and the body controller sends the processing instruction to the vehicle computer controller; When the vehicle screen device is in the on state after receiving the processing instruction, the vehicle controller controls the vehicle screen device to be turned off, and sends the closing state information of the vehicle screen device to the vehicle body controller; After the body controller receives the closing status information of the vehicle screen device, it controls the vehicle table device to switch to the closed state, so that the test control device obtains the switch test information formed by the vehicle table device and the vehicle screen device performing the switch operation and the preset target switch information to generate a test result.
4. The method according to claim 3, characterized in that The method further comprises: After receiving the processing instruction, the vehicle controller controls the vehicle screen device to switch to the open state when obtaining that the vehicle screen device is in the closed state, and sends a vehicle table device opening instruction to the vehicle body controller when obtaining that the vehicle table device is in the open state; After receiving the vehicle table device opening instruction, the vehicle body controller controls the vehicle table device to switch to the opening state, and sends the vehicle table device opening information to the vehicle machine controller; After receiving the vehicle table device startup information, the vehicle controller controls the vehicle screen device to switch to the on state, so that the test control device obtains the switch test information and preset target switch information formed by the vehicle table device and the vehicle screen device performing the switch operation to generate the test result.
5. A vehicle equipment testing method, characterized in that: Applied to test control equipment, including: Based on a preset virtual switch controller, a test instruction is sent to the vehicle, so that the seat controller in the vehicle responds to the test instruction and sends a processing instruction to the body controller, and the body controller controls the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction; The switch test information formed by the vehicle table device and / or the vehicle screen device performing the switch operation is obtained, and a test result is generated based on the switch test information and preset target switch information.
6. The method according to claim 5, characterized in that The method further comprises: Obtain the number of times the vehicle table device has been tested; When the number of tests is greater than or equal to a preset test number threshold, the usage status information of the vehicle table device is obtained, and the test usage information of the vehicle table device and / or the vehicle screen device is determined based on the usage status information.
7. The method according to claim 5, characterized in that The method further comprises: Obtaining the vehicle power mode and test results corresponding to each of the test instructions; Perform statistical processing based on the vehicle power mode and test results corresponding to each test instruction to obtain the test results corresponding to each vehicle power mode; Based on the test results corresponding to each vehicle power mode, the association information between the vehicle power mode and the vehicle table device and / or the vehicle screen device is determined.
8. A vehicle equipment testing device, characterized in that: Applied to a vehicle, the device comprises: A response sending module, used for the seat controller to send a processing instruction to the body controller in response to the test instruction sent by the test control device based on the virtual switch controller; A receiving control module is used for the body controller to control the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction, so that the test control device obtains the switch test information formed by the vehicle table device and / or the vehicle screen device performing the switch operation, and generates a test result based on the switch test information and the preset target switch information.
9. A vehicle equipment testing device, characterized in that: Applied to test control equipment, the device comprises: A sending module, used for sending a test instruction to the vehicle based on a preset virtual switch controller, so that the seat controller in the vehicle responds to the test instruction and sends a processing instruction to the body controller, and the body controller controls the vehicle table device and / or the vehicle screen device to perform a switch operation based on the processing instruction; An acquisition generation module is used to acquire switch test information generated by the vehicle table device and / or the vehicle screen device performing switch operations, and generate test results based on the switch test information and preset target switch information.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or an instruction that causes a computer to execute the vehicle device testing method according to any one of claims 1 to 4 or the vehicle device testing method according to any one of claims 5 to 7.
Citation Information
Patent Citations
Device for testing durability of functional part of vehicle driver's seat
CN104062129A
Vehicle management system and method for mine truck and computer equipment
CN114228640A
Vehicle test assistance device and method for a vehicle test assistance device
CN115077923A
Automatic driving vehicle testing method, system and device and storage medium
CN116774679A
System and method for testing low-temperature and high-humidity durability of whole vehicle and parts
CN117147173A
Cited By
Vehicle function detection method, system and device, electronic equipment and storage medium
CN121090108A