Test method, device and storage medium of vehicle equipment
By working in tandem with the virtual switch controller and the seat controller, the switching operation of the vehicle's table and screen devices is automated, solving the problems of time-consuming and labor-intensive manual operation and inaccurate test results in the existing technology, and realizing efficient and accurate fatigue durability testing in the whole vehicle environment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD
- Filing Date
- 2025-01-02
- Publication Date
- 2026-06-05
AI Technical Summary
In the existing technology, fatigue durability testing of vehicle parts and equipment requires a lot of manual operation, which is time-consuming, labor-intensive, and prone to accidental touches. Furthermore, single-piece testing cannot truly reflect the interaction of equipment in the whole vehicle environment, resulting in inaccurate test results.
Test commands are sent through a virtual switch controller, and the seat controller and body controller work together to automatically control the switching operation of the vehicle's table and screen devices, generate switch test information and compare it with preset target information to achieve automated fatigue durability testing.
It reduces testing costs, improves testing efficiency and accuracy, and enables real-world testing of equipment issues in a full-vehicle environment, ensuring the reliability of test results.
Smart Images

Figure CN119688327B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of equipment testing technology, and in particular to a testing method, apparatus and storage medium for vehicle equipment. Background Technology
[0002] Typically, for vehicle safety and reliability, extensive fatigue durability tests are required on vehicle parts and equipment to determine whether vehicle parts and equipment (such as tables) can still be used normally after a certain amount of operation.
[0003] In related technologies, opening and closing the table by pressing a physical switch requires manual mechanical operation. That is, you need to manually click the button to open the table and then click the button to close it after the table is fully open. Therefore, the above testing method requires a lot of manpower to perform mechanical clicks, which is time-consuming, labor-intensive and prone to accidental touches. Summary of the Invention
[0004] In order to solve the above-mentioned technical problems, or at least partially solve the above-mentioned technical problems, at least one embodiment of the present disclosure provides a testing method, apparatus and storage medium for vehicle equipment.
[0005] In a first aspect, this disclosure provides a testing method for vehicle equipment, applied to a vehicle, including:
[0006] The seat controller responds to the test command sent by the test control equipment based on the virtual switch controller and sends a processing command to the body controller;
[0007] The vehicle body controller controls the vehicle table device and / or vehicle screen device to perform switching operations based on the processing instructions, so that the test control device can obtain the switching test information formed by the switching operations of the vehicle table device and / or vehicle screen device, and generate test results based on the switching test information and preset target switching information.
[0008] Secondly, this disclosure provides a testing method for vehicle equipment, applied to test control equipment, including:
[0009] A test command is sent to the vehicle based on a preset virtual switch controller, so that the seat controller in the vehicle responds to the test command and sends a processing command to the body controller. The body controller controls the vehicle table device and / or the vehicle screen device to perform switch operations based on the processing command.
[0010] Acquire switch test information generated by the vehicle table device and / or vehicle screen device performing switch operations, and generate test results based on the switch test information and preset target switch information.
[0011] Thirdly, this disclosure provides a testing apparatus for vehicle equipment, applied to a vehicle, the apparatus comprising:
[0012] The response sending module is used by the seat controller to send processing instructions to the body controller in response to the test instructions sent by the test control equipment based on the virtual switch controller;
[0013] The receiving control module is used by the vehicle body controller to control the vehicle table device and / or vehicle screen device to perform switching operations based on the processing instructions, so that the test control device can obtain the switching test information formed by the switching operations of the vehicle table device and / or vehicle screen device, and generate test results based on the switching test information and preset target switching information.
[0014] Fourthly, this disclosure provides a testing apparatus for vehicle equipment, applied to test control equipment, the apparatus comprising:
[0015] The sending module is used to send a test command to the vehicle based on a preset virtual switch controller, so that the seat controller in the vehicle responds to the test command and sends a processing command 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 command;
[0016] The acquisition and generation module is used to acquire switch test information generated by the vehicle table device and / or vehicle screen device performing switch operations, and generate test results based on the switch test information and preset target switch information.
[0017] Fifthly, this disclosure provides an electronic device, including: a processor and a memory;
[0018] The processor executes the test method for any of the vehicle equipment provided in the embodiments of this disclosure by calling the programs or instructions stored in the memory.
[0019] In a sixth aspect, this disclosure provides a computer-readable storage medium storing a program or instructions that cause a computer to perform a test method for any of the vehicle equipment described in the embodiments of this disclosure.
[0020] In a seventh aspect, this disclosure provides a computer program product for executing a test method for any of the vehicle equipment described in the embodiments of this disclosure.
[0021] The technical solution provided in this disclosure has at least the following advantages compared with the prior art:
[0022] In this embodiment, the seat controller responds to the test command sent by the test control device based on the virtual switch controller, and sends a processing command to the body controller. The body controller, based on the processing command, controls the vehicle table device and / or vehicle screen device to perform switching operations, enabling the test control device to acquire the switching test information generated by the switching operations of the vehicle table device and / or vehicle screen device. Based on the switching test information and preset target switching information, test results are generated. Therefore, during fatigue durability testing, the entire test process is initiated and completed through automated program control commands, allowing testing to be conducted at any time, reducing the human effort required by the tester, lowering testing costs, and improving testing efficiency. Furthermore, during fatigue durability testing, because the vehicle's state and the environment of various sensors and other equipment are comprehensively interacting, problems with the vehicle table device and / or vehicle screen device can only be truly tested in a whole-vehicle environment. In this embodiment, the test is conducted based on the whole-vehicle environment, testing not only fatigue durability in a single environment, thus further improving the accuracy and reliability of vehicle equipment testing. Attached Figure Description
[0023] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0024] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 A schematic diagram of the structure of a test system for vehicle equipment provided in an exemplary embodiment of this disclosure;
[0026] Figure 2 A schematic flowchart of a testing method for a vehicle device provided in an exemplary embodiment of this disclosure;
[0027] Figure 3 A flowchart illustrating a testing method for a vehicle device provided as another exemplary embodiment of this disclosure;
[0028] Figure 4 A schematic diagram of the interactive flow of a testing method for vehicle equipment provided in a specific embodiment of this disclosure;
[0029] Figure 5 This is a schematic diagram of the structure of a testing apparatus for vehicle equipment provided in an embodiment of the present disclosure;
[0030] Figure 6This is a schematic diagram of the structure of a test apparatus for vehicle equipment provided in another embodiment of this disclosure. Detailed Implementation
[0031] To better understand the above-described objectives, features, and advantages of this disclosure, the present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the described embodiments are only some, not all, of the embodiments of this disclosure. The specific embodiments described herein are merely for explaining this disclosure and not for limiting it. Unless otherwise specified, the embodiments of this disclosure and the features within them can be combined with each other. All other embodiments obtained by those skilled in the art based on the described embodiments of this disclosure are within the scope of protection of this disclosure.
[0032] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0033] Typically, for vehicle safety and reliability, extensive fatigue durability testing is required on vehicle parts and equipment (such as tables). This involves determining whether the parts and equipment can still perform as intended after a certain amount of operation, i.e., conducting reliability tests within their specified service life. Durability tests can usually identify reliability-related issues in the design, manufacturing, and use of the vehicle parts and equipment, allowing for corrections and improvements in manufacturing processes. Additionally, the amount of wear can be observed to preliminarily estimate the service life of the vehicle parts and equipment.
[0034] In this embodiment, the table is taken as an example of the vehicle component to be tested. In existing testing methods, traditional seat suppliers conduct durability tests on table by directly applying different current magnitudes to the controller to open and close the table, and repeatedly changing the current to achieve durability testing. Although the above-mentioned single-piece testing method can strictly perform durability testing according to time and accuracy, it is a single-piece test, not a whole-vehicle test. The environment cannot be completely compared to a real car, and it cannot test the interaction between various controllers in the whole vehicle environment. The single-piece test cannot reflect the integrity of the entire chain, and the test results cannot cover most operating conditions and are not accurate enough. When traditional car manufacturers conduct whole-vehicle durability tests, they use physical switches to execute the opening and closing of the small table according to the whole vehicle logic. This requires manual mechanical operation, that is, manually clicking the open button, waiting for the table to be fully opened, and then clicking the close button to cycle through the test. The above-mentioned manual testing method results in long testing time costs, and the tester cannot strictly control the operation time, which will produce errors.
[0035] Regarding the single-piece tests conducted by the aforementioned tabletop suppliers, because they are not whole-vehicle tests, the environment cannot fully simulate a real vehicle, and the tests cannot cover all operating conditions. Furthermore, traditional whole-vehicle durability testing requires a significant amount of manpower for mechanical clicking, which is time-consuming, labor-intensive, and prone to accidental activation. Therefore, this disclosure provides a testing method for vehicle equipment, applicable to applications such as... Figure 1 The application environment shown is illustrated. This vehicle equipment testing method is applied to a vehicle equipment testing system. The vehicle equipment testing system includes a test control device 100 and a vehicle 200. The test control device 100 receives user input regarding test time, number of tests, test indicators, and other test content to obtain one or more test cases. The test control device 100 triggers a virtual switch controller by executing a pre-written test script based on the test cases, causing a change in the seat's current. The seat controller generates different processing instructions based on different current change values. When the processing instruction is a vehicle table device switch instruction or a vehicle screen device switch instruction, it controls the vehicle table device and / or vehicle screen device to switch their switch states. Simultaneously, the test control device 100 acquires the switch test information generated by the vehicle table device and / or vehicle screen device performing the switch operation and the preset target switch information to generate test results.
[0036] Therefore, automated testing is used during testing, eliminating the need for manual mechanical clicking. This reduces testing costs while improving testing efficiency and effectiveness. Furthermore, during fatigue durability testing, because the vehicle's condition and the environment of various sensors and other equipment are interconnected, problems with the vehicle's tabletop devices and / or screen devices can only be truly tested in a complete vehicle environment. In this embodiment, the testing is conducted based on the entire vehicle environment, testing not only fatigue durability in a single environment, thus further improving the accuracy and reliability of vehicle equipment testing.
[0037] The following detailed explanation, in conjunction with the accompanying drawings, illustrates the specific implementation methods, apparatus, and storage media for the vehicle equipment disclosed herein.
[0038] Figure 1 This is a flowchart illustrating a testing method for vehicle equipment provided in an exemplary embodiment of the present disclosure. The method can be executed by a testing device for vehicle equipment provided in the embodiments of the present disclosure. The testing device for vehicle equipment can be implemented in software and / or hardware and can be integrated into a vehicle.
[0039] like Figure 2 As shown, the testing method for this vehicle equipment may include the following steps:
[0040] Step 201: In response to the test command sent by the test control device based on the virtual switch controller, the seat controller sends a processing command to the body controller.
[0041] In this embodiment of the disclosure, the vehicle is connected to the test control equipment, and the test control equipment controls the vehicle equipment to perform tests. Test scripts can be generated according to actual test requirements (such as the number of tests, test time, test scenario (such as the vehicle driving or stationary), test indicators, etc.), and the test control equipment executes the test scripts to control the vehicle equipment to operate according to the test instructions, and obtains the corresponding test results for analysis to obtain a test report.
[0042] In this embodiment of the disclosure, a test command is sent to the vehicle by triggering a virtual switch controller set on the 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 the seat in the vehicle. After obtaining the information of the change in the seat current, the seat controller sends a processing command to the body controller.
[0043] In this embodiment, the seat controller generates different processing instructions based on different seat current change values. For example, a seat current change value of 1 generates a processing instruction to control the vehicle table device, and a seat current change value of 2 generates a processing instruction to control the vehicle screen device. In other words, the virtual switch controller can trigger the switching of both the vehicle table device and the vehicle screen device. It can be understood that triggering the switching of the vehicle table device simply involves performing a switching operation on the vehicle table device, while triggering the switching of the vehicle screen device requires performing a switching operation based on the switching state of the vehicle table device.
[0044] In this embodiment of the disclosure, after the test control device sends a test command to the vehicle based on a preset virtual switch controller, the seat controller receives a change in the seat current and sends a processing command to the body controller.
[0045] Step 202: The vehicle body controller controls the vehicle table device and / or vehicle screen device to perform switching operations based on the processing instructions, so that the test control device can obtain the switching test information formed by the switching operations of the vehicle table device and / or vehicle screen device, and generate test results based on the switching test information and the preset target switching information.
[0046] In this embodiment of the disclosure, the vehicle table device is usually located behind the front seats of the vehicle. The vehicle table device covers the vehicle screen device. Therefore, it is possible to control the vehicle table device to turn on and off. However, when controlling the vehicle table device to turn on and off, it is necessary to perform related switching operations on the vehicle table device. Therefore, there are cases where the vehicle body controller controls the vehicle table device and / or the vehicle screen device to perform switching operations based on processing instructions.
[0047] In this embodiment of the disclosure, after receiving a processing instruction, the vehicle body controller parses the instruction and determines it to be a vehicle table device processing instruction. Then, it can control the vehicle table device to switch from a first switch state to a second switch state. The vehicle table device can be a table on a seat in the vehicle.
[0048] In this embodiment of the disclosure, the vehicle 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 the following: closed, open, closing, opening, or stopped in the middle.
[0049] Understandably, the vehicle tray table device will send on / off status messages at preset intervals (such as 1 second, 2 seconds, etc.), so that the vehicle controller can obtain the on / off status messages and thus determine the first on / off state of the vehicle tray table device based on the on / off status messages. The on / off status message refers to the data information used to indicate the on / off state of the vehicle tray table device. For example, the data information string 11 indicates that the vehicle tray table device is in the on state, and the data information string 00 indicates that the vehicle tray table device is in the off state. The content and length of the data information can also be set according to the actual application needs.
[0050] In this embodiment of the disclosure, the vehicle table device is controlled to switch from a first switch state to a second switch state. The second switch state is different from the first switch state. For example, if the first switch state is closed or is being closed, triggering the virtual switch controller will cause the vehicle table device to open, that is, the second switch state is open. If the first switch state is open, is being opened, or is in the middle, triggering the virtual switch controller will cause the vehicle table device to close, that is, the second switch state is closed.
[0051] It is understandable that the test control equipment can acquire the switch test information generated by the vehicle table device performing switch operations. That is, during the switch test of the vehicle table device, it can acquire one or more of the switch test information generated by the vehicle table device performing switch operations, such as switch usage time, switch speed, return status, and whether there is friction noise.
[0052] In this embodiment of the disclosure, target switch information is preset, such as standard switch usage time, standard switch speed, normal return, and absence of friction noise. After obtaining the switch test information generated 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, a test pass information is generated as the test result; otherwise, if the switch test information does not meet the target switch information, a test fail information is generated as the test result.
[0053] Understandably, the test control equipment can send test commands in a loop to obtain multiple test results, and then statistically analyze these results to determine the fatigue durability test results of the vehicle table equipment. For example, the reliability of the table can be determined based on the proportion of times the test passes.
[0054] It is also understandable that the test control equipment can send test commands in a loop and count the number of tests. After a certain value is met, it can determine whether the vehicle table equipment can still be used normally to determine the fatigue durability test results. For example, after the vehicle table equipment is switched on and off 10,000 times, if the vehicle table equipment still does not show any interference, no friction sound (i.e., noise), and the vehicle table equipment remains in its original position without deviation and the switching is still performed at a constant speed with no significant change in the total duration, then it can be determined that the fatigue durability of the vehicle table equipment is relatively good.
[0055] In this embodiment of the disclosure, the vehicle screen 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 either open or closed. The vehicle screen device is the screen device on the vehicle seat.
[0056] In this embodiment of the disclosure, after receiving the processing instruction, the vehicle body controller parses the processing instruction to determine that it is a vehicle screen device processing instruction. It needs to control the vehicle screen device in combination with the on / off state of the vehicle table device. In other words, controlling the on / off state of the vehicle screen device requires performing on / off operations based on the on / off state of the vehicle table device.
[0057] Specifically, the body controller sends the processing command to the vehicle infotainment controller. The vehicle infotainment controller obtains that the vehicle screen device is in an open state (which can be fully open, opening, or in the middle, etc.), then controls the vehicle screen device to close and sends the closed state information of the vehicle screen device to the body controller. After obtaining the closed state information of the vehicle screen device, the body controller controls the vehicle table device to switch to the closed state.
[0058] Understandably, during the switching test of the vehicle table device, the test control equipment can acquire one or more of the following as switching test information of the vehicle table device: switching time, switching speed, return status, and presence of friction noise. It can also acquire one or more of the following as switching test information of the vehicle screen device: switching time, switching speed, return status, and presence of friction noise.
[0059] In this embodiment of the disclosure, after obtaining the switch test information of the vehicle table device and the switch test information formed by the vehicle screen device performing a switch operation, it is determined whether the switch test information of the vehicle table device meets the target switch information of the vehicle table device and whether the switch test information of the vehicle screen device meets the target switch information of the vehicle screen device to generate test results. For example, if both the vehicle table device and the switch test information of the vehicle table device meet the corresponding target switch information, test pass information is generated as the test result; or if either the vehicle table device or the switch test information of the vehicle table device does not meet the corresponding target switch information, test fail information is generated as the test result.
[0060] Specifically, after receiving the processing instruction, the vehicle infotainment controller controls the vehicle screen device to switch to the open state when it is in the off state and the vehicle table device is in the open state. When the vehicle screen device is in the off state and the vehicle table device is in the off state, it sends a vehicle table device open instruction to the body controller. The body controller controls the vehicle table device to switch to the open state and sends vehicle table device open information to the vehicle infotainment controller. The vehicle infotainment controller then controls the vehicle screen device to switch to the open state.
[0061] Similarly, during the switching test of the vehicle table device, the test control equipment can acquire one or more switching test information formed by the vehicle table device performing switching operations, such as switching time, switching speed, return status, and the presence of friction noise. It can also acquire one or more switching test information formed by the vehicle screen device performing switching operations, such as switching time, switching speed, return status, and the presence of friction noise.
[0062] Similarly, after obtaining the switch test information generated by the vehicle table device performing a switch operation and the switch test information generated by the vehicle screen device performing a switch operation, it is determined whether the switch test information of the vehicle table device and the switch test information of the vehicle screen device meet the target switch information of the vehicle table device and generates a test result. For example, if both the vehicle table device and the switch test information of the vehicle table device meet the corresponding target switch information, a test pass message is generated as the test result; otherwise, if either the vehicle table device or the switch test information of the vehicle table device does not meet the corresponding target switch information, a test fail message is generated as the test result.
[0063] Understandably, the test control equipment can send test commands cyclically and count the number of tests. After meeting certain values, it can determine whether the vehicle table and vehicle screen can still be used normally to determine the fatigue durability test results. For example, if the vehicle table and vehicle screen are controlled 10,000 times with the vehicle table closed, and the vehicle table and vehicle screen can still be used normally (no interference between the vehicle table and vehicle screen), there is no friction noise, the vehicle table and vehicle screen remain in their original position without deviation, and the opening and closing are still performed at a uniform speed with no significant change in total time, then it can be determined that the fatigue durability of the vehicle table and vehicle screen is relatively good.
[0064] Therefore, this solves the technical problem that existing fatigue testing methods only test individual components and can only guarantee whether the durability of a single component is up to standard, but lack the ability to detect the entire chain. The fatigue durability test of the vehicle table device and vehicle screen device in the whole vehicle environment described above can monitor each operation step and conduct a more comprehensive test.
[0065] The vehicle equipment testing method of this disclosure involves a seat controller responding to a test command sent by a test control device based on a virtual switch controller. The seat controller then sends a processing command to the vehicle body controller. Based on the processing command, the vehicle body controller controls the vehicle table device and / or vehicle screen device to perform switching operations. This allows the test control device to acquire switch test information generated by the switching operations of the vehicle table device and / or vehicle screen device, and to generate test results based on the switch test information and preset target switch information. Therefore, during fatigue durability testing, the entire testing process is initiated and completed through automated program control commands, allowing testing to be conducted at any time, reducing the human effort required by the tester, lowering testing costs, and improving testing efficiency. Furthermore, during fatigue durability testing, because the vehicle's state and the environment of various sensors and other equipment are comprehensively interacting, problems with the vehicle table device and / or vehicle screen device can only be truly tested in a complete vehicle environment. In this disclosure embodiment, the test is conducted based on the complete vehicle environment, testing not only fatigue durability in a single environment, thus further improving the accuracy and reliability of vehicle equipment testing.
[0066] Figure 3 This is a flowchart illustrating a testing method for vehicle equipment provided in another exemplary embodiment of this disclosure. The method can be executed by a testing device for the vehicle equipment provided in this embodiment. This testing device can be implemented using software and / or hardware and can be integrated into a test control device. The test control device can be a computer, mobile phone, or other similar device.
[0067] like Figure 3 As shown, the testing method for this vehicle equipment may include the following steps:
[0068] Step 301: A test command is sent to the vehicle based on a preset virtual switch controller, so that the seat controller in the vehicle responds to the test command and sends a processing command to the body controller. The body controller controls the vehicle table device and / or the vehicle screen device to perform switching operations based on the processing command.
[0069] In this embodiment, a test script is generated by a test control device based on test content such as test time, number of tests, and test indicators. The test script is then executed by the test control device to trigger a test command sent by a virtual switch controller to the vehicle. This causes a change in the current of the vehicle seat. The seat controller generates different processing commands based on different current change values, such as a vehicle table device processing command, which is a command to control the change in the position state of the vehicle table device. For example, when the vehicle table device is in the open state, the command controls the vehicle table device to close; or when the vehicle table device is in the closed state, the command controls the vehicle table device to open.
[0070] In this embodiment of the disclosure, by writing scripts in test case writing software and nesting functions in the scripts, automated testing is executed according to the written steps. The steps are distributed according to the situation, and the current message status of the whole vehicle is monitored at each node. During the execution of the test script, monitoring information can also be obtained to see if it meets the 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 they are inconsistent, the test is judged to be unsuccessful.
[0071] Specifically, test cases are written based on the test content (e.g., test objectives include the return state of the vehicle's tabletop device and / or vehicle screen device, the switching time and speed of the vehicle's tabletop device and / or vehicle screen device, etc.). The test cases are logical and detailed in each step, including preconditions and changes after the operation is executed. At the same time, script functions (including test time, control mode, etc.) are written. Test conditions are set according to the actual test situation, such as the vehicle power mode (representing the vehicle's driving state) and the conditions for the switching of the vehicle's tabletop device and / or vehicle screen device. Different control resistors are given to the virtual switch controller to achieve the switching control of the vehicle's tabletop device and / or vehicle screen device.
[0072] It should be noted that at the start of the test, it is also necessary to check whether all the vehicle's controllers are in their initial state to prevent the results of the previous test from interfering with the test conditions of the next test.
[0073] Step 302: Obtain switch test information generated by the vehicle table device and / or vehicle screen device performing switch operations, and generate test results based on the switch test information and preset target switch information.
[0074] In this embodiment of the disclosure, during the process of controlling the vehicle table device and / or vehicle screen device to perform switching operations, the test control device can collect test messages through a preset script or software (such as Canoe software). This allows the acquisition of switching test information generated during the test process, such as whether noise exists in the vehicle table device and / or vehicle screen device for each test, the opening or closing time, the average opening or closing speed, and the return status of the vehicle table device and vehicle screen device. The switching test information of the vehicle table device and / or vehicle screen device is then compared with target switching information in the preset test objectives, such as standard opening time and no noise, to determine whether the test result passes, thereby generating a test result.
[0075] In this embodiment of the disclosure, to further meet testing requirements, the test results can also be displayed in the form of a test report, facilitating user analysis of any failed test results to meet the needs of the vehicle connectivity device. Furthermore, to further meet testing requirements, the test report also includes test information such as the test time.
[0076] The vehicle equipment testing method of this disclosure sends test commands to the vehicle based on a preset virtual switch controller. This causes the seat controller in the vehicle to respond to the test commands and send processing commands to the body controller. The body controller, based on the processing commands, controls the vehicle table device and / or vehicle screen device to perform switching operations, acquiring switch test information generated by the switching operations of the vehicle table device and / or vehicle screen device, and generating test results based on the switch test information and preset target switch information. Therefore, during fatigue durability testing, the entire testing process is initiated and completed through automated program control commands, allowing testing to be conducted at any time, reducing the human effort required by the tester, lowering testing costs, and improving testing efficiency. Furthermore, during fatigue durability testing, because the vehicle's state and the environment of various sensors and other equipment are comprehensively interacting, problems with the vehicle table device and / or vehicle screen device can only be truly tested in a whole-vehicle environment. In this disclosure embodiment, the test is conducted based on the whole-vehicle environment, testing not only fatigue durability in a single environment, thus further improving the accuracy and reliability of vehicle equipment testing.
[0077] In one optional embodiment of this disclosure, the number of times the vehicle table device and / or vehicle screen device has been tested is obtained; 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 and / or vehicle screen device is obtained, and the test usage information of the vehicle table device and / or vehicle screen device is determined based on the usage status information.
[0078] In this embodiment of the disclosure, the test count 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 count threshold, the test can be stopped, and the usage status information of the vehicle table device and / or vehicle screen device, such as the return status of the vehicle table device and / or vehicle screen device, can be obtained. Based on the usage status information, the test usage information of the vehicle table device and / or vehicle screen device can be determined, that is, whether the vehicle table device and / or vehicle screen device is in normal use can be determined.
[0079] Specifically, by counting tests conducted at or above a certain threshold, the fatigue durability test results are determined to assess whether the vehicle's tray table and / or screen devices can still be used normally. For example, if a single-switch vehicle tray table device exhibits no interference, no friction noise, and remains in its original position without shifting, and the switching operation continues at a constant speed with minimal change in total duration after 10,000 cycles, then the fatigue durability of the tray table device is considered good. Similarly, if the rear screen device and screen device remain functional after 10,000 cycles (no interference), no friction noise, and maintains its original position without shifting, and the opening and closing operation continues at a constant speed with minimal change in total duration), then the fatigue durability of the tray table and screen device is considered good. Therefore, after a certain number of tests, the usage status of the vehicle's tray table and / or screen devices is analyzed to determine their fatigue durability test results.
[0080] In one optional embodiment of this disclosure, the vehicle power mode and test results corresponding to each test command are obtained; statistical processing is performed based on the vehicle power mode and test results corresponding to each test command to obtain the test results corresponding to each vehicle power mode; and the association information between the vehicle power mode and the vehicle table device and / or vehicle screen device is determined based on the test results corresponding to each vehicle power mode.
[0081] In this embodiment, the test control device triggers a virtual switch controller to send a test command once to indicate that a test is performed, which can correspond to a test result. It is understood that each test can correspond to different test conditions, such as the vehicle power mode (including vehicle driving, stopping, etc.). This allows the acquisition of the vehicle power mode corresponding to each test result in the statistics of all test results. This allows the acquisition of one or more test results corresponding to each vehicle power mode. The test results based on each vehicle power mode can then be analyzed. For example, the test result is the number of passes in the vehicle driving mode and the number of passes in the vehicle stopping mode. This allows the determination of whether the vehicle power mode has an impact on the use of the vehicle table device and / or the vehicle screen device, and other related information. This allows for targeted adjustments to the use of the vehicle table device and / or the vehicle screen device under different vehicle power modes.
[0082] Therefore, further information on the correlation between the vehicle's power mode and the vehicle's table and / or screen devices can be obtained to guide the actual use of the vehicle's table and / or screen devices, thereby further meeting the needs of vehicle device use.
[0083] As an example of a scenario, such as Figure 4As shown, step 4.1 involves the test control device acquiring the test requirement text and determining the switching conditions for the vehicle table device and / or vehicle screen device based on the test requirement text; step 4.2 involves writing a test script based on the switching conditions for the vehicle table device and / or vehicle screen device; step 4.3 involves debugging the test script; step 4.4 involves executing the test script through an automated test platform to execute test instructions sent by the virtual switch controller, such as turning on the vehicle screen device; step 4.5 involves sending signals to the seat; step 4.6 involves sending signals from the seat to the body controller; step 4.7 involves the body controller sending signals to the vehicle infotainment controller; step 4.8 involves the vehicle infotainment controller turning the vehicle screen device on or off according to the actual situation; step 4.9 involves acquiring the switch test information generated by the switching operation of the vehicle table device and / or vehicle screen device; and step 4.10 involves acquiring the switch test information of the vehicle table device and / or vehicle screen device and combining it with the preset target switch information to generate test results.
[0084] Specifically, within the vehicle environment, each controller sends its status in real time. Each event is categorized into periodic and triggered events. The status of the vehicle's tray table and screen devices are periodic and are continuously sent to the common channel. When the seat issues a processing command, the body controller checks the current position and status of the tray table and screen devices. For example, when the tray table is turned on or off, the signal is sent to the seat, which in turn sends a signal to the body controller. The body controller determines the current position and status of the tray table. If it is off, it is turned on; otherwise, it is turned off. Similarly, for the screen devices, if they are off, they are turned on; otherwise, they are turned off. Furthermore, during testing, the test control equipment can read real-time messages (status messages sent by each controller) and, based on the execution of the test, check whether the changes in the position and status of the tray table and screen devices match the preset changes, generating test results.
[0085] Therefore, fatigue durability testing utilizes automated testing. Once test cases are written and debugged, no further human effort is required for testing. It also allows for arbitrary testing, counting of failures, and analysis of failure causes, reducing testing costs and improving efficiency. Furthermore, fatigue durability testing utilizes a whole-vehicle environment. It doesn't just test the fatigue durability of a single controller, but rather the entire vehicle environment. This is because many links in a vehicle can experience conflicts, and only a complete vehicle environment can determine if other problems exist, further improving the accuracy and reliability of vehicle equipment testing.
[0086] To implement the above embodiments, this disclosure also provides a testing device for vehicle equipment, which can be implemented using software and / or hardware and can be integrated into a cloud server.
[0087] Figure 5 This is a schematic diagram of the structure of a testing apparatus for vehicle equipment provided in an embodiment of this disclosure, as shown below. Figure 5 As shown, the testing device 50 for the vehicle equipment may include a response sending module 510 and a receiving control module 520.
[0088] Among them, 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] The receiving control module 520 is used by the vehicle body controller to control the vehicle table device and / or vehicle screen device to perform switching operations based on the processing instructions, so that the test control device can obtain the switching test information formed by the switching operations of the vehicle table device and / or vehicle screen device, and generate test results based on the switching test information and preset target switching information.
[0090] Optionally, the receiving control module 520 is specifically used for:
[0091] The vehicle 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 can obtain the switch test information formed by the vehicle table device performing the switch operation, and generate test results based on the switch test information and preset target switch information.
[0092] Optionally, the receiving control module 520 is further used for:
[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 infotainment controller;
[0094] When the vehicle infotainment controller receives the processing instruction and obtains that the vehicle screen device is in the open state, it controls the vehicle screen device to close and sends the closed state information of the vehicle screen device to the vehicle body controller.
[0095] After receiving the off status information of the vehicle screen device, the vehicle body controller controls the vehicle table device to switch to the off state, so that the test control device can obtain the switch test information formed by the switch operation of the vehicle table device and the vehicle screen device and the preset target switch information to generate test results.
[0096] Optionally, the receiving control module 520 is further used for:
[0097] When the vehicle controller receives the processing instruction and obtains that the vehicle screen device is in a closed state, or obtains that the vehicle table device is in an open state, it controls the vehicle screen device to switch to an open state; and when it obtains that the vehicle table device is in a closed state, it sends a vehicle table device open instruction to the body controller.
[0098] After receiving the instruction to open the vehicle table device, the vehicle body controller controls the vehicle table device to switch to the open state and sends the vehicle table device opening information to the vehicle control unit.
[0099] After receiving the information that the vehicle table device is turned on, the vehicle controller controls the vehicle screen device to switch to the on state, so that the test control device can obtain the switch test information formed by the switch operation of the vehicle table device and the vehicle screen device and the preset target switch information to generate test results.
[0100] The testing apparatus for vehicle equipment applicable to cloud servers provided in this disclosure can execute the testing method for vehicle equipment applicable to cloud servers provided in this disclosure, and has the corresponding functional modules and beneficial effects for executing the method. Content not described in detail in the apparatus embodiments of this disclosure can be referred to the description in any method embodiment of this disclosure.
[0101] To implement the above embodiments, this disclosure also provides a testing device for vehicle equipment, which can be implemented using software and / or hardware and can be integrated into a charging pile terminal.
[0102] Figure 6 This is a schematic diagram of the structure of a testing apparatus for vehicle equipment provided in another embodiment of this disclosure, as shown below. Figure 6 As shown, the testing device 60 for the vehicle equipment may include a sending module 610 and an acquisition and generation module 620.
[0103] The sending module 610 is used to send a test command to the vehicle based on a preset virtual switch controller, so that the seat controller in the vehicle responds to the test command and sends a processing command 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 command.
[0104] The acquisition and generation module 620 is used to acquire switch test information generated by the vehicle table device and / or vehicle screen device performing switch operations, and generate test results based on the switch test information and preset target switch information.
[0105] Optionally, the device further includes:
[0106] The first acquisition module is used to acquire the number of times the vehicle table device has been tested.
[0107] The acquisition and determination module is used to acquire the 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 to determine the test usage information of the vehicle table device and / or the vehicle screen device based on the usage status information.
[0108] Optionally, the device further includes:
[0109] The second acquisition module is used to acquire the vehicle power mode and test results corresponding to each test command;
[0110] The statistics module is used to perform statistical processing based on the vehicle power mode and test results corresponding to each test instruction, and to obtain the test results corresponding to each vehicle power mode.
[0111] The determination module is used to determine the association information between the vehicle power mode and the vehicle table device and / or vehicle screen device based on the test results corresponding to each vehicle power mode.
[0112] The testing apparatus for vehicle equipment applicable to charging pile terminals provided in this disclosure can execute the testing method for vehicle equipment applicable to charging pile terminals provided in this disclosure, and has the corresponding functional modules and beneficial effects for executing the method. Content not described in detail in the apparatus embodiments of this disclosure can be referred to the description in any method embodiment of this disclosure.
[0113] This disclosure also provides an electronic device, including a processor and a memory; the processor executes the steps of the test method embodiments of the aforementioned vehicle equipment by calling programs or instructions stored in the memory. To avoid repetition, these steps will not be repeated here.
[0114] This disclosure also provides a computer-readable storage medium that is non-transitory and stores a program or instructions that cause a computer to perform the steps of the aforementioned vehicle equipment testing method embodiments. To avoid repetition, these steps will not be repeated here.
[0115] This disclosure also provides a computer program product for performing the steps of the aforementioned vehicle equipment testing method embodiments.
[0116] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0117] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily 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 this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A testing method for vehicle equipment, characterized in that, Applied to vehicles, including: The seat controller responds to a test command sent by the test control equipment based on the virtual switch controller and sends a processing command to the body controller. When the virtual switch controller is triggered, its control resistance changes, causing a change in the current of the seat in the vehicle. After acquiring this information, the seat controller sends the processing command to the body controller. The seat controller generates different processing commands based on different seat current changes. The vehicle body controller controls the vehicle table device and / or vehicle screen device to perform switching operations based on the processing instructions, so that the test control device obtains the switching test information formed by the switching operations of the vehicle table device and / or vehicle screen device, and generates test results based on the switching test information and preset target switching information; wherein, when the processing instructions are vehicle screen device processing instructions, the vehicle screen device is controlled based on the switching state of the vehicle table device; wherein, each test corresponds to different test conditions.
2. The method according to claim 1, characterized in that, The vehicle body controller controls the vehicle table device and / or vehicle screen device to perform switching operations based on the processing instructions, so that the test control device acquires the switching test information generated by the switching operations of the vehicle table device and / or vehicle screen device, and generates test results based on the switching test information and preset target switching information, including: The vehicle 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 can obtain the switch test information formed by the vehicle table device performing the switch operation, and generate test results based on the switch test information and 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 vehicle screen device to perform switching operations based on the processing instructions, so that the test control device acquires the switching test information generated by the switching operations of the vehicle table device and / or vehicle screen device, and generates test results based on the switching test information and preset target switching 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 infotainment controller; When the vehicle infotainment controller receives the processing instruction and obtains that the vehicle screen device is in the open state, it controls the vehicle screen device to close and sends the closed state information of the vehicle screen device to the vehicle body controller. After receiving the off status information of the vehicle screen device, the vehicle body controller controls the vehicle table device to switch to the off state, so that the test control device can obtain the switch test information formed by the switch operation of the vehicle table device and the vehicle screen device and the preset target switch information to generate test results.
4. The method according to claim 3, characterized in that, The method further includes: When the vehicle controller receives the processing instruction and obtains that the vehicle screen device is in a closed state, or obtains that the vehicle table device is in an open state, it controls the vehicle screen device to switch to an open state; and when it obtains that the vehicle table device is in a closed state, it sends a vehicle table device open instruction to the body controller. After receiving the instruction to open the vehicle table device, the vehicle body controller controls the vehicle table device to switch to the open state and sends the vehicle table device opening information to the vehicle control unit. After receiving the information that the vehicle table device is turned on, the vehicle controller controls the vehicle screen device to switch to the on state, so that the test control device can obtain the switch test information formed by the switch operation of the vehicle table device and the vehicle screen device and the preset target switch information to generate test results.
5. A testing method for vehicle equipment, characterized in that, Applications in test control equipment, including: A test command is sent to the vehicle based on a preset virtual switch controller, causing the seat controller in the vehicle to respond to the test command and send a processing command to the body controller. The body controller then controls the vehicle's table device and / or screen device to perform switching operations based on the processing command. When the processing command is for the vehicle screen device, it controls the screen device based on the on / off state of the table device. When the virtual switch controller is triggered, its control resistance changes, causing a change in the current of the seat in the vehicle. After receiving the information about the change in seat current, the seat controller sends the processing command to the body controller. The seat controller generates different processing commands based on different seat current change values. The system acquires switch test information generated 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; wherein, each test corresponds to different test conditions.
6. The method according to claim 5, characterized in that, The method further includes: 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 vehicle screen device is determined based on the usage status information.
7. The method according to claim 5, characterized in that, The method further includes: Obtain the vehicle power mode and test results corresponding to each test command; Statistical processing is performed based on the vehicle power mode and test results corresponding to each test command 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 vehicle screen device is determined.
8. A testing device for vehicle equipment, characterized in that, Applied to vehicles, the device includes: The response sending module is used for the seat controller to send a processing instruction to the body controller in response to a test instruction sent by the test control device based on the virtual switch controller; wherein, when the virtual switch controller is triggered, the control resistance of the virtual switch controller changes, and the current of the seat in the vehicle changes; after the seat controller obtains the information of the change in seat current, it sends the processing instruction to the body controller; wherein, the seat controller generates different processing instructions according to different seat current change values; The receiving control module is used by the vehicle body controller to control the vehicle table device and / or vehicle screen device to perform switching operations based on the processing instructions, so that the test control device can obtain the switching test information formed by the switching operations of the vehicle table device and / or vehicle screen device, and generate test results based on the switching test information and preset target switching information; wherein, when the processing instructions are vehicle screen device processing instructions, the vehicle screen device is controlled based on the switching state of the vehicle table device; wherein, each test corresponds to different test conditions.
9. A testing device for vehicle equipment, characterized in that, Applied to test control equipment, the device includes: A sending module is used to send a test command to the vehicle based on a preset virtual switch controller, so that the seat controller in the vehicle responds to the test command and sends a processing command to the body controller. The body controller controls the vehicle table device and / or the vehicle screen device to perform switching operations based on the processing command. The processing command is for the vehicle screen device, and when it is a processing command for the vehicle screen device, it controls the vehicle screen device based on the on / off state of the vehicle table device. When the virtual switch controller is triggered, the control resistance of the virtual switch controller changes, and the current of the seat in the vehicle changes. After obtaining the information about the change in seat current, the seat controller sends the processing command to the body controller. The seat controller generates different processing commands based on different seat current change values. The acquisition and generation module is used to acquire switch test information generated by the vehicle table device and / or vehicle screen device performing switch operations, and generate test results based on the switch test information and preset target switch information; wherein, each test corresponds to different test conditions.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program or instructions that cause a computer to perform a test method for a vehicle device as claimed in any one of claims 1 to 4 or any one of claims 5 to 7.