In-vehicle wireless network testing method and system, electronic device, and storage medium

By using two vehicle controllers for wireless connection and communication testing in vehicle wireless network testing, the problems of inaccurate test results and high costs in existing technologies are solved, and efficient and accurate wireless network function testing is achieved.

WO2026036895A1PCT designated stage Publication Date: 2026-02-19CHINA FAW CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/101531
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-15
Filing Date
2025-06-17
Publication Date
2026-02-19

AI Technical Summary

Technical Problem

Existing testing methods for in-vehicle wireless networks rely on mobile phones, resulting in inaccurate test results and high costs.

Method used

Two vehicle controllers with wireless communication capabilities are used for wireless connection. The test results are determined by the connection results and communication tests, thus avoiding dependence on mobile phones.

Benefits of technology

It improves the accuracy of test results, reduces test costs, and enables in-vehicle wireless network function testing without the need for additional equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025101531_19022026_PF_FP_ABST
    Figure CN2025101531_19022026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present disclosure are an in-vehicle wireless network testing method and system, an electronic device, and a storage medium. The method comprises: configuring an in-vehicle infotainment system controller on the basis of a preset test requirement to obtain a first in-vehicle infotainment system controller and a second in-vehicle infotainment system controller, wherein the first in-vehicle infotainment system controller and the second in-vehicle infotainment system controller have a wireless communication function; controlling the first in-vehicle infotainment system controller to be wirelessly connected to the second in-vehicle infotainment system controller to obtain a connection result; and determining a test result on the basis of the connection result. The present disclosure solves the technical problems of inaccurate test results and high test costs in test solutions in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Vehicle-mounted wireless network testing method and system, electronic device, and storage medium TECHNICAL FIELD

[0001] The present disclosure belongs to the technical field of testing, and in particular, relates to a vehicle-mounted wireless network testing method, system, electronic device, and storage medium. BACKGROUND

[0002] With the continuous progress and development of intelligent networking technology of automobiles, current car machine controllers all have WIFI (Wireless Local Area Network) functions. Consequently, it is necessary to test the car machine controllers with WIFI functions. However, the existing automobile domain controllers with WIFI functions mostly use the following method when performing function testing: a mobile phone is connected to the car end controller, and whether the connection is successful can be used as a criterion for communication. The disadvantage of this method is that the performance of the mobile phone affects the test, resulting in inaccurate test results, and a mobile phone needs to be provided on each function test production line, which increases the cost of development and testing.

[0003] In summary, the test scheme in the related art has the problems of inaccurate test results and high test cost. SUMMARY

[0004] The embodiments of the present disclosure provide a vehicle-mounted wireless network testing method, system, electronic device, and storage medium to at least solve the technical problem that the test scheme in the related art has the problems of inaccurate test results and high test cost.

[0005] According to a first aspect of the embodiments of the present disclosure, a vehicle-mounted wireless network testing method is provided. The method includes: configuring a car machine controller according to a preset test requirement to obtain a first car machine controller and a second car machine controller, wherein the first car machine controller and the second car machine controller have wireless communication functions; controlling the first car machine controller to wirelessly connect with the second car machine controller to obtain a connection result; and determining a test result according to the connection result.

[0006] Optionally, the wireless network mode of the first car machine controller is a first mode, and the wireless network mode of the second car machine controller is a second mode, wherein the first car machine controller in the first mode provides wireless access services, and the second car machine controller in the second mode can access the first car machine controller in the first mode.

[0007] Optionally, the wireless network mode of the first car machine controller is a second mode, and the wireless network mode of the second car machine controller is a first mode, wherein the second car machine controller in the first mode provides wireless access services, and the first car machine controller in the second mode can access the second car machine controller in the first mode.

[0008] Optionally, the controlling the first car machine controller to wirelessly connect with the second car machine controller to obtain a connection result comprises: controlling the first car machine controller to wirelessly connect with the second car machine controller to obtain a connection feedback; in response to the connection feedback indicating that the first car machine controller and the second car machine controller have established a connection, performing a communication test on the connection of the first car machine controller and the second car machine controller through a preset network test instruction to obtain a communication test result; and determining the connection result according to the communication test result.

[0009] Optionally, the determining the connection result according to the communication test result comprises: in response to the communication test result indicating that the first car machine controller and the second car machine controller are in normal communication, determining that the connection result is a connection success.

[0010] Optionally, the vehicle-mounted wireless network test method further comprises: obtaining a signal strength value, wherein the signal strength value is used to represent the wireless network signal strength received by the first car machine controller or the second car machine controller; and determining the connection result according to the signal strength value.

[0011] Optionally, the determining the connection result according to the signal strength value comprises: in response to the signal strength value being less than a first preset value, determining that the connection result is a connection failure.

[0012] Optionally, the determining the test result according to the connection result comprises: in response to the connection result indicating that the first car machine controller and the second car machine controller are connected successfully, determining that the test result is a test pass.

