Ethernet test system, method and device, storage medium and vehicle
By using traffic generators, vibration tables and thermostats in the on-board Ethernet test system to simulate different environmental conditions, the stability test of the on-board Ethernet system is solved, and the problem of insufficient testing in the existing technology is achieved, and more efficient Testing process and data acquisition.
Patent Information
- Application Number
- CN202310723932.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-19
- Publication Date
- 2024-12-20
AI Technical Summary
The stability testing methods of the existing vehicle-mounted Ethernet system are not perfect enough to fully cover various testing environments, resulting in long test time, high labor costs and inability to obtain complete test data.
Design an Ethernet test system, including a flow generator, a vibration table and a thermostat, through these devices, to simulate different environmental conditions (such as vibration and temperature) to test the Ethernet test system bench to reduce the frequency of on-road testing in real vehicles.
It realizes comprehensive testing of the Ethernet test system bench in different operating environments, saves manpower and time costs, obtains more test data, and reduces the frequency of actual vehicle testing.
Smart Images

Figure CN119172287A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Ethernet testing technology, and in particular to an Ethernet testing system, method, device, storage medium and vehicle. Background Art
[0002] At present, with the development of automobile enterprises, the dependence on vehicle Ethernet systems is becoming stronger and stronger, and the requirements for the stability of vehicle Ethernet systems are also getting higher and higher. In some vehicle Ethernet system projects, before they are applied to vehicles and put on the road, the vehicle Ethernet system is usually tested for stability. However, since many automobile enterprises are relatively shallow in the field of vehicle Ethernet technology, the stability test methods for vehicle Ethernet systems are not perfect and cannot cover various test environments well. Therefore, when conducting stability tests on vehicle Ethernet systems, the vehicle Ethernet system is installed on the vehicle for actual road testing. This test mode has obvious disadvantages, namely, it requires a lot of manpower and test time. At the same time, due to the limitations of test terrain and environment, it is impossible to obtain as much test environment data as possible. Summary of the invention
[0003] The embodiments of the present application provide an Ethernet test system, method, device, storage medium and vehicle, which can more comprehensively cover the operating environment of the Ethernet test system bench during the test process, thereby facilitating the monitoring of the operating status of the Ethernet test system bench under different operating environments, and at the same time can also reduce the frequency of vehicle on-road testing.
[0004] In a first aspect, an embodiment of the present application provides an Ethernet test system, the system comprising a traffic generator, a vibration table and an incubator, wherein:
[0005] A traffic generator, used for connecting to the Ethernet test system bench under test and sending test data to the Ethernet test system bench;
[0006] A vibration table, used for contacting with the Ethernet test system bench, and also used for generating vibrations, and driving the Ethernet test system bench to vibrate;
[0007] The temperature box is used to place the Ethernet test system rack and adjust the ambient temperature of the Ethernet test system rack.
[0008] In some possible implementations of the first aspect, the system further includes:
[0009] The control device is connected to the flow generator, the vibration table and the incubator respectively, and is used to send parameter adjustment control instructions to the flow generator, the vibration table and the incubator respectively to adjust the functional parameters of the flow generator, the vibration table and the incubator.
[0010] In some implementations of the first aspect, the control device includes a switch and a first control host, wherein:
[0011] The switch is connected to the flow generator, the vibration table, the incubator and the first control host respectively, and the first control host is used to send parameter adjustment control instructions for adjusting functional parameters of the flow generator, the vibration table and the incubator to the switch;
[0012] The switch is used to forward the parameter adjustment control instructions sent by the first control host to the flow generator, the vibration table and the temperature box respectively.
[0013] In some possible implementations of the first aspect, the system further includes:
[0014] The second control host is used to connect with the Ethernet test system bench and monitor the running status of the Ethernet test system bench in the running environment.
[0015] In a second aspect, an embodiment of the present application provides an Ethernet testing method, which is applied to the Ethernet testing system described in the first aspect, and the method includes:
[0016] Sending a test request and a monitoring request to the Ethernet test system bench, wherein the test request includes test data and preset test conditions;
[0017] In response to a test request, vibration is generated according to preset test conditions, and the ambient temperature of the Ethernet test system bench is adjusted to establish an operating environment for the Ethernet test system bench;
[0018] In response to the monitoring request, the operating state of the Ethernet test system bench in the operating environment is monitored, and a test result obtained by testing the Ethernet test system bench in the operating state based on the test data is obtained.
[0019] In some implementations of the second aspect, before sending the test request and the monitoring request to the Ethernet test system bench, the method further includes:
[0020] Receive a first parameter adjustment control instruction, where the first parameter adjustment control instruction is used to adjust a data stream type and a data flow size of test data;
[0021] In response to the first parameter adjustment control instruction, the data flow type and data flow size of the test data are adjusted.
[0022] In some implementations of the second aspect, generating vibration according to a preset test condition includes:
[0023] receiving a second parameter adjustment control instruction, the second parameter adjustment control instruction being used to adjust a vibration level of the vibration;
[0024] In response to the second parameter adjustment control instruction, the vibration level is adjusted to drive the Ethernet test system bench to generate vibrations of different vibration levels.
[0025] In some implementations of the second aspect, adjusting the ambient temperature of the Ethernet test system rack includes:
[0026] receiving a third parameter adjustment control instruction, where the third parameter adjustment control instruction is used to adjust the ambient temperature of the Ethernet test system bench;
[0027] In response to the third adjustment control instruction, the ambient temperature of the Ethernet test system rack is adjusted.
[0028] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;
[0029] When the processor executes the computer program instructions, the Ethernet testing method as described in any one of the second aspects is implemented.
[0030] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the Ethernet testing method as described in any one of the second aspects is implemented.
[0031] In a fifth aspect, an embodiment of the present application provides a vehicle, the vehicle comprising at least one of the following:
[0032] An Ethernet test system as described in any one of the first aspects;
[0033] The electronic device according to the third aspect;
[0034] A computer-readable storage medium as described in the fourth aspect.
[0035] The Ethernet test system, method, device, storage medium and vehicle provided in the embodiments of the present application use a flow generator, a vibration table and an incubator to perform environmental topology on the Ethernet test system bench under test, wherein the flow generator is used to connect to the Ethernet test system bench under test and send test data to the Ethernet test system bench, the vibration table is used to contact the Ethernet test system bench and also to generate vibration and drive the Ethernet test system bench to vibrate, and the incubator is used to place the Ethernet test system bench and adjust the ambient temperature of the Ethernet test system bench. Based on this, in the process of performing stability testing on the Ethernet test system bench, it is not necessary to install the Ethernet test system on the vehicle for actual road testing, which can save manpower and time costs, and is no longer limited to terrain and environmental issues, making it easier to obtain more test data, and can more comprehensively cover the operating environment of the Ethernet test system bench during the test process. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0037] Figure 1 It is a structural schematic diagram of a vehicle Ethernet test system provided in an embodiment of the present application;
[0038] Figure 2 is a structural schematic diagram of another vehicle Ethernet test system provided in an embodiment of the present application;
[0039] Figure 3 It is a flowchart of a vehicle Ethernet testing method provided by an embodiment of the present application;
[0040] Figure 4 It is a flowchart of a test data adjustment method provided in an embodiment of the present application;
[0041] Figure 5 It is a flow chart of a vibration adjustment method provided in an embodiment of the present application;
[0042] Figure 6 It is a flow chart of an ambient temperature adjustment method provided in an embodiment of the present application;
[0043] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0045] 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.
[0046] 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 term "comprises" or any other variant thereof is 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.
[0047] In order to solve the problems in the prior art, the embodiments of the present application provide an Ethernet test system, method, device, storage medium and vehicle. The Ethernet test system provided by the embodiments of the present application is first introduced below.
[0048] Figure 1 FIG. 1 is a schematic diagram showing the structure of an Ethernet test system provided by an embodiment of the present application. Figure 1 As shown, the Ethernet test system includes a traffic generator 101, a vibration table 102 and an incubator 103, wherein the traffic generator 101 is used to connect to the Ethernet test system stand 100 under test and send test data to the Ethernet test system stand 100, the vibration table 102 is used to contact the Ethernet test system stand 100, and is also used to generate vibration and drive the Ethernet test system stand 100 to vibrate, and the incubator is used to place the Ethernet test system stand 100 and adjust the ambient temperature of the Ethernet test system stand.
[0049] Based on this, in the process of conducting stability test on the Ethernet test system bench 100, test data is sent to the Ethernet test system bench 100 through the traffic generator 101, the Ethernet test system bench 100 is driven to vibrate through the vibration table 102, and the ambient temperature of the Ethernet test system bench 100 is adjusted through the incubator 103, so that the Ethernet test system bench 100 operates in an operating environment constructed based on the vibration generated by the vibration table 102 and the ambient temperature adjusted by the incubator 103.
[0050] In some embodiments, in order to better cover the test environment, such as Figure 2As shown, the Ethernet test system 10 may also include a control device 11, which is respectively connected to the flow generator 101, the vibration table 102 and the incubator 103, and is used to send parameter adjustment control instructions to the flow generator 101, the vibration table 102 and the incubator 103 respectively to adjust the functional parameters of the flow generator 101, the vibration table 102 and the incubator 103.
[0051] As an example, the control device 11 includes a switch 104 and a first control host 105. The switch 104 is connected to the flow generator 101, the vibration table 102, the incubator 103 and the first control host 105 respectively, and the first control host 105 is used to send parameter adjustment control instructions for adjusting the functional parameters of the flow generator 101, the vibration table 102 and the incubator 103 to the switch 104, and the switch 104 is used to forward the parameter adjustment control instructions sent by the first control host 105 to the flow generator 101, the vibration table 102 and the incubator 103 respectively.
[0052] In some embodiments, Figure 2 As shown, the Ethernet test system 10 may further include a second control host 106, and the second control host 106 is used to connect to the Ethernet test system bench 100 and monitor the operating status of the Ethernet test system bench 100 in the operating environment.
[0053] Therefore, according to the Ethernet test system of the embodiment of the present application, the environment topology of the Ethernet test system bench under test is performed using a flow generator, a vibration table and an incubator, wherein the flow generator is used to connect to the Ethernet test system bench under test and send test data to the Ethernet test system bench, the vibration table is used to contact the Ethernet test system bench, and is also used to generate vibration and drive the Ethernet test system bench to vibrate, and the incubator is used to place the Ethernet test system bench and adjust the ambient temperature of the Ethernet test system bench. Based on this, in the process of performing stability testing on the Ethernet test system bench, it is not necessary to install the Ethernet test system on the vehicle for actual road testing, which can save manpower and time costs, and facilitate the acquisition of more test data, and can more comprehensively cover the operating environment of the Ethernet test system bench during the test process.
[0054] Figure 3 FIG. 1 is a flow chart of an Ethernet testing method provided by an embodiment of the present application. The method is applied to the Ethernet testing system described in the first aspect of the present application, such as Figure 3 As shown, the method may specifically include the following steps:
[0055] S301, sending a test request and a monitoring request to an Ethernet test system bench, wherein the test request includes test data and preset test conditions;
[0056] S302, in response to the test request, generating vibration according to the preset test conditions, and adjusting the ambient temperature of the Ethernet test system bench to establish an operating environment for the Ethernet test system bench;
[0057] S303: In response to the monitoring request, monitor the operating state of the Ethernet test system bench in the operating environment, and obtain a test result obtained by testing the Ethernet test system bench in the operating state based on the test data.
[0058] Therefore, according to the Ethernet test method provided in the embodiment of the present application, based on the Ethernet test system including a flow generator, a vibration table, an incubator, a switch, a first control host and a second control host, the flow generator sends test data to the Ethernet test system bench, the vibration table drives the Ethernet test system bench to vibrate, and the incubator adjusts the ambient temperature of the Ethernet test system bench to build an operating environment for the Ethernet test system bench, and monitors the operating status of the Ethernet test system bench in the operating environment in real time, and tests the Ethernet test system bench in the operating state based on the test data to obtain test results. Based on this, the Ethernet test system can provide a more comprehensive test environment for the Ethernet test system bench, control the Ethernet test system bench to operate in the Ethernet test system, and monitor the operating status of the Ethernet test system bench in different operating environments, thereby reducing the frequency of on-road testing.
[0059] In some embodiments, in S301, the preset test condition refers to what kind of operating environment is built for the Ethernet test system bench, for example, adjusting the vibration level of the vibration table to a preset level, and adjusting the temperature of the incubator to make the ambient temperature of the Ethernet test system bench reach a preset temperature. Figure 2 As shown, data of different data flow types and data flow sizes are sent to the Ethernet test system bench 100 through the traffic generator 101. As an example, Figure 4 As shown, before S301, the method specifically includes the following steps:
[0060] S401, receiving a first parameter adjustment control instruction, where the first parameter adjustment control instruction is used to adjust a data stream type and a data flow size of test data;
[0061] S402: In response to the first parameter adjustment control instruction, adjust the data flow type and data flow size of the test data.
[0062] As an example, in S401, a first parameter adjustment control instruction sent by the first control host 105 is received through the traffic generator 101. Exemplarily, the traffic generator 101 may be an Ixia traffic meter connected to the Ethernet interface corresponding to the Ethernet test system bench 100, and used to simulate the reception and transmission of data traffic, such as full-load data traffic reception and transmission and reception of vehicle-mounted Ethernet special protocol data streams, etc. The first parameter adjustment control instruction may be to adjust the data stream type of the test data sent by the traffic generator 101, or to adjust the data flow size of the test data sent by the traffic generator 101.
[0063] As an example, in S402, when the traffic generator 101 receives the first parameter adjustment control instruction sent by the first control host 105, in response to the first parameter adjustment control instruction, the traffic generator 101 adjusts the data flow type and data flow size of the test data sent to the Ethernet test system bench 100 according to the first parameter adjustment control instruction. Exemplarily, the data flow type can be ARP, ipv4, ipv6, tcp, udp, icmp, igmp and other common protocol flows, and the data flow size can be set to 10%, 20%, 50%, 80%, 100% of the port rate of the switch 104, etc.
[0064] Based on this, the RFC2544 suite provided by the Ixia flow meter is used to test the packet loss rate, throughput and delay of the Ethernet switching system corresponding to the Ethernet test system bench 100 under different packet lengths, port rates and test times, so as to detect the data forwarding of the Ethernet switching system. Among them, RFC2544 is a set of tests defined by a series of numbered files (Request For Comments, RFC), which provides a benchmark for testing network equipment and stipulates a series of test processes and methods. The packet length refers to the length of the data packet sent by the Ixia flow meter to the Ethernet test system bench 100, such as 64Byte, 128Byte, 256Byte, 512Byte, 1024Byte, 1280Byte, 1518Byte, etc.
[0065] Therefore, by simulating different data streams through the traffic generator, and adjusting the data stream type and data flow size of the test data according to the first parameter adjustment control instruction sent by the first control host, a data flow environment is provided for the Ethernet test system bench, so as to detect the data forwarding situation of the Ethernet switching system corresponding to the Ethernet test system bench under the influence of different data streams, data flow sizes, port rates and test time and other factors, so as to timely discover the abnormal hidden dangers of the Ethernet switching system and avoid the abnormal hidden dangers before they are applied to the vehicle.
[0066] In some embodiments, in S302, combining Figure 2 As shown, the Ethernet test system stand 100 is driven to vibrate by the vibration table 102. As an example, Figure 5 As shown, vibration is generated according to preset test conditions. The method specifically includes the following steps:
[0067] S501, receiving a second parameter adjustment control instruction, where the second parameter adjustment control instruction is used to adjust a vibration level of a vibration;
[0068] S502 . In response to the second parameter adjustment control instruction, adjust the vibration level to drive the Ethernet test system bench to generate vibrations of different vibration levels.
[0069] As an example, in S501, the second parameter adjustment control instruction sent by the first control host 105 is received through the vibration table 102. Exemplarily, the vibration table 102 is used to simulate road bumps, and the vibration level of the vibration table 102 can be divided into 1-10 levels. The second parameter adjustment control instruction is to adjust the vibration level of the vibration table 102.
[0070] As an example, in S502, when the vibration table 102 receives the second parameter adjustment control instruction sent by the first control host 105, the vibration table 102 adjusts the vibration level according to the second parameter adjustment control instruction to drive the Ethernet test system bench 100 to generate vibrations of different vibration levels, thereby providing different vibration environments for the Ethernet test system bench 100.
[0071] Based on this, the Ethernet test system bench can be placed on a vibration table, and the vibration table can be used to generate vibrations of different levels to simulate road bumps, so as to reproduce the road bump environment and provide a more realistic test environment for the stability test of the Ethernet test system bench.
[0072] In some embodiments, in S302, combining Figure 2 As shown, the Ethernet test system rack can be placed in a temperature box, and the temperature of the environment in which the Ethernet test system rack is located can be adjusted by the temperature box. Figure 6 As shown, the ambient temperature of the Ethernet test system bench is adjusted, and the method specifically includes the following steps:
[0073] S601, receiving a third parameter adjustment control instruction, where the third parameter adjustment control instruction is used to adjust the ambient temperature of the Ethernet test system bench;
[0074] S602: In response to the third parameter adjustment control instruction, adjust the ambient temperature of the Ethernet test system bench.
[0075] As an example, in S601, the third parameter adjustment control instruction sent by the first control host 105 is received through the thermostat 103. The main purpose of the thermostat 103 is to simulate weather conditions at different temperatures. For example, both extremely cold winter and hot summer can be achieved by adjusting the temperature of the thermostat 103. The third parameter adjustment control instruction is to adjust the temperature of the thermostat 103. For example, the temperature of the thermostat 103 can be controlled at -50°C, -40°C, -30°C, -20°C, -10°C, 0°C, 10°C, 20°C, 30°C, 40°C, 50°C, 60°C, 70°C, 80°C and other temperatures.
[0076] As an example, in S602, when the incubator 103 receives the third parameter adjustment control instruction sent by the first control host 105, the incubator 103 adjusts the temperature according to the third parameter adjustment control instruction, simulating the weather conditions of the Ethernet test system bench at different temperatures, and providing a more realistic test environment for the stability test of the Ethernet test system bench. In addition, it is also convenient to check whether the Ethernet switching system corresponding to the Ethernet test system bench 100 is operating normally under different weather conditions, specifically whether the Ethernet switching system forwards data normally, whether the serial port can input and output normally, etc.
[0077] In some embodiments, in S303, combining Figure 2 As shown, after controlling the Ethernet test system bench 100 to operate in an operating environment built based on the vibration generated by the vibration table 102 and the ambient temperature adjusted by the incubator 103, it is also possible to respond to a monitoring request and monitor the operating status of the Ethernet test system bench 100 in different operating environments through the second control host 106, and obtain the test results obtained by testing the Ethernet test system bench under the operating state based on the test data.
[0078] As an example, the management device network ports MGMT of the flow generator 101, the vibration table 102, and the incubator 103 are all connected to the first control host 105 through the switch 104 to ensure that each device is in the same network segment to achieve the purpose of signal intercommunication. And the second control host 106 is connected to the management device serial port Console port corresponding to the Ethernet test system bench 100. When each device is intercommunication, the first control host 105 controls the dynamic changes of the relevant functional parameters of each device, and the second control host 106 is used to monitor the operating status of the Ethernet test system bench 100 in real time during the test process, so as to more conveniently and quickly find the abnormal conditions of the software and hardware related to the Ethernet test system bench 100, such as whether the hardware is falling off, burning, deformed, etc.
[0079] Exemplarily, the traffic generator 101 obtains multiple test data by adjusting the data stream type and data flow size of the test data, and constructs different operating environments for the Ethernet test system bench 100 by adjusting the vibration level of the vibration table 102 and the temperature of the incubator. Under different operating environments, the Ethernet test system bench 100 is tested using different test data to monitor the operating status of the Ethernet test system bench 100 under different operating environments, and obtain test results corresponding to the operating status. The test results correspond to abnormal conditions of the Ethernet test system bench 100, for example, in an operating environment with a vibration level of 5 and a temperature of 30°C, whether the Ethernet test system bench 100 is allowed to operate normally, whether the relevant software operates normally, whether the data forwarding is normal, or whether the relevant hardware operates normally, or whether there are abnormal conditions such as shedding, burning, and deformation.
[0080] Based on this, it is easier to obtain multiple test data and flexibly build test scenarios, more comprehensively covering the operating environment of the Ethernet test system bench, reducing the frequency of actual vehicle road testing, and avoiding some safety hazards in advance.
[0081] Therefore, after setting the functional parameters of the flow generator, incubator, and vibration table through the first control host, the operating status of the Ethernet test system bench can be monitored through the second control host. The test results of the Ethernet test system bench in different operating environments can be obtained without the need for staff to be on duty every other day, which can correspondingly reduce the investment in manpower and material resources.
[0082] It should be noted that the application scenarios described in the above embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0083] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0084] The electronic device 700 may include a processor 701 and a memory 702 storing computer program instructions.
[0085] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0086] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 702 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 702 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 702 is a non-volatile solid-state memory.
[0087] In certain embodiments, the memory 702 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory 702 includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the second aspect of the present application.
[0088] The processor 701 implements the Ethernet testing method in the above embodiment by reading and executing the computer program instructions stored in the memory 702 .
[0089] In some examples, the electronic device 700 may further include a communication interface 703 and a bus 704. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via a bus 704 and communicate with each other.
[0090] The communication interface 703 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0091] Bus 704 includes hardware, software or both, and the components of electronic device 700 are coupled to each other. For example, but not limitation, bus 704 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 704 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0092] Exemplarily, the electronic device 700 may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA).
[0093] The electronic device 700 can be combined with Figure 2 and Figure 3 An Ethernet testing system and method are described.
[0094] In addition, in combination with the Ethernet test method in the above embodiment, the embodiment of the present application may provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the Ethernet test method in the above embodiment is implemented. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, etc.
[0095] In addition, the embodiment of the present application further provides a vehicle, which may include at least one of the following:
[0096] The vehicle Ethernet test system as described in any one of the first aspects;
[0097] The electronic device according to the third aspect;
[0098] A computer-readable storage medium as described in the fourth aspect.
[0099] It should be understood that the above specific embodiments of the present application are only used to illustrate or explain the principles of the present application, and do not constitute a limitation to the present application. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present application should be included in the protection scope of the present application. In addition, the claims attached to the present application are intended to cover all changes and modifications that fall within the scope and boundaries of the attached claims, or the equivalent forms of such scope and boundaries.
[0100] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0101] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0102] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
[0103] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. An Ethernet test system, It is characterized in that Includes flow generator, vibration table and temperature chamber, including: The traffic generator is used to connect to the Ethernet test system bench under test and send test data to the Ethernet test system bench; The vibration table is used to contact with the Ethernet test system bench and is also used to generate vibration and drive the Ethernet test system bench to vibrate; The temperature box is used to place the Ethernet test system rack and adjust the ambient temperature of the Ethernet test system rack.
2. The system according to claim 1, It is characterized in that The system further comprises: The control device is connected to the flow generator, the vibration table and the incubator respectively, and is used to send parameter adjustment control instructions to the flow generator, the vibration table and the incubator respectively to adjust the functional parameters of the flow generator, the vibration table and the incubator.
3. The system according to claim 2, It is characterized in that The control device comprises a switch and a first control host, wherein: The switch is connected to the flow generator, the vibration table, the incubator and the first control host respectively, and the first control host is used to send parameter adjustment control instructions for adjusting functional parameters of the flow generator, the vibration table and the incubator to the switch; The switch is used to forward the parameter adjustment control instructions sent by the first control host to the flow generator, the vibration table and the temperature box respectively.
4. The system according to claim 1, It is characterized in that The system further comprises: The second control host is used to connect to the Ethernet test system bench and monitor the operating status of the Ethernet test system bench in the operating environment.
5. An Ethernet testing method, It is characterized in that Applied to the Ethernet test system according to any one of claims 1 to 4, the method comprising: Sending a test request and a monitoring request to an Ethernet test system bench, wherein the test request includes test data and preset test conditions; In response to the test request, vibration is generated according to the preset test conditions, and the ambient temperature of the Ethernet test system bench is adjusted to establish an operating environment for the Ethernet test system bench; In response to the monitoring request, the operating state of the Ethernet test system bench in the operating environment is monitored, and a test result obtained by testing the Ethernet test system bench in the operating state based on the test data is obtained.
6. The method according to claim 5, It is characterized in that Before sending the test request and the monitoring request to the Ethernet test system bench, the method further includes: Receive a first parameter adjustment control instruction, where the first parameter adjustment control instruction is used to adjust the data flow type and data flow size of the test data; In response to the first parameter adjustment control instruction, the data flow type and data flow size of the test data are adjusted.
7. The method according to claim 5, It is characterized in that Generating vibration according to the preset test conditions includes: receiving a second parameter adjustment control instruction, wherein the second parameter adjustment control instruction is used to adjust a vibration level of the vibration; In response to the second parameter adjustment control instruction, the vibration level is adjusted to drive the Ethernet test system bench to generate vibrations of different vibration levels.
8. The method according to claim 5, It is characterized in that The step of adjusting the ambient temperature of the Ethernet test system bench comprises: receiving a third parameter adjustment control instruction, wherein the third parameter adjustment control instruction is used to adjust the ambient temperature of the Ethernet test system bench; In response to the third adjustment control instruction, the ambient temperature of the Ethernet test system rack is adjusted.
9. An electronic device, It is characterized in that The electronic device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the Ethernet testing method as described in any one of claims 5-8 is implemented.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the Ethernet testing method according to any one of claims 5 to 8 is implemented.
11. A vehicle, It is characterized in that The vehicle includes at least one of the following: The Ethernet test system according to any one of claims 1 to 4; The electronic device as claimed in claim 9; The computer readable storage medium of claim 10.
