A method and system for automated testing of in-vehicle Apple mobile phone interconnection

By using shortcut command applications and automated execution programs on the iPhone, creating automated scripts and test cases, the problem of automated testing of on-board Android systems and mobile Android systems is solved, and efficient automated testing of on-board Apple phones is realized.

CN113656285BActive Publication Date: 2025-06-10HUIZHOU DESAY SV AUTOMOTIVE
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110843946.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-26
Publication Date
2025-06-10
Estimated Expiration
2041-07-26

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively carry out automated testing of the on-board Android system and mobile Android system, especially on the iOS platform. Due to the system limitations, it is impossible to obtain the basic status of the mobile phone and operate external applications.

Method used

Using a method and system for automated testing of in-vehicle Apple mobile phone interconnection, it generates automated commands in the shortcut command application that comes with the iPhone mobile phone system, combines automated execution programs, creates personal automation scripts, configures automated test trigger conditions, and adds sub-tools to be tested to generate automated test cases to realize interconnection with in-vehicle.

Benefits of technology

It realizes automated testing of on-board Apple phones, and can perform automated testing operations according to test needs, meet complex testing conditions, and improve testing efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113656285B_ABST
    Figure CN113656285B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for in-vehicle Apple mobile phone interconnection automated testing, which mainly adopts the shortcut command application that comes with the iPhone mobile phone system to generate commonly used automated commands, and achieves in-vehicle interconnection through corresponding commands. Specifically, by creating a personal automated script in the automated execution program, configuring all automated test trigger conditions in the property interface, adding any selected sub-tool to be tested in the tool management interface, and performing the automated test operation corresponding to each sub-tool to be tested according to the automated test trigger condition, generating a case corresponding to each sub-tool to be tested after completing the configuration, and finally completing the generation of the automated test case.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automated testing for in-vehicle mobile phone interconnection, and more particularly to a method and system for automated testing of in-vehicle Apple mobile phone interconnection. Background Art

[0002] With the development of the automotive electronics industry, people have higher and higher requirements for in-vehicle terminals, such as in-vehicle entertainment multimedia systems. In-vehicle terminals embedded with operating systems have been widely popularized and are deeply favored by the automotive electronics industry. With the improvement and diversification of user requirements, numerous manufacturers have launched a variety of in-vehicle terminal software, providing users with more choices and allowing users to select their favorite applications from many in-vehicle terminal software. However, there are significant differences in the system designs between the Android system of in-vehicle terminals and the Android system of mobile phones, especially in terms of stability, functional modules, etc. For example: In terms of hardware: The chips and materials used in in-vehicle terminals need to meet automotive-grade requirements, while the chips and materials used in mobile phones only need to meet consumer-grade requirements. In terms of working environment requirements: In-vehicle terminals need to meet automotive-grade experimental requirement standards, such as EMC (Electro Magnetic Compatibility) requirements, extreme high and low temperature resistance requirements, strong vibration resistance requirements, etc., while mobile phones only need to meet basic consumer-grade requirements. In terms of software: In-vehicle terminals also need to integrate basic functional modules that meet the characteristic functions of in-vehicle terminals, such as: body diagnosis function module, original vehicle bus information function module, peripheral independent function modules (CMMB, CarDVR, TPMS, etc.); while mobile phones do not need to meet these characteristic functions unique to in-vehicle terminals. Currently, in mainstream testing technologies, for the automated testing of in-vehicle mobile phone interconnection, most are through writing some scripts or test applications and running them on the in-vehicle unit or mobile phone side. For some relatively complex test conditions and operations, simple automated testing methods cannot meet the requirements. For example, on iOS, due to system limitations, it is impossible to obtain the basic status of the mobile phone and operate other external applications. Summary of the Invention

[0003] In view of the above problems, this patent proposes a method and system for automated testing of in-vehicle Apple mobile phone interconnection, including the following steps:

[0004] S1: Newly create a personal automated script;

[0005] S2: Configure all automated test trigger conditions in the property interface;

[0006] S3: Add arbitrarily selected sub-tools to be tested in the tool management interface, and at the same time configure corresponding automated test operations for each sub-tool to be tested according to the automated test trigger conditions;