[0013] According to a second aspect of the embodiments of the present disclosure, a vehicle-mounted wireless network test system is further provided, comprising:

[0014] a configuration module configured to configure the car machine controllers according to a preset test requirement to obtain a first car machine controller and a second car machine controller, wherein the first car machine controller and the second car machine controller have a wireless communication function; a control module configured to control the first car machine controller to wirelessly connect with the second car machine controller to obtain a connection result; and a determination module configured to determine a test result according to the connection result.

[0015] Optionally, the wireless network mode of the first car machine controller configured by the configuration module is a first mode, and the wireless network mode of the second car machine controller is a second mode, wherein the first car machine controller in the first mode provides a wireless access service, and the second car machine controller in the second mode can access the first car machine controller in the first mode.

[0016] Optionally, the configuration module configures the wireless network mode of the first car machine controller as a second mode, and configures the wireless network mode of the second car machine controller as a first mode, wherein the second car machine controller in the first mode provides wireless access service, and the first car machine controller in the second mode can access the second car machine controller in the first mode.

[0017] Optionally, the control module is further configured to: control the first car machine controller to wirelessly connect with the second car machine controller to obtain a connection feedback; in response to the connection feedback indicating that the first car machine controller and the second car machine controller have established a connection, perform a communication test on the connection of the first car machine controller and the second car machine controller by using a preset network test instruction to obtain a communication test result; and determine a connection result according to the communication test result.

[0018] Optionally, the control module is further configured to: in response to the communication test result indicating that the first car machine controller and the second car machine controller normally communicate, determine that the connection result is a connection success.

[0019] Optionally, the determination module is further configured to: obtain a signal strength value, wherein the signal strength value is used to represent a wireless network signal strength received by the first car machine controller or the second car machine controller; and determine the connection result according to the signal strength value.

[0020] Optionally, the determination module is further configured to: in response to the signal strength value being less than a first preset value, determine that the connection result is a connection failure.

[0021] Optionally, the determination module is further configured to: in response to the connection result indicating that the first car machine controller and the second car machine controller are connected successfully, determine that the test result is a test pass.

[0022] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, including a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute the vehicle-mounted wireless network test method described in any of the embodiments of the first aspect.

[0023] According to a fourth aspect of the embodiments of the present disclosure, a non-volatile storage medium is provided, and the non-volatile storage medium stores a computer program, wherein the computer program is configured to execute the vehicle-mounted wireless network test method described in any of the embodiments of the first aspect when running on a computer or a processor.

[0024] According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, including a computer program, and the computer program is configured to implement the vehicle-mounted wireless network test method described in any of the embodiments of the first aspect when executed by a processor.

[0025] In the embodiments of the present disclosure, the car machine controller is configured according to the preset test requirement to obtain a first car machine controller and a second car machine controller, wherein the first car machine controller and the second car machine controller have wireless communication function; the first car machine controller is controlled to be wirelessly connected with the second car machine controller to obtain a connection result; and a test result is determined according to the connection result. The present disclosure tests the wireless function of the car machine controller through two car machine controllers having wireless communication function, and no additional mobile device is needed to be connected with the car machine controller for wireless network test, thereby solving the technical problem that the test result is not accurate enough and the test cost is high in the related art. BRIEF DESCRIPTION OF DRAWINGS

[0026] The accompanying drawings, which are included to provide a further understanding of the present disclosure and constitute a part of the present disclosure, illustrate the illustrative embodiments of the present disclosure and serve to explain the present disclosure, and do not limit the present disclosure in any way. In the drawings:

[0027] FIG. 1 is a flowchart of a vehicle-mounted wireless network test method according to an embodiment of the present disclosure;

[0028] FIG. 2 is a flowchart of a vehicle-mounted wireless network test method according to an embodiment of the present disclosure;

[0029] FIG. 3 is an architecture diagram of a vehicle-mounted wireless network test system according to an embodiment of the present disclosure;

[0030] FIG. 4 is a structural block diagram of a vehicle-mounted wireless network test system according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0031] In order to enable those skilled in the art to better understand the present disclosure scheme, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, not all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative labor should be within the scope of protection of the present disclosure.

[0032] It should be noted that the terms "first", "second", and the like in the description and in the claims of the present disclosure and above-described accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or apparatus including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or apparatus.

[0033] According to embodiments of the present disclosure, an embodiment of a vehicle-mounted wireless network testing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system including at least one set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described herein can be executed in an order different from that described herein.

[0034] The method embodiment can also be executed in an electronic device including a memory and a processor, a similar control device, or a cloud. Taking the electronic device as an example, the electronic device can include one or more processors and a memory for storing data. Optionally, the above-mentioned electronic device can also include a communication device for communication function and a display device. Those skilled in the art can understand that the above structural description is only illustrative, and it does not limit the structure of the above-mentioned electronic device. For example, the electronic device can include more or less components than the above structural description, or have a different configuration from the above structural description.

