Vehicle-mounted terminal network test method, device, equipment and storage medium

By acquiring and identifying vehicle environment data, marking network data and generating test cases, it solves the problem of limited coverage of vehicle terminal network performance test scenarios in the existing technology, achieves more efficient and reliable testing, and reduces costs.

CN119342518APending Publication Date: 2025-01-21CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411502788.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

The prior art is difficult to simulate complex and changeable network environments in the performance test of on-board terminal networks, resulting in limited coverage of test scenarios, poor accuracy, and high testing costs.

Method used

By obtaining the environmental data of the target vehicle and the network data of the vehicle terminal, identify the environmental identification, and mark the network data based on the environmental logo to generate network logs to generate test cases under different environmental types, run test cases and generate generated cases and generate generates. Test report.

Benefits of technology

The coverage and reliability of network performance testing is improved, the time of repeating the test environment is reduced, the test cost is reduced, and the user obtains a stable and reliable network connection experience in various environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342518A_ABST
    Figure CN119342518A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle-mounted terminal network test method, device and equipment and a storage medium, and the method comprises the steps: obtaining the environment data of a target vehicle during driving and the network data of a vehicle-mounted terminal collected based on the same time point, and the network data is the data generated by the communication interaction between the vehicle-mounted terminal and a core network; the environment data of the target vehicle are identified, an environment identifier at each time point is determined, and the environment identifiers are in one-to-one correspondence with the environment types; marking the network data at the same time point according to the environment identifiers, generating a weblog corresponding to each environment identifier, and recording the network data of the same environment identifier as weblog of the same type; and based on the network day corresponding to each environment identifier, obtaining test cases under different environment types, running the test cases, and generating a test report. Therefore, the scene coverage rate and accuracy of the vehicle-mounted terminal network test are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of index technology, and in particular to a vehicle-mounted terminal network testing method, device, equipment and storage medium. Background Art

[0002] With the rapid development of Internet of Things technology, Internet of Vehicles (IoV) has become an important part of the intelligent transportation system. It connects vehicles, road infrastructure, pedestrians and other traffic participants through wireless communication to achieve real-time information sharing and interaction. The realization of the functions provided by the IoV depends on mobile communication technology, such as real-time positioning and navigation services, vehicle remote monitoring and management, V2X (Vehicle-to-Everything, vehicle-to-external information interaction) and intelligent driving. In order to ensure the smooth operation of these functions, the mobile communication network must be able to provide efficient and stable data transmission capabilities in various environments, which is indispensable for improving traffic management efficiency, implementing effective emergency rescue measures and ensuring driving safety. As the core equipment in the IoV ecosystem, the network performance of the in-vehicle interconnection terminal directly affects the overall performance of the IoV. Therefore, it is crucial to conduct comprehensive and in-depth network performance testing of the in-vehicle terminal.

[0003] In related technologies, network performance testing of in-vehicle interconnection terminals mainly relies on laboratory environments, such as single-unit testing, bench testing, and simulated network testing. However, although these methods can evaluate the basic performance of the terminal to a certain extent, they are difficult to simulate the complex and changeable network environment in reality, the coverage of test scenarios is limited, the accuracy is poor, and the testing cost is high. Summary of the invention

[0004] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0005] In view of the above-mentioned shortcomings of the prior art, the present application discloses a vehicle-mounted terminal network testing method, device, equipment and storage medium to solve the above-mentioned technical problem of how to improve the scenario coverage of network performance testing.

[0006] In the first aspect, the present application provides a vehicle-mounted terminal network testing method, the method comprising: obtaining environmental data of the target vehicle when it is driving and network data of the vehicle-mounted terminal, the environmental data and the network data are collected based on the same time point, and the network data is data generated by the communication interaction between the vehicle-mounted terminal and the core network; identifying the environmental data of the target vehicle, determining the environmental identifier of each time point, and the environmental identifier and the type of environment correspond one to one; marking the network data at the same time point according to the environmental identifier, generating a network log corresponding to each environmental identifier, and recording the network data with the same environmental identifier as the same type of network log; based on the network log corresponding to each environmental identifier, obtaining test cases under different environment types, running the test cases, and generating a test report.

[0007] In one embodiment of the present application, the environmental data of the target vehicle is identified to determine the environmental identification at each time point, including: dividing the environmental data at each time point into driving environment and weather conditions; querying a preset mapping table according to the driving environment and the weather conditions at each time point respectively to obtain the environment at different time points, the preset mapping table including a mapping relationship between the environmental data and the environment; and generating the environmental identification at each time point based on the environment at each time point.

