Linkage test method and device for mobile terminal and vehicle-mounted terminal, electronic equipment and medium

By enabling video recording simultaneously on both mobile and in-vehicle devices, and detecting and uploading anomalies to the cloud in real time, the problems of large log volumes and incomplete videos in HiCar testing were solved, improving testing efficiency and analysis accuracy.

CN121309783APending Publication Date: 2026-01-09CHINA FAW CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511639542.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-10
Publication Date
2026-01-09

AI Technical Summary

Technical Problem

During the HiCar test, the log upload size was large and the video was incomplete, resulting in low testing efficiency and an inability to accurately analyze the problem.

Method used

After connecting the mobile device and the vehicle's infotainment system, video recording is enabled simultaneously. The system monitors the vehicle's functionality in real time, obtains error information when an error occurs, uploads it to a pre-set cloud platform, and distributes it to development and testing personnel.

Benefits of technology

It enables simultaneous recording of abnormal scenes from both the vehicle-mounted and mobile devices, avoiding incomplete information recording and improving the completeness of the testing process and the efficiency of analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121309783A_ABST
    Figure CN121309783A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of vehicle testing, and discloses a linkage testing method and device for a mobile terminal and a vehicle terminal, electronic equipment and a medium. The method comprises the following steps: after a mobile terminal and a vehicle-mounted terminal are connected, synchronously starting video recording functions of the mobile terminal and the vehicle-mounted terminal; in response to the starting of the linkage test of the mobile terminal and the vehicle terminal, detecting the function state of the vehicle terminal in real time, and when the function state of the vehicle terminal is abnormal, acquiring abnormal information corresponding to the mobile terminal and the vehicle terminal according to the abnormal condition of the vehicle terminal; uploading the abnormal information to a preset cloud; and at least after the abnormal information is uploaded to the preset cloud, the preset cloud is utilized to distribute the abnormal information to the corresponding development test personnel according to the cloud configuration information. The method is beneficial to improving the test process and improving the analysis efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle testing technology, and in particular to a method, apparatus, electronic device, and medium for joint testing of mobile terminal and vehicle terminal. Background Technology

[0002] HiCar is Huawei's vehicle connectivity solution that connects Huawei mobile devices to cars, supporting functions such as navigation, music playback, phone calls, and voice assistants. More and more car manufacturers are adopting HiCar, but during HiCar testing, it's necessary to simultaneously record video from both the phone and the car's infotainment system and upload logs from both. Current issues include large uploaded log file sizes and incomplete video recordings, which can hinder further problem analysis. Summary of the Invention

[0003] The purpose of this invention is to provide a method, device, electronic device, and storage medium for joint testing of mobile terminals and vehicle terminals, so as to at least solve the problem of low testing efficiency caused by large log upload size and incomplete video, and to improve the testing process and increase testing efficiency.

[0004] To address the aforementioned technical problems, in a first aspect, the present invention provides a method for testing the linkage between a mobile terminal and an in-vehicle terminal, comprising at least:

[0005] After the mobile device and the vehicle-mounted device are connected, the video recording function of the mobile device and the vehicle-mounted device is enabled simultaneously.

[0006] In response to the activation of the linkage test between the mobile terminal and the vehicle terminal, the vehicle terminal's functional status is monitored in real time, and when the vehicle terminal's functional status is abnormal, the abnormal information corresponding to the mobile terminal and the vehicle terminal is obtained according to the abnormal situation of the vehicle terminal.

[0007] The abnormal information is uploaded to a preset cloud platform;

[0008] At least after the abnormal information is uploaded to the preset cloud, the preset cloud is used to distribute the abnormal information to the corresponding development and testing personnel according to the cloud configuration information.

[0009] Optionally, the abnormal information includes at least one of abnormal log information and abnormal video information.

[0010] Optionally, the step of responding to the activation of the linkage test between the mobile terminal and the vehicle terminal, real-time detection of the vehicle terminal's functional status, and obtaining abnormal video information corresponding to the mobile terminal and the vehicle terminal based on the abnormal vehicle terminal status when the vehicle terminal's functional status is abnormal, specifically includes:

[0011] In response to the activation of the linkage test between the mobile terminal and the vehicle terminal, the vehicle terminal's functional status is monitored in real time, and vehicle terminal log information is obtained when the vehicle terminal's functional status is abnormal.

[0012] The vehicle system log information is filtered using preset keywords to obtain the vehicle system crash status.

[0013] The leakage status of the vehicle's memory and central processing unit (CPU) is obtained to determine the resource leakage status;

[0014] At least after the vehicle system crashes or the resource leaks and the log detection conditions are met, the vehicle system notifies the mobile device so that the vehicle system and the mobile device can synchronously upload the corresponding abnormal log information and abnormal video information.

[0015] Optionally, the vehicle terminal and the mobile terminal store abnormal video information at a preset bitrate for at least a preset time period through a video buffer.

[0016] The vehicle-mounted terminal and the mobile terminal store at least some abnormal log information through a log cache area.

[0017] Optionally, the abnormal information is uploaded to a preset cloud platform, specifically including:

[0018] Obtain the process identifier corresponding to the exception log information;

[0019] The abnormal log information and the abnormal video information are associated with the process identifier, and the abnormal log information and the abnormal video information are uploaded to the preset cloud based on the process identifier;

[0020] The step of at least, after the abnormal information is uploaded to a preset cloud platform, using the preset cloud platform to distribute the abnormal information to the corresponding development and testing personnel according to the cloud configuration information, specifically includes:

[0021] After uploading the abnormal log information and abnormal video information associated with the process identifier to a preset cloud, the abnormal log information and abnormal video information associated with the process identifier are assigned to the corresponding development and testing personnel according to the cloud configuration information.

[0022] Optionally, after the mobile terminal and the vehicle-mounted terminal are connected and the video recording function of the mobile terminal and the vehicle-mounted terminal is enabled simultaneously, the method further includes:

[0023] In response to the activation of the linkage test between the mobile terminal and the vehicle terminal, the vehicle terminal function status is detected in real time, and when the vehicle terminal function status is not abnormal, the vehicle test abnormality points are detected in real time.

[0024] If the vehicle test anomaly point exists, the video recording function of the vehicle terminal and the mobile terminal will be restarted to synchronously obtain the corresponding anomaly information of the vehicle terminal and the mobile terminal.

[0025] Optionally, restarting the video recording function on both the vehicle-mounted device and the mobile device specifically includes:

[0026] Clear the video data in the video buffer areas of the mobile terminal and the vehicle terminal;

[0027] Re-synchronize and restart the video recording function on both the mobile device and the vehicle-mounted system.

[0028] Secondly, the present invention also provides a linkage testing device for a mobile terminal and an in-vehicle terminal, comprising at least:

[0029] A connection synchronization module is used to simultaneously enable the video recording function of the mobile terminal and the vehicle terminal after they are connected;

[0030] An anomaly detection module is used to respond to the activation of the linkage test between the mobile terminal and the vehicle terminal, detect the functional status of the vehicle terminal in real time, and obtain the corresponding anomaly information of the mobile terminal and the vehicle terminal according to the anomaly situation when the functional status of the vehicle terminal is abnormal.

[0031] An error upload module is used to upload the error information to a preset cloud platform;

[0032] The information allocation module is used to allocate the abnormal information to the corresponding development and testing personnel based on the cloud configuration information, at least after the abnormal information is uploaded to the preset cloud.

[0033] Thirdly, the present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the program to implement the steps in the linkage test method for mobile terminal and vehicle terminal according to any one of the first aspects.

[0034] Fourthly, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps in the linkage testing method for mobile terminal and vehicle terminal described in any one of the first aspects.