[0035] The processor can include one or more processing units. For example, the processor can include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a field-programmable gate array (FPGA), a neural-network processing unit (NPU), a tensor processing unit (TPU), an artificial intelligent (AI) type processor, or the like. Different processing units can be independent components or integrated in one or more processors. In some examples, the electronic device can also include one or more processors.

[0036] The memory is configured to store a computer program, for example, a computer program corresponding to the vehicle-mounted wireless network test method in the embodiments of the present disclosure. The processor implements the vehicle-mounted wireless network test method described above by running the computer program stored in the memory. The memory can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory can further include a memory remotely disposed relative to the processor, which can be connected to the electronic device through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0037] The communication device is configured to receive or send data via a network. Specific examples of the network can include a wireless network provided by a communication provider of a mobile terminal. In one example, the communication device includes a network interface controller (NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the communication device can be a radio frequency (RF) module, which is configured to communicate with the Internet in a wireless manner. In some embodiments of the present solution, the communication device is configured to be connected with a mobile device such as a mobile phone or a tablet computer, and can send instructions to the electronic device through the mobile device.

[0038] The display device can be a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or a "touch display screen"). The liquid crystal display can enable a user to interact with a user interface of the electronic device. In some embodiments, the electronic device has a graphical user interface (GUI) with which a user can interact with human-computer interaction functions by touching a finger on a touch-sensitive surface and / or gestures, and executable instructions for performing the human-computer interaction functions are configured / stored in one or more computer program products or readable storage media executable by a processor.

[0039] FIG. 1 is a flowchart of a vehicle-mounted wireless network testing method according to an embodiment of the present disclosure. As shown in FIG. 1, the method comprises the following steps:

[0040] In step S101, a first vehicle controller and a second vehicle controller are configured according to a preset test requirement, wherein the first vehicle controller and the second vehicle controller have a wireless communication function.

[0041] It can be understood that the preset test requirement at least includes the number of vehicle controllers to be tested, and the account and password of the wireless network set in the vehicle controller.

[0042] For example, when configuring the vehicle controller according to the preset test requirement, at least two vehicle controllers are determined, one of which is configured as a service provider of the wireless network, and the other is configured as an access end of the wireless network. The access end can access the service provider through the account and password of the wireless network.

[0043] It can be understood that the configurations of the first vehicle controller and the second vehicle controller cannot be the same, and one needs to be a service provider of the wireless network and the other needs to be an access end of the wireless network.

[0044] It should be noted that the vehicle controller configured as the service provider of the wireless network is the controller to be tested, and the function of providing the wireless network is tested.

[0045] In step S102, the first vehicle controller is controlled to be wirelessly connected with the second vehicle controller, and a connection result is obtained.

[0046] For example, after the first vehicle controller and the second vehicle controller are configured, the two are needed to be wirelessly connected. If the first vehicle controller is configured as the service provider of the wireless network and the second vehicle controller is configured as the access end of the wireless network, the second vehicle controller needs to be controlled to access the wireless network provided by the first vehicle controller.

[0047] It can be understood that when the second car machine controller attempts to access the wireless network provided by the first car machine controller, the access result, i.e., the connection result, is fed back.

[0048] In step S103, the test result is determined according to the connection result.

[0049] Specifically, if the connection result indicates that the connection is successful, the test result is that the wireless network function of the to-be-tested controller is normal, and if the connection result indicates that the connection fails, the test result is that the wireless network function of the to-be-tested controller is abnormal.

[0050] In the embodiments of the present disclosure, the car machine controller is configured to obtain the first car machine controller and the second car machine controller according to a preset test requirement, wherein the first car machine controller and the second car machine controller have wireless communication functions; the first car machine controller is wirelessly connected with the second car machine controller to obtain a connection result; and a test result is determined according to the connection result. The present disclosure tests the wireless function of the car machine controller by using two car machine controllers having wireless communication functions, and no additional mobile device is needed to be connected with the car machine controller for wireless network testing, thereby solving the technical problem of the related art that the test result is not accurate enough and the test cost is high.

[0051] Optionally, the wireless network mode of the first car machine controller is a first mode, and the wireless network mode of the second car machine controller is a second mode, wherein the first car machine controller in the first mode provides wireless access services, and the second car machine controller in the second mode can access the first car machine controller in the first mode.

[0052] Specifically, in some embodiments of the present disclosure, the wireless network of the first car machine controller is configured as a first mode, i.e., for providing wireless access services, and the wireless network of the second car machine controller is configured as a second mode, i.e., for accessing the first car machine controller in the first mode.

[0053] It can be understood that in this embodiment, the first car machine controller serves as the to-be-tested controller. The test result is used to represent whether the wireless network function of the first car machine controller is normal.

[0054] Optionally, the wireless network mode of the first car machine controller is a second mode, and the wireless network mode of the second car machine controller is a first mode, wherein the second car machine controller in the first mode provides wireless access services, and the first car machine controller in the second mode can access the second car machine controller in the first mode.

