Test system and method for detecting interconnection function connection characteristics of mobile phone
By designing a test system including interconnected software components and processing components, the problem of the inability to objectively quantify the wireless interconnection time of mobile phones and cars in the prior art is solved, and automated detection and efficient results display are achieved.
Patent Information
- Application Number
- CN202411739593.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-03-11
AI Technical Summary
The prior art is difficult to objectively quantify the wireless interconnection time between mobile phones and cars, and lacks a special testing system, and mostly relies on manual timing.
It provides a test system and method for detecting the connection characteristics of mobile phone interconnection functions, including modules to be tested, test modules, input modules and display modules, interconnection with mobile phones through interconnection software components, and uses the internal clock of processing components to record the interconnection time to realize automated detection.
It realizes accurate quantification of the time between mobile phones and cars, reduces the error of manual testing, improves detection efficiency, and intuitively displays the test results on the display module.
Smart Images

Figure CN119603717A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of interconnection testing, and in particular, relates to a testing system and method for detecting connection characteristics of an interconnection function of a mobile phone. Background Art
[0002] The mobile phone interconnection function is to establish a connection between the mobile phone and the vehicle system through USB, Bluetooth, WIFI, etc. Once the connection is successful, the APP software on the mobile phone will transmit the operation interface to the vehicle screen, which is convenient for the driver to navigate, play music, answer calls, etc. during driving; in the current passenger car market, wireless mobile phone interconnection functions are very popular, such as CarPlay, HiCar, etc., and the wireless connection success rate and time consumption between mobile devices and vehicle-mounted interconnection devices are key factors affecting the experience.
[0003] Chinese patent 113904966B discloses a system and method for automatically testing the interconnection function of an in-vehicle multimedia mobile phone. The system includes a mobile phone, a switch device, a vehicle computer and a detection device, and the input end and the output end of the switch device are respectively connected to the mobile phone and the vehicle computer; the detection device is electrically connected to the switch device and the vehicle computer respectively; the detection device is used to generate a control program for controlling the switch device; the switch device is used to control the automatic connection and disconnection of the mobile phone and the vehicle computer according to the control program transmitted by the detection device. The detection device is also used to obtain the connection and disconnection time of the switch device; and is also used to obtain the response time of the vehicle computer after the switch device is connected or disconnected.
[0004] The testing or production process of existing technologies usually verifies whether wireless interconnection is successful, but there is no objective and quantitative test for the connection duration. In different environments and working conditions, the connection duration may vary greatly. Currently, there is generally no test system specifically for wireless interconnection duration, and it relies more on manual timing. Summary of the invention
[0005] The present invention aims to provide a test system and method for detecting the connection characteristics of a mobile phone interconnection function, so as to achieve the purpose of automatically testing the interconnection function between a mobile phone and a car and recording the interconnection time.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is:
[0007] The present invention provides a test system for detecting the connection characteristics of mobile phone interconnection functions, comprising a module to be tested, a test module, an input module and a display module, wherein the module to be tested is connected to a mobile phone via a wireless network, an output end of the module to be tested is connected to an input end of the test module, an output end of the input module is connected to an input end of the test module, and an output end of the test module is connected to an input end of a display module.
[0008] The module to be tested outputs interconnection information to the test module, the input module inputs read instructions and configuration information to the test module, and the test module outputs test results to the display module.
[0009] The module to be tested includes an interconnected software component and a processing component, the output end of the interconnected software component is connected to the input end of the processing component, and the output end of the processing component is connected to the input end of the test module.
[0010] The present invention provides a test method for detecting the connection characteristics of a mobile phone interconnection function:
[0011] Step 1: The interconnection software component is interconnected with the mobile phone. After the interconnection begins, the internal clock of the processing component starts timing;
[0012] If the interconnection fails, the interconnection software component synchronously transmits the interconnection result of the interconnection failure to the processing component, and the interconnection duration in the processing component is an invalid value;
[0013] If the interconnection is successful, the interconnection software component synchronizes the interconnection result to the processing component, the internal clock of the processing component stops timing, and the process goes to step 2;
[0014] Step 2: The processing component obtains the interconnection duration according to the time recorded by the internal clock;
[0015] Step 3: The input unit inputs a read instruction to the test module, and the test module sends a request to read the instruction to the processing component;
[0016] Step 4: The processing component synchronizes the interconnection duration, interconnection result and interconnection status to the test module, and the test module detects the interconnection status;
[0017] If the mobile phone and the interconnected software component are not in an interconnected state, the test module outputs the result that does not meet the test condition to the display module;
[0018] If the mobile phone and the interconnection software component are in an interconnected state, the test module compares the interconnection time and the configuration time to obtain a determination result. Finally, the test module outputs the determination result, the interconnection result and the interconnection time to the display module.
[0019] If the mobile phone and the interconnection software component are disconnected after the interconnection starts, the interconnection duration in the processing module is assigned an invalid value.
[0020] In step 1, after the interconnection software component and the mobile phone are interconnected, the interconnection status value in the interconnection software component changes from 0 to 1, the interconnection software component synchronizes the interconnection status value to the processing component, and the internal clock of the processing component starts timing after the interconnection status value changes from 0 to 1.
[0021] In step one, after the interconnection fails, the interconnection software component assigns an interconnection result according to the cause of the failure and transmits it to the processing component synchronously. The processing component obtains the assignment of the interconnection result of the interconnection failure. After obtaining the assignment of the interconnection result of the interconnection failure, the processing component assigns the interconnection duration to an invalid value.
[0022] In step 4, under the premise that the interconnection software component and the mobile phone are in an interconnected state, the test module compares the interconnection time and the configuration time;
[0023] When the interconnection time is less than or equal to the configured time, the test module outputs the interconnection time and the qualified result to the display module;
[0024] When the interconnection time is longer than the configured time, the test module outputs the interconnection time and the result of the judgment of failure to the display module;
[0025] When the interconnection duration is an invalid value, the test module outputs the interconnection result of interconnection failure and the result of unqualified judgment to the display module.
[0026] The input module inputs the configuration time information to the test module, the test module saves the configuration time information, and outputs the configuration success result to the display module.
[0027] The technical effects of the present invention are:
[0028] (1) The present invention records the data of the interconnection time T when detecting the connection characteristics of the mobile phone interconnection function, so that the interconnection time T can be accurately quantified and the error of manual testing is eliminated.
[0029] (2) The testing process of the present invention realizes automated testing and improves testing efficiency.
[0030] (3) The present invention displays the interconnection time T, the interconnection result R and the determination result on the display module, so that the tester can intuitively determine the test result.
[0031] (4) The present invention defines the interconnection state S in the interconnection state as 0, and defines the interconnection state S in the interconnection state as 1, which is easy to understand and more convenient in the signal transmission process. The interconnection state S can be represented by the transmission of high and low levels.
[0032] (5) The present invention assigns and then transmits the interconnection result R through the interconnection software component, thereby reducing the amount of data transmission and accelerating the speed of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] This specification includes the following drawings, which show the following contents:
[0034] Figure 1 A logical structure block diagram of a test system and method for detecting the connection characteristics of a mobile phone interconnection function according to the present invention;
[0035] Figure 1 The markings are: 1. Module to be tested; 2. Test module; 3. Input module; 4. Display module. DETAILED DESCRIPTION
[0036] The specific implementation methods of the present invention are further explained in detail below by describing the embodiments with reference to the accompanying drawings, with the aim of helping those skilled in the art to have a more complete, accurate and in-depth understanding of the inventive concept and technical solution of the present invention and facilitating their implementation.
[0037] The present invention provides a test system for detecting the connection characteristics of the interconnection function of a mobile phone, comprising a module to be tested 1, a test module 2, an input module 3 and a display module 4. The module to be tested 1 is connected to a mobile phone through a wireless network, the output end of the module to be tested 1 is connected to the input end of the test module 2, the output end of the input module 3 is connected to the input end of the test module 2, and the output end of the test module 2 is connected to the input end of the display module 4. The module to be tested 1 outputs interconnection information to the test module 2, the input module 3 inputs read instructions and configuration information to the test module 2, and the test module 2 outputs test results to the display module 4.
[0038] The module to be tested 1 includes an interconnected software component and a processing component. The output end of the interconnected software component is connected to the input end of the processing component, and the output end of the processing component is connected to the input end of the test module 2.
[0039] The present invention provides a test method for detecting the connection characteristics of a mobile phone interconnection function:
[0040] Step 1: The interconnection software component is interconnected with the mobile phone. After the interconnection starts, the internal clock of the processing component starts timing; if the interconnection fails, the interconnection software component will synchronously transmit the interconnection result of the interconnection failure to the processing component, and the interconnection duration in the processing component will be an invalid value; if the interconnection is successful, the interconnection software component will synchronize the interconnection result of the interconnection success to the processing component, the internal clock of the processing component will stop timing, and enter step 2.
[0041] Step 2: The processing component obtains the interconnection duration based on the time recorded by the internal clock.
[0042] Step 3: The input unit inputs a read instruction to the test module 2, and the test module 2 sends a request to read the instruction to the processing component.
[0043] Step 4: The processing component synchronizes the interconnection duration, interconnection result and interconnection status to the test module 2, and the test module 2 detects the interconnection status.
[0044] If the mobile phone and the interconnected software component are not in an interconnected state, the test module 2 outputs a result that does not meet the test condition to the display module 4; if the mobile phone and the interconnected software component are in an interconnected state, the test module 2 compares the interconnection time and the configuration time to obtain a determination result, and finally the test module 2 outputs the determination result, the interconnection result and the interconnection time to the display module 4; if the mobile phone and the interconnected software component are disconnected after the interconnection starts, the interconnection time in the processing module is assigned an invalid value.
[0045] In step 1, after the interconnection software component and the mobile phone are interconnected, the interconnection status value in the interconnection software component changes from 0 to 1, the interconnection software component synchronizes the interconnection status value to the processing component, and the internal clock of the processing component starts timing after the interconnection status value changes from 0 to 1.
[0046] In step one, after the interconnection fails, the interconnection software component assigns an interconnection result according to the cause of the failure and transmits it to the processing component synchronously. The processing component obtains the assignment of the interconnection result of the interconnection failure. After obtaining the assignment of the interconnection result of the interconnection failure, the processing component assigns the interconnection duration to an invalid value.
[0047] In step 4, under the premise that the interconnection software component and the mobile phone are in an interconnected state, the test module 2 compares the interconnection time and the configuration time; when the interconnection time is less than or equal to the configuration time, the test module 2 outputs the interconnection time and the result of the qualified judgment to the display module 4; when the interconnection time is greater than the configuration time, the test module 2 outputs the interconnection time and the result of the unqualified judgment to the display module 4; when the interconnection time is an invalid value, the test module 2 outputs the interconnection result of the failed interconnection and the result of the unqualified judgment to the display module 4.
[0048] The input module 3 inputs the configuration duration information to the test module 2 , the test module 2 saves the configuration duration information, and outputs the configuration success result to the display module 4 .
[0049] A test system and method for detecting connection characteristics of mobile phone interconnection functions according to the present invention are described in detail below.
[0050] The present invention discloses a test system for detecting the connection characteristics of a mobile phone interconnection function, comprising a module to be tested 1, a test module 2, an input module 3 and a display module 4, wherein the module to be tested 1 comprises an interconnection software component and a processing component, wherein the interconnection software component is a standardized, easy-to-download basic platform, allowing developers to build new applications on an existing platform, and the interconnection software component in the present invention is used to interconnect with a mobile phone, and the mobile phone can transmit the operation interface to the vehicle screen through the interconnection software component, so as to facilitate the driver to perform operations such as navigation, playing music, answering calls, etc. during driving. The processing component is used to determine the interconnection time, and transmit the interconnection result, interconnection time and interconnection status information to the test module 2, and the processing component adopts a microcontroller.
[0051] The test module 2 is used to compare the interconnection duration received from the processing component with the matching duration stored in the test module 2 to obtain a determination result, and then output the interconnection duration, the interconnection result and the determination result to the display module 4. The input module 3 is used to issue a read instruction to the test module 2, and the test module 2 reads the data in the processor; at the same time, the input module 3 outputs configuration information to the test module 2, and the test module 2 stores the configuration duration. The display module 4 is used to receive and display the information sent by the test module 2. The test module 2, the input module 3 and the display module 4 all work based on computers.
[0052] The output end of the interconnected software component is connected to the input end of the processing component through the API interface, the output end of the processing component is connected to the input end of the test module 2, the output end of the input module 3 is connected to the input end of the test module 2, and the output end of the test module 2 is connected to the input end of the display module 4
[0053] A test method for detecting the connection characteristics of a mobile phone interconnection function of the present invention is:
[0054] The interconnection software component is interconnected with the mobile phone. After the interconnection starts, the value of the interconnection state S in the interconnection software component changes from 0 to 1. The interconnection software component synchronizes the interconnection state S to the processing component. The internal clock of the processing component starts timing after the interconnection state S changes from 0 to 1. For ease of understanding, the interconnection state value, interconnection duration, interconnection result and configuration duration in the present invention are represented by interconnection state S, interconnection duration T, interconnection result R and configuration duration C, respectively. The present invention defines the interconnection state S as 0 in the interconnection state and defines the interconnection state S as 1 in the interconnection state, which is easy to understand and more convenient in the signal transmission process. The interconnection state S can be represented by the transmission of high and low levels.
[0055] If the interconnection fails, the interconnection software component synchronously transmits the interconnection result R of the interconnection failure to the processing component. Specifically, the interconnection software component assigns the interconnection result R according to the failure reason. The interconnection software component assigns the interconnection result R to a value between 0x01 and 0xFF, and different values correspond to different failure results. In an embodiment of the present invention, when the interconnection failure reason is a version problem or a software problem, the interconnection result R is defined as 0x01; when the interconnection failure reason is a signal problem, the interconnection result R is defined as 0x04; when the interconnection failure reason is an account synchronization problem, the interconnection result R is defined as 0x21. The interconnection failure reason is not limited to the above examples, and more failure reasons require technicians to define different interconnection failure reasons according to the situation. The interconnection software component synchronizes the interconnection result R to the processing component. At the same time, when the interconnection result R received by the processing component is a failure value, wherein the failure value is a value between 0x01 and 0xFF, the interconnection duration T in the processing component is assigned an invalid value, specifically, the processing component assigns the interconnection duration T to 0xFF. Here, a special case is proposed. If the mobile phone and the interconnection software component are disconnected after the interconnection starts, the interconnection state S in the interconnection software component changes from 1 to 0 and synchronizes the interconnection state S to the processing component. The processing component receives the falling edge of the interconnection state S changing from 1 to 0, and assigns the interconnection duration T to an invalid value, 0xFF. At the same time, the interconnection software component assigns the interconnection result R to 0xFF and synchronizes it to the processing component.
[0056] If the interconnection is successful, the interconnection software component synchronizes the interconnection result R of the successful interconnection to the processing component. Specifically, the interconnection software component assigns the interconnection result R to 0x00, and synchronizes the assigned interconnection result R to the processing component; at the same time, the internal clock of the processing component stops timing, and the processing component obtains the interconnection duration T according to the time recorded by the internal clock, that is, the processing component assigns a value to the interconnection duration T. In an embodiment of the present invention, the component assigns a value to the interconnection duration T as 0x0A, which represents that the interconnection duration is 1s. The present invention reduces the amount of data transmission and speeds up the data transmission speed by assigning a value to the interconnection result R through the interconnection software component. Go to the next step.
[0057] The input unit inputs a read instruction to the test module 2, and the test module 2 sends a request read instruction to the processing component. The processing component synchronizes the interconnection duration T, the interconnection result R, and the interconnection state S to the test module 2, and the test module 2 detects the interconnection state S. Specifically, the processing component outputs the assigned interconnection duration T, the interconnection result R, and the interconnection state S to the test module 2.
[0058] If the mobile phone and the interconnected software component are not in an interconnected state, the test module 2 outputs the result that does not meet the test condition to the display module 4. The display module 4 displays the information that the test condition is not met. The test module 2 of the present invention detects the interconnected state before testing, and ends the test in advance when the mobile phone and the interconnected software component are not in an interconnected state, thereby improving the efficiency of the test.
[0059] If the mobile phone and the interconnection software component are in an interconnection state, the test module 2 compares the interconnection time T and the configuration time C.
[0060] When the interconnection time T is less than or equal to the configuration time C, the test module 2 outputs the interconnection time T and the qualified result to the display module 4, and the display module 4 displays the interconnection time T and the qualified information.
[0061] When the interconnection time T is greater than the configuration time C, the test module 2 outputs the interconnection time T and the result of the unqualified judgment to the display module 4, and the display module 4 displays the interconnection time T and the unqualified information.
[0062] When the interconnection time T is an invalid value, the test module 2 outputs the interconnection result R of the failed interconnection and the unqualified result to the display module 4. Specifically, the test module 2 stores the failure reason corresponding to the value of the interconnection result R. After obtaining the assignment of the interconnection result R, the test module 2 converts the assignment of the interconnection result R into display information of the display module 4 and transmits it to the display module 4.
[0063] The interconnection time length T is the assigned data, and needs to be converted according to the time corresponding to the interconnection time length T before being output to the display module 4 , and then the converted interconnection time length T is output to the display module 4 .
[0064] The present invention displays the interconnection time T, the interconnection result R and the determination result on the display module 4, so that the tester can intuitively determine the test result.
[0065] The specific configuration process of the above configuration duration C is as follows: the input module 3 inputs the information of the configuration duration C to the test module 2 , the test module 2 saves the information of the configuration duration C, and outputs the result of successful configuration to the display module 4 .
[0066] The present invention records the data of the interconnection time T when detecting the connection characteristics of the mobile phone interconnection function, so that the interconnection time T can be accurately quantified and the error of manual testing is eliminated.
[0067] The testing process of the present invention realizes automated testing and improves testing efficiency.
[0068] The present invention is described above by way of example in conjunction with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention; or the above concept and technical solution of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.
Claims
1. A test system for detecting the connection characteristics of mobile phone interconnection functions, characterized in that: The invention comprises a module to be tested, a test module, an input module and a display module. The module to be tested is connected to a mobile phone via a wireless network, the output end of the module to be tested is connected to the input end of the test module, the output end of the input module is connected to the input end of the test module, and the output end of the test module is connected to the input end of the display module.
2. A test system for detecting the connection characteristics of mobile phone interconnection functions as claimed in claim 1, characterized in that: The module to be tested outputs interconnection information to the test module, the input module inputs read instructions and configuration information to the test module, and the test module outputs test results to the display module.
3. A test system for detecting the connection characteristics of mobile phone interconnection functions as claimed in claim 1, characterized in that: The module to be tested includes an interconnected software component and a processing component, the output end of the interconnected software component is connected to the input end of the processing component, and the output end of the processing component is connected to the input end of the test module.
4. A test method for detecting the connection characteristics of a mobile phone interconnection function according to any one of claims 1 to 3, characterized in that: Step 1: The interconnection software component is interconnected with the mobile phone. After the interconnection begins, the internal clock of the processing component starts timing; If the interconnection fails, the interconnection software component synchronously transmits the interconnection result of the interconnection failure to the processing component, and the interconnection duration in the processing component is an invalid value; If the interconnection is successful, the interconnection software component synchronizes the interconnection result to the processing component, the internal clock of the processing component stops timing, and the process goes to step 2; Step 2: The processing component obtains the interconnection duration according to the time recorded by the internal clock; Step 3: The input unit inputs a read instruction to the test module, and the test module sends a request to read the instruction to the processing component; Step 4: The processing component synchronizes the interconnection duration, interconnection result and interconnection status to the test module, and the test module detects the interconnection status; If the mobile phone and the interconnected software component are not in an interconnected state, the test module outputs the result that does not meet the test condition to the display module; If the mobile phone and the interconnection software component are in an interconnected state, the test module compares the interconnection time and the configuration time to obtain a determination result, and finally the test module outputs the determination result, the interconnection result and the interconnection time to the display module.
5. A test method for detecting the connection characteristics of a mobile phone interconnection function as claimed in claim 4, characterized in that: If the mobile phone and the interconnection software component are disconnected after the interconnection starts, the interconnection duration in the processing module is assigned an invalid value.
6. A test method for detecting the connection characteristics of a mobile phone interconnection function as claimed in claim 4, characterized in that: In step 1, after the interconnection software component and the mobile phone start to be interconnected, the interconnection status value in the interconnection software component changes from 0 to 1, the interconnection software component synchronizes the interconnection status value to the processing component, and the internal clock of the processing component starts timing after the interconnection status value changes from 0 to 1.
7. A test method for detecting the connection characteristics of a mobile phone interconnection function as claimed in claim 4, characterized in that: In step one, after the interconnection fails, the interconnection software component assigns an interconnection result according to the cause of the failure and transmits it to the processing component synchronously. The processing component obtains the assignment of the interconnection result of the interconnection failure. After obtaining the assignment of the interconnection result of the interconnection failure, the processing component assigns the interconnection duration to an invalid value.
8. A test method for detecting the connection characteristics of a mobile phone interconnection function as claimed in claim 4, 5 or 7, characterized in that: In step 4, under the premise that the interconnection software component and the mobile phone are in an interconnected state, the test module compares the interconnection time and the configuration time; When the interconnection time is less than or equal to the configured time, the test module outputs the interconnection time and the qualified result to the display module; When the interconnection time is longer than the configured time, the test module outputs the interconnection time and the result of the judgment of failure to the display module; When the interconnection duration is an invalid value, the test module outputs the interconnection result of interconnection failure and the result of unqualified judgment to the display module.
9. A test method for detecting the connection characteristics of a mobile phone interconnection function as claimed in claim 4, characterized in that: The input module inputs the configuration time information to the test module, the test module saves the configuration time information, and outputs the configuration success result to the display module.
Citation Information
Patent Citations
A system and method for automatically testing vehicle-mounted multimedia mobile phone interconnection functions
CN113904966B