[0035] The technical solution provided by this invention firstly, after the mobile terminal and the vehicle terminal are connected, the video recording function of the mobile terminal and the vehicle terminal are simultaneously enabled; secondly, in response to the start of the linkage test between the mobile terminal and the vehicle terminal, the functional status of the vehicle terminal is detected in real time, and when the functional status of the vehicle terminal is abnormal, the corresponding abnormal information of the mobile terminal and the vehicle terminal is obtained according to the abnormal situation of the vehicle terminal; then, the abnormal information is uploaded to a preset cloud; finally, at least after the abnormal information is uploaded to the preset cloud, the abnormal information is distributed to the corresponding development and testing personnel according to the cloud configuration information.

[0036] Therefore, this embodiment of the invention enables simultaneous video recording on both the vehicle-mounted and mobile devices. When an abnormality occurs in the vehicle-mounted system, the abnormal images on both devices can be recorded simultaneously. This avoids the problem of incomplete recording of abnormal information from either the vehicle-mounted or mobile device, which would prevent accurate analysis of the cause of the abnormality. This helps to improve the testing process and enhance analysis efficiency. Attached Figure Description

[0037] Figure 1 This is a flowchart of a linkage testing method between a mobile terminal and an in-vehicle terminal provided by an embodiment of the present invention;

[0038] Figure 2 This is a flowchart of another linkage testing method between a mobile terminal and an in-vehicle terminal provided by an embodiment of the present invention;

[0039] Figure 3 This is a schematic diagram of the structure of a mobile terminal and vehicle terminal linkage testing device provided in an embodiment of the present invention;

[0040] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0042] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the application. The singular forms “a,” “said,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms, and “multiple” generally includes at least two unless the context clearly indicates otherwise.

[0043] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0044] It should be understood that although the terms first, second, third, etc., may be used in the embodiments of this application, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, first may also be referred to as second without departing from the scope of the embodiments of this application, and similarly, second may also be referred to as first.

[0045] Depending on the context, the words “if” or “suppose” as used here can be interpreted as “when” or “in response to determination” or “in response to detection.” Similarly, depending on the context, the phrases “if determination” or “if detection (of the stated condition or event)” can be interpreted as “when determination” or “in response to determination” or “when detection (of the stated condition or event)” or “in response to detection (of the stated condition or event).”

[0046] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that an article or device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such an article or device. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the article or device that includes said element.

[0047] It should be noted that any symbols and / or numbers present in the specification that are not marked in the accompanying drawings are not reference numerals.

[0048] Figure 1 This is a flowchart of a mobile terminal and vehicle terminal linkage testing method provided by an embodiment of the present invention. This embodiment is applicable to at least various testing scenarios involving the interconnection of vehicle terminals and mobile terminals. This mobile terminal and vehicle terminal linkage testing method can be, but is not limited to, executed by the mobile terminal and vehicle terminal linkage testing device in this embodiment of the present invention as the execution subject. This execution subject can be implemented in software and / or hardware. Figure 1 As shown, the linkage test method between the mobile terminal and the vehicle terminal includes at least the following steps:

[0049] S1. After connecting the mobile device and the vehicle system, simultaneously enable video recording on both devices.

[0050] Before performing the linkage test, an auxiliary test application needs to be installed on the vehicle's infotainment system. Once launched, this application should appear as a floating window above all other applications and should include buttons to enable and disable video recording. The auxiliary test application's video recording function can simultaneously enable video recording on the mobile device itself. The vehicle's infotainment system can be the vehicle's central control unit. The mobile device can be a smartphone, tablet, laptop, etc.

[0051] S2. In response to the start of the mobile and vehicle-mounted system linkage test, the system monitors the vehicle-mounted system's functional status in real time and obtains the corresponding abnormal information from the mobile and vehicle-mounted systems based on the abnormal situation when the vehicle-mounted system's functional status is abnormal.