[0055] Specifically, in some embodiments of the present disclosure, the wireless network of the second car machine controller is configured in a first mode, i.e., for providing wireless access services; and the wireless network of the first car machine controller is configured in a second mode, i.e., for accessing the second car machine controller in the first mode.

[0056] It can be understood that in this embodiment, the second car machine controller is the controller to be tested. The test result is used to characterize whether the wireless network function of the second car machine controller is normal.

[0057] It should be noted that in some embodiments of the present disclosure, the first car machine controller and the second car machine controller are alternately used as the controller to be tested to realize the test of the wireless network function of the two car machine controllers.

[0058] Optionally, in some embodiments of the present disclosure, if the first car machine controller is configured in the first mode, a plurality of second car machine controllers in the second mode are configured, and the plurality of second car machine controllers in the second mode are controlled to access the wireless network service provided by the first car machine controller. It can be tested whether the wireless network function of the first car machine controller in the first mode is normal when connected by the plurality of second car machine controllers.

[0059] Optionally, the wireless connection of the first car machine controller and the second car machine controller is controlled to obtain a connection result, including: controlling the wireless connection of the first car machine controller and the second car machine controller to obtain a connection feedback; in response to the connection feedback indicating that the first car machine controller and the second car machine controller have established a connection, performing a communication test on the connection of the first car machine controller and the second car machine controller through a preset network test instruction to obtain a communication test result; and determining the connection result according to the communication test result.

[0060] For example, if the first car machine controller is in the first mode, after controlling the wireless connection of the first car machine controller and the second car machine controller, if the connection feedback indicates that the first car machine controller and the second car machine controller have established a connection, a ping instruction (a preset network test instruction) is used to control the second car machine controller to ping the first car machine controller. If it can be pinged, it indicates that the second car machine controller successfully accesses the wireless network provided by the first car machine controller and the communication is normal.

[0061] It should be noted that the ping instruction is a network tool used to test the availability of computer network connection. It detects the stability and delay of network connection by sending ICMP (Internet Control Message Protocol) packets to the target host and waiting for the target host to return a response. The ping instruction is usually used to diagnose network problems, such as detecting network delay, packet loss, etc. In most operating systems, the syntax format of the ping instruction is “ping [target host]”, where the target host can be an IP address or a host name.

[0062] Optionally, the preset network test instruction can be other instruction for testing whether the network connection between the two terminals is normal in addition to the ping instruction, for example, the netstat instruction, which is used for displaying network connection, routing table and network interface and other network status information.

[0063] It can be understood that the establishment of the wireless connection between the first car machine controller and the second car machine controller does not mean that they can communicate normally. Therefore, it is necessary to test whether the communication is normal, and the connection result is different corresponding to different communication test results.

[0064] Optionally, according to the communication test result, the connection result is determined, including: in response to the communication test result indicating that the first car machine controller and the second car machine controller communicate normally, determining that the connection result is connection success.

[0065] Specifically, if the communication test result indicates that the first car machine controller and the second car machine controller communicate normally, it indicates that the first car machine controller and the second car machine controller have established a wireless connection and can communicate normally, that is, it is determined that the connection result is connection success.

[0066] It can be understood that if the communication test result indicates that the first car machine controller and the second car machine controller cannot communicate normally, it indicates that the first car machine controller and the second car machine controller have established a wireless connection but the communication is abnormal, that is, it is determined that the connection result is connection failure.

[0067] Optionally, the vehicle-mounted wireless network test method further includes: obtaining a signal strength value, wherein the signal strength value is used to represent the wireless network signal strength received by the first car machine controller or the second car machine controller; and determining the connection result according to the signal strength value.

[0068] Specifically, when the vehicle-mounted wireless network test is performed, the signal strength value representing the wireless network signal strength received by the first car machine controller or the second car machine controller is obtained in real time, and the connection result can be determined according to the signal strength value and a preset strategy.

[0069] It should be noted that the above-mentioned signal strength value is the signal strength value corresponding to the car machine controller in the second mode of wireless network mode.

[0070] Optionally, the signal strength value corresponding to the first car machine controller is obtained from the register connected with the first car machine controller, and the signal strength value corresponding to the second car machine controller is obtained from the register connected with the second car machine controller.

[0071] Optionally, according to the signal strength value, the connection result is determined, including: in response to the signal strength value being less than a first preset value, determining that the connection result is connection failure.

[0072] Specifically, the first preset value is a strength value corresponding to a limit distance value at which the first in-vehicle controller and the second in-vehicle controller can be connected. If the currently obtained signal strength value is less than the first preset value, the signal strength value is too weak at this time, and it is determined that the connection result is a connection failure.

[0073] It can be understood that if the currently obtained signal strength value is greater than or equal to the first preset value, the signal strength value meets the requirement at this time, and it is determined that the connection result is a connection success.