[0007] S4: After completing the configuration, a case is generated for each sub-tool to be tested;

[0008] S5: Start running the case, record the running test results, and check whether the running results are qualified. If qualified, save the current case and repeat the subsequent automated test operations as a standard automated test case; otherwise, adjust the configuration according to the unqualified parameters, and restart the run until it is qualified, and then save the latest case.

[0009] Furthermore, the automated test triggering conditions include at least: a specific time setting, or CarPlay starting up and executing a specific operation, or starting or shutting down any in-vehicle APP or executing a specific operation.

[0010] Furthermore, the sub-tool to be tested includes at least: an in-vehicle APP, or a personal favorite link, or a script, or a media link, or a web page, or a file plus a location.

[0011] Furthermore, the case stores the scripts for fully implementing the automated test triggering conditions, specified operations, and end operations corresponding to the sub-tool to be tested.

[0012] Furthermore, any of the cases performs an automated testing process synchronously or sequentially.

[0013] Preferably, the present invention further provides a system for automated testing of vehicle-mounted and vehicle-mounted mobile client interconnection, comprising at least:

[0014] A mobile client that matches and communicates with the vehicle-mounted system, wherein the mobile client is configured with an automated execution program;

[0015] The automation execution program is used to create corresponding automation test cases according to different vehicle-mounted sub-tools to be tested, and configure the automation test operation process according to the test requirements;

[0016] After any of the cases is configured and started to run, it is detected whether the running result is qualified according to the recorded running test result, and the test of the sub-tool to be tested is completed.

[0017] The automated execution program supports any added cases, including:

[0018] Step 1: Create a new personal automation script in the automation execution program;

[0019] Step 2: Configure all automated test trigger conditions in the properties interface;

[0020] Step 3: Add any selected sub-tool to be tested in the tool management interface, and perform the corresponding automated test operation for each sub-tool to be tested according to the automated test triggering condition;

[0021] Step 4: After completing the configuration, generate a case for each sub-tool to be tested;

[0022] Step 5: Start running the case, record the test results, and check whether the running results are qualified. If qualified, save the current case and repeat the subsequent automated test operations as a standard automated test case; otherwise, adjust the configuration according to the unqualified parameters, and restart the run until it is qualified, and then save the latest case.

[0023] Furthermore, the automated test triggering conditions include at least: a specific time setting, or CarPlay starting up and executing a specific operation, or starting or shutting down any in-vehicle APP or executing a specific operation.

[0024] Furthermore, the sub-tool to be tested includes at least: an in-vehicle APP, or a personal favorite link, or a script, or a media link, or a web page, or a file plus a location.

[0025] Furthermore, the execution order of each case in the automated execution program is set, and any of the cases performs the automated testing process synchronously or sequentially.

[0026] In summary, the present invention provides a method and system for in-vehicle Apple mobile phone interconnection automated testing, which mainly uses the shortcut command application that comes with the iPhone mobile phone system to generate commonly used automated commands, and achieves in-vehicle interconnection through corresponding commands. Specifically, by creating a personal automation script in the automated execution program, configuring all automated test trigger conditions in the property interface, adding any selected sub-tool to be tested in the tool management interface, and performing the automated test operation corresponding to each sub-tool to be tested according to the automated test trigger conditions, generating a case corresponding to each sub-tool to be tested after completing the configuration, and finally completing the generation of the automated test case. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 This is a schematic diagram of the principle of the method for automated testing of in-vehicle Apple mobile phone interconnection.

[0028] Figure 2 This is a schematic diagram of the automated execution program interface. DETAILED DESCRIPTION

[0029] To enable those skilled in the art to better understand the solution of the present invention, the following will clearly and completely describe the technical solution in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0030] As Figure 1 shown, this patent proposes a method and system for automated testing of in-vehicle Apple mobile phone interconnection, including the following steps:

[0031] S1: Add and create a personal automated script;

[0032] S2: Configure all automated test trigger conditions in the property interface;