[0052] The linkage test can be an interconnection test between the vehicle-mounted system and the mobile terminal. The vehicle-mounted system's functional status can be the operating status of the vehicle-mounted system during the test. An abnormality in the vehicle-mounted system's functional status can be a software crash or system freeze. In one specific implementation, optionally, the abnormal information includes at least one of abnormal log information and abnormal video information. The abnormal log information can be an error log from the vehicle-mounted system or the mobile terminal, and the abnormal video information can be the display screen of the vehicle-mounted system or the mobile terminal when the abnormality occurs. In another specific implementation, optionally, the vehicle-mounted system and the mobile terminal store at least a preset bitrate of abnormal video information within a preset time period through a video buffer; the vehicle-mounted system and the mobile terminal store at least abnormal log information through a log buffer. The video buffer continuously caches H.264 low bitrate (i.e., preset bitrate) video streams within the last 10 minutes (i.e., the preset time period). The log buffer is used to cache and continuously store system logs, network quality, user operation events, etc.

[0053] S3. Upload the abnormal information to the preset cloud.

[0054] The default cloud platform can be Huawei Cloud.

[0055] S4. At least after the exception information is uploaded to the preset cloud, the exception information is distributed to the corresponding development and testing personnel based on the cloud configuration information.

[0056] The cloud configuration information includes the types of abnormal information. After the abnormal information is uploaded to the preset cloud, the preset cloud will classify the abnormal information according to the cloud configuration information. If the abnormal information corresponds to the vehicle cloud development department, the abnormal information will be assigned to the development and testing personnel of the vehicle cloud development department.

[0057] The technical solution provided in this embodiment firstly, after the mobile terminal and the vehicle terminal are connected, the video recording function of the mobile terminal and the vehicle terminal are simultaneously enabled; secondly, in response to the start of the linkage test between the mobile terminal and the vehicle terminal, the functional status of the vehicle terminal is detected in real time, and when the functional status of the vehicle terminal is abnormal, the corresponding abnormal information of the mobile terminal and the vehicle terminal is obtained according to the abnormal situation of the vehicle terminal; then, the abnormal information is uploaded to a preset cloud; finally, at least after the abnormal information is uploaded to the preset cloud, the abnormal information is distributed to the corresponding development and testing personnel according to the cloud configuration information.

[0058] Therefore, this embodiment enables the simultaneous activation of video recording functions on both the vehicle-mounted and mobile devices. When an abnormality occurs in the vehicle-mounted system, the abnormal images on both the vehicle-mounted and mobile devices can be recorded simultaneously. This avoids the problem of incomplete recording of abnormal information from either the vehicle-mounted or mobile device, which would prevent accurate analysis of the cause of the vehicle-mounted system malfunction. This helps to improve the testing process and enhance analysis efficiency.

[0059] Based on the above embodiments or implementation methods Figure 2 This is a flowchart of another mobile terminal and vehicle terminal linkage testing method provided by an embodiment of the present invention. This embodiment is based on the above embodiment with additions. Figure 2 As shown, the linkage test method between the mobile terminal and the vehicle terminal includes at least the following steps:

[0060] S1. After connecting the mobile device and the vehicle system, simultaneously enable video recording on both devices.

[0061] S51. In response to the activation of the mobile terminal and vehicle terminal linkage test, the vehicle terminal function status is detected in real time, and when the vehicle terminal function status is not abnormal, the vehicle test abnormality points are detected in real time.

[0062] Among them, abnormal points in vehicle testing can be that the test process or the test results do not meet expectations.

[0063] S52. If an anomaly exists in the vehicle test, restart the video recording function on both the vehicle and mobile devices to synchronously obtain the corresponding anomaly information on both devices.

[0064] In another specific implementation, optionally, the video recording function on both the vehicle-mounted device and the mobile device is restarted, specifically including:

[0065] (52-1) Clear the video data in the video cache area of ​​the mobile terminal and the vehicle terminal.

[0066] (52-2) Re-synchronize and restart the video recording function on both the mobile and in-vehicle terminals.

[0067] S21. In response to the start of the mobile terminal and vehicle terminal linkage test, the vehicle terminal function status is detected in real time, and the vehicle terminal log information is obtained when the vehicle terminal function status is abnormal.

[0068] S22. Filter the vehicle system log information using preset keywords to obtain the vehicle system crash status.

[0069] The preset keywords can be "crash" to retrieve issues such as vehicle infotainment system crashes, and "exception" to retrieve application crashes. Vehicle infotainment system crash status includes at least two types of crashes: vehicle infotainment system crash and application crash.

[0070] S23. Obtain information on the leakage of vehicle system memory and central processing unit CPU to determine the state of resource leakage.

[0071] Both memory and CPU leaks in the vehicle's infotainment system can be detected using the TOP command. Memory leaks can occur when a program fails to properly release unused memory, leading to a continuous and abnormal increase in memory usage. CPU leaks can be identified by whether CPU resources are being abnormally consumed, such as a process maintaining a consistently high load.

[0072] S24. At least after the log detection conditions are met in the vehicle system crash state or resource leakage state, the vehicle system terminal notifies the mobile terminal so that the vehicle system terminal and the mobile terminal can synchronously upload the corresponding abnormal log information and abnormal video information.

[0073] The log detection conditions could include the presence of a vehicle infotainment system crash or resource leaks. In one scenario, developers and testers can also configure the system to upload all log and video data to a pre-defined cloud location without linking it to any associated process, allowing them to analyze the causes of test failures based on the comprehensive log and video information.

[0074] S31. Obtain the process identifier corresponding to the exception log information.

[0075] The process identifier can be the PID of the HiCar process.

[0076] S32. Associate the abnormal log information and abnormal video information with the process identifier, and upload the abnormal log information and abnormal video information to the preset cloud based on the process identifier.

[0077] S41. After uploading the abnormal log information and abnormal video information after the associated process identification to the preset cloud, the abnormal log information and abnormal video information after the associated process identification are assigned to the corresponding development and testing personnel according to the cloud configuration information.

[0078] In this embodiment, the setup allows developers and testers to quickly locate the abnormal process corresponding to the abnormal log information and abnormal video information based on the process identifier (PID), thereby quickly discovering and resolving test issues.

[0079] The technical solution provided in this embodiment firstly, after the mobile terminal and the vehicle-mounted system are connected, the video recording functions of both the mobile terminal and the vehicle-mounted system are simultaneously enabled. Further, in response to the initiation of the mobile terminal and vehicle-mounted system linkage test, the vehicle-mounted system's functional status is monitored in real time, and if no abnormality occurs in the vehicle-mounted system's functional status, vehicle test anomalies are detected in real time. Further, if vehicle test anomalies exist, the video recording functions of both the vehicle-mounted system and the mobile terminal are restarted to synchronously acquire corresponding anomaly information from both terminals. Further, in response to the initiation of the mobile terminal and vehicle-mounted system linkage test, the vehicle-mounted system's functional status is monitored in real time, and if an abnormality occurs in the vehicle-mounted system's functional status, vehicle-mounted system log information is acquired. Further, the vehicle-mounted system log information is filtered using preset keywords to obtain vehicle-mounted system crash status. Further, the leakage status of the vehicle-mounted system's memory and central processing unit (CPU) is acquired to determine resource leakage status. Further, at least after the vehicle-mounted system crash status or resource leakage status meets the log detection conditions, the vehicle-mounted system notifies the mobile terminal so that both the vehicle-mounted system and the mobile terminal synchronously upload corresponding abnormal log information and abnormal video information. Further, the process identifier corresponding to the abnormal log information is obtained. Then, the abnormal log information and abnormal video information are associated with the process identifier, and uploaded to a preset cloud platform based on the process identifier. Finally, after uploading the abnormal log information and abnormal video information with the associated process identifier to the preset cloud platform, the abnormal log information and abnormal video information are assigned to the corresponding development and testing personnel according to the cloud platform configuration information.

[0080] Therefore, this embodiment, on the one hand, synchronously activates the video recording function on both the vehicle-mounted and mobile devices. When an anomaly occurs in the vehicle-mounted system, it can simultaneously record the abnormal screen on both devices. This avoids incomplete recording of abnormal information from either the vehicle-mounted or mobile device, which could lead to inaccurate analysis of the cause of the anomaly, thus improving the testing process and enhancing analysis efficiency. On the other hand, this embodiment, by obtaining the process identifier and uploading abnormal log information and abnormal video information to a preset cloud, can effectively reduce the uploading of invalid videos and logs, helping development and testing personnel to accurately locate abnormal issues and further improve testing efficiency.