[0074] Optionally, according to the connection result, a test result is determined, including: in response to the connection result indicating that the first in-vehicle controller and the second in-vehicle controller are connected successfully, it is determined that the test result is a test pass.

[0075] Specifically, when the first in-vehicle controller and the second in-vehicle controller are connected successfully, it indicates that the wireless network function of the in-vehicle controller as the to-be-tested controller is normal, and it is determined that the test result is a pass.

[0076] Optionally, in some embodiments of the present disclosure, when the first in-vehicle controller and the second in-vehicle controller can ping each other and the signal strength value of the in-vehicle controller as the access end is greater than the first preset value, it is determined that the test result is a pass.

[0077] Optionally, in some embodiments of the present disclosure, the test result can be pushed to the test personnel according to a preset pushing strategy.

[0078] Referring to FIG. 2, FIG. 2 is a flowchart of a vehicle-mounted wireless network test method according to an embodiment of the present disclosure, including:

[0079] Step A: The host computer controls the WIFI mode of the in-vehicle controller 1 (to-be-tested) to be STA, and controls the WIFI mode of the in-vehicle controller 2 to be AP.

[0080] Specifically, the host computer first configures the WIFI mode of the in-vehicle controller 1 to be STA (Station) and the WIFI mode of the in-vehicle controller 2 to be AP (Access Point) according to a preset test requirement.

[0081] It should be noted that the in-vehicle controller 1 in the STA mode is used to provide wireless network access service, and the in-vehicle controller 2 in the AP mode is used to access the wireless network provided by the in-vehicle controller 1.

[0082] Step B: The in-vehicle controller 1 and the in-vehicle controller 2 are connected by WIFI and can ping each other.

[0083] Specifically, the host computer controls the connection of the car machine controller 1 and the car machine controller 2 through WiFi, and ensures that the two can ping each other. If it cannot ping, it means that the connection fails.

[0084] Step C: Increase the distance between the car machine controller 1 and the car machine controller 2, and read the RSSI (signal strength) value B when the connection is just disconnected.

[0085] Specifically, the distance between the car machine controller 1 and the car machine controller 2 is gradually increased, and the RSSI value B in the RSSI register connected by the car machine controller 2 when the car machine controller 1 and the car machine controller 2 change from a connected state to a disconnected state is read.

[0086] Step D: After the test environment is built, the host computer reads the RSSI register value C connected by the car machine controller 2 at this time.

[0087] Specifically, if it is necessary to test the wireless network function of the car machine controller in different external environments, it is necessary to pre-construct the corresponding test environment. After the test environment is built, the RSSI register value C connected by the car machine controller 2 at this time is obtained.

[0088] Step E: The host computer monitors the RSSI register value in real time to determine whether the WIFI is working normally. When the RSSI value is less than B, it is automatically determined that the connection fails. When the difference between the current RSSI value and C is greater than a preset difference, it is recorded in the log.

[0089] Specifically, during real-time testing of the WIFI function, the host computer monitors the RSSI register value connected by the car machine controller 2 in real time. When the current RSSI value is less than B, the signal strength is too weak and it is automatically determined that the connection fails. When the difference between the current RSSI value and C is greater than (B-second preset value) / 2, it is recorded in the log, and the test personnel checks the log to determine whether the connection is successful.

[0090] Referring to FIG. 3, FIG. 3 is a schematic diagram of the architecture of the vehicle-mounted wireless network test system according to an embodiment of the present disclosure. In some embodiments of the present disclosure, the vehicle-mounted wireless network test system includes a power supply, a host computer, a car machine controller 1 and a car machine controller 2. The power supply is configured to supply power to the car machine controller 1 and the car machine controller 2, the host computer is in communication connection with the car machine controller 1 and the car machine controller 2, and is configured to control the car machine controller 1 and the car machine controller 2. The car machine controller 1 is configured as a STA mode by the host computer as a device under test (DUT), and the car machine controller 2 is configured as an AP mode.

[0091] Those skilled in the art can clearly understand that the method according to the above-mentioned embodiments can be realized by means of software and necessary general hardware platforms, of course, it can also be realized by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, or network device, etc.) execute the method described in various embodiments of the present disclosure.

[0092] In the embodiment, a vehicle-mounted wireless network test system is also provided, which is configured to implement the above-mentioned embodiments and preferred embodiments, and will not be described again. As used below, the term "module" is a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware, or a combination of software and hardware is also possible and is contemplated.

[0093] FIG. 4 is a structural block diagram of a vehicle-mounted wireless network test system 200 according to an embodiment of the present disclosure. As shown in FIG. 4, the vehicle-mounted wireless network test system 200 includes a configuration module 201 configured to configure a vehicle controller according to a preset test requirement to obtain a first vehicle controller and a second vehicle controller, wherein the first vehicle controller and the second vehicle controller have a wireless communication function; a control module 202 configured to control the first vehicle controller and the second vehicle controller to be wirelessly connected to obtain a connection result; and a determination module 203 configured to determine a test result according to the connection result.

[0094] Optionally, the configuration module 201 configures the wireless network mode of the first vehicle controller as a first mode, and configures the wireless network mode of the second vehicle controller as a second mode, wherein the first vehicle controller in the first mode provides wireless access service, and the second vehicle controller in the second mode can access the first vehicle controller in the first mode.

[0095] Optionally, the configuration module 201 configures the wireless network mode of the first vehicle controller as a second mode, and configures the wireless network mode of the second vehicle controller as a first mode, wherein the second vehicle controller in the first mode provides wireless access service, and the first vehicle controller in the second mode can access the second vehicle controller in the first mode.

[0096] Optionally, the control module 202 is further configured to: control the first car machine controller to wirelessly connect with the second car machine controller to obtain a connection feedback; in response to the connection feedback indicating that the first car machine controller and the second car machine controller have established a connection, perform a communication test on the connection of the first car machine controller and the second car machine controller through a preset network test instruction to obtain a communication test result; and determine a connection result according to the communication test result.

[0097] Optionally, the control module 202 is further configured to: in response to the communication test result indicating that the first car machine controller and the second car machine controller are in normal communication, determine that the connection result is a connection success.

[0098] Optionally, the determination module 203 is further configured to: obtain a signal strength value, wherein the signal strength value is used to represent a wireless network signal strength received by the first car machine controller or the second car machine controller; and determine the connection result according to the signal strength value.

[0099] Optionally, the determination module 203 is further configured to: in response to the signal strength value being less than a first preset value, determine that the connection result is a connection failure.

[0100] Optionally, the determination module 203 is further configured to: in response to the connection result indicating that the first car machine controller and the second car machine controller are connected successfully, determine that the test result is a test pass.

[0101] Embodiments of the present disclosure further provide an electronic device including a memory and a processor, the memory storing a computer program, and the processor being configured to run the computer program to perform the vehicle-mounted wireless network test method described in any of the above embodiments.

[0102] Optionally, in the present embodiment, the processor in the above electronic device can be configured to run the computer program to perform the following steps:

[0103] Step S101, according to a preset test requirement, a car machine controller is configured to obtain a first car machine controller and a second car machine controller, wherein the first car machine controller and the second car machine controller have a wireless communication function.

[0104] Step S102, control the first car machine controller to wirelessly connect with the second car machine controller to obtain a connection result.

[0105] Step S103, according to the connection result, determine a test result.

[0106] Optionally, the wireless network mode of the first car machine controller is a first mode, and the wireless network mode of the second car machine controller is a second mode, wherein the first car machine controller in the first mode provides a wireless access service, and the second car machine controller in the second mode can access the first car machine controller in the first mode.

[0107] Optionally, the wireless network mode of the first car machine controller is the second mode, and the wireless network mode of the second car machine controller is the first mode, wherein the second car machine controller in the first mode provides a wireless access service, and the first car machine controller in the second mode can access the second car machine controller in the first mode.

[0108] Optionally, the control of the wireless connection between the first car machine controller and the second car machine controller obtains a connection result, including: controlling the wireless connection between the first car machine controller and the second car machine controller to obtain a connection feedback; in response to the connection feedback indicating that the first car machine controller and the second car machine controller have established a connection, performing a communication test on the connection of the first car machine controller and the second car machine controller through a preset network test instruction to obtain a communication test result; and determining the connection result according to the communication test result.

[0109] Optionally, the determination of the connection result according to the communication test result includes: in response to the communication test result indicating that the first car machine controller and the second car machine controller communicate normally, determining that the connection result is a connection success.

[0110] Optionally, the vehicle-mounted wireless network test method further includes: obtaining a signal strength value, wherein the signal strength value is used to represent the wireless network signal strength received by the first car machine controller or the second car machine controller; and determining the connection result according to the signal strength value.

[0111] Optionally, the determination of the connection result according to the signal strength value includes: in response to the signal strength value being less than a first preset value, determining that the connection result is a connection failure.

[0112] Optionally, the determination of the test result according to the connection result includes: in response to the connection result indicating that the first car machine controller and the second car machine controller are connected successfully, determining that the test result is a test pass.

[0113] Optionally, the specific examples in the embodiment can refer to the examples described in the above embodiments and optional implementation manners, and the embodiment will not be described here.

[0114] The embodiment of the present disclosure also provides a non-volatile storage medium, and the non-volatile storage medium stores a computer program, wherein the computer program is configured to execute the vehicle-mounted wireless network test method described in any of the above embodiments when running on a computer or a processor.

[0115] Optionally, in the embodiment, the above computer program can be configured to store a computer program for executing the following steps:

[0116] Step S101, according to the preset test requirements, the vehicle machine controller is configured to obtain the first vehicle machine controller and the second vehicle machine controller, wherein the first vehicle machine controller and the second vehicle machine controller have wireless communication function.