[0008] In one embodiment of the present application, after generating the network log corresponding to each of the environmental identifiers, it also includes: establishing communication between the vehicle-mounted terminal and the cloud platform based on the message middleware; using the vehicle-mounted terminal to monitor the first request instruction issued by the cloud platform, the first request instruction carries the environmental identifiers and topics to be requested; if the vehicle-mounted terminal subscribes to the topic, then in response to the first request instruction, the network log corresponding to each of the environmental identifiers is transmitted to the cloud platform.

[0009] In one embodiment of the present application, after generating the network log corresponding to each of the environment identifiers, it also includes: monitoring a second request instruction issued by the cloud platform, the second request instruction carries a time period when the network performance abnormality occurs at the vehicle-mounted terminal, the time period is the time of the network performance abnormality obtained by analyzing the network data, or is obtained by recording the time when the network performance abnormality occurs when the target vehicle is driving; in response to the second request instruction, transmitting the network log within the time period to the cloud platform; parsing the network log within the time period to determine the environment when the network performance abnormality occurs, and using it as the environment to be tested, obtaining a test case for the same environment to be tested, and testing the network performance of the vehicle-mounted terminal under the environment to be tested.

[0010] In one embodiment of the present application, before marking the network data at the same time point according to the environmental identifier, it also includes: acquiring the environmental data at each time point in real time through the environmental perception system and / or positioning system configured in the target vehicle to identify the environmental identifier at each time point; transmitting the environmental identifier at each time point to the vehicle-mounted terminal via the domain controller in the target vehicle.

[0011] In one embodiment of the present application, based on the network log corresponding to each of the environment identifiers, test cases under different environment types are obtained, the test cases are run, and a test report is generated, including: taking all the network logs corresponding to any of the environment identifiers to be tested as target network logs, and the environment corresponding to the environment identifier as the target environment; running the test case corresponding to the target environment based on the target network log to obtain test results for various indicators of network performance under the target environment, the indicators including signal reception power, signal to interference plus noise ratio, switching success rate, access delay and access success rate; and generating a test report based on the test results under all environments.

[0012] In one embodiment of the present application, the network logs corresponding to each of the environment identifiers are transmitted to the cloud platform, including: packaging the network logs corresponding to each of the environment identifiers, the packaging operation including data compression and data encryption; and transmitting the packaged network logs to the cloud platform for storage based on the Hypertext Transfer Protocol.

[0013] In the second aspect, the present application provides a vehicle-mounted terminal network testing device, which includes: an acquisition module, used to acquire environmental data of the target vehicle when it is driving and network data of the vehicle-mounted terminal, the environmental data and the network data are collected based on the same time point, and the network data is data generated by the communication interaction between the vehicle-mounted terminal and the core network; an identification module, used to identify the environmental data of the target vehicle, determine the environmental identifier of each time point, and the environmental identifier and the type of environment correspond one to one; a marking module, used to mark the network data at the same time point according to the environmental identifier, generate a network log corresponding to each environmental identifier, and record the network data with the same environmental identifier as the same type of network log; a testing module, used to obtain test cases under different environment types based on the network log corresponding to each environmental identifier, run the test cases, and generate a test report.

[0014] In a third aspect, the present application also provides an electronic device, comprising: a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement the method described in the above embodiments.

[0015] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer executes the method described in the above embodiments.

[0016] Beneficial effects of the present application: The present application proposes a vehicle-mounted terminal network testing method, device, equipment and storage medium. By accurately matching the environmental data at the same time point and the network data of the vehicle-mounted terminal, the corresponding network logs are generated for different environment identifiers, and the test cases in the same environment are run based on the network logs corresponding to each environment identifier to complete the network performance test of the vehicle-mounted terminal in different environments. In this way, first, the authenticity and consistency of the environment during the test can be ensured, thereby avoiding the deviation of the test results caused by environmental differences, and the network data in the same environment is recorded as the same type of network log, so that the vehicle-mounted terminal can be tested separately for different environments, which improves the scenario coverage and reliability of the test; second, the test cases in the same environment can be directly run based on the network log, which reduces the time of repeatedly setting up the test environment and improves the test efficiency; third, by testing the network performance of the vehicle-mounted terminal in different environments, the comprehensiveness and reliability of the test are high, which can ensure that users can obtain a stable and reliable network connection experience in various environments, thereby improving the user experience; fourth, the testing cost is reduced.