[0081] Figure 3 This is a schematic diagram of a mobile terminal and vehicle terminal linkage testing device provided in an embodiment of the present invention. This embodiment is applicable to at least various testing scenarios involving interconnection between vehicle terminals and mobile terminals. This mobile terminal and vehicle terminal linkage testing device can be implemented using software and / or hardware. Figure 3As shown, the linkage testing device between the mobile terminal and the vehicle terminal includes at least:

[0082] The connection synchronization module 110 is used to simultaneously enable video recording functions on both the mobile device and the vehicle-mounted system after they are connected.

[0083] The anomaly detection module 120 is used to respond to the start of the linkage test between the mobile terminal and the vehicle terminal, detect the functional status of the vehicle terminal in real time, and obtain the corresponding anomaly information of the mobile terminal and the vehicle terminal when the functional status of the vehicle terminal is abnormal.

[0084] The exception upload module 130 is used to upload exception information to a preset cloud.

[0085] The information distribution module 140 is used to distribute the abnormal information to the corresponding development and testing personnel based on the cloud configuration information after the abnormal information is uploaded to the preset cloud.

[0086] Optionally, the abnormal information includes at least one of abnormal log information and abnormal video information.

[0087] Optionally, the vehicle-mounted system and the mobile device can save abnormal video information at a preset bitrate for at least a preset time period through the video buffer.

[0088] Both the vehicle-mounted and mobile devices should store at least some abnormal log information through a log cache.

[0089] Optionally, the exception upload module 130 is specifically used for:

[0090] Obtain the process identifier corresponding to the abnormal log information; and associate the abnormal log information and abnormal video information with the process identifier, and upload the abnormal log information and abnormal video information to the preset cloud based on the process identifier.

[0091] The information allocation module 140 is specifically used for:

[0092] After uploading the abnormal log information and abnormal video information after the associated process is identified to the preset cloud, the abnormal log information and abnormal video information after the associated process is identified are assigned to the corresponding development and testing personnel according to the cloud configuration information.

[0093] Optionally, the anomaly detection module 120 is also used for:

[0094] In response to the activation of the mobile and vehicle-mounted system linkage test, the system monitors the vehicle-mounted system's functional status in real time. When no abnormalities occur in the vehicle-mounted system's functional status, it detects abnormal points in the vehicle test in real time. Furthermore, when abnormal points exist in the vehicle test, it restarts the video recording function on both the vehicle-mounted system and the mobile device to synchronously obtain the corresponding abnormal information from both the vehicle-mounted system and the mobile device.

[0095] Optionally, the anomaly detection module 120 is also specifically used for:

[0096] Clear the video data in the video cache areas of both the mobile and in-vehicle systems; and resynchronize and restart the video recording function on both the mobile and in-vehicle systems.

[0097] Optionally, the anomaly detection module 120 is also specifically used for:

[0098] In response to the activation of the mobile and vehicle-mounted system linkage test, the system monitors the vehicle-mounted system's functional status in real time and retrieves vehicle-mounted system log information when abnormalities occur. It also filters the vehicle-mounted system log information using preset keywords to identify vehicle-mounted system crash states. Furthermore, it retrieves information on vehicle-mounted system memory and CPU leaks to determine resource leakage status. Finally, at least after the vehicle-mounted system crash or resource leakage status meets the log detection conditions, the system notifies the mobile device so that both the vehicle-mounted system and the mobile device can synchronously upload corresponding abnormal log information and abnormal video information.

[0099] The technical solution provided in this embodiment firstly, after the mobile terminal and the vehicle-mounted system are connected, the video recording function of both the mobile terminal and the vehicle-mounted system is simultaneously enabled through the connection synchronization module. Further, in response to the activation of the mobile terminal and vehicle-mounted system linkage test, the anomaly detection module monitors the vehicle-mounted system's functional status in real time, and when an anomaly occurs, it obtains corresponding anomaly information from both the mobile terminal and the vehicle-mounted system based on the anomaly situation. Further, the anomaly upload module uploads the anomaly information to a preset cloud platform. Finally, at least after the anomaly information is uploaded to the preset cloud platform, the information distribution module uses the preset cloud platform to distribute the anomaly information to the corresponding development and testing personnel based on the cloud configuration information.