[0117] Step S102, control the first vehicle machine controller and the second vehicle machine controller wireless connection, obtain the connection result.

[0118] Step S103, according to the connection result, determine the test result.

[0119] Optionally, the wireless network mode of the first vehicle machine controller is the first mode, and the wireless network mode of the second vehicle machine controller is the second mode, wherein the first vehicle machine controller in the first mode provides wireless access service, and the second vehicle machine controller in the second mode can access the first vehicle machine controller in the first mode.

[0120] Optionally, the wireless network mode of the first vehicle machine controller is the second mode, and the wireless network mode of the second vehicle machine controller is the first mode, wherein the second vehicle machine controller in the first mode provides wireless access service, and the first vehicle machine controller in the second mode can access the second vehicle machine controller in the first mode.

[0121] Optionally, the first vehicle machine controller and the second vehicle machine controller are controlled to be wirelessly connected to obtain the connection result, including: controlling the first vehicle machine controller and the second vehicle machine controller to be wirelessly connected to obtain connection feedback; in response to the connection feedback indicating that the first vehicle machine controller and the second vehicle machine controller have established connection, performing communication test on the connection of the first vehicle machine controller and the second vehicle machine controller through preset network test instruction to obtain communication test result; determining the connection result according to the communication test result.

[0122] Optionally, according to the communication test result, the connection result is determined, including: in response to the communication test result indicating that the first vehicle machine controller and the second vehicle machine controller communicate normally, determining that the connection result is connection success.

[0123] Optionally, the vehicle-mounted wireless network test method further comprises: obtaining a signal strength value, wherein the signal strength value is used to represent the wireless network signal strength received by the first vehicle machine controller or the second vehicle machine controller; determining the connection result according to the signal strength value.

[0124] Optionally, according to the signal strength value, the connection result is determined, including: in response to the signal strength value being less than a first preset value, determining that the connection result is connection failure.

[0125] Optionally, according to the connection result, the test result is determined, including: in response to the connection result indicating that the first vehicle machine controller and the second vehicle machine controller are connected successfully, determining that the test result is test pass.

[0126] Optionally, specific examples in this embodiment can refer to examples described in the above embodiments and optional implementation manners, which will not be repeated here.

[0127] The embodiment of the present disclosure further provides a computer program product comprising a computer program which, when executed by a processor, implements the vehicle-mounted wireless network testing method described in any of the above embodiments.

[0128] Optionally, in this embodiment, the above computer program, when executed by a processor, implements the following steps:

[0129] Step S101, according to a preset test requirement, a car machine controller is configured to obtain a first car machine controller and a second car machine controller, wherein the first car machine controller and the second car machine controller have a wireless communication function.

[0130] Step S102, control the first car machine controller and the second car machine controller to be wirelessly connected, and obtain a connection result.

[0131] Step S103, according to the connection result, determine the test result.

[0132] Optionally, the wireless network mode of the first car machine controller is the first mode, and the wireless network mode of the second car machine controller is the second mode, wherein the first car machine controller in the first mode provides wireless access service, and the second car machine controller in the second mode can access the first car machine controller in the first mode.

[0133] Optionally, the wireless network mode of the first car machine controller is the second mode, and the wireless network mode of the second car machine controller is the first mode, wherein the second car machine controller in the first mode provides wireless access service, and the first car machine controller in the second mode can access the second car machine controller in the first mode.

[0134] Optionally, controlling the first car machine controller and the second car machine controller to be wirelessly connected to obtain the connection result comprises: controlling the first car machine controller and the second car machine controller to be wirelessly connected to obtain a connection feedback; in response to the connection feedback indicating that the first car machine controller and the second car machine controller have established a connection, performing a communication test on the connection of the first car machine controller and the second car machine controller through a preset network test instruction to obtain a communication test result; and determining the connection result according to the communication test result.

[0135] Optionally, determining the connection result according to the communication test result comprises: in response to the communication test result indicating that the first car machine controller and the second car machine controller communicate normally, determining that the connection result is a connection success.

[0136] Optionally, the vehicle-mounted wireless network testing method further comprises: obtaining a signal strength value, wherein the signal strength value is used to represent a wireless network signal strength received by the first vehicle machine controller or the second vehicle machine controller; and determining the connection result according to the signal strength value.

[0137] Optionally, the determining the connection result according to the signal strength value comprises: in response to the signal strength value being less than a first preset value, determining that the connection result is a connection failure.

[0138] Optionally, the determining the test result according to the connection result comprises: in response to the connection result indicating that the first vehicle machine controller and the second vehicle machine controller are connected successfully, determining that the test result is a test pass.

[0139] In the above-described embodiments of the present disclosure, the description of each embodiment focuses on different aspects, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0140] In some embodiments provided in the present disclosure, it should be understood that the disclosed technology can be implemented in other ways. Among them, the above-described device embodiments are only schematic, for example, the division of the modules can be a logical function division, and actual implementation can have another division manner, for example, a plurality of modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be through some interface, indirect coupling or communication connection between modules or modules, which can be electrical or other forms.

