CN113691669A - Android mobile phone APP control vehicle full-process test analysis system and method - Google Patents

Android mobile phone APP control vehicle full-process test analysis system and method Download PDF

Info

Publication number
CN113691669A
CN113691669A CN202110961468.7A CN202110961468A CN113691669A CN 113691669 A CN113691669 A CN 113691669A CN 202110961468 A CN202110961468 A CN 202110961468A CN 113691669 A CN113691669 A CN 113691669A
Authority
CN
China
Prior art keywords
box
computer system
upper computer
test
mobile phone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110961468.7A
Other languages
Chinese (zh)
Other versions
CN113691669B (en
Inventor
张明福
李娟�
俞涛
任自鑫
高电波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Jianghuai Automobile Group Corp
Original Assignee
Anhui Jianghuai Automobile Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Jianghuai Automobile Group Corp filed Critical Anhui Jianghuai Automobile Group Corp
Priority to CN202110961468.7A priority Critical patent/CN113691669B/en
Publication of CN113691669A publication Critical patent/CN113691669A/en
Application granted granted Critical
Publication of CN113691669B publication Critical patent/CN113691669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a full-process test analysis system and method for controlling a vehicle by using an android mobile phone APP, wherein the system comprises the following steps: the system comprises an upper computer system, a fault injection test BOX, a log intercepting module, a log analysis module, a T-BOX, a mobile phone APP and control module and a TSP platform, wherein the upper computer system is used for setting a program execution flow and setting a judgment rule; the log intercepting module is used for intercepting and storing the logs of the T-BOX and the TSP platform when the execution of the test case is unsuccessful; the log analysis module is used for analyzing the log to be analyzed and determining the reason why the test fails; the mobile phone APP and the control module are used for controlling the operation of the mobile phone APP end and issuing a control instruction. The full-flow test analysis system and method for controlling the vehicle by the android mobile phone APP can automatically judge whether the vehicle control instruction is successfully executed or not, improve the authenticity and the sufficiency of test data, and can quickly locate and analyze a failed link so as to solve the problem more quickly.

Description

Android mobile phone APP control vehicle full-process test analysis system and method
Technical Field
The invention relates to the technical field of vehicle testing, in particular to a full-process testing and analyzing system and method for controlling a vehicle through an android mobile phone APP.
Background
The intelligent internet automobile has become the automobile development trend, the functions of mobile phone APP automobile condition query and remote automobile control are paid attention of many users, especially in summer or winter, the window is opened in advance to ventilate, and the functions of air conditioning refrigeration, heating and the like are especially used.
Therefore, a system and a method for testing and analyzing the whole process of controlling the vehicle by using the android mobile phone APP are needed.
Disclosure of Invention
The invention aims to provide a full-flow test analysis system and method for an android mobile phone APP controlled vehicle, so as to solve the problems in the prior art, improve the authenticity and sufficiency of test data and quickly locate and analyze a failed link.
The invention provides a full-process test analysis system for controlling a vehicle by using an android mobile phone APP, which comprises the following steps: upper computer system, trouble injection test BOX, log intercepting module, log analysis module, T-BOX, cell-phone APP and control module and TSP platform, cell-phone APP and control module with upper computer system connects, the trouble injection test BOX with upper computer system and T-BOX are connected, TSP platform with cell-phone APP and control module with T-BOX connects, wherein:
the upper computer system is used for setting a program execution flow and setting a judgment rule;
the fault injection test BOX is used as a junction BOX of each wiring terminal of the T-BOX, and is used for receiving the control of the upper computer system and carrying out test operation on each pin of the T-BOX;
the T-BOX is used for receiving various test input conditions sent by the upper computer system and returning diagnosis information to the upper computer system;
the log intercepting module is connected with the upper computer system and the T-BOX, is controlled by the upper computer system, and is used for intercepting and storing logs of the T-BOX and the TSP platform when the execution of the test case is unsuccessful;
the log analysis module is controlled by the upper computer system and is used for responding to a log analysis instruction, analyzing the log to be analyzed according to the issuing time of the log analysis instruction and determining the specific reason why the test fails;
the mobile phone APP and the control module are used for controlling the operation of the mobile phone APP end according to an android debugging bridging instruction in the upper computer system so as to issue a control instruction through the mobile phone APP end.
The android mobile phone APP controlled vehicle full-flow test analysis system comprises an android mobile phone APP controlled vehicle full-flow test analysis system, and preferably further comprises a programmable power supply, wherein the programmable power supply is arranged between the upper computer system and the fault injection test BOX, is controlled by the upper computer system, and is used for receiving a control signal of the upper computer system according to a diagnosis scene and outputting accurate power supply parameters to the T-BOX.
The android mobile phone APP control vehicle full-flow test analysis system comprises an upper computer system and a fault injection test BOX, wherein the upper computer system is connected with the fault injection test BOX through a bus simulation monitoring module, and the fault injection test BOX is connected with the upper computer system through a bus simulation monitoring module.
The android mobile phone APP control vehicle full-flow test analysis system comprises an android mobile phone APP control vehicle full-flow test analysis system, wherein preferably, the android mobile phone APP control vehicle full-flow test analysis system further comprises a visual identification analysis module, the visual identification analysis module is connected with the upper computer system and controlled by the upper computer system, and is used for identifying display contents of a mobile phone interface within a specified time and outputting an identification result to the upper computer system as a test result.
As above-mentioned android mobile phone APP control vehicle full flow test analysis system, wherein, preferably, cell-phone APP and control module pass through the 4G gateway and be connected with the TSP platform, the TSP platform pass through the 4G gateway and be connected with the T-BOX.
The invention also provides a full-process test analysis method for controlling the vehicle by adopting the android mobile phone APP, which comprises the following steps:
the upper computer system sets a test precondition;
after the precondition is executed, the upper computer system controls the mobile phone APP and the control module to issue a vehicle control instruction;
responding to the vehicle control command, and sending a vehicle control request by the T-BOX;
responding to a vehicle control request sent by the T-BOX, and feeding back an execution result of the vehicle to the TSP platform;
after receiving the execution result, the TSP platform feeds the execution result back to the APP end of the mobile phone for display;
when the identification result is inconsistent with the expected result, a log of the T-BOX and the TSP platform in the corresponding time period is derived through a log intercepting module;
and analyzing the derived log data through a log analysis module to determine a fault reason.
The method for testing and analyzing the full flow of the android mobile phone APP controlled vehicle, preferably, in response to the vehicle control command, the T-BOX sends a vehicle control request, and specifically includes:
uploading the vehicle control instruction to a TSP platform so that the TSP platform issues the vehicle control instruction to a T-BOX;
and the T-BOX sends a vehicle control request according to the vehicle control command.
The method for testing and analyzing the full flow of the vehicle controlled by the APP of the android phone as described above, wherein preferably, the feeding back the execution result of the measured controller to the TSP platform in response to the vehicle control request sent by the T-BOX specifically includes:
responding to a vehicle control request sent by the T-BOX, and feeding back a vehicle execution result feedback signal to the T-BOX by the upper computer system;
and the T-BOX feeds back an execution result to the TSP platform after receiving the feedback signal.
The method for analyzing the full-process test of the android mobile phone APP controlled vehicle preferably further comprises:
the display content of the APP end of the mobile phone is identified through the visual identification analysis module, the identification result is compared with an expected result, and the test result is automatically output.
The method for analyzing the full-process test of the android mobile phone APP controlled vehicle preferably further comprises:
judging whether the current test case is the last test case or not through the upper computer system,
if yes, automatically outputting a test report through an upper computer system;
if not, returning to the step of the upper computer system for setting the test precondition until the current test case is the last test case, and automatically outputting a test report through the upper computer system.
According to the android mobile phone APP control vehicle full-flow test analysis system and method, information interaction among the mobile phone APP and the control module, the TSP platform, the T-BOX and the upper computer system is combined with log interception and analysis, and an automatic analysis scheme of system logs is provided from the perspective of system analysis, so that whether vehicle control instructions are successfully executed or not is automatically judged, authenticity and sufficiency of test data are improved, a failed link can be rapidly positioned and analyzed, and rapid countermeasures can be conveniently carried out on product failures by research and development personnel.
Drawings
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described with reference to the accompanying drawings, in which:
fig. 1 is a structural block diagram of an embodiment of a full-flow test analysis system for an android mobile phone APP controlled vehicle provided by the invention;
FIG. 2 is a flowchart of an embodiment of a full-flow test analysis method for controlling a vehicle by an APP of an android phone provided by the present invention;
fig. 3 is a working schematic diagram of an embodiment of a full-flow test analysis method for an android mobile phone APP controlled vehicle provided by the invention.
Description of reference numerals:
1-upper computer system 2-programmable power supply 3-bus simulation monitoring module
4-fault injection test BOX 5-T-BOX 6-log intercept module
7-log analysis module 8-mobile phone APP and control module 9-visual identification analysis module
10-TSP platform
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. The description of the exemplary embodiments is merely illustrative and is in no way intended to limit the disclosure, its application, or uses. The present disclosure may be embodied in many different forms and is not limited to the embodiments described herein. These embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. It should be noted that: the relative arrangement of parts and steps, the composition of materials, numerical expressions and numerical values set forth in these embodiments are to be construed as merely illustrative, and not as limitative, unless specifically stated otherwise.
As used in this disclosure, "first", "second": and the like, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element preceding the word covers the element listed after the word, and does not exclude the possibility that other elements are also covered. "upper", "lower", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
In the present disclosure, when a specific component is described as being located between a first component and a second component, there may or may not be intervening components between the specific component and the first component or the second component. When it is described that a specific component is connected to other components, the specific component may be directly connected to the other components without having an intervening component, or may be directly connected to the other components without having an intervening component.
All terms (including technical or scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs unless specifically defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
According to the traditional test method for vehicle condition query and remote vehicle control by using the mobile phone APP, manual test is performed by personnel, only a small number of functions can be verified, and analysis and correction are slow after problems occur, so that the method cannot adapt to the product requirements of fast iteration. The testing method mainly has the following defects that many abnormal scenes cannot be verified; the stability of each function cannot be fully verified due to insufficient testing force; problem analysis is slow and cannot adapt to the product requirements of fast iteration.
As shown in fig. 1, the system for testing and analyzing the full flow of the APP-controlled vehicle of the android mobile phone provided by this embodiment includes: host computer system 1, fault injection test BOX 4, log intercept module 6, log analysis module 7, T-BOX (Telematics BOX, is observed and controlled the controller) 5, cell-phone APP and control module 8 and TSP (vehicle information system) platform 10, cell-phone APP and control module 8 with host computer system 1 connects, fault injection test BOX 4 with host computer system 1 and T-BOX 5 are connected, TSP platform 10 with cell-phone APP and control module 8 with T-BOX 5 is connected, wherein:
the upper computer system 1 is used for setting a program execution flow and setting a judgment rule;
the fault injection test BOX 4 is used as a junction BOX of each wiring terminal of the T-BOX 5 and is used for receiving the control of the upper computer system 1 and carrying out test operation on each pin of the T-BOX 5;
the T-BOX 5 is used for receiving various test input conditions sent by the upper computer system 1 and returning diagnosis information to the upper computer system 1;
the log intercepting module 6 is connected with the upper computer system 1 and the T-BOX 5, is controlled by the upper computer system 1, and is used for intercepting and storing logs of the T-BOX 5 and the TSP platform 10 when the execution of the test case is unsuccessful;
the log analysis module 7 is controlled by the upper computer system 1 and is used for responding to a log analysis instruction, analyzing a log to be analyzed according to the issuing time of the log analysis instruction and determining a specific reason why the test fails;
the mobile phone APP and control module 8 is configured to control operation of the mobile phone APP end according to an Android Debug Bridge (ADB) instruction in the upper computer system 1, so as to issue a control instruction through the mobile phone APP end.
The mobile phone APP and control module 8 is connected with the TSP platform 10 through a 4G gateway, and the TSP platform 10 is connected with the T-BOX 5 through the 4G gateway.
Specifically, the upper computer system 1 sets a program execution flow and a determination rule by using a developed program code, and the developed program code may include, for example, a bus signal analog transmission timing, a bus signal monitoring interface display, a programmable power supply control, a fault injection test box control, and the like. The test operation of the fault injection test BOX 4 on each pin of the T-BOX 5 includes open circuit, short ground, etc., which is not particularly limited by the present invention.
Further, the log intercepting module 6 is controlled by the upper computer system 1, and when a certain test case is not successfully executed, the logs of the T-BOX 5 and the TSP platform 10 are intercepted by the module and stored in a local designated folder.
Furthermore, the log analysis module 7 is controlled by the upper computer system 1, when a log needs to be analyzed, the module is called, calculation is started according to time after an instruction is issued, key information corresponding to the instruction is searched for retrieval, data in the process is analyzed according to a data communication protocol, and specific reasons that the test does not pass are determined.
Further, the mobile phone APP and the control module 8 serve as a source of vehicle control instruction control, an ADB instruction is developed in the upper computer system to control operations such as clicking and sliding of the mobile phone APP, and the control instruction is issued through the mobile phone APP.
Further, the android mobile phone APP control vehicle full-flow test analysis system further comprises a programmable power supply 2, wherein the programmable power supply 2 is arranged between the upper computer system 1 and the fault injection test BOX 4, is controlled by the upper computer system 1, and is used for receiving a control signal of the upper computer system 1 according to a diagnosis scene and outputting accurate power supply parameters to the T-BOX 5.
Further, the android mobile phone APP control vehicle full-flow test analysis system further comprises a bus simulation monitoring module 3, which is arranged between the upper computer system 1 and the fault injection test BOX 4 and used for setting a working precondition of the T-BOX 5 and returning a feedback monitoring signal to the upper computer system 1.
Furthermore, the android mobile phone APP control vehicle full-flow test analysis system further comprises a visual identification analysis module 9, connected with the upper computer system 1, controlled by the upper computer system 1, and used for identifying display contents of the mobile phone interface within a specified time and outputting an identification result to the upper computer system 1 as a test result. In some embodiments of the present invention, the visual recognition analysis module 9 recognizes whether the text displayed at the APP end of the mobile phone is consistent with the expected result by using a text recognition algorithm, and outputs the recognition result to the upper computer system 1 as a test result.
According to the android mobile phone APP control vehicle full-flow test analysis system provided by the embodiment of the invention, through information interaction among the mobile phone APP and the control module, the TSP platform, the T-BOX and the upper computer system, the log is intercepted and analyzed by the log intercepting module and the log analysis module, an automatic analysis scheme of the system log is provided from the system analysis perspective, the authenticity and the sufficiency of test data are improved, and meanwhile, rapid countermeasures of research personnel on product faults are improved.
As shown in fig. 2 and fig. 3, the method for analyzing the full-flow test of the APP-controlled vehicle of the android phone provided in this embodiment specifically includes the following steps in an actual execution process:
step S1, the upper computer system 1 sets a precondition for the test.
Specifically, a precondition control program and a bus signal monitoring program of each vehicle control function are developed on the upper computer system 1 based on the working conditions of the remote vehicle control of the T-BOX 5.
And step S2, after the precondition is executed, the upper computer system 1 controls the mobile phone APP and the control module 8 to issue a vehicle control instruction.
After the precondition is executed, a remote vehicle control instruction is issued through the control mobile phone APP.
And step S3, responding to the vehicle control command, and sending a vehicle control request by the T-BOX.
In an embodiment of the method for analyzing the full-process test of the android mobile phone APP-controlled vehicle, the step S3 may specifically include:
and step S31, uploading the vehicle control command to the TSP platform 10, so that the TSP platform 10 sends the vehicle control command to the T-BOX 5.
The vehicle control instruction is uploaded to the TSP platform 10 through the 4G gateway, and the TSP platform 10 sends an instruction to the T-BOX 5 through the gateway.
And S32, the T-BOX 5 sends a vehicle control request according to the vehicle control command.
Specifically, the T-BOX 5 sends out a vehicle control request to the CAN bus according to the instruction content.
And step S4, responding to the vehicle control request sent by the T-BOX, and feeding back the execution result of the vehicle to the TSP platform.
In an embodiment of the method for analyzing the full-process test of the android mobile phone APP-controlled vehicle, the step S4 may specifically include:
and step S41, responding to the vehicle control request sent by the T-BOX, and feeding back a vehicle execution result feedback signal to the T-BOX by the upper computer system.
Specifically, the upper computer system 1 collects a vehicle control request of the T-BOX 5 through bus monitoring, and feeds back a feedback signal of a vehicle execution result after receiving the vehicle control request.
Step S42, the T-BOX 5 feeds back the execution result to the TSP platform 10 after receiving the feedback signal.
And the T-BOX feeds back an execution result to the TSP platform 10 through the 4G gateway after receiving the feedback signal.
Step S5, after receiving the execution result, the TSP platform 10 feeds back the execution result to the mobile phone APP end for display.
After receiving the execution result, the TSP platform 10 feeds back the execution result to the mobile phone APP end through the 4G gateway for display.
And step S6, when the identification result is inconsistent with the expected result, deriving the logs of the T-BOX and TSP platform corresponding time periods through a log intercepting module.
And when the identification result is inconsistent with the expected result, calling a log intercepting module, exporting the logs of the T-BOX 5 and the TSP platform 10 in the corresponding time period, and storing the logs in a local folder according to the naming rule.
And step S7, analyzing the derived log data through a log analysis module to determine a fault reason.
Specifically, the log analysis module 7 analyzes key information in the log by referring to the data communication protocol, determines the specific reason of the current fault problem, and transmits the analysis reason to the test data record. The fault reasons can be data communication faults between the mobile phone APP and the TSP platform 10, data communication faults between the TSP platform 10 and the T-BOX 5 and the like, and the fault reasons can be determined by analyzing log data one by one.
Further, the method for analyzing the full-process test of the APP-controlled vehicle of the android mobile phone further comprises the following steps:
and step S8, identifying the display content of the APP end of the mobile phone through the visual identification analysis module 9, comparing the identification result with an expected result, and automatically outputting a test result.
The TSP platform 10 feeds back the execution result to the mobile phone APP end for display, and then controls the visual recognition analysis module 9 (for example, a camera) through the upper computer system 1 to recognize the display content of the mobile phone APP end, compare the recognition result with an expected result, and automatically output a test result, thereby automatically judging whether the vehicle control instruction is successfully executed.
Furthermore, the method for analyzing the full-process test of the APP-controlled vehicle of the android mobile phone further comprises the following steps:
step S9, judging whether the current test case is the last test case through the upper computer system,
if yes, automatically outputting a test report through an upper computer system;
if not, returning to the step of the upper computer system for setting the test precondition until the current test case is the last test case, and automatically outputting a test report through the upper computer system.
Automatic test conditions are set in the upper computer system 1, and after execution of all scenes (test cases) is finished, a test report is automatically output, wherein the test report comprises test results of all tests and analysis results for specific reasons of test failure items.
In the invention, the log is intercepted and analyzed, and the analysis result is put into the test report, so that research personnel can conveniently and quickly take measures against the test problem.
The full-flow test analysis method for the android mobile phone APP control vehicle provided by the embodiment of the invention comprises the steps of developing a mobile phone APP control program through an upper computer system, issuing a vehicle control instruction through controlling the mobile phone APP, issuing the vehicle control instruction to a T-BOX through a gateway after the vehicle control instruction reaches a TSP platform, issuing a vehicle control request signal after the T-BOX receives the instruction, simulating a vehicle feedback signal through the upper computer system, reporting the T-BOX to the TSP platform after the T-BOX receives the feedback signal, comparing the reported information with the request information by the TSP platform, outputting a test result to a mobile phone APP terminal for displaying, providing an automatic analysis scheme of a system log from the aspect of system analysis through information interaction among the mobile phone APP, a control module, the TSP platform, the T-BOX and the upper computer system by combining interception and analysis of the log, thereby automatically judging whether the vehicle control instruction is successfully executed and improving the authenticity and the sufficiency of the test data, the link with the fault can be quickly positioned and analyzed, so that research and development personnel can conveniently and quickly take measures for the fault of the product.
Thus, various embodiments of the present disclosure have been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the foregoing examples are for purposes of illustration only and are not intended to limit the scope of the present disclosure. It will be understood by those skilled in the art that various changes may be made in the above embodiments or equivalents may be substituted for elements thereof without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (10)

1. The utility model provides a full flow test analytic system of android mobile phone APP control vehicle which characterized in that includes:
upper computer system, trouble injection test BOX, log intercepting module, log analysis module, T-BOX, cell-phone APP and control module and TSP platform, cell-phone APP and control module with upper computer system connects, the trouble injection test BOX with upper computer system and T-BOX are connected, TSP platform with cell-phone APP and control module with T-BOX connects, wherein:
the upper computer system is used for setting a program execution flow and setting a judgment rule;
the fault injection test BOX is used as a junction BOX of each wiring terminal of the T-BOX, and is used for receiving the control of the upper computer system and carrying out test operation on each pin of the T-BOX;
the T-BOX is used for receiving various test input conditions sent by the upper computer system and returning diagnosis information to the upper computer system;
the log intercepting module is connected with the upper computer system and the T-BOX, is controlled by the upper computer system, and is used for intercepting and storing logs of the T-BOX and the TSP platform when the execution of the test case is unsuccessful;
the log analysis module is controlled by the upper computer system and is used for responding to a log analysis instruction, analyzing the log to be analyzed according to the issuing time of the log analysis instruction and determining the specific reason why the test fails;
the mobile phone APP and the control module are used for controlling the operation of the mobile phone APP end according to an android debugging bridging instruction in the upper computer system so as to issue a control instruction through the mobile phone APP end.
2. The android phone APP controlled vehicle full-process test analysis system of claim 1, further comprising a programmable power supply, wherein the programmable power supply is arranged between the upper computer system and the fault injection test BOX, is controlled by the upper computer system, and is used for receiving a control signal of the upper computer system according to a diagnosis scene and outputting accurate power supply parameters to a T-BOX.
3. The android mobile phone APP controlled vehicle full-flow test analysis system of claim 1, further comprising a bus simulation monitoring module arranged between the upper computer system and the fault injection test BOX and used for setting a working precondition of a T-BOX and returning a feedback monitoring signal to the upper computer system.
4. The full-flow test and analysis system for the APP controlled vehicle of the android mobile phone of claim 1, further comprising a visual identification and analysis module connected with the upper computer system and controlled by the upper computer system, wherein the visual identification and analysis module is used for identifying display contents of a mobile phone interface within a specified time and outputting an identification result to the upper computer system as a test result.
5. The android mobile phone APP control vehicle full flow test analysis system of claim 4, wherein the mobile phone APP and control module is connected with the TSP platform through a 4G gateway, and the TSP platform is connected with the T-BOX through the 4G gateway.
6. A full-flow test analysis method for an android mobile phone APP controlled vehicle by adopting the system of any one of claims 1 to 5, characterized by comprising the following steps:
the upper computer system sets a test precondition;
after the precondition is executed, the upper computer system controls the mobile phone APP and the control module to issue a vehicle control instruction;
responding to the vehicle control command, and sending a vehicle control request by the T-BOX;
responding to a vehicle control request sent by the T-BOX, and feeding back an execution result of the vehicle to the TSP platform;
after receiving the execution result, the TSP platform feeds the execution result back to the APP end of the mobile phone for display;
when the identification result is inconsistent with the expected result, a log of the T-BOX and the TSP platform in the corresponding time period is derived through a log intercepting module;
and analyzing the derived log data through a log analysis module to determine a fault reason.
7. The android mobile phone APP controlled vehicle full-process test analysis method of claim 6, wherein in response to the vehicle control command, the T-BOX sends a vehicle control request, specifically comprising:
uploading the vehicle control instruction to a TSP platform so that the TSP platform issues the vehicle control instruction to a T-BOX;
and the T-BOX sends a vehicle control request according to the vehicle control command.
8. The android mobile phone APP controlled vehicle full-flow test analysis method of claim 6, wherein the responding to the vehicle control request sent by the T-BOX feeds back the execution result of the measured controller to the TSP platform, and specifically comprises:
responding to a vehicle control request sent by the T-BOX, and feeding back a vehicle execution result feedback signal to the T-BOX by the upper computer system;
and the T-BOX feeds back an execution result to the TSP platform after receiving the feedback signal.
9. The method for full-process test analysis of the APP controlled vehicle of the android phone of claim 6, wherein the method for full-process test analysis of the APP controlled vehicle of the android phone further comprises:
the display content of the APP end of the mobile phone is identified through the visual identification analysis module, the identification result is compared with an expected result, and the test result is automatically output.
10. The method for full-process test analysis of the APP controlled vehicle of the android phone of claim 6, wherein the method for full-process test analysis of the APP controlled vehicle of the android phone further comprises:
judging whether the current test case is the last test case or not through the upper computer system,
if yes, automatically outputting a test report through an upper computer system;
if not, returning to the step of the upper computer system for setting the test precondition until the current test case is the last test case, and automatically outputting a test report through the upper computer system.
CN202110961468.7A 2021-08-20 2021-08-20 Android mobile phone APP control vehicle full-process test analysis system and method Active CN113691669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110961468.7A CN113691669B (en) 2021-08-20 2021-08-20 Android mobile phone APP control vehicle full-process test analysis system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110961468.7A CN113691669B (en) 2021-08-20 2021-08-20 Android mobile phone APP control vehicle full-process test analysis system and method

Publications (2)

Publication Number Publication Date
CN113691669A true CN113691669A (en) 2021-11-23
CN113691669B CN113691669B (en) 2022-06-24

Family

ID=78581029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110961468.7A Active CN113691669B (en) 2021-08-20 2021-08-20 Android mobile phone APP control vehicle full-process test analysis system and method

Country Status (1)

Country Link
CN (1) CN113691669B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114594754A (en) * 2022-03-31 2022-06-07 重庆长安新能源汽车科技有限公司 HIL automatic test method and system for vehicle networking controller

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101472584B1 (en) * 2014-05-20 2014-12-16 비티에스테크놀로지스(주) Method of testing can communication by analysis of test result log
CN109729128A (en) * 2017-10-31 2019-05-07 上海海马汽车研发有限公司 A kind of car networking test macro and its test method
CN110888414A (en) * 2019-11-25 2020-03-17 一汽解放汽车有限公司 Test method for upgrading vehicle controller
CN112660045A (en) * 2020-12-24 2021-04-16 浙江吉利控股集团有限公司 Remote debugging method
CN113259209A (en) * 2021-07-14 2021-08-13 中汽创智科技有限公司 Automobile CAN communication fault test system, method and device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101472584B1 (en) * 2014-05-20 2014-12-16 비티에스테크놀로지스(주) Method of testing can communication by analysis of test result log
CN109729128A (en) * 2017-10-31 2019-05-07 上海海马汽车研发有限公司 A kind of car networking test macro and its test method
CN110888414A (en) * 2019-11-25 2020-03-17 一汽解放汽车有限公司 Test method for upgrading vehicle controller
CN112660045A (en) * 2020-12-24 2021-04-16 浙江吉利控股集团有限公司 Remote debugging method
CN113259209A (en) * 2021-07-14 2021-08-13 中汽创智科技有限公司 Automobile CAN communication fault test system, method and device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114594754A (en) * 2022-03-31 2022-06-07 重庆长安新能源汽车科技有限公司 HIL automatic test method and system for vehicle networking controller
CN114594754B (en) * 2022-03-31 2023-08-25 深蓝汽车科技有限公司 HIL automatic test method and system for Internet of vehicles controller

Also Published As

Publication number Publication date
CN113691669B (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN112596972B (en) Test method, device and system of vehicle-mounted equipment and computer equipment
CN102403788B (en) Test system applicable to southern power grid communication guaranteeing system
CN104123219A (en) Method and device for testing software
CN110888414B (en) Test method for upgrading vehicle controller
CN108776278B (en) Topological-associated configuration type relay protection test system and method
CN107102949B (en) Application program offline testing method and tool
CN113691669B (en) Android mobile phone APP control vehicle full-process test analysis system and method
CN106199258A (en) A kind of microcomputer protective relay Auto-Test System
CN106126414A (en) Application software testing method and system
CN115373981A (en) OTA (over the air) automatic testing system and method for finished automobile in production line environment
CN115080299A (en) Software fault feedback processing method, device, medium and equipment
JP2006209354A (en) Inspection system for vehicle software
CN109522296B (en) Engine ECU data matching calibration method and device
CN100533314C (en) Cold-storage container micro controller fault diagnosing system
CN113126993B (en) Automatic test method and system applied to vehicle detection software
CN111444109B (en) Mobile terminal UI automatic test method and system
CN112926756A (en) Application method of AI (AI) maintenance knowledge base of central air-conditioning equipment
CN113495545A (en) System and method for testing vehicle equipment controller using in-loop hardware
CN115421742A (en) Automatic FOTA upgrade test system
CN115794624A (en) Closed-loop testing method and system for single automation device of intelligent substation
CN214096607U (en) Integrated test bench for three-electric-system of pure electric vehicle
CN110955222B (en) Test method and test system of engine data recorder
CN109960238B (en) Automatic test system and method for vehicle diagnostic instrument
CN105955238B (en) The communication test methods, devices and systems of generator set controller
CN108762227B (en) Automatic driving test system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant