CN107766264B - Data transfer control method, mobile terminal and computer readable storage medium - Google Patents
Data transfer control method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN107766264B CN107766264B CN201710965772.2A CN201710965772A CN107766264B CN 107766264 B CN107766264 B CN 107766264B CN 201710965772 A CN201710965772 A CN 201710965772A CN 107766264 B CN107766264 B CN 107766264B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- data transmission
- debugging function
- event
- control device
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000005540 biological transmission Effects 0.000 claims description 109
- 230000006870 function Effects 0.000 claims description 86
- 230000001960 triggered effect Effects 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 11
- 238000011084 recovery Methods 0.000 claims description 7
- 238000004891 communication Methods 0.000 abstract description 10
- 238000005516 engineering process Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 10
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明属于通信技术领域,尤其涉及一种数据传输控制方法、移动终端及计算机可读存储介质。The present invention belongs to the field of communication technologies, and in particular, relates to a data transmission control method, a mobile terminal and a computer-readable storage medium.
背景技术Background technique
随着移动终端和通信技术的发展,智能手机、平板电脑等移动终端越来越多的被应用于人们生活的方方面面。例如:人们在日常驾车时,经常会将智能手机与汽车车载视频播放器系统连接,并开始导航。然而,现有智能手机在导航过程中时常发生突然间掉线的情况,这就导致导航因数据传输终端而被间断。此时,需要人工重新插拔一次USB(UniversalSerial Bus,通用串行总线)线,才能恢复导航。而汽车驾驶需要司机精神高度集中,如果重新插拔USB线,则会导致司机精力分散,给司机的人身安全造成隐患,但如果不重新插拔USB线,则无法继续进行导航。With the development of mobile terminals and communication technologies, more and more mobile terminals such as smart phones and tablet computers are used in all aspects of people's lives. For example: People often connect their smartphone to the car's in-vehicle video player system and start navigating while driving. However, the existing smart phones often suddenly drop the line during the navigation process, which causes the navigation to be interrupted due to the data transmission terminal. At this time, it is necessary to manually re-plug and unplug the USB (Universal Serial Bus, Universal Serial Bus) cable to restore navigation. However, car driving requires the driver to be highly focused. If the USB cable is re-plugged, the driver will be distracted, which will cause hidden dangers to the driver's personal safety. However, if the USB cable is not re-plugged, the navigation cannot be continued.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种数据传输控制方法、移动终端及计算机可读存储介质,可保证移动终端与车载控制设备的数据连续传输,提高司机驾驶的安全性。Embodiments of the present invention provide a data transmission control method, a mobile terminal, and a computer-readable storage medium, which can ensure continuous data transmission between the mobile terminal and the vehicle-mounted control device, and improve the driving safety of drivers.
本发明实施例第一方面提供了一种数据传输控制方法,应用于移动终端,所述方法包括:A first aspect of the embodiments of the present invention provides a data transmission control method, which is applied to a mobile terminal, and the method includes:
在执行预设任务时,若监听到所述移动终端与车载控制设备的数据传输中断事件,则判断所述数据传输中断事件是否由通用串行总线调试功能自动关闭事件触发;When performing the preset task, if the data transmission interruption event of the mobile terminal and the vehicle-mounted control device is monitored, it is determined whether the data transmission interruption event is triggered by the automatic shutdown event of the universal serial bus debugging function;
若是由所述通用串行总线调试功能自动关闭事件触发,则分析系统日志,得到所述通用串行总线调试功能自动关闭事件的描述信息;If it is triggered by the automatic shutdown event of the USB debugging function, analyze the system log to obtain description information of the automatic shutdown event of the USB debugging function;
获取与所述描述信息对应的处理逻辑,并按照所述处理逻辑,恢复所述移动终端与所述车载控制设备的数据传输。The processing logic corresponding to the description information is acquired, and the data transmission between the mobile terminal and the vehicle-mounted control device is resumed according to the processing logic.
本发明实施例第二方面提供了一种移动终端,包括:A second aspect of the embodiments of the present invention provides a mobile terminal, including:
判断模块,用于在执行预设任务时,若监听到所述移动终端与车载控制设备的数据传输中断事件,则判断所述数据传输中断事件是否由通用串行总线调试功能自动关闭事件触发;a judgment module, configured to judge whether the data transmission interruption event is triggered by the automatic shutdown event of the universal serial bus debugging function if the data transmission interruption event of the mobile terminal and the vehicle-mounted control device is monitored when the preset task is performed;
分析模块,用于若是由所述通用串行总线调试功能自动关闭事件触发,则分析系统日志,得到所述通用串行总线调试功能自动关闭事件的描述信息;an analysis module, configured to analyze the system log if triggered by the automatic shutdown event of the debugging function of the USB, to obtain description information of the automatic shutdown event of the debugging function of the USB;
处理模块,用于获取与所述描述信息对应的处理逻辑,并按照所述处理逻辑,恢复所述移动终端与所述车载控制设备的数据传输。The processing module is configured to acquire processing logic corresponding to the description information, and restore data transmission between the mobile terminal and the vehicle-mounted control device according to the processing logic.
本发明实施例第三方面提供了一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现上述本发明实施例第一方面提供的数据传输控制方法。A third aspect of the embodiments of the present invention provides a mobile terminal, including: a memory, a processor, and a computer program stored in the memory and running on the processor, when the processor executes the computer program , to implement the data transmission control method provided by the first aspect of the above embodiments of the present invention.
本发明实施例第四方面提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现上述本发明实施例第一方面提供的数据传输控制方法。A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the data transmission control method provided in the first aspect of the embodiments of the present invention.
本发明实施例中,通过在执行预设任务时,若监听到移动终端与车载控制设备的数据传输中断事件,若该数据传输中断事件是由通用串行总线调试功能自动关闭事件触发,则按照该通用串行总线调试功能自动关闭事件的描述信息对应的处理逻辑,自动恢复移动终端与车载控制设备的数据传输,从而实现了数据传输的自动恢复,保证了移动终端与车载控制设备之间的数据连续传输的稳定性和连续性,可提高司机驾驶的安全性。In the embodiment of the present invention, when a preset task is performed, if a data transmission interruption event between the mobile terminal and the vehicle-mounted control device is monitored, and if the data transmission interruption event is triggered by the automatic shutdown event of the universal serial bus debugging function, the The universal serial bus debugging function automatically closes the processing logic corresponding to the description information of the event, and automatically restores the data transmission between the mobile terminal and the vehicle-mounted control device, thereby realizing the automatic recovery of data transmission and ensuring the communication between the mobile terminal and the vehicle-mounted control device. The stability and continuity of continuous data transmission can improve the driving safety of drivers.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only are some embodiments of the present invention.
图1为本发明实施例提供的数据传输控制方法的应用环境示意图;1 is a schematic diagram of an application environment of a data transmission control method provided by an embodiment of the present invention;
图2是本发明一实施例提供的数据传输控制方法的实现流程示意图;FIG. 2 is a schematic flowchart of an implementation of a data transmission control method provided by an embodiment of the present invention;
图3是本发明另一实施例提供的数据传输控制方法的实现流程示意图;FIG. 3 is a schematic flowchart of an implementation of a data transmission control method provided by another embodiment of the present invention;
图4是本发明一实施例提供的移动终端的结构示意图;4 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention;
图5是本发明另一实施例提供的移动终端的结构示意图;5 is a schematic structural diagram of a mobile terminal provided by another embodiment of the present invention;
图6是本发明一实施例提供的移动终端的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而非全部实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. The embodiments described above are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.
请参阅图1,图1为本发明实施例提供的数据传输控制方法的应用环境示意图。如图1所示,移动终端以手机为例,车载控制设备以车载视频播放系统为例,预设任务以汽车导航为例。手机100打开USB调试,通过USB线200与车载视频播放系统300建立连接,启动导航,导航界面在车载视频播放系统300的播放界面上显示。Please refer to FIG. 1. FIG. 1 is a schematic diagram of an application environment of a data transmission control method provided by an embodiment of the present invention. As shown in FIG. 1 , the mobile terminal is taken as an example of a mobile phone, the vehicle-mounted control device is taken as an example of a vehicle-mounted video playback system, and the preset task is taken as an example of car navigation. The mobile phone 100 enables USB debugging, establishes a connection with the in-vehicle video playback system 300 through the USB cable 200 , starts navigation, and displays the navigation interface on the playback interface of the in-vehicle video playback system 300 .
请参阅图2,图2为本发明一实施例提供的数据传输控制方法的实现流程示意图,该方法可应用于移动终端中,移动终端包括:可利用移动通信网络进行通话的智能手机、平板电脑等可在移动中使用的电子数据处理设备。如图2所示,该方法主要包括以下步骤:Please refer to FIG. 2. FIG. 2 is a schematic diagram of the implementation flow of a data transmission control method provided by an embodiment of the present invention. The method can be applied to a mobile terminal, and the mobile terminal includes: a smart phone, a tablet computer that can use a mobile communication network to make calls etc. Electronic data processing equipment that can be used on the move. As shown in Figure 2, the method mainly includes the following steps:
201、在执行预设任务时,若监听到该移动终端与车载控制设备的数据传输中断事件,则判断该数据传输中断事件是否由通用串行总线调试功能自动关闭事件触发;201. When performing a preset task, if a data transmission interruption event between the mobile terminal and the vehicle-mounted control device is monitored, determine whether the data transmission interruption event is triggered by an automatic shutdown event of the USB debugging function;
该预设任务是指移动终端通过车载控制设备实现的原本在该移动终端上执行的任务,例如导航任务、多媒体播放任务等。The preset task refers to a task originally executed on the mobile terminal by the mobile terminal through the vehicle-mounted control device, such as a navigation task, a multimedia playback task, and the like.
移动终端打开USB调试功能,通过USB线接入车载控制设备,与车载控制设备进行数据传输,并执行该预设任务。The mobile terminal enables the USB debugging function, connects to the vehicle-mounted control device through a USB cable, performs data transmission with the vehicle-mounted control device, and executes the preset task.
在执行该预设任务时,若移动终端监听到移动终端自身与车载控制设备的数据传输中断事件,则判断该数据传输中断事件是否由USB调试功能自动关闭事件触发。具体地,当监听到移动终端与车载控制设备的数据传输中断事件时,获取该数据传输中断事件发生时的系统日志,并对该系统日志中记录的该数据传输中断事件发生时,预设任务的执行程序的工作状态、对外部的调用封装以及业务异常等信息进行分析,得到数据传输中断事件的触发原因。When performing the preset task, if the mobile terminal monitors the data transmission interruption event between the mobile terminal itself and the vehicle-mounted control device, it is determined whether the data transmission interruption event is triggered by the USB debugging function automatic shutdown event. Specifically, when the data transmission interruption event between the mobile terminal and the vehicle-mounted control device is monitored, the system log when the data transmission interruption event occurs is obtained, and when the data transmission interruption event recorded in the system log occurs, the task is preset. The working status of the executing program, the external call package and business exceptions are analyzed, and the triggering cause of the data transmission interruption event is obtained.
可选的,数据传输中断事件的触发原因也可从预设任务的执行程序得到,如由该执行程序上报的信息中得到。Optionally, the triggering cause of the data transmission interruption event can also be obtained from the execution program of the preset task, such as the information reported by the execution program.
202、若是由该通用串行总线调试功能自动关闭事件触发,则分析系统日志,得到该通用串行总线调试功能自动关闭事件的描述信息;202. If triggered by the automatic shutdown event of the USB debugging function, analyze the system log to obtain description information of the automatic shutdown event of the USB debugging function;
若是由该USB调试功能自动关闭事件触发,则分析系统日志,得到USB调试功能自动关闭时间的描述信息,该描述信息可分析出USB调试功能自动关闭的原因。If the event is triggered by the automatic shutdown of the USB debugging function, the system log is analyzed to obtain description information of the automatic shutdown time of the USB debugging function, and the description information can analyze the reason for the automatic shutdown of the USB debugging function.
203、获取与该描述信息对应的处理逻辑,并按照该处理逻辑,恢复该移动终端与该车载控制设备的数据传输。203. Acquire processing logic corresponding to the description information, and restore data transmission between the mobile terminal and the vehicle-mounted control device according to the processing logic.
在移动终端中预先设置有与该描述信息对应的处理逻辑,不同的描述信息对应不同的USB调试功能自动关闭的原因,同时也对应不同的处理逻辑。根据不同的处理逻辑,恢复该移动终端与该车载控制设备的数据传输,即,继续控制该车载控制设备执行该预设任务,避免手动断开并再次接通USB线来恢复该预设任务。Processing logic corresponding to the description information is preset in the mobile terminal, and different description information corresponds to different reasons for the automatic shutdown of the USB debugging function, and also corresponds to different processing logics. According to different processing logics, the data transmission between the mobile terminal and the vehicle-mounted control device is resumed, that is, the vehicle-mounted control device is continuously controlled to perform the preset task, and manual disconnection and reconnection of the USB cable are avoided to restore the preset task.
本发明实施例中,通过在执行预设任务时,若监听到移动终端与车载控制设备的数据传输中断事件,若该数据传输中断事件是由通用串行总线调试功能自动关闭事件触发,则按照该通用串行总线调试功能自动关闭事件的描述信息对应的处理逻辑,自动恢复移动终端与车载控制设备的数据传输,从而实现了数据传输的自动恢复,保证了移动终端与车载控制设备之间的数据连续传输的稳定性和连续性,可提高司机驾驶的安全性。In the embodiment of the present invention, when a preset task is performed, if a data transmission interruption event between the mobile terminal and the vehicle-mounted control device is monitored, and if the data transmission interruption event is triggered by the automatic shutdown event of the universal serial bus debugging function, the The universal serial bus debugging function automatically closes the processing logic corresponding to the description information of the event, and automatically restores the data transmission between the mobile terminal and the vehicle-mounted control device, thereby realizing the automatic recovery of data transmission and ensuring the communication between the mobile terminal and the vehicle-mounted control device. The stability and continuity of continuous data transmission can improve the driving safety of drivers.
请参阅图3,图3为本发明另一实施例提供的数据传输控制方法的实现流程示意图,该方法可应用于移动终端中,移动终端包括:可通过USB数据线与车载控制设备进行数据传输的智能手机、平板电脑、智能手表等可在移动中使用的电子数据处理设备。如图3所示,该方法主要包括以下步骤:Please refer to FIG. 3 . FIG. 3 is a schematic diagram of an implementation flowchart of a data transmission control method provided by another embodiment of the present invention. The method can be applied to a mobile terminal. The mobile terminal includes: data transmission can be performed with a vehicle-mounted control device through a USB data cable. Smartphones, tablets, smart watches and other electronic data processing devices that can be used on the move. As shown in Figure 3, the method mainly includes the following steps:
301、在执行预设任务时,若监听到移动终端与车载控制设备的数据传输中断事件,则判断数据传输中断事件是否由通用串行总线调试功能自动关闭事件触发;301. When performing a preset task, if a data transmission interruption event between the mobile terminal and the vehicle-mounted control device is monitored, determine whether the data transmission interruption event is triggered by the automatic shutdown event of the universal serial bus debugging function;
具体的,预设任务可以但不限于包括导航任务和多媒体播放任务。移动终端中预设有事件监听器,通过事件监听器对系统中发生的各个事件进行监听。当监听到移动终端与车载控制设备的数据传输中断事件时,获取该数据传输中断事件发生时的系统日志,并对该系统日志中记录的该数据传输中断事件发生时,预设任务的执行程序的工作状态、对外部的调用封装以及业务异常等信息进行分析,得到数据传输中断事件的触发原因。并判断得到的触发原因是否为USB调试功能自动关闭事件。若触发原因是USB调试功能自动关闭事件,则执行步骤302,否则,执行步骤304。Specifically, the preset tasks may include, but are not limited to, navigation tasks and multimedia playback tasks. An event listener is preset in the mobile terminal, and each event occurring in the system is monitored through the event listener. When the data transmission interruption event between the mobile terminal and the vehicle-mounted control device is monitored, the system log when the data transmission interruption event occurs is obtained, and the execution program of the preset task is preset when the data transmission interruption event recorded in the system log occurs. The working status of the data transmission, the external call encapsulation and business exceptions and other information are analyzed, and the triggering cause of the data transmission interruption event is obtained. And judge whether the trigger cause is the automatic shutdown event of the USB debugging function. If the triggering reason is the event of automatic shutdown of the USB debugging function, step 302 is performed; otherwise, step 304 is performed.
302、若是由通用串行总线调试功能自动关闭事件触发,则分析系统日志,得到通用串行总线调试功能自动关闭事件的描述信息;302. If it is triggered by the automatic shutdown event of the debugging function of the USB, analyze the system log to obtain the description information of the automatic shutdown event of the debugging function of the USB;
USB调试功能是Android(安卓)系统提供的一个用于开发工作的功能,使用该功能可实现计算机设备和Android设备之间的数据复制。USB调试功能一般可基于预设的USB调试功能工作周期的关闭时间到达这一内因以及系统故障这一外因这两个原因被自动关闭。若移动终端与车载控制设备的数据传输中断事件是由USB调试功能自动关闭事件触发,则继续对系统日志中的USB调试功能自动关闭事件发生时的相关信息进行分析,得到USB调试功能自动关闭事件的描述信息。描述信息的具体含义可以包括:USB调试功能在预设自动关闭时间达到时自动关闭,以及USB调试功能因系统故障关闭。The USB debugging function is a function provided by the Android (Android) system for development work. Using this function, data copying between a computer device and an Android device can be realized. Generally, the USB debugging function can be automatically turned off based on two reasons, the internal cause and the external cause of the system failure, based on the preset shutdown time of the USB debugging function working cycle. If the data transmission interruption event between the mobile terminal and the in-vehicle control device is triggered by the USB debugging function automatic shutdown event, continue to analyze the relevant information in the system log when the USB debugging function automatic shutdown event occurs, and obtain the USB debugging function automatic shutdown event. description information. The specific meaning of the description information may include: the USB debugging function is automatically turned off when the preset automatic shutdown time is reached, and the USB debugging function is turned off due to a system failure.
303、获取与描述信息对应的处理逻辑,并按照处理逻辑,恢复移动终端与车载控制设备的数据传输。303. Acquire processing logic corresponding to the description information, and restore data transmission between the mobile terminal and the vehicle-mounted control device according to the processing logic.
具体的,移动终端中预设有记录有不同的描述信息与各处理逻辑的对应关系的文件。根据得到的USB调试功能自动关闭事件的描述信息,查询该文件,得到对应的处理逻辑的代码,运行该代码,以按照处理逻辑,恢复移动终端与车载控制设备的数据传输。Specifically, the mobile terminal is preset with files that record the correspondence between different description information and each processing logic. According to the obtained description information of the automatic shutdown event of the USB debugging function, query the file to obtain the code of the corresponding processing logic, and run the code to restore the data transmission between the mobile terminal and the vehicle-mounted control device according to the processing logic.
进一步的,若描述信息包含的是通用串行总线调试功能在预设自动关闭时间达到时自动关闭的含义,则按照处理逻辑,恢复移动终端与车载控制设备的数据传输包括:打开USB调试功能,恢复移动终端与车载控制设备的数据传输,并延长USB调试功能自动关闭周期的时长。Further, if the description information includes the meaning that the USB debugging function is automatically turned off when the preset automatic shutdown time is reached, then according to the processing logic, restoring the data transmission between the mobile terminal and the vehicle-mounted control device includes: turning on the USB debugging function, Restore the data transmission between the mobile terminal and the in-vehicle control device, and extend the duration of the automatic shutdown cycle of the USB debugging function.
其中,延长USB调试功能自动关闭周期的时长具体可根据当前执行的任务的类型,确定目标时长。然后,将USB调试功能自动关闭周期的时长延长至目标时长。Specifically, to extend the duration of the automatic shutdown period of the USB debugging function, the target duration may be determined according to the type of the currently executed task. Then, extend the duration of the USB debugging auto-off cycle to the target duration.
可选的,若当前执行的任务为导航任务,则获取到达目的地的剩余时长,并将获取的剩余时长确定为目标时长。Optionally, if the currently executed task is a navigation task, the remaining time to reach the destination is obtained, and the obtained remaining time is determined as the target time.
其中,获取到达目的地的剩余时长包括以下两种方式:There are two ways to obtain the remaining time to reach the destination:
方式一、从导航应用程序获取导航应用程序估算的达到目的地的剩余时长。Method 1: Obtain from the navigation application the remaining time to reach the destination estimated by the navigation application.
方式二、从导航应用程序获取导航应用程序估算的达到目的地的剩余时长,将导航应用程序估算的达到目的地的剩余时长与预留时长相加后得到的时长,作为最终的剩余时长。然后将该最终的剩余时长确定为目标时长。其中,预留时长为预设时长,或者,也可根据导航应用程序规划的用时最长的导航路线的用时来确定。通过预留时长可以防止因为变更导航路线而导致目标时长小于实际导航时长,从而发生数据传输再次中断的情况。Method 2: Obtain the remaining time to the destination estimated by the navigation application from the navigation application, and add the remaining time to the destination estimated by the navigation application and the reserved time as the final remaining time. The final remaining duration is then determined as the target duration. The reserved duration is a preset duration, or it can also be determined according to the duration of the longest navigation route planned by the navigation application. By reserving the duration, it is possible to prevent the target duration from being shorter than the actual navigation duration due to the change of the navigation route, thereby preventing the data transmission from being interrupted again.
可选的,若当前执行的任务为多媒体播放,则若播放类型为循环播放或播放的是电台广播,则将目标时长确定为无限期,若播放类型为非循环播放,则将播放完最后一个多媒体文件的剩余时长确定为目标时长。Optionally, if the currently executed task is multimedia playback, if the playback type is loop playback or radio broadcast, the target duration is determined to be indefinite, and if the playback type is non-loop playback, the last one will be played. The remaining duration of the multimedia file is determined as the target duration.
具体的,播放的可以是移动终端中存储的或网络中的多媒体文件,如音乐;或者,也可以是电台广播。当播放多媒体音乐时,可以是循环播放或者非循环播放,如顺序播放、乱序播放等等。当播放类型为循环播放或播放的是电台广播时,由于上述二者的结束时间是不确定的,因此将目标时长确定为无限期。当播放类型为非循环播放时,由于播放结束时间是确定的,则将播放完最后一个多媒体文件的剩余时长确定为目标时长。Specifically, what is played may be multimedia files stored in the mobile terminal or in the network, such as music; or, it may also be a radio broadcast. When playing multimedia music, it can be played cyclically or non-cyclically, such as sequential play, out-of-order play, and so on. When the playback type is loop playback or radio broadcasting, since the end times of the above two are uncertain, the target duration is determined to be indefinite. When the playback type is non-loop playback, since the playback end time is determined, the remaining duration after playing the last multimedia file is determined as the target duration.
进一步的,若描述信息包含的是USB调试功能因系统故障关闭的含义,则按照处理逻辑,恢复移动终端与车载控制设备的数据传输包括:打开USB调试功能,恢复移动终端与车载控制设备的数据传输。Further, if the description information includes the meaning that the USB debugging function is turned off due to a system failure, according to the processing logic, restoring the data transmission between the mobile terminal and the vehicle-mounted control device includes: turning on the USB debugging function, and restoring the data of the mobile terminal and the vehicle-mounted control device. transmission.
进一步的,还可以在执行完预设任务时,恢复USB调试功能自动关闭周期的时长。Further, when the preset task is executed, the duration of the automatic shutdown period of the USB debugging function can be restored.
304、若不是由通用串行总线调试功能自动关闭事件触发,则输出提示信息,提示信息用于提示移动终端与车载控制设备的数据传输中断。304. If it is not triggered by the event of automatic shutdown of the debugging function of the universal serial bus, output prompt information, where the prompt information is used to prompt that the data transmission between the mobile terminal and the vehicle-mounted control device is interrupted.
具体的,可以通过输出文字提示信息。较佳的,还可以在输出文字提示信息的同时输出提示语音,以便用户更快了解预设任务的执行状态,从而尽快做出回应,如:进行插拔USB数据线的操作。Specifically, text prompt information can be output. Preferably, the prompt voice can also be output when the text prompt information is output, so that the user can quickly understand the execution state of the preset task and respond as soon as possible, such as: plugging and unplugging the USB data cable.
本发明实施例中,通过在执行预设任务时,若监听到移动终端与车载控制设备的数据传输中断事件,若该数据传输中断事件是由通用串行总线调试功能自动关闭事件触发,则按照该通用串行总线调试功能自动关闭事件的描述信息对应的处理逻辑,自动恢复移动终端与车载控制设备的数据传输,从而实现了数据传输的自动恢复,保证了移动终端与车载控制设备之间的数据连续传输的稳定性和连续性,可提高司机驾驶的安全性。In the embodiment of the present invention, when a preset task is performed, if a data transmission interruption event between the mobile terminal and the vehicle-mounted control device is monitored, and if the data transmission interruption event is triggered by the automatic shutdown event of the universal serial bus debugging function, the The universal serial bus debugging function automatically closes the processing logic corresponding to the description information of the event, and automatically restores the data transmission between the mobile terminal and the vehicle-mounted control device, thereby realizing the automatic recovery of data transmission and ensuring the communication between the mobile terminal and the vehicle-mounted control device. The stability and continuity of continuous data transmission can improve the driving safety of drivers.
请参阅图4,图4是本发明一实施例提供的移动终端的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分。图4示例的移动终端可以是前述图2所示实施例提供的数据传输控制方法的执行主体。图4示例的移动终端,主要包括:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown. The mobile terminal exemplified in FIG. 4 may be the executive body of the data transmission control method provided by the embodiment shown in FIG. 2 . The mobile terminal of the example in Fig. 4 mainly includes:
判断模块401,用于在执行预设任务时,若监听到该移动终端与车载控制设备的数据传输中断事件,则判断该数据传输中断事件是否由通用串行总线调试功能自动关闭事件触发;The judging module 401 is configured to judge whether the data transmission interruption event is triggered by the automatic shutdown event of the universal serial bus debugging function if the data transmission interruption event of the mobile terminal and the vehicle-mounted control device is monitored when the preset task is performed;
分析模块402,用于若是由该通用串行总线调试功能自动关闭事件触发,则分析系统日志,得到该通用串行总线调试功能自动关闭事件的描述信息;An analysis module 402, configured to analyze a system log if triggered by the USB debugging function automatic shutdown event, to obtain description information of the USB debugging function automatic shutdown event;
处理模块403,用于获取与该描述信息对应的处理逻辑,并按照该处理逻辑,恢复该移动终端与该车载控制设备的数据传输。The processing module 403 is configured to acquire processing logic corresponding to the description information, and restore data transmission between the mobile terminal and the vehicle-mounted control device according to the processing logic.
具体的,判断模块401可通过预设的事件监听器对移动终端与车载控制设备的数据传输中断事件进行监听,并当通过该事件监听器监听到移动终端与车载控制设备的数据传输中断事件时,获取该数据传输中断事件发生时的系统日志,并对该系统日志中记录的该数据传输中断事件发生时,预设任务的执行程序的工作状态、对外部的调用封装以及业务异常等信息进行分析,得到数据传输中断事件的触发原因。可选的,数据传输中断事件的触发原因也可从预设任务的执行程序得到,如由该执行程序上报的信息中得到。Specifically, the judgment module 401 can monitor the data transmission interruption event of the mobile terminal and the vehicle-mounted control device through a preset event listener, and when the data transmission interruption event of the mobile terminal and the vehicle-mounted control device is monitored through the event listener , obtain the system log when the data transmission interruption event occurs, and perform information such as the working status of the execution program of the preset task, the encapsulation of external calls, and business exceptions when the data transmission interruption event recorded in the system log occurs. Analyze and obtain the triggering cause of the data transmission interruption event. Optionally, the triggering cause of the data transmission interruption event can also be obtained from the execution program of the preset task, such as the information reported by the execution program.
本实施例未尽之细节,请参阅前述图2所示实施例的描述,此处不再赘述。For details that are not exhausted in this embodiment, please refer to the description of the embodiment shown in FIG. 2 above, which will not be repeated here.
需要说明的是,以上图4示例的移动终端的实施方式中,各功能模块的划分仅是举例说明,实际应用中可以根据需要,例如相应硬件的配置要求或者软件的实现的便利考虑,而将上述功能分配由不同的功能模块完成,即将移动终端的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。而且,实际应用中,本实施例中的相应的功能模块可以是由相应的硬件实现,也可以由相应的硬件执行相应的软件完成。本说明书提供的各个实施例都可应用上述描述原则,以下不再赘述。It should be noted that, in the above embodiment of the mobile terminal illustrated in FIG. 4 , the division of each functional module is only an example, and in practical applications, the configuration requirements of corresponding hardware or the convenience of software implementation may be considered as needed. The above-mentioned function allocation is completed by different function modules, that is, the internal structure of the mobile terminal is divided into different function modules, so as to complete all or part of the functions described above. Moreover, in practical applications, the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be implemented by corresponding hardware executing corresponding software. The above description principles can be applied to each of the embodiments provided in this specification, which will not be repeated below.
本发明实施例中,通过在执行预设任务时,若监听到移动终端与车载控制设备的数据传输中断事件,若该数据传输中断事件是由通用串行总线调试功能自动关闭事件触发,则按照该通用串行总线调试功能自动关闭事件的描述信息对应的处理逻辑,自动恢复移动终端与车载控制设备的数据传输,从而实现了数据传输的自动恢复,保证了移动终端与车载控制设备之间的数据连续传输的稳定性和连续性,可提高司机驾驶的安全性。In the embodiment of the present invention, when a preset task is performed, if a data transmission interruption event between the mobile terminal and the vehicle-mounted control device is monitored, and if the data transmission interruption event is triggered by the automatic shutdown event of the universal serial bus debugging function, the The universal serial bus debugging function automatically closes the processing logic corresponding to the description information of the event, and automatically restores the data transmission between the mobile terminal and the vehicle-mounted control device, thereby realizing the automatic recovery of data transmission and ensuring the communication between the mobile terminal and the vehicle-mounted control device. The stability and continuity of continuous data transmission can improve the driving safety of drivers.
请参阅图5,本发明另一实施例提供的移动终端的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分。图5示例的移动终端可以是前述图2和图3所示实施例提供的数据传输控制方法的执行主体。本实施例中的移动终端,与图4所示实施例中的移动终端的不同之处主要在于:Please refer to FIG. 5 , which is a schematic structural diagram of a mobile terminal provided by another embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown. The mobile terminal exemplified in FIG. 5 may be the execution body of the data transmission control method provided by the embodiments shown in FIG. 2 and FIG. 3 . The difference between the mobile terminal in this embodiment and the mobile terminal in the embodiment shown in FIG. 4 is that:
进一步的,该描述信息包含该通用串行总线调试功能在预设自动关闭时间达到时自动关闭的含义,则处理模块403包括:Further, if the description information includes the meaning that the USB debugging function is automatically turned off when the preset automatic shutdown time is reached, the processing module 403 includes:
恢复子模块4031,用于打开该通用串行总线调试功能,恢复该移动终端与该车载控制设备的数据传输;Recovery sub-module 4031, used for enabling the debugging function of the universal serial bus, and recovering the data transmission between the mobile terminal and the vehicle-mounted control device;
调整子模块4032,用于延长该通用串行总线调试功能自动关闭周期的时长。The adjustment sub-module 4032 is used to extend the duration of the automatic shutdown period of the USB debugging function.
进一步的,调整子模块4032,具体用于根据当前执行的任务的类型,确定目标时长,并将该通用串行总线调试功能自动关闭周期的时长延长至该目标时长。Further, the adjustment sub-module 4032 is specifically configured to determine the target duration according to the type of the currently executed task, and extend the duration of the automatic shutdown period of the USB debugging function to the target duration.
进一步的,调整子模块4032,具体还用于当该当前执行的任务为导航任务时,获取到达目的地的剩余时长,并将该剩余时长确定为该目标时长。Further, the adjustment sub-module 4032 is specifically further configured to obtain the remaining duration of reaching the destination when the currently executed task is a navigation task, and determine the remaining duration as the target duration.
具体的,调整子模块4032从导航应用程序获取导航应用程序估算的达到目的地的剩余时长。或者,调整子模块4032从导航应用程序获取导航应用程序估算的达到目的地的剩余时长,将导航应用程序估算的达到目的地的剩余时长与预留时长相加后得到的时长,作为最终的剩余时长。然后将该最终的剩余时长确定为目标时长。其中,预留时长为预设时长,或者,也可根据导航应用程序规划的用时最长的导航路线的用时来确定。通过预留时长可以防止因为变更导航路线而导致目标时长小于实际导航时长,从而发生数据传输再次中断的情况。Specifically, the adjustment sub-module 4032 obtains the remaining time to reach the destination estimated by the navigation application from the navigation application. Alternatively, the adjustment sub-module 4032 obtains the remaining time to reach the destination estimated by the navigation application from the navigation application, and adds the remaining time to the destination estimated by the navigation application and the reserved time as the final remaining time. duration. The final remaining duration is then determined as the target duration. The reserved duration is a preset duration, or it can also be determined according to the duration of the longest navigation route planned by the navigation application. By reserving the duration, it is possible to prevent the target duration from being shorter than the actual navigation duration due to the change of the navigation route, thereby preventing the data transmission from being interrupted again.
进一步的,调整子模块4032,具体还用于当该当前执行的任务为多媒体播放时,若播放类型为循环播放或播放的是电台广播,则将该目标时长确定为无限期,若该播放类型为非循环播放,则将播放完最后一个多媒体文件的剩余时长确定为该目标时长。Further, the adjustment sub-module 4032 is specifically also used for when the currently executed task is multimedia playback, if the playback type is a loop playback or a radio broadcast, then the target duration is determined to be indefinite, if the playback type is For non-loop playback, the remaining duration after playing the last multimedia file is determined as the target duration.
进一步的,描述信息包含该通用串行总线调试功能因系统故障关闭的含义,则处理模块403,还用于打开通用串行总线调试功能,恢复移动终端与该车载控制设备的数据传输。Further, if the description information includes the meaning that the USB debugging function is turned off due to a system failure, the processing module 403 is further configured to enable the USB debugging function to restore data transmission between the mobile terminal and the vehicle-mounted control device.
进一步的,移动终端还包括:Further, the mobile terminal also includes:
输出模块404,用于若不是由该通用串行总线调试功能自动关闭事件触发,则输出提示信息,该提示信息用于提示该移动终端与该车载控制设备的数据传输中断。The output module 404 is used for outputting prompt information if it is not triggered by the automatic shutdown event of the USB debugging function, where the prompt information is used to prompt that the data transmission between the mobile terminal and the in-vehicle control device is interrupted.
具体的,输出模块404可以通过输出文字提示信息。较佳的,还可以在输出文字提示信息的同时输出提示语音,以便用户更快了解预设任务的执行状态,从而尽快做出回应,如:进行插拔USB数据线的操作。Specifically, the output module 404 can output text prompt information. Preferably, the prompt voice can also be output when the text prompt information is output, so that the user can quickly understand the execution state of the preset task and respond as soon as possible, such as: plugging and unplugging the USB data cable.
本实施例未尽之细节,请参阅前述图2至图4所示实施例的描述,此处不再赘述。For details that are not exhausted in this embodiment, please refer to the descriptions of the embodiments shown in FIG. 2 to FIG. 4 , which will not be repeated here.
本发明实施例中,通过在执行预设任务时,若监听到移动终端与车载控制设备的数据传输中断事件,若该数据传输中断事件是由通用串行总线调试功能自动关闭事件触发,则按照该通用串行总线调试功能自动关闭事件的描述信息对应的处理逻辑,自动恢复移动终端与车载控制设备的数据传输,从而实现了数据传输的自动恢复,保证了移动终端与车载控制设备之间的数据连续传输的稳定性和连续性,可提高司机驾驶的安全性。In the embodiment of the present invention, when a preset task is performed, if a data transmission interruption event between the mobile terminal and the vehicle-mounted control device is monitored, and if the data transmission interruption event is triggered by the automatic shutdown event of the universal serial bus debugging function, the The universal serial bus debugging function automatically closes the processing logic corresponding to the description information of the event, and automatically restores the data transmission between the mobile terminal and the vehicle-mounted control device, thereby realizing the automatic recovery of data transmission and ensuring the communication between the mobile terminal and the vehicle-mounted control device. The stability and continuity of continuous data transmission can improve the driving safety of drivers.
请参阅图6,图6为本发明一实施例提供的移动终端的硬件结构示意图。Please refer to FIG. 6 , which is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
本实施例中所描述的移动终端,包括:The mobile terminal described in this embodiment includes:
存储器51、处理器52及存储在存储器51上并可在处理器52上运行的计算机程序,处理器52执行该计算机程序时,实现前述图2和图3所示实施例中描述的数据传输控制方法。The memory 51, the processor 52 and the computer program stored on the memory 51 and running on the processor 52, when the processor 52 executes the computer program, realizes the data transmission control described in the embodiments shown in the aforementioned FIG. 2 and FIG. 3 method.
进一步的,该移动终端还包括:Further, the mobile terminal also includes:
至少一个输入设备53以及至少一个输出设备54。At least one input device 53 and at least one output device 54 .
上述存储器51、处理器52、输入设备53以及输出设备54,通过总线56连接。The above-mentioned memory 51 , processor 52 , input device 53 and output device 54 are connected through a bus 56 .
其中,输入设备53具体可为摄像头、触控面板、物理按键或者鼠标等等。输出设备54具体可为显示屏。The input device 53 may specifically be a camera, a touch panel, a physical button, a mouse, or the like. The output device 54 may specifically be a display screen.
存储器51可以是高速随机存取记忆体(RAM,Random Access Memory)存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。存储器51用于存储一组可执行程序代码,处理器52与存储器51耦合。The memory 51 may be a high-speed random access memory (RAM, Random Access Memory) memory, or may be a non-volatile memory (non-volatile memory), such as a disk memory. Memory 51 is used to store a set of executable program codes, and processor 52 is coupled to memory 51 .
进一步的,本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质可以是设置于上述各实施例中的移动终端中,该计算机可读存储介质可以是前述图6所示实施例中的存储器。该计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现前述图2和图3所示实施例中描述的数据传输控制方法。进一步的,该计算机可存储介质还可以是U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Further, an embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium may be provided in the mobile terminal in the above-mentioned embodiments, and the computer-readable storage medium may be the one shown in FIG. 6 above. memory in the example embodiment. A computer program is stored on the computer-readable storage medium, and when the program is executed by the processor, the data transmission control method described in the embodiments shown in FIG. 2 and FIG. 3 is implemented. Further, the computer-storable medium may also be a USB flash drive, a removable hard disk, a read-only memory (ROM, Read-Only Memory), a RAM, a magnetic disk, or an optical disk and other media that can store program codes.
在本申请所提供的多个实施例中,应该理解到,所揭露的移动终端和方法,可以通过其它的方式实现。例如,以上所描述的实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信链接可以是通过一些接口,模块的间接耦合或通信链接,可以是电性,机械或其它的形式。In the multiple embodiments provided in this application, it should be understood that the disclosed mobile terminal and method may be implemented in other manners. For example, the above-described embodiments are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other divisions. For example, multiple modules or components may be combined or Integration into another system, or some features can be ignored, or not implemented. On the other hand, the mutual coupling or direct coupling or communication link shown or discussed may be through some interfaces, and the indirect coupling or communication link of modules may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network modules. You can choose part or all modules to achieve the purpose of this embodiment according to actual needs.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本发明所必须的。It should be noted that, for the convenience of description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. As in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily all necessary to the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
以上为对本发明所提供的数据传输控制方法、移动终端及计算机可读存储介质的描述,对于本领域的技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。The above is a description of the data transmission control method, mobile terminal and computer-readable storage medium provided by the present invention. For those skilled in the art, according to the idea of the embodiment of the present invention, there will be changes in the specific implementation and application scope. In conclusion, the contents of this specification should not be construed as limiting the present invention.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710965772.2A CN107766264B (en) | 2017-10-17 | 2017-10-17 | Data transfer control method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710965772.2A CN107766264B (en) | 2017-10-17 | 2017-10-17 | Data transfer control method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107766264A CN107766264A (en) | 2018-03-06 |
CN107766264B true CN107766264B (en) | 2019-09-17 |
Family
ID=61269654
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710965772.2A Expired - Fee Related CN107766264B (en) | 2017-10-17 | 2017-10-17 | Data transfer control method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107766264B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115396292B (en) * | 2022-07-12 | 2023-11-10 | 重庆金康赛力斯新能源汽车设计院有限公司 | Vehicle-mounted network recovery method, system, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103002155A (en) * | 2012-12-13 | 2013-03-27 | 江苏诚迈科技有限公司 | Method for deploying Android mobile phone by using vehicle-mounted terminal |
CN103401997A (en) * | 2013-07-15 | 2013-11-20 | 东软集团股份有限公司 | Data transmission method and system of vehicle-mounted terminal and intelligent mobile phone under USB (universal serial bus) connection |
CN104834612A (en) * | 2015-04-20 | 2015-08-12 | 杭州魔品科技有限公司 | Method for enabling USB debugging mode in Android mobile phone |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5999185B2 (en) * | 2012-08-22 | 2016-09-28 | 富士通株式会社 | Authentication method and authentication program |
-
2017
- 2017-10-17 CN CN201710965772.2A patent/CN107766264B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103002155A (en) * | 2012-12-13 | 2013-03-27 | 江苏诚迈科技有限公司 | Method for deploying Android mobile phone by using vehicle-mounted terminal |
CN103401997A (en) * | 2013-07-15 | 2013-11-20 | 东软集团股份有限公司 | Data transmission method and system of vehicle-mounted terminal and intelligent mobile phone under USB (universal serial bus) connection |
CN104834612A (en) * | 2015-04-20 | 2015-08-12 | 杭州魔品科技有限公司 | Method for enabling USB debugging mode in Android mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN107766264A (en) | 2018-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111552274B (en) | Automotive diagnostic method, apparatus, apparatus, system, and diagnostic connection device | |
US20150067536A1 (en) | Gesture-based Content Sharing Between Devices | |
US10296284B2 (en) | Audio processing device and audio processing method | |
US9293108B2 (en) | Transmission apparatus and system of using the same | |
CN105007082A (en) | A data compression method, device and terminal | |
CN107509051A (en) | Long-range control method, device, terminal and computer-readable recording medium | |
US20170163787A1 (en) | Method and electronic device for upgrading or downgrading system | |
WO2020221299A1 (en) | Instant communication method and device, and computer-readable storage medium | |
CN106776908B (en) | Data cleaning method and device and terminal | |
CN104461778A (en) | Method, system and terminal for restoring factory settings | |
CN108052407A (en) | A kind of application crash means of defence, device, equipment and storage medium | |
CN106126377A (en) | The method and device of system start-up | |
CN104951348B (en) | A kind of interruptable recovery upgrade method and device | |
CN105635133A (en) | Multimedia content transmission method and terminal | |
CN107766264B (en) | Data transfer control method, mobile terminal and computer readable storage medium | |
RU2679253C1 (en) | Method, device and terminal for processing fingerprint event | |
CN115865852A (en) | Method, device and electronic device for processing instant messaging session information | |
US20170168796A1 (en) | Method and electronic apparatus for transferring application program from pc to mobile apparatus | |
WO2022160612A1 (en) | Interaction method with vehicle-mounted system of vehicle, storage medium, and mobile terminal | |
CN119166555A (en) | Method, device, equipment and storage medium for obtaining device information of access device | |
CN104778101B (en) | Mobile terminal system backup-and-restore method, mobile terminal, computer and system | |
WO2022171058A1 (en) | Application program processing method and apparatus, and electronic device | |
CN116610392A (en) | HDMI screen control method, device, computer equipment and storage medium | |
CN110209461B (en) | Interface display method and device | |
CN109976812B (en) | Vehicle starting method and system, vehicle and device with storage function |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190917 |