WO2015117332A1 - Method and device for enabling interface in usb debugging mode, and terminal - Google Patents

Method and device for enabling interface in usb debugging mode, and terminal Download PDF

Info

Publication number
WO2015117332A1
WO2015117332A1 PCT/CN2014/087152 CN2014087152W WO2015117332A1 WO 2015117332 A1 WO2015117332 A1 WO 2015117332A1 CN 2014087152 W CN2014087152 W CN 2014087152W WO 2015117332 A1 WO2015117332 A1 WO 2015117332A1
Authority
WO
WIPO (PCT)
Prior art keywords
authentication
debugging mode
usb debugging
usb
terminal
Prior art date
Application number
PCT/CN2014/087152
Other languages
French (fr)
Chinese (zh)
Inventor
李军
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015117332A1 publication Critical patent/WO2015117332A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/629Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a terminal for starting a USB debug mode interface.
  • the current Android operating system smart terminals such as mobile phones
  • the security guard installed on the computer will prompt the user to open the USB debugging mode in order to access the terminal and obtain browsing rights.
  • the USB debugging mode is turned on, the user often forgets to turn off the USB debugging mode after disconnecting the security guard. In this case, if the terminal is lost, although the power-on password is blocked, the non-terminal user can easily debug through the USB.
  • the mode accesses the terminal, thereby causing the leakage of the personal information of the terminal holder.
  • the embodiments of the present invention are directed to a method, a device, and a terminal for starting a USB debugging mode interface, which are used to solve the problem that the terminal in the prior art uses the USB debugging interface opened by the terminal to obtain information in the terminal, thereby causing the terminal to hold The problem of disclosure of personal information of the others.
  • the embodiment of the present invention provides a method for starting a USB debugging mode interface, where the method includes:
  • USB debugging mode After the USB debugging mode is enabled, the authentication is judged. After the authentication is passed, the USB debugging mode interface is started.
  • the step of presetting the authentication judgment for starting the USB debugging mode interface comprises:
  • USB debug mode After the USB debug mode is enabled, set the authentication judgment of the USB debug mode interface.
  • the type of the authentication judgment comprises: voice recognition, combined key recognition, motion gesture recognition, fingerprint recognition or face recognition.
  • the method further comprises: after the authentication error, prompting to re-authenticate multiple times, and after multiple authentication errors, the USB debugging mode is turned off.
  • Another aspect of the embodiment of the present invention further provides a device for starting a USB debug mode interface, the device comprising:
  • Setting the unit set to: set the authentication judgment for starting the USB debugging mode interface;
  • the authentication unit is set to: after the USB debugging mode is enabled, the authentication is judged, and after the authentication is passed, the USB debugging mode interface is started.
  • the setting unit is configured to: after the USB debugging mode is turned on, set an authentication judgment for starting the USB debugging mode interface.
  • the type of the authentication judgment comprises: voice recognition, combined key recognition, motion gesture recognition, fingerprint recognition or face recognition.
  • the device further comprises:
  • the authentication unit is further configured to: after the authentication error, multiple prompts to re-authenticate, and after multiple authentication errors, the USB debugging mode is turned off.
  • a further aspect of the embodiments of the present invention provides a terminal, where the terminal includes any one of the foregoing devices.
  • the authentication judgment is performed, and after the authentication is passed, the USB debugging mode interface is started, thereby effectively solving the problem that the other party in the prior art uses the USB debugging mode opened by the terminal to acquire the terminal.
  • the information in the message causes the disclosure of the personal information of the terminal holder.
  • FIG. 1 is a flowchart of a method for starting a USB debugging mode interface of a terminal according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for starting a USB debugging mode interface of a terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for starting a USB debugging mode interface of a terminal according to an embodiment of the present invention.
  • the main purpose of the embodiment of the present invention is to provide a USB debugging mode interface startup method and device terminal.
  • USB universal serial bus
  • the authentication judgment is performed, and after the authentication is passed, Restart the USB debugging mode interface to ensure that no matter whether the default USB debugging mode of the terminal is enabled or disabled, no one can log in to the terminal system, thereby effectively preventing others from entering the terminal system through the USB debugging mode enabled by the terminal, and acquiring the terminal system.
  • FIG. 1 is a flowchart of a method for implementing a USB debugging mode interface of a terminal according to an embodiment of the present invention.
  • the startup of the USB debugging mode interface of the terminal according to the embodiment of the present invention is not limited to the application only in the mobile phone.
  • the method can also be applied to other terminals that use the Android operating system, such as a notebook, a computer, and the like.
  • the present invention will be mainly described by taking a mobile phone as an example.
  • a method for implementing a terminal USB debugging mode interface startup according to an embodiment of the present invention, as shown in FIG. 1, includes:
  • the step specifically includes: after the USB debugging mode is enabled, setting an authentication judgment for starting the USB debugging mode interface;
  • the user can access the terminal through the security guard application software on the server, and perform corresponding operations, that is, access the terminal through the Android Debug Bridge (adb) command.
  • the security guard application software on the server
  • perform corresponding operations that is, access the terminal through the Android Debug Bridge (adb) command.
  • the step may also be: after the USB debugging mode is enabled, the authentication judgment is performed. After the authentication error occurs, the user is prompted to re-authenticate multiple times. After multiple authentication errors, the USB debugging mode is turned off, and if the authentication is passed, Then start the USB debug mode interface.
  • the number of re-authentication can be arbitrarily set according to actual needs. By re-authentication, it can effectively avoid the problem that the terminal USB debugging mode interface cannot be opened due to improper operation of the user (for example, the wrong password is input).
  • the time interval for each authentication prompt is set to 2 minutes, and the number of authentication prompts is up to 10 times within one day, thereby more effectively preventing others from stealing the personal information of the terminal holder.
  • the types of authentication judgments in the embodiments of the present invention include: voice recognition, combined key recognition, motion gesture recognition, fingerprint recognition or face recognition, and the like.
  • the combination key recognition is specifically: encrypting by a combination of keys on the keyboard; for example, encrypting by "up, down, up, down, up and down” in the order of upper and lower combinations of side keys;
  • the motion gesture recognition is specifically: setting a waving trajectory of a specific gesture, such as: a finger swiping the trajectory letter D in the air, and the like.
  • the step of setting the authentication content specifically includes:
  • the authentication setting option is popped up, and the security setting of the USB debugging mode interface is enabled;
  • FIG. 2 is a flowchart of a method for starting a USB debugging mode interface of a terminal according to an embodiment of the present invention.
  • the steps for enabling a USB debugging mode interface include:
  • Step S201 The terminal is powered on, and enters the unlocking interface or the main interface, and may be an unlocking interface or a main interface that has been unlocked;
  • Step S202 inserting a USB data line, prompting to open the USB debugging mode. If the default USB debugging mode function is turned on, inserting a USB data line, an android robot prompt icon appears at the top of the terminal desktop, indicating that the default USB debugging mode is enabled, but The communication transmission function is not turned on;
  • Step S203 the system prompts the user to require authentication through a specific icon or menu, the user inputs the preset authentication content, if the authentication determination result is correct, proceeds to step S205, otherwise, proceeds to step S204;
  • Step S204 the system prompts to request to output again, if the authentication determination result is correct, proceeds to step S204, otherwise, proceeds to step S206;
  • Step S205 entering a USB debugging mode interface startup process
  • Step S206 The terminal automatically turns off the USB debugging mode.
  • the terminal is powered on and enters the main interface
  • the android robot prompt icon will appear at the top of the mobile phone desktop, indicating that the default USB debugging mode is enabled, but the communication transmission function of the USB debugging mode interface is not open in this state. ;
  • the state of the android robot icon is used to distinguish the state; the example uses a green icon to indicate that the usb debugging mode is turned on, but the communication function is temporarily turned off, and authentication is required to be enabled;
  • the user inputs the preset authentication content, and uses the side volume button to input: “up and down up and down up and down”;
  • the authentication result is correct, enter the USB debugging mode interface startup process, the android robot icon turns gray and white, indicating that the USB debugging mode port communication function is turned on, and the server side security guard software prompt can be connected to the terminal;
  • the android robot icon turns into a yellow flashing icon, indicating that the output is required to be output again. After determining the error several times, the mobile phone automatically turns off the USB debugging mode;
  • the method of the embodiment of the invention can effectively control the opening of the USB debugging mode interface, thereby ensuring user information security. Especially after the user's mobile phone is lost, if the USB debugging mode is turned on, other people have no way to obtain information through the open USB debugging mode without unlocking, thereby effectively preventing the data running in the mobile phone system from being stolen and protected. Mobile phone holders' information security.
  • the embodiment of the present invention further provides a device for starting a USB debugging mode interface of the terminal
  • FIG. 3 is a schematic structural diagram of an apparatus for starting a USB debugging mode interface of the terminal according to an embodiment of the present invention, and FIG. 3 only shows some modules of the terminal, which are convenient for description.
  • the terminal of the present invention may be a mobile phone, or may be another terminal that can be applied to the Android system.
  • the device according to the present invention will be described in detail below by taking a mobile phone as an example.
  • the terminal of the present invention may further include other functional modules that should be provided when the mobile phone is used, such as a communication module, an operation module, and the like.
  • the device includes a setting unit 31 and an authentication unit 32 coupled to each other;
  • the setting unit 31 is configured to set an authentication judgment for starting the USB debugging mode interface
  • the authentication unit 32 is configured to perform an authentication judgment after the USB debugging mode is enabled. After the authentication is passed, the USB debugging mode interface is started.
  • the setting unit 31 of the embodiment of the present invention is specifically configured to: after the USB debugging mode is enabled, set an authentication judgment for starting the USB debugging mode interface;
  • the authentication unit 32 is further configured to: after the authentication error, multiple times prompting to re-authenticate, and after multiple authentication errors, the USB debugging mode is turned off, and after the authentication is passed, the USB debugging mode interface is started.
  • the types of authentication judgments in the embodiments of the present invention include: voice recognition, combined key recognition, motion gesture recognition, fingerprint recognition or face recognition, and the like.
  • the combination key recognition is specifically: encrypting by a combination of keys on the keyboard; for example, encrypting by "up, down, up, down, up and down” in the order of upper and lower combinations of side keys;
  • the gesture recognition is specifically: a specific trajectory, such as: the air trajectory letter D and so on.
  • the content of the device in the embodiment of the present invention can be understood by referring to related content in the method part, and details are not described herein again.
  • the embodiment of the present invention further provides a terminal, and the terminal includes any one of the foregoing devices.
  • the terminal includes any one of the foregoing devices.
  • the authentication judgment is performed. After the authentication is passed, the USB debugging mode interface is started, thereby ensuring that no one can log in to the terminal system regardless of whether the default USB debugging mode of the terminal is enabled or disabled. Therefore, the USB debugging mode opened by the terminal is effectively prevented from entering the terminal system, and the information in the terminal system is acquired, which causes the leakage of the personal information of the terminal holder.