[0100] Therefore, this embodiment enables the simultaneous activation of video recording functions on both the vehicle-mounted and mobile devices. When an abnormality occurs in the vehicle-mounted system, the abnormal images on both the vehicle-mounted and mobile devices can be recorded simultaneously. This avoids the problem of incomplete recording of abnormal information from either the vehicle-mounted or mobile device, which would prevent accurate analysis of the cause of the vehicle-mounted system malfunction. This helps to improve the testing process and enhance analysis efficiency.

[0101] This embodiment provides an electronic device. Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. See also: Figure 4The electronic device 1000 includes a processor 1001 and a memory 1002. The memory 1002 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 1001, the steps in any of the above-mentioned mobile terminal and vehicle terminal linkage test methods are performed. Through the above technical solution, the processor 1001 and the memory 1002 are interconnected and communicate with each other through a communication bus and / or other forms of connection mechanism (not shown). The memory 1002 stores a computer program that can be executed by the processor. When the electronic device 1000 is running, the processor 1001 executes the computer program to execute the mobile terminal and vehicle terminal linkage test method in any optional implementation of the above embodiments, so as to achieve at least the following functions: after the mobile terminal and the vehicle terminal are connected, the video recording function of the mobile terminal and the vehicle terminal are simultaneously turned on; in response to the start of the linkage test of the mobile terminal and the vehicle terminal, the vehicle terminal function status is detected in real time, and when the vehicle terminal function status is abnormal, the abnormal information corresponding to the mobile terminal and the vehicle terminal is obtained according to the abnormal situation of the vehicle terminal; the abnormal information is uploaded to a preset cloud; at least after the abnormal information is uploaded to the preset cloud, the abnormal information is distributed to the corresponding development and testing personnel according to the cloud configuration information using the preset cloud.

[0102] This embodiment provides a computer-readable storage medium storing a computer program. When executed by a processor, the program implements the mobile terminal and vehicle terminal linkage testing method provided in all embodiments of this application: after the mobile terminal and vehicle terminal are connected, the video recording function of the mobile terminal and vehicle terminal is simultaneously enabled; in response to the start of the linkage test between the mobile terminal and vehicle terminal, the vehicle terminal function status is detected in real time, and when the vehicle terminal function status is abnormal, the abnormal information corresponding to the mobile terminal and vehicle terminal is obtained according to the abnormal situation of the vehicle terminal; the abnormal information is uploaded to a preset cloud; at least after the abnormal information is uploaded to the preset cloud, the abnormal information is distributed to the corresponding development and testing personnel according to the cloud configuration information.

[0103] Any combination of one or more computer-readable media may be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.

[0104] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0105] The program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0106] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages—such as Java, Smalltalk, and C++—as well as conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0107] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for joint testing of mobile terminal and vehicle terminal, characterized in that, At least including: After the mobile device and the vehicle-mounted device are connected, the video recording function of the mobile device and the vehicle-mounted device is enabled simultaneously. In response to the activation of the linkage test between the mobile terminal and the vehicle terminal, the vehicle terminal's functional status is monitored in real time, and when the vehicle terminal's functional status is abnormal, the abnormal information corresponding to the mobile terminal and the vehicle terminal is obtained according to the abnormal situation of the vehicle terminal. The abnormal information is uploaded to a preset cloud platform; At least after the abnormal information is uploaded to the preset cloud, the preset cloud is used to distribute the abnormal information to the corresponding development and testing personnel according to the cloud configuration information.

2. The linkage testing method between the mobile terminal and the vehicle terminal according to claim 1, characterized in that, The abnormal information includes at least one of abnormal log information and abnormal video information.