[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0019] Figure 1 is a flow chart of a vehicle terminal network testing method shown in an exemplary embodiment of the present application;

[0020] Figure 2 is a schematic diagram of a network test architecture shown in an exemplary embodiment of the present application;

[0021] Figure 3 is a block diagram of a vehicle terminal network testing device shown in an exemplary embodiment of the present application;

[0022] Figure 4It is a structural diagram of a computer system suitable for implementing the electronic device of the present application, shown as an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0023] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.

[0024] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0025] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.

[0026] It should be noted that the vehicle-mounted interconnection terminal is an important part of the vehicle networking system. It integrates a variety of communication modules and sensors and is responsible for the information exchange between the vehicle and the outside world. Through the vehicle-mounted interconnection terminal, the vehicle can obtain road condition information, navigation services, remote monitoring and management in real time, and communicate with other vehicles, road infrastructure and cloud service platforms to achieve information sharing and collaboration. The network performance of the vehicle-mounted interconnection terminal directly affects the communication efficiency between the vehicle and the outside world. Efficient network performance can ensure that the vehicle can quickly and accurately obtain and send information, improve the response speed and real-time performance of the vehicle networking system, and in a complex and changing traffic environment, the vehicle-mounted interconnection terminal maintains stable network performance, which can reduce the risk of communication interruption and delay, improve the reliability and stability of the vehicle networking system, and provide users with a better user experience. In summary, the network performance of the vehicle-mounted interconnection terminal is a key factor in the realization of efficient, stable and secure communication in the vehicle networking system. Therefore, in order to ensure the efficient operation of the vehicle networking system and the excellence of the user experience, it is particularly critical and indispensable to conduct a comprehensive and in-depth network performance test of the vehicle-mounted interconnection terminal.

[0027] At present, the network performance test of in-vehicle interconnection terminals mainly relies on laboratory testing, which has the following significant limitations: First, the network environment simulation is insufficient. It is difficult for the laboratory environment to fully reproduce the complex and changeable network environment in the real world, such as signal coverage, interference and network congestion in different scenarios such as urban dense areas, highways, tunnels, and remote areas, resulting in deviations between the test results and the actual application scenarios; Second, the coverage of test scenarios is limited. Due to the limitations of test resources and costs, laboratory testing can often only cover some typical scenarios, and it is difficult to fully evaluate the performance of in-vehicle interconnection terminals in various extreme or special environments; Third, the test flexibility is insufficient. Laboratory test plans are usually relatively fixed, and it is difficult to quickly adjust test parameters and scenarios according to actual needs, which limits the flexibility and adaptability of the test; Fourth, the test cost is high. The laboratory test system requires a large amount of investment, and with the continuous evolution of technology, the cost of updating and replacing test equipment and systems is also high.

[0028] Based on this, the present application provides a vehicle terminal network testing method to solve at least one of the above problems.

[0029] See also Figure 1 , is a flow chart of a vehicle terminal network testing method shown in an exemplary embodiment of the present application. Figure 1 As shown, in an exemplary embodiment, the vehicle terminal network testing method includes at least steps S110 to S140, which are described in detail as follows:

[0030] Step S110, obtain the environmental data and network data of the vehicle terminal when the target vehicle is driving. The environmental data and network data are collected at the same time point. The network data is the data generated by the communication interaction between the vehicle terminal and the core network, which is used to reflect the network performance of the vehicle terminal. Among them, the vehicle terminal is an in-vehicle interconnection terminal, which is an important device for the target vehicle to exchange information with the outside world.

[0031] In one embodiment of the present application, the environmental data and network data of the target vehicle driving in the real environment are collected in real time for the subsequent network performance test of the vehicle terminal. The test is highly flexible and can improve the accuracy and reliability of the test results. Among them, the target vehicle is an intelligent networked vehicle, the core network is an important part of the operator network, which is used to provide stable and efficient communication services for the vehicle terminal, the network data is the information carrier of the communication interaction between the vehicle terminal and the core network, and the transmission quality, speed, delay and other characteristics of the network performance can directly reflect the quality of the vehicle terminal network performance.

[0032] See also Figure 2 , is a schematic diagram of a network test architecture shown in an exemplary embodiment of the present application. Figure 2As shown, the communication module in the vehicle terminal is connected to the core network through the base station in the operator network to realize data interaction and communication between the vehicle terminal and the remote server, cloud platform, other vehicles and infrastructure.

[0033] In one embodiment of the present application, environmental data can be acquired in real time through an environmental perception system and / or a positioning system configured in the target vehicle. Among them, the environmental perception system can be composed of at least a laser radar, a millimeter wave radar and a high-perception camera, and can also be composed of other hardware devices, which are not limited here. An information processing unit is provided in the environmental perception system, which is responsible for receiving the environmental data collected in real time, and processing and analyzing it through an algorithm for realizing environmental recognition, and identifying the environment in which the target vehicle is located. In this way, the real-time and accuracy of environmental recognition are high, and it does not rely on the real-time sensing of high-precision maps. In addition, when the environmental perception system fails, the positioning system can still be used to assist in obtaining environmental data.

[0034] Step S120, identifying the environmental data of the target vehicle, determining the environmental identifier at each time point, and the environmental identifier corresponds to the type of environment.

[0035] In one embodiment of the present application, during actual driving, there are many types of real environments, such as highways, airports, railway stations, viaducts, densely populated urban areas, suburban areas, rural roads, mountain roads, underground parking lots, mountain canyons and tunnels, and the deployment of operator networks in different environments is different. Therefore, in order to conduct targeted network performance tests in different types of environments, different environmental identifiers are used to distinguish different types of environments. For example, if the target vehicle is located in a highway environment, the environmental identifier is api_environment=1, that is, the environment of the highway type corresponds to an environmental identifier of 1; if the target vehicle is located in an airport section, the environmental identifier is api_environment=2, that is, the environment of the airport section type corresponds to an environmental identifier of 2.

[0036] Specifically, the environmental data at each time point is divided into driving environment and weather conditions; the preset mapping table is queried according to the driving environment and weather conditions at each time point, and the environment at different time points is obtained, and the preset mapping table includes the mapping relationship between environmental data and environment; the environmental identification at each time point is generated based on the environment at each time point. For example, if the driving environment of the target vehicle is a highway and the weather condition is sunny, after querying the preset mapping table, the environmental identification is api_environment=11, that is, the environment of the type of highway and sunny weather is 11; if the driving environment of the target vehicle is a highway and the weather condition is light rain, after querying the preset mapping table, the environmental identification is api_environment=12, that is, the environment of the type of highway and light rain is 12.

[0037] In one embodiment of the present application, as the environment of the target vehicle changes continuously during driving, the environmental data and environmental identification at the current time point are updated in real time to ensure that the latest environment of the target vehicle can be reflected in real time. In addition, since the changeable weather and driving environment will affect the network performance, for example, rainy days, snowy days and foggy days may cause signal attenuation and interference; the network coverage may be different in different driving environments. Urban areas may have better network coverage due to dense base stations, while rural roads and remote areas may have insufficient network coverage; in special driving environments such as tunnels and bridges, the signal propagation path may change; even in different driving environments, the difference in vehicle density and driving speed will affect the network performance of the vehicle-mounted interconnection terminal. Therefore, the environmental data combines weather conditions and driving environment, and the scene coverage rate is high in subsequent network performance testing, which significantly improves the comprehensiveness and reliability of the test. For example, if the target vehicle is located in an environment of a highway and an urban highway, the environment identifier is api_environment=101, that is, the environment of an urban highway type has a corresponding environment identifier of 101; if the target vehicle is located in an environment of a highway and a long tunnel, the environment identifier is api_environment=102, that is, the environment of a long tunnel highway type has a corresponding environment identifier of 102; if the target vehicle is located in an environment of a highway and congested road conditions, the environment identifier is api_environment=103, that is, the environment of a highway with congested road conditions has a corresponding environment identifier of 103.

[0038] Step S130 , marking the network data at the same time point according to the environment identifier, generating a network log corresponding to each environment identifier, and recording the network data with the same environment identifier as the same type of network log.

[0039] Specifically, the environment perception system and / or positioning system configured in the target vehicle identifies the environment identifier of each time point based on the environment data at each time point, and then transmits the environment identifier of each time point to the vehicle-mounted terminal via the domain controller in the target vehicle.