[0033] S3: Add the sub-tools to be tested selected arbitrarily in the tool management interface, and at the same time configure the corresponding automated test operations for each sub-tool to be tested according to the automated test trigger conditions;

[0034] S4: Generate a case for each sub-tool to be tested after completion of the configuration;

[0035] S5: Start running the case, record the running test results, and detect whether the running results are qualified. If qualified, save the current case and repeat the subsequent automated test operations as the standard automated test case; otherwise, adjust the configuration according to the unqualified parameters and restart the running until qualified, and then save the latest case.

[0036] Further, the automated test trigger conditions at least include: specific time setting, or CarPlay in-vehicle startup and execution of specific operations, or startup or shutdown or execution of specific operations of any in-vehicle APP.

[0037] Further, the sub-tools to be tested at least include: in-vehicle APP, or personal favorite link, or script, or media link, or web page, or file plus location.

[0038] Further, the case stores the automated test trigger conditions, specified operations, and scripts for complete implementation of the end operations corresponding to the sub-tools to be tested.

[0039] Further, any of the cases performs synchronous or sequential execution of the automated test process.

[0040] Preferably, the present invention also provides a system for automated testing of in-vehicle mobile client interconnection, at least including:

[0041] A mobile client that matches and communicates with a vehicle-mounted system, and an automated execution program is configured in the mobile client;

[0042] The automated execution program is used to create corresponding automated test cases according to different sub-tools to be tested on the vehicle-mounted side, and configure the automated test operation process according to test requirements;

[0043] After any one of the cases is configured and starts running, according to the recorded running test results, it is detected whether the running results are qualified, and the test of the sub-tool to be tested is completed.

[0044] Among them, the cases that support arbitrary addition in the automated execution program specifically include:

[0045] Step 1: Add and create a personal automated script in the automated execution program;

[0046] Step 2: Configure all automated test trigger conditions in the property interface;

[0047] Step 3: Add arbitrarily selected sub-tools to be tested in the tool management interface, and at the same time configure corresponding automated test operations for each sub-tool to be tested according to the automated test trigger conditions;

[0048] Step 4: Generate a case for each sub-tool to be tested after configuration;

[0049] Step 5: Start running the case, record the running test results, detect whether the running results are qualified. If qualified, save the current case and repeat the subsequent automated test operations as a standard automated test case; otherwise, adjust the configuration according to the unqualified parameters and restart the running until it is qualified, and then save the latest case.

[0050] Further, the automated test trigger conditions at least include: specific time setting, or CarPlay vehicle-mounted startup and execution of specific operations, or startup or shutdown or execution of specific operations of any vehicle-mounted APP.

[0051] Further, the sub-tools to be tested at least include: vehicle-mounted APP, or personal favorite link, or script, or media link, or web page, or file plus location.

[0052] Further, set the execution order of each case in the automated execution program, and any one of the cases performs synchronous or sequential automated test processes.

[0053] Preferably, on the Shortcuts app, select "Automations"; click "Create Personal Automation"; select the triggering conditions. The optional conditions include specific time / CarPlay / Apps, etc. For example: Select CarPlay -> When CarPlay is connected / disconnected; click Next and add operations: The optional operations include Apps / Personal Favorites / Scripts / Media / Location / Documents / Sharing / Websites, etc. For example:

[0054] Operation 1: Select Media -> Play / Pause ->;

[0055] Operation 2: Select Script -> Set Bluetooth -> Turn Bluetooth on / off;

[0056] After configuring the operations, click Next. At this time, the corresponding case will be generated. Click Done to take effect. There is an option "Ask Before Running" below the case, which can be decided whether to enable according to the needs. Closing it means automatic execution when the test conditions are met. At this time, the preliminary automation test operation has been completed, and the test can begin.

[0057] Actual test process:

[0058] 1. Connect the mobile phone to the in-vehicle entertainment system and initiate the CarPlay connection;

[0059] 2. At this time, the Shortcuts app automatically detects that the automation test conditions are met and will ask whether to run the shortcut (the "Ask Before Running" option is selected as enabled). Click "Run";