Abstract

A method and device for enabling an interface in a USB debugging mode, and a terminal. The method comprises: pre-setting an authentication judgement to enable an interface in a USB debugging mode, conducting the authentication judgement after the USB debugging mode is enabled, and enabling the interface in the USB debugging mode after the authentication has been passed. By means of the embodiments of the present invention, an authentication judgement is conducted before a function of an interface in a USB debugging mode is enabled, and the interface in a USB debugging mode is enabled again after the authentication has been passed, thereby effectively solving the problem of the leakage of personal information about a terminal holder due to the fact that the information in a terminal is acquired by other persons using the USB debugging mode enabled by the terminal in the prior art.

Description

一种USB调试模式接口启动的方法、装置及终端Method, device and terminal for starting USB debugging mode interface 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种USB调试模式接口启动的方法、装置及终端。The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a terminal for starting a USB debug mode interface.
背景技术Background technique
随着通讯技术的迅速发展,手机等终端在日常生活中扮演的角色越来越重要,其信息的安全性也受到人们越来越多的重视。当前的安卓操作系统的智能终端,如手机,在市场上存在很多第三方的安全卫士应用软件,如360安全卫士和91助手等。当终端接入电脑时,安装于电脑上的安全卫士会提示用户打开USB调试模式,以便接入终端,获得浏览权限。USB调试模式开启后,用户经常会在断开安全卫士后,忘记关闭USB调试模式,在这种情况下,如果终端丢失,尽管有开机密码进行阻挡,但是非终端用户也可以轻易的通过USB调试模式访问终端,从而造成终端持有者的个人信息的泄露。With the rapid development of communication technology, the role of mobile phones and other terminals in daily life is becoming more and more important, and the security of information is also receiving more and more attention. The current Android operating system smart terminals, such as mobile phones, have many third-party security guard application software on the market, such as 360 security guards and 91 assistants. When the terminal is connected to the computer, the security guard installed on the computer will prompt the user to open the USB debugging mode in order to access the terminal and obtain browsing rights. After the USB debugging mode is turned on, the user often forgets to turn off the USB debugging mode after disconnecting the security guard. In this case, if the terminal is lost, although the power-on password is blocked, the non-terminal user can easily debug through the USB. The mode accesses the terminal, thereby causing the leakage of the personal information of the terminal holder.
发明内容Summary of the invention
鉴于上述的分析,本发明实施例旨在提供一种USB调试模式接口启动的方法、装置及终端,用以解决现有技术中他人利用终端开启的USB调试接口获取终端中的信息,造成终端持有者的个人信息的泄露的问题。In view of the above analysis, the embodiments of the present invention are directed to a method, a device, and a terminal for starting a USB debugging mode interface, which are used to solve the problem that the terminal in the prior art uses the USB debugging interface opened by the terminal to obtain information in the terminal, thereby causing the terminal to hold The problem of disclosure of personal information of the others.
为解决上述问题,本发明实施例主要是通过以下技术方案实现的:本发明实施例一方面提供了一种USB调试模式接口启动的方法,该方法包括:To solve the above problem, the embodiment of the present invention is mainly implemented by the following technical solutions: The embodiment of the present invention provides a method for starting a USB debugging mode interface, where the method includes:
预设针对启动USB调试模式接口的鉴权判断;Presetting the authentication judgment for starting the USB debugging mode interface;
开启USB调试模式后,进行鉴权判断,鉴权通过后,启动USB调试模式接口。After the USB debugging mode is enabled, the authentication is judged. After the authentication is passed, the USB debugging mode interface is started.
优选地,预设针对启动USB调试模式接口的鉴权判断的步骤包括:Preferably, the step of presetting the authentication judgment for starting the USB debugging mode interface comprises:
开启USB调试模式后,设置启动USB调试模式接口的鉴权判断。 After the USB debug mode is enabled, set the authentication judgment of the USB debug mode interface.
优选地,所述鉴权判断的类型包括:语音识别、组合按键识别、动作手势识别、指纹识别或人脸识别。Preferably, the type of the authentication judgment comprises: voice recognition, combined key recognition, motion gesture recognition, fingerprint recognition or face recognition.
优选地,该方法还包括:鉴权错误后,多次提示重新进行鉴权,多次鉴权均错误后,关闭USB调试模式。Preferably, the method further comprises: after the authentication error, prompting to re-authenticate multiple times, and after multiple authentication errors, the USB debugging mode is turned off.
本发明实施例另一方面还提供了一种USB调试模式接口启动的装置,该装置包括:Another aspect of the embodiment of the present invention further provides a device for starting a USB debug mode interface, the device comprising:
设置单元,设置为:设置针对启动USB调试模式接口的鉴权判断;Setting the unit, set to: set the authentication judgment for starting the USB debugging mode interface;
鉴权单元,设置为:开启USB调试模式后,进行鉴权判断,鉴权通过后,启动USB调试模式接口。The authentication unit is set to: after the USB debugging mode is enabled, the authentication is judged, and after the authentication is passed, the USB debugging mode interface is started.
优选地,所述设置单元设置为:开启USB调试模式后,设置针对启动USB调试模式接口的鉴权判断。Preferably, the setting unit is configured to: after the USB debugging mode is turned on, set an authentication judgment for starting the USB debugging mode interface.
优选地,所述鉴权判断的类型包括:语音识别、组合按键识别、动作手势识别、指纹识别或人脸识别。Preferably, the type of the authentication judgment comprises: voice recognition, combined key recognition, motion gesture recognition, fingerprint recognition or face recognition.
优选地,该装置还包括:Preferably, the device further comprises:
所述鉴权单元还设置为:鉴权错误后,多次提示重新进行鉴权,多次鉴权均错误后,关闭USB调试模式。The authentication unit is further configured to: after the authentication error, multiple prompts to re-authenticate, and after multiple authentication errors, the USB debugging mode is turned off.
本发明实施例再一方面还提供了一种终端,该终端包括上述任意一种所述的装置。A further aspect of the embodiments of the present invention provides a terminal, where the terminal includes any one of the foregoing devices.
本发明实施例有益效果如下:The beneficial effects of the embodiments of the present invention are as follows:
本发明实施例通过在开启USB调试模式接口功能前,进行鉴权判断,在鉴权通过后,再启动USB调试模式接口,从而有效解决了现有技术中他人利用终端开启的USB调试模式获取终端中的信息,造成终端持有者的个人信息的泄露的问题。 In the embodiment of the present invention, before the USB debugging mode interface function is enabled, the authentication judgment is performed, and after the authentication is passed, the USB debugging mode interface is started, thereby effectively solving the problem that the other party in the prior art uses the USB debugging mode opened by the terminal to acquire the terminal. The information in the message causes the disclosure of the personal information of the terminal holder.
本发明的其他特征和优点将在随后的说明书中阐述,并且部分的从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the invention will be set forth in the description in the description which follows. The objectives and other advantages of the invention may be realized and obtained by means of the structure particularly pointed in the appended claims.
附图概述BRIEF abstract
图1为本发明实施例的终端USB调试模式接口启动的方法的流程图;1 is a flowchart of a method for starting a USB debugging mode interface of a terminal according to an embodiment of the present invention;
图2为本发明实施例的另一种终端USB调试模式接口启动的方法的流程图;2 is a flowchart of another method for starting a USB debugging mode interface of a terminal according to an embodiment of the present invention;
图3为本发明实施例的终端USB调试模式接口启动的装置的结构示意图。FIG. 3 is a schematic structural diagram of an apparatus for starting a USB debugging mode interface of a terminal according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下面结合附图来具体描述本发明的优选实施例,其中,附图构成本申请一部分,并与本发明的实施例一起用于阐释本发明的原理。为了清楚和简化目的,当其可能使本发明的主题模糊不清时,将省略本文所描述的器件中已知功能和结构的详细具体说明。The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings, in which FIG. For the sake of clarity and simplicity, detailed descriptions of known functions and structures in the devices described herein will be omitted when they may obscure the subject matter of the present invention.
本发明实施例的主要目的是提供一种USB调试模式接口启动的方法、装置终端,通过在开启通用串行总线(Universal Serial Bus,USB)调试模式后,进行鉴权判断,鉴权通过后,再启动USB调试模式接口,保证了无论终端默认的USB调试模式是开启还是关闭,他人都不能登录终端系统,从而有效防止了他人通过终端开启的USB调试模式进入终端系统,获取到终端系统中的信息,造成终端持有者的个人信息的泄露的问题。下面就通过几个具体实施例对本发明的技术方案进行详细说明。 The main purpose of the embodiment of the present invention is to provide a USB debugging mode interface startup method and device terminal. After the universal serial bus (USB) debugging mode is enabled, the authentication judgment is performed, and after the authentication is passed, Restart the USB debugging mode interface to ensure that no matter whether the default USB debugging mode of the terminal is enabled or disabled, no one can log in to the terminal system, thereby effectively preventing others from entering the terminal system through the USB debugging mode enabled by the terminal, and acquiring the terminal system. Information that causes the disclosure of personal information of the terminal holder. The technical solutions of the present invention will be described in detail below through several specific embodiments.
根据本发明的一个实施例,图1是本发明实施例的实现终端USB调试模式接口启动的方法的流程图,本发明实施例所述的终端的USB调试模式接口的启动不仅仅限于应用在手机中,举例而言,该方法也可以应用在其他应用了安卓操作系统的终端中,如笔记本、电脑等终端。下文将主要以手机为例对本发明进行阐述。FIG. 1 is a flowchart of a method for implementing a USB debugging mode interface of a terminal according to an embodiment of the present invention. The startup of the USB debugging mode interface of the terminal according to the embodiment of the present invention is not limited to the application only in the mobile phone. For example, the method can also be applied to other terminals that use the Android operating system, such as a notebook, a computer, and the like. Hereinafter, the present invention will be mainly described by taking a mobile phone as an example.
本发明实施例提供的一种实现终端USB调试模式接口启动的方法,参见图1,包括:A method for implementing a terminal USB debugging mode interface startup according to an embodiment of the present invention, as shown in FIG. 1, includes:
S101、预设针对启动USB调试模式接口的鉴权判断;S101. Predetermine an authentication judgment for starting a USB debugging mode interface;
该步骤具体包括:开启USB调试模式后,设置针对启动USB调试模式接口的鉴权判断;The step specifically includes: after the USB debugging mode is enabled, setting an authentication judgment for starting the USB debugging mode interface;
S102、开启USB调试模式后,进行鉴权判断,鉴权通过后,启动USB调试模式接口。S102: After the USB debugging mode is enabled, the authentication judgment is performed, and after the authentication is passed, the USB debugging mode interface is started.
启动USB调试模式接口后,使用者可以通过服务器上的安全卫士应用软件访问终端,进行相应的操作,即通过安卓调试桥(Android Debug Bridge,adb)命令来访问终端。After the USB debug mode interface is enabled, the user can access the terminal through the security guard application software on the server, and perform corresponding operations, that is, access the terminal through the Android Debug Bridge (adb) command.
该步骤还可以为:开启USB调试模式后,进行鉴权判断,鉴权错误后,多次提示重新进行鉴权,多次鉴权均错误后,则关闭USB调试模式,如果鉴权通过后,则启动USB调试模式接口。重新鉴权的次数可以根据实际需要进行任意设定,通过重新鉴权可以有效避免由于使用者操作不当(如,输错了密码),而不能开启终端USB调试模式接口的问题。The step may also be: after the USB debugging mode is enabled, the authentication judgment is performed. After the authentication error occurs, the user is prompted to re-authenticate multiple times. After multiple authentication errors, the USB debugging mode is turned off, and if the authentication is passed, Then start the USB debug mode interface. The number of re-authentication can be arbitrarily set according to actual needs. By re-authentication, it can effectively avoid the problem that the terminal USB debugging mode interface cannot be opened due to improper operation of the user (for example, the wrong password is input).
当然本领域的技术人员也可以根据需要,设定鉴权提示的时间间隔,以及预定时间内鉴权提示的次数。Of course, those skilled in the art can also set the time interval of the authentication prompt and the number of times of the authentication prompt in the predetermined time according to the needs.
例如,设定每次鉴权提示的时间间隔为2分钟,在一天时间内,鉴权提示的次数最多为10次,从而更有效防止他人盗取终端持有者的个人信息。 For example, the time interval for each authentication prompt is set to 2 minutes, and the number of authentication prompts is up to 10 times within one day, thereby more effectively preventing others from stealing the personal information of the terminal holder.
本发明实施例的鉴权判断的类型包括:语音识别、组合按键识别、动作手势识别、指纹识别或人脸识别等等。The types of authentication judgments in the embodiments of the present invention include: voice recognition, combined key recognition, motion gesture recognition, fingerprint recognition or face recognition, and the like.
下面以几个具体的例子对本发明的鉴权方式进行详细的说明:The authentication method of the present invention will be described in detail below with a few specific examples:
组合按键识别具体为:通过键盘上的按键组合进行加密;例如通过侧键的上下组合的顺序“上下上下上上下”进行加密;The combination key recognition is specifically: encrypting by a combination of keys on the keyboard; for example, encrypting by "up, down, up, down, up and down" in the order of upper and lower combinations of side keys;
动作手势识别具体为:设定特定的手势的挥动轨迹,如:手指在空中划动轨迹字母D等等。The motion gesture recognition is specifically: setting a waving trajectory of a specific gesture, such as: a finger swiping the trajectory letter D in the air, and the like.
当然本领域的技术人员也可以根据实际需要进行其他的任意设定。Of course, those skilled in the art can also perform other arbitrary settings according to actual needs.
本发明实施例启动USB调试模式接口的流程包括设定鉴权内容的步骤和开启USB调试模式接口的步骤两部分:The process of starting the USB debugging mode interface in the embodiment of the present invention includes the steps of setting the authentication content and the steps of opening the USB debugging mode interface:
其中,设定鉴权内容的步骤具体包括:The step of setting the authentication content specifically includes:
用户进入设置菜单------开发者选项---勾选打开USB调试模式;User enters the setup menu ------ developer options --- tick to open the USB debug mode;
跳出确认选项,是否允许USB调试模式,点击确定;Jump out of the confirmation option, whether to allow USB debugging mode, click OK;
弹出鉴权设定选项,开启USB调试模式接口的安全设定;The authentication setting option is popped up, and the security setting of the USB debugging mode interface is enabled;
对所选的选项,设定相关的鉴权内容;Set the relevant authentication content for the selected option;
确定后退出。OK after exiting.
图2为本发明实施例的终端USB调试模式接口启动的方法的流程图,参见图2,开启USB调试模式接口的步骤具体包括:2 is a flowchart of a method for starting a USB debugging mode interface of a terminal according to an embodiment of the present invention. Referring to FIG. 2, the steps for enabling a USB debugging mode interface include:
步骤S201、终端上电开机,进入解锁界面或者主界面,可以是解锁界面或者已经解锁后的主界面;Step S201: The terminal is powered on, and enters the unlocking interface or the main interface, and may be an unlocking interface or a main interface that has been unlocked;
步骤S202、插入USB数据线,提示打开USB调试模式,如果默认USB调试模式功能是打开的,插入USB数据线,终端桌面顶部会出现android机器人提示图标,表示默认的USB调试模式是开启的,但通讯传输功能是未打开; Step S202, inserting a USB data line, prompting to open the USB debugging mode. If the default USB debugging mode function is turned on, inserting a USB data line, an android robot prompt icon appears at the top of the terminal desktop, indicating that the default USB debugging mode is enabled, but The communication transmission function is not turned on;
步骤S203、系统通过特定图标或者菜单提示用户需要鉴权,用户输入预设定的鉴权内容,如果鉴权判定结果正确,进入步骤S205,否则,进入步骤S204;Step S203, the system prompts the user to require authentication through a specific icon or menu, the user inputs the preset authentication content, if the authentication determination result is correct, proceeds to step S205, otherwise, proceeds to step S204;
步骤S204、系统提示要求再次输出,如果鉴权判定结果正确,进入步骤S204,否则,进入步骤S206;Step S204, the system prompts to request to output again, if the authentication determination result is correct, proceeds to step S204, otherwise, proceeds to step S206;
步骤S205、进入USB调试模式接口启动流程;Step S205, entering a USB debugging mode interface startup process;
步骤S206、终端自动关闭USB调试模式。Step S206: The terminal automatically turns off the USB debugging mode.
下面以一个具体的例子对本发明所述的方法进行详细的解释和说明:The method described in the present invention is explained and explained in detail below by a specific example:
终端上电开机进入主界面;The terminal is powered on and enters the main interface;
如果默认USB调试模式功能是打开的,插入USB数据线,手机桌面顶部会出现android机器人提示图标,表示默认的USB调试模式是开启的,但该状态下USB调试模式接口的通讯传输功能是未打开;If the default USB debugging mode function is enabled, insert the USB data cable, the android robot prompt icon will appear at the top of the mobile phone desktop, indicating that the default USB debugging mode is enabled, but the communication transmission function of the USB debugging mode interface is not open in this state. ;
通过android机器人图标的色彩做状态区分;示例采用绿色图标,表示usb调试模式打开,但通讯功能暂时关闭,需要鉴权才能开启;The state of the android robot icon is used to distinguish the state; the example uses a green icon to indicate that the usb debugging mode is turned on, but the communication function is temporarily turned off, and authentication is required to be enabled;
用户输入预设定的鉴权内容,采用侧音量按键输入:“上下上下上上下”;The user inputs the preset authentication content, and uses the side volume button to input: "up and down up and down up and down";
鉴权判定结果正确,进入USB调试模式接口启动流程,android机器人图标变成灰白色彩,表示USB调试模式端口通讯功能打开,服务器侧安全卫士软件提示可以连上终端;The authentication result is correct, enter the USB debugging mode interface startup process, the android robot icon turns gray and white, indicating that the USB debugging mode port communication function is turned on, and the server side security guard software prompt can be connected to the terminal;
鉴权判定结果错误,android机器人图标变成黄色闪动图标,表示要求再次输出,判定错误若干次后,手机自动关闭USB调试模式;If the result of the authentication judgment is wrong, the android robot icon turns into a yellow flashing icon, indicating that the output is required to be output again. After determining the error several times, the mobile phone automatically turns off the USB debugging mode;
采用本发明实施例所述方法可以有效的控制USB调试模式接口的开启,从而确保用户信息安全。尤其是在用户手机丢失后,如果USB调试模式打开的,其他人没有办法在未解锁的前提下,通过开启的USB调试模式获取信息,从而有效防止了手机系统中运行的数据被盗,保护了手机持有者的信息安全。 The method of the embodiment of the invention can effectively control the opening of the USB debugging mode interface, thereby ensuring user information security. Especially after the user's mobile phone is lost, if the USB debugging mode is turned on, other people have no way to obtain information through the open USB debugging mode without unlocking, thereby effectively preventing the data running in the mobile phone system from being stolen and protected. Mobile phone holders' information security.
本发明实施例还提供了一种终端USB调试模式接口启动的装置,图3为本发明实施例的终端USB调试模式接口启动的装置的结构示意图,图3仅显示终端的部分模块,以便于描述本发明实施例的装置,举例而言,本发明的终端可以是一个手机,也可以是其他可以应用安卓系统的终端,下文将主要以手机为例对本发明所述的装置进行详细的阐述。根据本发明的一个实施例,本发明的终端还可以包括手机使用时应具备的其他功能模块,如,通讯模块和操作模块等等。The embodiment of the present invention further provides a device for starting a USB debugging mode interface of the terminal, and FIG. 3 is a schematic structural diagram of an apparatus for starting a USB debugging mode interface of the terminal according to an embodiment of the present invention, and FIG. 3 only shows some modules of the terminal, which are convenient for description. For example, the terminal of the present invention may be a mobile phone, or may be another terminal that can be applied to the Android system. The device according to the present invention will be described in detail below by taking a mobile phone as an example. According to an embodiment of the present invention, the terminal of the present invention may further include other functional modules that should be provided when the mobile phone is used, such as a communication module, an operation module, and the like.
本发明实施例所述的装置包括相互耦合的设置单元31和鉴权单元32;The device according to the embodiment of the present invention includes a setting unit 31 and an authentication unit 32 coupled to each other;
设置单元31,用于设置针对启动USB调试模式接口的鉴权判断;The setting unit 31 is configured to set an authentication judgment for starting the USB debugging mode interface;
鉴权单元32,用于开启USB调试模式后,进行鉴权判断,鉴权通过后,启动USB调试模式接口。The authentication unit 32 is configured to perform an authentication judgment after the USB debugging mode is enabled. After the authentication is passed, the USB debugging mode interface is started.
本发明实施例的所述设置单元31具体用于,开启USB调试模式后,设置针对启动USB调试模式接口的鉴权判断;The setting unit 31 of the embodiment of the present invention is specifically configured to: after the USB debugging mode is enabled, set an authentication judgment for starting the USB debugging mode interface;
鉴权单元32还用于,鉴权错误后,多次提示重新进行鉴权,多次鉴权均错误后,关闭USB调试模式,鉴权通过后,启动USB调试模式接口。The authentication unit 32 is further configured to: after the authentication error, multiple times prompting to re-authenticate, and after multiple authentication errors, the USB debugging mode is turned off, and after the authentication is passed, the USB debugging mode interface is started.
本发明实施例的鉴权判断的类型包括:语音识别、组合按键识别、动作手势识别、指纹识别或人脸识别等等。The types of authentication judgments in the embodiments of the present invention include: voice recognition, combined key recognition, motion gesture recognition, fingerprint recognition or face recognition, and the like.
下面以几个具体的例子对本发明的鉴权方式进行说明:The authentication method of the present invention will be described below with a few specific examples:
组合按键识别具体为:通过键盘上的按键组合进行加密;例如通过侧键的上下组合的顺序“上下上下上上下”进行加密;The combination key recognition is specifically: encrypting by a combination of keys on the keyboard; for example, encrypting by "up, down, up, down, up and down" in the order of upper and lower combinations of side keys;
动作手势识别具体为:某个特定的挥动轨迹,如:空中轨迹字母D等等。The gesture recognition is specifically: a specific trajectory, such as: the air trajectory letter D and so on.
当然本领域的技术人员也可以根据实际需要进行其他的任意设定。Of course, those skilled in the art can also perform other arbitrary settings according to actual needs.
本发明实施例的装置中的内容可参考方法部分的相关内容进行理解,在此不再赘述。 The content of the device in the embodiment of the present invention can be understood by referring to related content in the method part, and details are not described herein again.
本发明实施例还提供了一种终端,该终端包括上述任意一种装置,具体内容参见以上相关说明,此处不再赘述。The embodiment of the present invention further provides a terminal, and the terminal includes any one of the foregoing devices. For details, refer to the related description above, and details are not described herein again.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求书的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.
工业实用性Industrial applicability
本发明实施例提供的终端USB调试模式接口启动的方法及装置,能够带来以下有益效果:The method and device for starting the USB debugging mode interface provided by the embodiment of the present invention can bring the following beneficial effects:
本发明实施例通过在开启USB调试模式后,进行鉴权判断,鉴权通过后,再启动USB调试模式接口,保证了无论终端默认的USB调试模式是开启还是关闭,他人都不能登录终端系统,从而有效防止了他人通过终端开启的USB调试模式,进入终端系统,获取到终端系统中的信息,造成终端持有者的个人信息的泄露的问题。 In the embodiment of the present invention, after the USB debugging mode is enabled, the authentication judgment is performed. After the authentication is passed, the USB debugging mode interface is started, thereby ensuring that no one can log in to the terminal system regardless of whether the default USB debugging mode of the terminal is enabled or disabled. Therefore, the USB debugging mode opened by the terminal is effectively prevented from entering the terminal system, and the information in the terminal system is acquired, which causes the leakage of the personal information of the terminal holder.

