The invention discloses a USB connection port component, which includes a parent connection port and a common connection port suited to the parent connection port. The USB connection port component also includes a lock, a control module, and a detection element. The common connection port is made by inserting the connection port of the parent. Connecting to transmit data, the detection element detects that when the common connection port is pulled out from the mother connection port, the control module determines whether the pullout condition is currently satisfied, and the common connection end of the lock part control continues to be connected with the mother connection port when it is judged that the pull out condition is not satisfied. Connect the state. The invention also discloses a method and a host for self protection of USB connection port components. In the technology scheme, the USB connection port component is locked when the data is transmitted, unlocking and extracting after the data transmission is finished, the self protection of the USB connection port component is realized, and the security and practicality of the USB connection port component are improved. One
【技术实现步骤摘要】
USB连接端口组件及其自保护的方法以及主机
本专利技术涉及通用串行总线设备领域,尤其涉及一种USB连接端口组件及其自保护的方法以及主机。
技术介绍
通用串行总线(USB)是对接设备的串行总线标准,USB系统由主机和USB设备组成,一个主机可以连接多个USB设备,USB设备插入主机时,USB设备和主机上的正极信号线、负极信号线以及电源线相连接,进而实现数据传输;USB设备拔离主机时,USB设备和主机上的正极信号线、负极信号线以及电源线断开连接,停止数据传输。现有的USB设备拔离时,一般需要在主机上选择停用,先停止数据传输后,才能可以拔离。现有技术中的USB设备拔离操作比较繁琐,操作者经常会忘记在主机上选择停用,而是直接拔离USB设备,然而,若未在主机上选择停用即拔出USB设备,而USB设备正在拷贝数据时,可能会造成数据丢失,损坏USB设备或USB设备内的文件系统,还可能造成主机死机。因此,现需要提出一种具有自保护功能,在传输数据过程中禁止人为拔离的USB连接端口组件。上述内容仅用于辅助理解本专利技术的技术方案,并不代表承认上述内容是现有技术。
技术实现思路
本专利技术的主要目的在于提供一种USB连接端口组件及其自保护的方法以及主机,旨在通过在侦测到有所述公连接端口从所述母连接端口拔出事件,且判断到当前不满足拔出条件时,所述锁定件控制所述公连接端口与所母连接端口继续处于连接状态,解决了在数据传输过程中拔出所述公连接端口导致数据丢失,损坏USB设备或USB设备内的文件系统的技术问题。为实现上述目的,本专利技术提供一种USB连接端口组件,所述USB连接端口组件包括母连 ...
【技术保护点】
1.一种USB连接端口组件,其特征在于,所述USB连接端口组件包括母连接端口以及与
【技术特征摘要】
1.一种USB连接端口组件,其特征在于,所述USB连接端口组件包括母连接端口以及与所述母连接端口相适配的公连接端口,所述USB连接端口组件还包括锁定件、控制模块及检测元件,其中,所述公连接端口通过插入所述母连接端口的方式进行连接以传输数据,所述检测元件侦测到有所述公连接端口从所述母连接端口拔出事件时,所述控制模块判断当前是否满足拔出条件,在判断不满足拔出条件时,所述锁定件控制所述公连接端口与所述母连接端口继续处于连接状态。2.如权利要求1所述的USB连接端口组件,其特征在于,所述控制模块判断当前是否满足拔出条件具体为:所述控制模块判断当前是否正在进行数据传输。3.如权利要求1所述的USB连接端口组件,其特征在于,所述锁定件包括设置于所述母连接端口的锁定部、设置于所述公连接端口的固定部及驱动部,所述驱动部用于控制所述锁定部与所述固定部锁定或分离。4.如权利要求3所述的USB连接端口组件,其特征在于,所述锁定部为设置于所述母连接端口的卡合部,所述卡合部与所述固定部卡合锁定。5.如权利要求4所述的USB连接端口组件,其特征在于,所述母连接端口还包括侧壁以及设置有连接引脚的底壁,所述卡合部为设置于所述侧壁上的弹性触片,所述驱动部控制所述弹性触片朝向背离所述公连接端口的方向弹性形变形成卡槽;所述固定部为卡合固定于所述卡槽内的弹性件,所述弹性件在所述弹性触片的弹性恢复力作用下向背离所述弹性触片的方向变形,以使所述弹性件脱离所述卡槽。6.如权利要求5所述的USB连接端口组件,其特征在于,所述弹性件为凸设于所述公连接端口与所述弹性触片相对的侧...
【专利技术属性】
技术研发人员:罗双全,
申请(专利权)人:深圳TCL数字技术有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。