[0060] 3. At this time, the mobile phone will perform the test according to the pre-set automation operations (i.e., execute the operations of playing music -> turning off Bluetooth).

[0061] 4. The Shortcuts app completes one process of the automation test. In the actual test process, modify the automation operations or scripts according to the functions to be tested.

[0062] The above-described embodiments merely represent several implementation manners of the present invention. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several deformations and improvements can still be made, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the invention patent of the present invention should be subject to the appended claims.

Claims

1. A method for automated testing of the interconnection between a vehicle-mounted Apple mobile phone, characterized in that, it includes the following steps: S1: Newly create a personal automated script; S2: Configure all automated test trigger conditions in the property interface; S3: Add any selected sub-tools to be tested in the tool management interface, and at the same time configure corresponding automated test operations for each sub-tool to be tested according to the automated test trigger conditions; S4: After the configuration is completed, generate a case for each sub-tool to be tested; S5: Start running the case, record the running test results, detect whether the running test results are qualified. If they are qualified, save the current case and repeat the subsequent automated test operations as a standard automated test case; Otherwise, adjust the configuration according to the unqualified parameters and restart the operation until it is qualified, and then save the latest case.

2. The method for automated testing of the interconnection between a vehicle-mounted Apple mobile phone according to claim 1, characterized in that, the automated test trigger conditions at least include: specific time setting, or CarPlay vehicle-mounted startup and execution of specific operations, or startup or shutdown or execution of specific operations of any vehicle-mounted APP.

3. The method for automated testing of the interconnection between a vehicle-mounted Apple mobile phone according to claim 1, characterized in that, the sub-tools to be tested at least include: vehicle-mounted APP, or personal favorite link, or script, or media link, or web page, or file location.

4. The method for automated testing of the interconnection between a vehicle-mounted Apple mobile phone according to claim 1, characterized in that, the case stores a script that completely realizes the automated test trigger conditions, specified operations, and end operations corresponding to the sub-tools to be tested.

5. The method for automated testing of the interconnection between a vehicle-mounted Apple mobile phone according to claim 4, characterized in that, any one of the cases synchronizes or sequentially executes the automated test process.

6. The system for the method for automated testing of the interconnection between a vehicle-mounted Apple mobile phone according to any one of claims 1-5, characterized in that, it includes: a mobile client that matches and communicates with the vehicle-mounted system, and an automated execution program is configured in the mobile client; the automated execution program is used to create corresponding automated test cases according to different vehicle-mounted sub-tools to be tested and configure the automated test operation process according to the test requirements; after any one of the cases is configured and started to run, according to the recorded running test results, detect whether the running test results are qualified, and complete the test of the sub-tools to be tested.

7. The system according to claim 6, characterized in that, the cases that support arbitrary addition in the automated execution program specifically include: Step 1: Newly create a personal automated script in the automated execution program; Step 2: Configure all automated test trigger conditions in the property interface; Step 3: Add any selected sub-tools to be tested in the tool management interface, and at the same time configure corresponding automated test operations for each sub-tool to be tested according to the automated test trigger conditions; Step 4: After the configuration is completed, generate a case for each sub-tool to be tested; Step 5: Start running the case, record the running test results, and check whether the running results are qualified. If they are qualified, save the current case and repeat the subsequent automated test tasks as the standard automated test case; otherwise, adjust the configuration according to the unqualified parameters and restart the running until it is qualified, and then save the latest case.

8. The system according to claim 7, wherein, the automated test trigger conditions at least include: specific time setting, or starting CarPlay in-vehicle and performing specific operations, or starting or closing or performing specific operations of any in-vehicle APP.

9. The system according to claim 7, wherein, the sub-tools to be tested at least include: in-vehicle APP, or personal favorite link, or script, or media link, or web page, or file plus location.

10. The system according to claim 7, wherein, set the execution order of each case in the automated execution program, and any one of the cases performs the automated test process synchronously or in sequence.

Citation Information

Patent Citations

  • Method and device for automatically testing vehicle-mounted multimedia mobile phone interconnection system

    CN107967215A

  • Cross-platform automatic test table for multimedia smart terminal

    CN109361916A