[0040] In one embodiment of the present application, Figure 2 As shown, after obtaining the environment identifier, the domain controller in the target vehicle can forward it to the vehicle terminal, mark the network data at the same time point in the vehicle terminal, generate the corresponding network log and store it in the vehicle terminal. For example, if the environment identifier 1 indicates that the environment is a highway, the network log can be named environment 1.log, and if the environment identifier 2 indicates that the environment is an airport section, the network log can be named environment 2.log, and the network logs corresponding to the other environment identifiers can be deduced in the same way.

[0041] In one embodiment of the present application, the domain controller is a domain control node in a modern automotive electrical and electronic architecture, which can collect data from the onboard sensors and share data with other control nodes of the target vehicle, preferably a driving domain controller.

[0042] Step S140, based on the network log corresponding to each environment identifier, obtain test cases under different environment types, run the test cases, and generate a test report.

[0043] Specifically, communication between the vehicle-mounted terminal and the cloud platform is established based on the message middleware; the vehicle-mounted terminal is used to monitor the first request instruction issued by the cloud platform, and the first request instruction carries the environment identifiers and topics to be requested; if the vehicle-mounted terminal subscribes to the topic, the network logs corresponding to the environment identifiers are transmitted to the cloud platform in response to the first request instruction.

[0044] In one embodiment of the present application, Figure 2 As shown in the figure, the vehicle terminal and the cloud platform can communicate through the message middleware and transmit data based on the Hypertext Transfer Protocol (HTTP). MQTT (Message Queuing Telemetry Transport) is a lightweight message protocol that supports the publish / subscribe (pub / sub) model and allows asynchronous message transmission between devices or between devices and servers. In the MQTT architecture, the vehicle terminal subscribes to the topic corresponding to the required service. When the cloud platform needs to obtain the network log in any environment, it will issue a request instruction to the message middleware. The request instruction carries the environment identifier corresponding to the required network log and the topic subscribed by the vehicle terminal. After the vehicle terminal listens to the request instruction that matches the topic it subscribes to, it will parse it and execute the corresponding request.

[0045] In one embodiment of the present application, the vehicle-mounted interconnected terminal uses the HTTPS protocol to transmit the network log to the cloud platform to ensure the security of the data transmission process. In addition, the vehicle-mounted terminal can actively upload the stored network log to the cloud platform regularly to avoid excessive data storage in the vehicle-mounted terminal, resulting in performance degradation, and making the data periodicity of the network log stronger.

[0046] Specifically, the cloud platform is monitored for a second request instruction issued, where the second request instruction carries a time period when the network performance abnormality occurs in the vehicle-mounted terminal, where the time period is the time of the network performance abnormality obtained by analyzing the network data, or is obtained by recording the time when the network performance abnormality occurs when the target vehicle is driving; in response to the second request instruction, the network log within the time period is transmitted to the cloud platform; the network log within the time period is parsed to determine the environment when the network performance abnormality occurs, and use it as the environment to be tested, and continue to test the network performance of the vehicle-mounted terminal under the environment to be tested.

[0047] In one embodiment of the present application, when the network performance of the vehicle terminal is abnormal during the actual driving or testing of the user, it may rely on the driving impression of the user or tester, and can only be located by the time when the abnormality occurs, and it is impossible to clearly and specifically understand the environment, and it is difficult to restore the actual scene where the abnormality occurs. Therefore, in order to simulate and verify the reproducibility of the abnormality and provide support for subsequent optimization, the cloud platform can directly obtain network logs based on the abnormal time period to avoid the impact on irrelevant data, thereby improving the accuracy and efficiency of abnormal location. In addition, the automatic analysis of the network logs within the time period can quickly determine the indicator parameters when the network performance is abnormal, such as network delay, packet loss rate, etc., as well as the environment when the abnormality occurs. In this way, targeted network performance testing can be performed on the abnormal environment to improve the stability and reliability of the vehicle terminal network in this environment.

[0048] In one embodiment of the present application, when the cloud platform needs to obtain the network log of the target vehicle for testing, the request instruction, such as the first request instruction and the second request instruction, also carries the target vehicle identification code (VIN) to ensure that the network log of the target vehicle is obtained.

[0049] In one embodiment of the present application, the network log is transmitted to the cloud platform, including: packaging the network log corresponding to each environment identifier, the packaging operation includes data compression and data encryption; and transmitting the packaged network log to the cloud platform for storage based on the hypertext transfer protocol. In this way, the data volume of the network log is reduced during transmission, and the data integrity and security during the transmission process are ensured.

[0050] Specifically, the network performance test of the vehicle terminal in different environments is completed, including: taking all network logs corresponding to any environment identifier to be tested as the target network logs, and the environment corresponding to the environment identifier as the target environment; running the test case corresponding to the target environment based on the target network log, and obtaining the test results of various network performance indicators under the target environment, the indicators include signal receiving power, signal to interference plus noise ratio, switching success rate, access delay and access success rate; generating a test report based on the test results in all environments.

[0051] In one embodiment of the present application, Figure 2 As shown, a PC (computer) is used to call the interface of the cloud platform to parse the target network log transmitted to the cloud platform, determine the target environment corresponding to the target network log, and then run the test cases in the target environment, so that the test is targeted; and the test cases are automatically run based on the target network log, which reduces manual intervention and improves the test efficiency and accuracy. In addition, the test covers multiple key indicators, which can more comprehensively reflect the network performance of the vehicle terminal in different environments.

[0052] In one embodiment of the present application, testing is performed based on network logs generated by driving a target vehicle in a real environment, which can make the test scenario more in line with the user's usage habits and perfectly compatible with the actual core network environment.

[0053] The vehicle terminal network testing method provided by the present application has the following advantages: first, it can ensure the authenticity and consistency of the environment during the test, thereby avoiding the deviation of the test results caused by environmental differences, and the network data in the same environment is recorded as the same type of network log, so that the vehicle terminal can be tested separately for different environments, improving the scenario coverage and reliability of the test; second, the test cases in the same environment can be directly run based on the network log, reducing the time for repeatedly setting up the test environment and improving the test efficiency; third, by testing the network performance of the vehicle terminal in different environments, the comprehensiveness and reliability of the test are high, which can ensure that users can obtain a stable and reliable network connection experience in various environments, thereby improving the user experience, and when a problem occurs in the network performance in any environment, the network log in the environment can be quickly located to determine the cause of the problem in time; fourth, the testing cost is reduced.

[0054] See also Figure 3 , is a block diagram of a vehicle terminal network testing device shown as an exemplary embodiment of the present application. Figure 3 As shown, in an exemplary embodiment, the vehicle terminal network testing device at least includes an acquisition module 310, an identification module 320 and a marking module 330, and a testing module 340, which are described in detail as follows:

[0055] An acquisition module 310 is used to acquire environmental data of the target vehicle when it is traveling and network data of the vehicle-mounted terminal. The environmental data and the network data are collected at the same time point. The network data is data generated by the communication interaction between the vehicle-mounted terminal and the core network.

[0056] The identification module 320 is used to identify the environmental data of the target vehicle and determine the environmental identification at each time point, and the environmental identification corresponds to the type of environment one by one;

[0057] The marking module 330 is used to mark the network data at the same time point according to the environment identifier, generate a network log corresponding to each environment identifier, and record the network data with the same environment identifier as the same type of network log;

[0058] The test module 340 is used to obtain test cases under different environment types based on the network log corresponding to each environment identifier, run the test cases, and generate a test report.

[0059] It should be noted that the vehicle terminal network testing device provided in the above embodiment and the vehicle terminal network testing method provided in the above embodiment belong to the same concept, wherein the contents of the operations performed by each module have been described in detail in the method embodiment and will not be repeated here.

[0060] The present application also provides an electronic device, comprising: a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement the vehicle terminal network testing method as in the above embodiment.

[0061] See also Figure 4 , shows a schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application. It should be noted that, Figure 4 The computer system 400 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0062] like Figure 4As shown, the computer system 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 402 or the program loaded from the storage part 408 to the random access memory (RAM) 403, such as executing the method in the above embodiment. In the RAM 403, various programs and data required for system operation are also stored. The CPU 401, ROM 402 and RAM 403 are connected to each other through a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0063] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed so that a computer program read therefrom is installed into the storage section 408 as needed.

[0064] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 409, and / or installed from a removable medium 411. When the computer program is executed by a central processing unit (CPU) 401, various functions defined in the system of the present application are executed.

[0065] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the vehicle-side data forwarding method as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

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

