Method and system for monitoring performance of wire rod in USB wired interconnection between mobile terminal and vehicle terminal
Monitor the cable performance by the USB connection of the vehicle terminal and the mobile terminal, collect the number of plug -in times, transmission speed and load parameters, and generate an evaluation report to solve the problem that the existing technology cannot be effectively monitored and reminded to replace the USB wires. The timely nature of the wire and the stability of the data transmission.
Patent Information
- Application Number
- CN202411486205.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-01-24
AI Technical Summary
In the prior art, during the wired connection process of the vehicle terminal and the mobile terminal, there is no reasonable solution to monitor the performance of the USB cable and remind the user to replace it in time, resulting in problems such as slow charging and loss of data connection.
Through the USB connection with the mobile terminal with the mobile terminal, the number of plugging, transmission speed, and load parameters of the wires are collected to form a parameter report, and compare with the preset standard report to generate an evaluation report to inform the user's wire performance and Do you need to replace.
Effective monitoring of USB wire performance is realized, and users remind users to replace cables with aging or poor performance in time to avoid the problem of slow charging and loss of data connection.
Smart Images

Figure CN119355350A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle terminal detection, and in particular to a method and system for monitoring wire performance of a USB wired interconnection between a mobile terminal and a vehicle terminal. Background Art
[0002] With the development of automobile technology, the connection technology between mobile terminals and vehicle terminals is a key link in the development of intelligent connected vehicles. It not only involves the intelligent control of vehicles, but also is related to intelligent traffic management and the convenient experience of users. In the existing technology, the connection between mobile terminals and vehicle terminals can generally be divided into wired connection and wireless connection. Among them, the wired connection uses USB cables to realize data transmission between vehicle terminals and mobile terminals, and then provide driving assistance, multimedia entertainment and other functions. However, customers' USB cables often age or have poor product yields, resulting in slow charging and loss of data connection. Therefore, it is worthwhile for technicians to improve the simulation of the connection between the vehicle terminal and the mobile terminal and test the performance of the USB cable to remind users to replace it. Summary of the Invention
[0003] In view of the technical problem in the prior art that there is no reasonable solution to monitor the performance of the wires during the wired connection between the vehicle terminal and the mobile terminal, and to remind the user to replace them in time, the present invention provides a solution.
[0004] To achieve the above object, the present invention provides a method for monitoring the performance of a wire connected via USB between a mobile terminal and a vehicle terminal, comprising the following steps: Connecting the vehicle terminal to the mobile terminal via a USB cable and collecting the number of plug-in and unplugging times between the cable and the mobile terminal; The transmission speed and current carrying parameters of the wire are detected, and a parameter report is generated in combination with the number of plugging and unplugging times; the parameter report is compared with a standard report preset in a database to generate an evaluation report.
[0005] As an improved solution of the present invention, the steps for collecting the number of plugging and unplugging times are as follows: Obtain the number of the wire charging chip, and establish a unique wire ID based on the number. When the number is obtained again, the number of connections of the wire ID is detected accordingly, and the number of connections is the number of plug-in and unplugging times.
[0006] As an improved solution of the present invention, detecting and collecting the transmission speed of the wire includes the following steps: causing the mobile terminal to generate a virtual instruction and record the generation time of the virtual instruction; The vehicle terminal responds to the virtual instruction to generate a template animation; the template animation plays and displays the user information transmitted by the mobile terminal; the end time of the template animation is collected as the end time; the ratio between the duration of the template animation and the duration formed from the generation time to the end time is calculated, and the ratio is used as one of the reference items of the parameter report.
[0007] As an improved solution of the present invention, after calculating the ratio, the following steps are further included: The number of video frames of the playback duration of the template animation is collected, and an actual frame number curve is generated based on the video frame number; the actual frame number curve is compared with the standard curve of the template animation, and the comparison result is used as one of the reference items of the parameter report.
[0008] As an improved solution of the present invention, collecting the current carrying parameters includes: Matching the charging protocol, collecting the actual output current of the charging state, comparing the actual output current with the current corresponding to the charging protocol to obtain a current ratio, and comparing the current ratio with a preset standard ratio. The comparison result is used as one of the reference items of the parameter report.
[0009] Also provided is a wire performance monitoring system with USB wired interconnection between a mobile terminal and a vehicle terminal, comprising a vehicle terminal, a mobile terminal, a collection module, a processing module and a reporting module; The vehicle terminal is connected to the mobile terminal via a USB cable, and the acquisition module acquires the number of times the cable is plugged in and out of the mobile terminal; The calculation module detects the transmission speed and current-carrying parameters of the wire, and forms a parameter report in combination with the number of plugging and unplugging times; the reporting module compares the parameter report with a standard report preset in a database, and then forms an evaluation report.
[0010] As an improved solution of the present invention, the processing module collects the number of plugging and unplugging times in the following steps: Obtain the number of the wire charging chip, and establish a unique wire ID based on the number. When the number is obtained again, the number of connections of the wire ID is detected accordingly, and the number of connections is the number of plug-in and unplugging times.
[0011] As an improved solution of the present invention, the processing module detects the transmission speed of the wire rod including the following steps: causing the mobile terminal to generate a virtual instruction and record the generation time of the virtual instruction; The vehicle terminal generates a template animation in response to the virtual instruction, and the template animation plays and displays the user information transmitted by the mobile terminal; and controls the acquisition module to acquire the end time of the template animation as the end time; The processing module calculates the ratio between the duration of the template animation and the duration from the generation time to the end time, and the reporting module uses the ratio as one of the reference items of the parameter report.
[0012] As an improved solution of the present invention, after calculating the ratio, the following steps are further included: The acquisition module collects the number of video frames of the playback duration of the template animation and generates an actual frame number curve based on the video frame number; the processing module compares the actual frame number curve with the standard curve of the template animation, and the reporting module uses the obtained comparison result as one of the reference items of the parameter report.
[0013] As an improved solution of the present invention, the processing module detecting the current carrying parameter includes: The vehicle terminal matches the charging protocol with the mobile terminal, the processing module controls the acquisition module to acquire the actual output current of the charging state, and compares the actual output current with the current corresponding to the charging protocol to obtain a current carrying ratio, and then compares the current carrying ratio with a preset standard ratio. The reporting module uses the comparison result as one of the reference items of the parameter report.
[0014] The beneficial effects of the present invention are as follows: compared with the prior art, the present invention provides a method and system for monitoring the performance of a wire for USB wired interconnection between a mobile terminal and a vehicle terminal, the method comprising the following steps: connecting the vehicle terminal and the mobile terminal via a USB wire, and collecting the number of plugging and unplugging of the wire and the mobile terminal; detecting the transmission speed and current-carrying parameters of the wire, and forming a parameter report in combination with the number of plugging and unplugging; comparing the parameter report with a standard report preset in a database, and then forming an evaluation report; forming a parameter report by using data on the transmission speed and current-carrying parameter set of the wire, informing the user of the performance parameters of the wire, and forming a comparison report to inform the user, to assist the user in deciding whether to replace the USB wire. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 Flow chart of the method of the present invention. DETAILED DESCRIPTION
[0016] In order to more clearly illustrate the present invention, the present invention will be further described below with reference to the accompanying drawings.
[0017] In the following description, example details are provided to provide a deeper understanding of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. It should be understood that the specific embodiments are only used to illustrate the present invention and are not intended to limit the present invention.
[0018] It should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of the stated features, integers, steps, operations, elements or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components or combinations thereof.
[0019] In order to solve the above technical problems, this application provides a method for monitoring the performance of the wire material of the USB wired interconnection between the mobile terminal and the vehicle terminal. Figure 1 , including the following steps: Connect the vehicle terminal and the mobile terminal via a USB cable, and collect the number of plug-in and unplug-out times between the cable and the mobile terminal; Detect the transmission speed and current-carrying parameters of the wire, and generate a parameter report based on the number of plug-in and plug-out times. Compare the parameter report with the standard report preset in the database to generate an evaluation report.
[0020] By using data collected from the transmission speed and current-carrying parameters of the wire to form a parameter report, users can intuitively understand the parameters of the wire through the parameter report; further, the parameter report is compared with the standard report to form an evaluation report to intuitively inform the user of the aging condition of the wire and assist the user in making a decision on whether to replace the wire.
[0021] Regarding the performance change of the cable, it can be understood that as the number of plugging and unplugging increases, dust accumulation and oxidation on the metal contacts will affect the charging speed and data. Based on real life, most users are equipped with separate cables in their vehicles. Therefore, in the specific solution, the steps for collecting the number of plugging and unplugging are as follows: Get the number of the cable charging chip and create a unique cable ID based on the number. When the number is obtained again, the number of connections corresponding to the detection cable ID is the number of plug-in and unplug times. It is not difficult to understand that the chip carried by the cable has a unique number. Therefore, a unique cable ID can be generated based on the uniqueness of the number. Then, the number of connections of the cable ID is collected and counted, and the corresponding number is recorded as the number of plug-in and unplug times. In a specific solution, detecting the transmission speed of the acquisition wire includes the following steps: The mobile terminal generates a virtual instruction and records the generation time of the virtual instruction; The vehicle terminal responds to the virtual command to generate a template animation; the template animation plays and displays the user information transmitted by the mobile terminal; the end time of the template animation is collected as the end time; the ratio between the duration of the template animation and the duration from the generation time to the end time is calculated, and the ratio is used as one of the reference items in the parameter report; It is not difficult to understand that the scheme of this embodiment has a relevant order: time segments of generation time, module animation playback, and end time. The shorter the time from generation time to module animation playback, the faster the wire transmission speed. However, if the generation time and module animation playback time are collected separately as reference items, it is difficult to examine the continuous transmission capability of the wire. Therefore, it is necessary to rely on the vehicle terminal to continuously pass through the wire to load the user information of the mobile terminal. In the process of displaying the user information in sequence, it is convenient for the user to confirm his or her identity. If the wire data transmission is stable, it will not affect the playback time of the template animation. On the contrary, it will lead to an increase in the playback time of the template animation. Based on the above principle, the obtained ratio can better reflect the stability reference item of data transmission.
[0022] In a better solution, after calculating the ratio, it also includes: The video frames of the template animation playback duration are collected, and the actual frame curve is generated based on the video frames. The actual frame curve is compared with the standard curve of the template animation, and the comparison result is used as one of the reference items in the parameter report. It is not difficult to understand that if the continuous output performance of the wire cannot meet the demand, the video frame rate will fluctuate, and the change can be intuitively observed through the actual frame curve. That is, when the data transmission of the wire is unstable, the fluctuation of the actual frame curve is also relatively large. It can be seen that the comparison result obtained by combining with the standard curve of the template animation can better reflect the reference item of data transmission stability.
[0023] In the specific solution, the acquisition of current parameters includes: Match the charging protocol, collect the actual output current of the charging state, compare the actual output current with the current corresponding to the charging protocol to obtain the current-carrying ratio, compare the current-carrying ratio with the preset standard ratio, and use the comparison result as one of the reference items in the parameter report. It is not difficult to understand that the charging protocol is matched first and then the expected current is determined. When the output current of the wire cannot reach the expected current, it can be determined that the charging speed cannot meet expectations, and the user is prompted to replace the wire.
[0024] Also provided is a wire performance monitoring system with USB wired interconnection between a mobile terminal and a vehicle terminal, comprising a vehicle terminal, a mobile terminal, a collection module, a processing module and a reporting module; The vehicle terminal and the mobile terminal are connected via a USB cable, and the acquisition module collects the number of plug-in and unplugging times between the cable and the mobile terminal; The calculation module detects the transmission speed and current-carrying parameters of the wire, and generates a parameter report based on the number of plug-in and plug-out times; the reporting module compares the parameter report with the standard report preset in the database to generate an evaluation report.
[0025] As an improved solution of the present invention, the steps for collecting the number of plug-in and plug-out times of the processing module are as follows: Get the number of the cable charging chip and create a unique cable ID based on the number. When the number is obtained again, the number of connections corresponding to the detection cable ID is the number of plug-in and unplug times.
[0026] As an improved solution of the present invention, the processing module detects the transmission speed of the wire rod including the following steps: The mobile terminal generates a virtual instruction and records the generation time of the virtual instruction; The vehicle terminal responds to the virtual instruction to generate a template animation, and the template animation plays and displays the user information transmitted by the mobile terminal; the control acquisition module acquires the end time of the template animation as the end time; The processing module calculates the ratio between the duration of the template animation and the duration from the generation time to the end time, and the reporting module uses the ratio as one of the reference items of the parameter report.
[0027] After calculating the ratio, it also includes: The acquisition module collects the video frames of the template animation's playback duration and generates an actual frame curve based on the video frames; the processing module compares the actual frame curve with the standard curve of the template animation, and the reporting module uses the comparison result as one of the reference items for the parameter report.
[0028] The processing module detects the current carrying parameters including: The vehicle terminal matches the charging protocol with the mobile terminal. The processing module controls the acquisition module to collect the actual output current of the charging status, and compares the actual output current with the current corresponding to the charging protocol to obtain the current-carrying ratio. The current-carrying ratio is then compared with the preset standard ratio. The reporting module uses the comparison result as one of the reference items for the parameter report.
[0029] It is not difficult to understand that the system is installed in the vehicle, and the above-mentioned detection method is implemented through the vehicle terminal, mobile terminal, acquisition module, processing module and reporting module, so as to detect the user's wires and inform the user to help the user understand the performance of the wires and make replacement decisions.
[0030] The advantages of the present invention are: By using data collected from the transmission speed and current-carrying parameters of the wire to form a parameter report, users can intuitively understand the parameters of the wire through the parameter report; further, the parameter report is compared with the standard report to form an evaluation report to intuitively inform the user of the aging condition of the wire and assist the user in making a decision on whether to replace the wire.
[0031] The above disclosures are only several specific embodiments of the present invention, but the present invention is not limited thereto. Any changes that can be conceived by those skilled in the art should fall within the scope of protection of the present invention.
Claims
1. A method for monitoring the performance of wires for USB wired interconnection between a mobile terminal and a vehicle terminal, characterized in that: The following steps are involved: The vehicle terminal is connected to the mobile terminal via a USB cable, and the number of times the cable is plugged in and out of the mobile terminal is collected; The transmission speed and current carrying parameters of the wire are detected, and a parameter report is formed in combination with the number of plugging and unplugging times; the parameter report is compared with a standard report preset in a database, and then an evaluation report is formed.
2. The method for monitoring wire performance of USB wired interconnection between a mobile terminal and a vehicle terminal according to claim 1 is characterized in that: The steps for collecting the number of plugging and unplugging times are as follows: The serial number of the cable charging chip is obtained, and a unique cable ID is established according to the serial number. When the serial number is obtained again, the connection times of the cable ID are detected accordingly, and the connection times are the plug-in and unplug times.
3. The method for monitoring wire performance of USB wired interconnection between a mobile terminal and a vehicle terminal according to claim 2 is characterized in that: Detecting and collecting the transmission speed of the wire comprises the following steps: enabling the mobile terminal to generate a virtual instruction and record the generation time of the virtual instruction; The vehicle terminal responds to the virtual instruction to generate a template animation; the template animation plays and displays the user information transmitted by the mobile terminal; the end time of the template animation is collected as the end time; the ratio between the duration of the template animation and the duration formed from the generation time to the end time is calculated, and the ratio is used as one of the reference items of the parameter report.
4. The method for monitoring wire performance of USB wired interconnection between a mobile terminal and a vehicle terminal according to claim 3 is characterized in that: After calculating the ratio, it also includes: The number of video frames of the playing time of the template animation is collected, and an actual frame number curve is generated based on the video frame number; the actual frame number curve is compared with the standard curve of the template animation, and the comparison result is used as one of the reference items of the parameter report.
5. The method for monitoring wire performance of USB wired interconnection between a mobile terminal and a vehicle terminal according to claim 2, characterized in that: Collecting the current carrying parameters includes: Match the charging protocol, collect the actual output current of the charging state, compare the actual output current with the current corresponding to the charging protocol to obtain a current carrying ratio, and compare the current carrying ratio with a preset standard ratio. The comparison result is used as one of the reference items of the parameter report.
6. A wire performance monitoring system for USB wired interconnection between a mobile terminal and a vehicle terminal, characterized in that: Vehicle terminal, mobile terminal, acquisition module, processing module and reporting module; The vehicle terminal is connected to the mobile terminal via a USB cable, and the acquisition module acquires the number of times the cable is plugged in and out of the mobile terminal; The calculation module detects the transmission speed and current-carrying parameters of the wire, and forms a parameter report in combination with the number of plugging and unplugging times; the reporting module compares the parameter report with a standard report preset in a database, and then forms an evaluation report.
7. The wire performance monitoring system for USB wired interconnection between a mobile terminal and a vehicle terminal according to claim 6 is characterized in that: The processing module collects the number of plug-in and plug-out times in the following steps: The serial number of the cable charging chip is obtained, and a unique cable ID is established according to the serial number. When the serial number is obtained again, the connection times of the cable ID are detected accordingly, and the connection times are the plug-in and unplug times.
8. The wire performance monitoring system for USB wired interconnection between a mobile terminal and a vehicle terminal according to claim 7 is characterized in that: The processing module detects the transmission speed of the wire, including the following steps: enabling the mobile terminal to generate a virtual instruction and record the generation time of the virtual instruction; The vehicle terminal responds to the virtual instruction to generate a template animation, and the template animation plays and displays the user information transmitted by the mobile terminal; the acquisition module is controlled to acquire the end time of the template animation as the end time; The processing module calculates the ratio between the duration of the template animation and the duration from the generation time to the end time, and the reporting module uses the ratio as one of the reference items of the parameter report.
9. The wire performance monitoring system for USB wired interconnection between a mobile terminal and a vehicle terminal according to claim 8 is characterized in that: After calculating the ratio, it also includes: The acquisition module acquires the number of video frames of the playback duration of the template animation, and generates an actual frame number curve based on the video frame number; the processing module compares the actual frame number curve with the standard curve of the template animation, and the reporting module uses the comparison result as one of the reference items of the parameter report.
10. The wire performance monitoring system for USB wired interconnection between a mobile terminal and a vehicle terminal according to claim 7, characterized in that: The processing module detecting the current carrying parameter includes: The vehicle terminal matches the charging protocol with the mobile terminal, the processing module controls the acquisition module to acquire the actual output current of the charging state, and compares the actual output current with the current corresponding to the charging protocol to obtain a current-carrying ratio, and then compares the current-carrying ratio with a preset standard ratio, and the reporting module uses the comparison result as one of the reference items of the parameter report.