3. The linkage testing method between the mobile terminal and the vehicle terminal according to claim 2, characterized in that, The response to the activation of the linkage test between the mobile terminal and the vehicle terminal includes real-time detection of the vehicle terminal's functional status and, when an abnormality occurs in the vehicle terminal's functional status, obtaining corresponding abnormal video information from the mobile terminal and the vehicle terminal based on the abnormality. Specifically, this includes: In response to the activation of the linkage test between the mobile terminal and the vehicle terminal, the vehicle terminal's functional status is monitored in real time, and vehicle terminal log information is obtained when the vehicle terminal's functional status is abnormal. The vehicle system log information is filtered using preset keywords to obtain the vehicle system crash status. To determine the state of resource leakage, the system needs to obtain information on the leakage of vehicle memory and central processing unit (CPU). At least after the vehicle system crashes or the resource leaks and the log detection conditions are met, the vehicle system notifies the mobile device so that the vehicle system and the mobile device can synchronously upload the corresponding abnormal log information and abnormal video information.

4. The linkage testing method between the mobile terminal and the vehicle terminal according to claim 2, characterized in that, The vehicle-mounted terminal and the mobile terminal store abnormal video information at a preset bitrate for at least a preset time period through the video buffer. The vehicle-mounted terminal and the mobile terminal store at least some abnormal log information through a log cache area.

5. The linkage testing method between the mobile terminal and the vehicle terminal according to claim 2, characterized in that, Uploading the abnormal information to a preset cloud platform specifically includes: Obtain the process identifier corresponding to the exception log information; The abnormal log information and the abnormal video information are associated with the process identifier, and the abnormal log information and the abnormal video information are uploaded to the preset cloud based on the process identifier; The step of at least, after the abnormal information is uploaded to a preset cloud platform, using the preset cloud platform to distribute the abnormal information to the corresponding development and testing personnel according to the cloud configuration information, specifically includes: After uploading the abnormal log information and abnormal video information associated with the process identifier to a preset cloud, the abnormal log information and abnormal video information associated with the process identifier are assigned to the corresponding development and testing personnel according to the cloud configuration information.

6. The linkage testing method between the mobile terminal and the vehicle terminal according to claim 4, characterized in that, After the mobile device and the vehicle-mounted system are connected, and the video recording function of both devices is simultaneously enabled, the system further includes: In response to the activation of the linkage test between the mobile terminal and the vehicle terminal, the vehicle terminal function status is detected in real time, and when the vehicle terminal function status is not abnormal, the vehicle test abnormality points are detected in real time. If the vehicle test anomaly point exists, the video recording function of the vehicle terminal and the mobile terminal will be restarted to synchronously obtain the corresponding anomaly information of the vehicle terminal and the mobile terminal.

7. The linkage testing method between the mobile terminal and the vehicle terminal according to claim 6, characterized in that, Restarting the video recording function on both the vehicle-mounted system and the mobile device specifically includes: Clear the video data in the video buffer areas of the mobile terminal and the vehicle terminal; Re-synchronize and restart the video recording function on both the mobile device and the vehicle-mounted system.

8. A linkage testing device for mobile terminals and vehicle terminals, characterized in that, At least including: A connection synchronization module is used to simultaneously enable the video recording function of the mobile terminal and the vehicle terminal after they are connected; An anomaly detection module is used to respond to the activation of the linkage test between the mobile terminal and the vehicle terminal, detect the functional status of the vehicle terminal in real time, and obtain the corresponding anomaly information of the mobile terminal and the vehicle terminal according to the anomaly situation when the functional status of the vehicle terminal is abnormal. An error upload module is used to upload the error information to a preset cloud platform; The information allocation module is used to allocate the abnormal information to the corresponding development and testing personnel based on the cloud configuration information, at least after the abnormal information is uploaded to the preset cloud.

9. An electronic device comprising a memory and a processor, the memory storing a computer program executable on the processor, characterized in that, When the processor executes the program, it implements the steps in the mobile terminal and vehicle terminal linkage testing method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps in the mobile terminal and vehicle terminal linkage testing method according to any one of claims 1 to 7.