[0067] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0068] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0069] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A vehicle terminal network testing method, characterized in that: The method comprises: Acquire environmental data of the target vehicle when it is traveling and network data of the vehicle-mounted terminal, wherein the environmental data and the network data are collected at the same time point, and the network data is data generated by communication interaction between the vehicle-mounted terminal and the core network; Identify the environmental data of the target vehicle and determine the environmental identifier at each time point, wherein the environmental identifier corresponds to the type of environment; Marking the network data at the same time point according to the environment identifier, generating a network log corresponding to each environment identifier, and recording the network data with the same environment identifier as the network log of the same type; Based on the network log corresponding to each of the environment identifiers, test cases under different environment types are obtained, the test cases are run, and a test report is generated.

2. The vehicle terminal network testing method according to claim 1, characterized in that: The step of identifying the target vehicle in the environmental data and determining the environmental identification at each time point includes: Dividing the environmental data at each time point into driving environment and weather conditions; According to the driving environment and the weather conditions at each time point, a preset mapping table is queried respectively to obtain the environment at different time points, wherein the preset mapping table includes a mapping relationship between the environmental data and the environment; The environment identifier at each time point is generated based on the environment at each time point.

3. The vehicle terminal network testing method according to claim 1, characterized in that: After generating the network log corresponding to each environment identifier, the method further includes: Establishing communication between the vehicle terminal and the cloud platform based on message middleware; Using the vehicle-mounted terminal to monitor a first request instruction issued by the cloud platform, the first request instruction carries each of the environment identifiers and the subject to be requested; If the vehicle-mounted terminal subscribes to the topic, then in response to the first request instruction, the network log corresponding to each of the environmental identifiers is transmitted to the cloud platform.

4. The vehicle terminal network testing method according to claim 3, characterized in that: After generating the network log corresponding to each environment identifier, the method further includes: monitoring a second request instruction issued by the cloud platform, wherein the second request instruction carries a time period when the network performance abnormality of the vehicle terminal occurs, wherein the time period is the time of the network performance abnormality obtained by analyzing the network data, or is obtained by recording the time when the network performance abnormality occurs when the target vehicle is driving; In response to the second request instruction, transmitting the network log within the time period to the cloud platform; The network logs within the time period are parsed to determine the environment when the network performance is abnormal and use it as the tested environment. Test cases for the same tested environment are obtained to test the network performance of the vehicle terminal under the tested environment.

5. The vehicle terminal network testing method according to any one of claims 1 to 4, characterized in that: Before marking the network data at the same time point according to the environment identifier, the method further includes: Acquire the environmental data at each time point in real time through the environmental perception system and / or positioning system configured in the target vehicle to identify the environmental identifier at each time point; The environment identification at each time point is transmitted to the vehicle-mounted terminal via the domain controller in the target vehicle.

6. The vehicle terminal network testing method according to any one of claims 1 to 4, characterized in that: The obtaining test cases under different environment types based on the network log corresponding to each environment identifier, running the test cases, and generating a test report includes: All the network logs corresponding to any of the environment identifiers to be tested are used as target network logs, and the environment corresponding to the environment identifier is used as the target environment; Running the test case corresponding to the target environment based on the target network log to obtain test results of various network performance indicators under the target environment, the indicators including signal receiving power, signal to interference plus noise ratio, switching success rate, access delay and access success rate; A test report is generated according to the test results in all environments.

7. The vehicle terminal network testing method according to claim 3, characterized in that: The transmitting the network log corresponding to each of the environment identifiers to the cloud platform includes: Performing a packaging operation on the network logs corresponding to each of the environment identifiers, wherein the packaging operation includes data compression and data encryption; The packaged network log is transmitted to the cloud platform for storage based on the Hypertext Transfer Protocol.

8. A vehicle terminal network testing device, characterized in that: The device comprises: An acquisition module is used to acquire environmental data of the target vehicle when it is traveling and network data of the vehicle-mounted terminal, wherein the environmental data and the network data are collected at the same time point, and the network data is data generated by the communication interaction between the vehicle-mounted terminal and the core network; An identification module, used to identify the environmental data of the target vehicle and determine the environmental identifier at each time point, wherein the environmental identifier corresponds to the type of environment in a one-to-one manner; A marking module, used for marking the network data at the same time point according to the environment identifier, generating a network log corresponding to each environment identifier, and recording the network data with the same environment identifier as the network log of the same type; The test module is used to obtain test cases under different environment types based on the network log corresponding to each environment identifier, run the test cases, and generate a test report.

9. An electronic device, characterized in that: include: processor, memory, and communication bus; The communication bus is used to connect the processor and the memory; The processor is configured to execute the computer program stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is used to make a computer execute the method according to any one of claims 1 to 7.