Claims (9)

  1. 一种USB调试模式接口启动的方法,包括:A USB debug mode interface startup method includes:
    预设针对启动USB调试模式接口的鉴权判断;Presetting the authentication judgment for starting the USB debugging mode interface;
    开启USB调试模式后,进行鉴权判断,鉴权通过后,启动USB调试模式接口。After the USB debugging mode is enabled, the authentication is judged. After the authentication is passed, the USB debugging mode interface is started.
  2. 根据权利要求1所述的方法,其中,预设针对启动USB调试模式接口的鉴权判断的步骤包括:The method of claim 1, wherein the step of presetting the authentication determination for initiating the USB debug mode interface comprises:
    开启USB调试模式后,设置启动USB调试模式接口的鉴权判断。After the USB debug mode is enabled, set the authentication judgment of the USB debug mode interface.
  3. 根据权利要求1或2所述的方法,其中,所述鉴权判断的类型包括:语音识别、组合按键识别、动作手势识别、指纹识别或人脸识别。The method according to claim 1 or 2, wherein the type of the authentication judgment comprises: voice recognition, combined key recognition, motion gesture recognition, fingerprint recognition or face recognition.
  4. 根据权利要求1或2所述的方法,还包括:鉴权错误后,多次提示重新进行鉴权,多次鉴权均错误后,关闭USB调试模式。The method according to claim 1 or 2, further comprising: after the authentication error, prompting to re-authenticate multiple times, and after multiple authentication errors, the USB debugging mode is turned off.
  5. 一种USB调试模式接口启动的装置,包括:A USB debug mode interface boot device includes:
    设置单元,设置为:设置针对启动USB调试模式接口的鉴权判断;Setting the unit, set to: set the authentication judgment for starting the USB debugging mode interface;
    鉴权单元,设置为:开启USB调试模式后,进行鉴权判断,鉴权通过后,启动USB调试模式接口。The authentication unit is set to: after the USB debugging mode is enabled, the authentication is judged, and after the authentication is passed, the USB debugging mode interface is started.
  6. 根据权利要求5所述的装置,其中,The device according to claim 5, wherein
    所述设置单元设置为:开启USB调试模式后,设置针对启动USB调试模式接口的鉴权判断。The setting unit is configured to: after the USB debugging mode is enabled, set an authentication judgment for starting the USB debugging mode interface.
  7. 根据权利要求5或6所述的装置,其中,所述鉴权判断的类型包括:语音识别、组合按键识别、动作手势识别、指纹识别或人脸识别。The apparatus according to claim 5 or 6, wherein the type of the authentication judgment comprises: voice recognition, combined key recognition, motion gesture recognition, fingerprint recognition or face recognition.
  8. 根据权利要求5或6所述的装置,还包括:The apparatus according to claim 5 or 6, further comprising:
    所述鉴权单元还设置为:鉴权错误后,多次提示重新进行鉴权,多次鉴权均错误后,关闭USB调试模式。The authentication unit is further configured to: after the authentication error, multiple prompts to re-authenticate, and after multiple authentication errors, the USB debugging mode is turned off.
  9. 一种终端,至少包括权利要求5到8中任意一项所述的装置。 A terminal comprising at least the apparatus of any one of claims 5 to 8.