[0141] The modules described as separate components can or can not be physically separated, and the components displayed as modules can or can not be physical modules, that is, they can be located in one place, or they can be distributed to multiple modules. According to actual needs, some or all of the modules can be selected to achieve the purpose of the present embodiment scheme.

[0142] In addition, each functional module in each embodiment of the present disclosure can be integrated in one processing module, or each module can exist physically, or two or more modules can be integrated in one module. The above integrated module can be realized in the form of hardware or in the form of software functional module.

[0143] The integrated module, if implemented in the form of a software function module and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present disclosure, essentially or in other words, the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present disclosure. The aforementioned storage medium includes: a U disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.

[0144] The above only describes the preferred embodiments of the present disclosure, and it should be pointed out that, for those skilled in the art, without departing from the principles of the present disclosure, a number of improvements and refinements can be made, and these improvements and refinements should also be considered as the protection scope of the present disclosure.

Claims

1. A vehicle-mounted wireless network testing method, comprising: configuring a vehicle controller according to a preset testing requirement to obtain a first vehicle controller and a second vehicle controller, wherein the first vehicle controller and the second vehicle controller have a wireless communication function; controlling the first vehicle controller to wirelessly connect with the second vehicle controller to obtain a connection result; determining a testing result according to the connection result.

2. The in-vehicle wireless network test method according to claim 1, wherein The wireless network mode of the first vehicle controller is a first mode, and the wireless network mode of the second vehicle controller is a second mode, wherein the first vehicle controller in the first mode provides a wireless access service, and the second vehicle controller in the second mode can access the first vehicle controller in the first mode.

3. The in-vehicle wireless network test method according to claim 1, wherein, The wireless network mode of the first vehicle controller is a second mode, and the wireless network mode of the second vehicle controller is a first mode, wherein the second vehicle controller in the first mode provides a wireless access service, and the first vehicle controller in the second mode can access the second vehicle controller in the first mode.

4. The in-vehicle wireless network test method according to claim 2 or 3, wherein, The controlling the first vehicle controller to wirelessly connect with the second vehicle controller to obtain a connection result comprises: controlling the first vehicle controller to wirelessly connect with the second vehicle controller to obtain a connection feedback; in response to the connection feedback indicating that the first vehicle controller and the second vehicle controller have established a connection, performing a communication test on the connection of the first vehicle controller and the second vehicle controller through a preset network testing instruction to obtain a communication test result; determining the connection result according to the communication test result.

5. The in-vehicle wireless network test method according to claim 4, wherein The determining the connection result according to the communication test result comprises: in response to the communication test result indicating that the first vehicle controller and the second vehicle controller normally communicate, determining that the connection result is a connection success.

6. The in-vehicle wireless network test method according to claim 1, wherein Further comprising: obtaining a signal strength value, wherein the signal strength value is used to represent a wireless network signal strength received by the first vehicle controller or the second vehicle controller; determining the connection result according to the signal strength value.

7. The in-vehicle wireless network test method according to claim 6, wherein The determining the connection result according to the signal strength value comprises: in response to the signal strength value being less than a first preset value, determining that the connection result is a connection failure.

8. The in-vehicle wireless network testing method of claim 1, wherein, The determining a testing result according to the connection result comprises: in response to the connection result indicating that the first vehicle controller and the second vehicle controller have a connection success, determining that the testing result is a test pass.

9. A vehicle-mounted wireless network testing system, comprising: a configuration module configured to configure a vehicle controller according to a preset testing requirement to obtain a first vehicle controller and a second vehicle controller, wherein the first vehicle controller and the second vehicle controller have a wireless communication function; a control module configured to control the first vehicle controller to wirelessly connect with the second vehicle controller to obtain a connection result; a determination module configured to determine a testing result according to the connection result.

10. An electronic device comprising a memory and a processor, the memory having stored therein a computer program, the processor being arranged to run the computer program to perform the in-vehicle wireless network testing method of any one of claims 1 to 8.

11. A computer-readable storage medium having stored therein a computer program, wherein, The computer program is arranged to perform the in-vehicle wireless network testing method of any one of claims 1 to 8 when run on a computer or processor.

12. A computer program product comprising a computer program which, when executed by a processor, implements the in-vehicle wireless network testing method of any one of claims 1 to 8.

Citation Information

Patent Citations

  • Wireless network test evaluation method

    CN107708130A

  • Method and system for remotely testing vehicle machine, vehicle-mounted equipment and computer storage medium

    CN115348555A

  • Automobile networking performance test system and method

    CN115657641A

  • Vehicle-mounted wireless network test method and system, electronic equipment and storage medium

    CN118660311A

  • Method, computing device, and computer storage medium used for vehicle interaction

    WO2022095303A1