PCT/CN2014/087152 2014-07-24 2014-09-23 Method and device for enabling interface in usb debugging mode, and terminal WO2015117332A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410354642.1A CN105279460A (en) 2014-07-24 2014-07-24 Method and device for starting USB (Universal Serial Bus) debugging mode interface, and terminal
CN201410354642.1 2014-07-24

Publications (1)

Publication Number Publication Date
WO2015117332A1 true WO2015117332A1 (en) 2015-08-13

Family

ID=53777163

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087152 WO2015117332A1 (en) 2014-07-24 2014-09-23 Method and device for enabling interface in usb debugging mode, and terminal

Country Status (2)

Country Link
CN (1) CN105279460A (en)
WO (1) WO2015117332A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105701373A (en) * 2015-12-28 2016-06-22 东软集团股份有限公司 ADB interface opening method and apparatus
CN108304738A (en) * 2018-01-04 2018-07-20 捷开通讯(深圳)有限公司 A kind of method, mobile terminal and the storage device of management USB debugging modes

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402876A (en) * 2016-05-18 2017-11-28 中兴通讯股份有限公司 A kind of method and terminal of startup ADB debugging
CN106055492A (en) * 2016-05-27 2016-10-26 维沃移动通信有限公司 Method for starting USB debugging mode, and mobile terminal
CN107798224A (en) * 2016-09-07 2018-03-13 中兴通讯股份有限公司 A kind of terminal control method and device, user terminal
CN108388402A (en) * 2018-01-31 2018-08-10 华勤通讯技术有限公司 USB debugs the operating method and electronic equipment of port
CN109101450A (en) * 2018-06-27 2018-12-28 努比亚技术有限公司 A kind of terminal control method, terminal and computer readable storage medium
CN110046514B (en) * 2019-04-12 2023-05-26 深圳Tcl新技术有限公司 Debug data protection method, device, server and storage medium
CN110928822B (en) * 2019-11-19 2022-04-08 广东欢太科技有限公司 Connection option display method and device and computer readable storage medium
CN110928467B (en) * 2019-11-19 2021-07-27 广东欢太科技有限公司 Connection option display method and device and computer readable storage medium
CN114169018B (en) * 2021-11-08 2022-07-05 广芯微电子(广州)股份有限公司 Circuit for preventing MCU embedded flash memory data leakage

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493867A (en) * 2008-01-25 2009-07-29 希姆通信息技术(上海)有限公司 Method and system for mutually transmitting shared data safely between mobile phone and computer
CN103218318A (en) * 2013-04-08 2013-07-24 浪潮集团有限公司 Encrypted mobile hard disk drive with high safety and use method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438056A (en) * 2011-11-08 2012-05-02 华为终端有限公司 Method for controlling non-touch device by using touch screen, touch device and handheld device
CN103324506A (en) * 2013-06-24 2013-09-25 上海天奕达电子科技有限公司 Method and mobile phone for controlling installation of Android applications
CN103440467B (en) * 2013-08-30 2016-06-15 广东欧珀移动通信有限公司 ADB is utilized to connect the method controlling mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493867A (en) * 2008-01-25 2009-07-29 希姆通信息技术(上海)有限公司 Method and system for mutually transmitting shared data safely between mobile phone and computer
CN103218318A (en) * 2013-04-08 2013-07-24 浪潮集团有限公司 Encrypted mobile hard disk drive with high safety and use method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105701373A (en) * 2015-12-28 2016-06-22 东软集团股份有限公司 ADB interface opening method and apparatus
CN105701373B (en) * 2015-12-28 2019-08-30 东软集团股份有限公司 The method and apparatus for opening ADB interface
CN108304738A (en) * 2018-01-04 2018-07-20 捷开通讯(深圳)有限公司 A kind of method, mobile terminal and the storage device of management USB debugging modes

Also Published As

Publication number Publication date
CN105279460A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
WO2015117332A1 (en) Method and device for enabling interface in usb debugging mode, and terminal
KR101654778B1 (en) Hardware-enforced access protection
US20150033364A1 (en) Method and Apparatus for the Protection of Application Software
WO2016106989A1 (en) Multi-system security authentication method, multi-system security authentication apparatus and terminal
US20150067829A1 (en) Electronic Device and Method for Unlocking Screen of Electronic Device
WO2017166689A1 (en) Privacy protection method and device
US9372981B2 (en) Electronic device and method for unlocking screen of electronic device
WO2017118315A1 (en) Security verification method and device for smart card application
WO2019101096A1 (en) Method and device for security verification and mobile terminal
US20140347161A1 (en) Authorizing system and method of portable electronic device
WO2018000509A1 (en) Safe operation method, operation device, and terminal
WO2019047148A1 (en) Password verification method, terminal, and computer readable storage medium
WO2016165245A1 (en) User interface control method and terminal
WO2016127448A1 (en) System switching method, system switching apparatus and terminal
CN103226680A (en) Shutdown protection method and device
CN108959868B (en) Computer starting method and device and computer
WO2017071498A1 (en) Identity authentication method and device
WO2017193517A1 (en) Decryption method and system for terminal
WO2017166359A1 (en) User domain access method, access device, and mobile terminal
WO2016180234A1 (en) Method and apparatus for building secure environment
CN104156653A (en) Application protection method and device of mobile terminal
JP2015041276A (en) Authentication method for terminal device, terminal device, and program
CN107154999B (en) Terminal and unlocking method and storage device based on environmental information
KR102248132B1 (en) Method, apparatus and program of log-in using biometric information
US11409853B2 (en) System and method for authenticating before waking an information handling system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14881753

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14881753

Country of ref document: EP

Kind code of ref document: A1