CN104408013B - A kind of control method and system of the connection of mobile device USB interface - Google Patents

A kind of control method and system of the connection of mobile device USB interface Download PDF

Info

Publication number
CN104408013B
CN104408013B CN201410781629.4A CN201410781629A CN104408013B CN 104408013 B CN104408013 B CN 104408013B CN 201410781629 A CN201410781629 A CN 201410781629A CN 104408013 B CN104408013 B CN 104408013B
Authority
CN
China
Prior art keywords
user
password
usb interface
imsi
cell
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.)
Active
Application number
CN201410781629.4A
Other languages
Chinese (zh)
Other versions
CN104408013A (en
Inventor
张广伟
李涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuanxin Information Technology Group Co.,Ltd.
Original Assignee
Beijing Yuanxin Science and Technology Co Ltd
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 Beijing Yuanxin Science and Technology Co Ltd filed Critical Beijing Yuanxin Science and Technology Co Ltd
Priority to CN201410781629.4A priority Critical patent/CN104408013B/en
Publication of CN104408013A publication Critical patent/CN104408013A/en
Application granted granted Critical
Publication of CN104408013B publication Critical patent/CN104408013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

This application discloses the control method and system of a kind of mobile device USB interface connection, when detecting that mobile device is connected by USB interface with miscellaneous equipment, user is prompted to input connection password, after detecting that connection password is correct, whether the IMSI for judging to include in SIM card in mobile device again and the IMSI stored before are consistent, and whether the current registration cell of SIM card is in the cell range stored before, and the IMSI that the IMSI included in SIM card is judged stores with before is consistent, and the current registration cell of SIM card in the cell range stored before when just trigger USB interface, otherwise, USB interface is controlled to close.As can be seen that the present invention judges to ensure the connection of USB interface safety with the technological means of SIM card two decision conditions of judgement using in the preceding increase connection password of USB interface connection.

Description

A kind of control method and system of the connection of mobile device USB interface
Technical field
The present invention relates to USB interface technical field, in particular, is related to a kind of control of mobile device USB interface connection Method and system processed.
Background technology
Mobile device (such as mobile phone) is generally provided with USB (Universal Serial Bus, USB) and connect Mouthful, the operating system that mobile device is on the one hand debugged for developer provides connectivity port, on the other hand facilitates user installation application Program.
Generally, limited by having certain authority during USB interface register system, to ensure operating system Safety.
But when occur some fortuitous events (such as mobile device loss), when causing the password of operating system to be cracked, The information that other people cans are spied upon in mobile device by USB interface, so as to cause the information leakage of mobile device user, it is User brings potential safety hazard.
The content of the invention
In view of this, the present invention provides a kind of control method and system of the connection of mobile device USB interface, is being moved with realizing When the password of dynamic device operating system is cracked, other staff can not pass through the information in USB interface pry mobile device.
A kind of control method of mobile device USB interface connection, including:
When detecting that mobile device is connected by USB interface with miscellaneous equipment, user is prompted to input connection password;
Obtain the connection password of user's input;
Judge whether the connection password is correct;
If the connection password is correct, obtains in the mobile device and included in the client identification module SIM card of installation International mobile subscriber identity IMSI, and the current registration cell of the SIM card;
Judge whether the IMSI and the IMSI stored before are consistent, and whether the current registration cell stores before Cell range in;
If the IMSI with it is described before storage IMSI it is consistent, and the current registration cell described in store before In cell range, then the USB interface is triggered, the mobile device is connected with the miscellaneous equipment;
If the IMSI and it is described before storage IMSI it is inconsistent, or the current registration cell do not storing before In the cell range, then the USB interface is controlled to close;
If the connection password bad, the USB interface is controlled to close.
Preferably, when user logs in first, the connection password of user's input is initial password.
Preferably, the international shifting included in the client identification module SIM card for obtaining and being installed in the mobile device Dynamic CUSTOMER ID IMSI, and before the current registration cell of the SIM card, in addition to:
Prompt the user whether to change the connection password;
If user changes the connection password, the change connection password of user's input is obtained;
After preset time period, user is prompted to input the change connection password again;
Judge whether the change connection password that user inputs twice is identical;
If the change connection password inputted twice is identical, the change connection password is stored;
If user does not change the connection password, the command information for not changing password of user's input is obtained.
Preferably, described when detecting that mobile device is connected by USB interface with miscellaneous equipment, user's input is prompted Before connecting password, in addition to:
Obtain the USB function open commands of user's input;
After USB functions unlatching, user is prompted to reset the closing password of the USB functions;
The closing password of user's input is obtained, and preserves the closing password;
Trigger action system obtain the IMSI included in the SIM card and the SIM card current registration cell and The relevant information of peripheral cell, the relevant information include country identity identification number ID, network ID, region ID and cell ID;
Store the IMSI, the current registration cell and the peripheral cell relevant information.
Preferably, in the triggering USB interface, the mobile device is made to be connected with the miscellaneous equipment, or it is described After controlling the USB interface closing, in addition to:
The closing password of user's input is obtained, closes the USB functions.
A kind of control system of mobile device USB interface connection, including:
First Tip element, for when detecting that mobile device is connected by USB interface with miscellaneous equipment, prompting user Input connection password;
First acquisition unit, for obtaining the connection password of user's input;
First judging unit, for judging whether the connection password is correct;
Second acquisition unit, if correct for the connection password, the client for obtaining installation in the mobile device knows The international mobile subscriber identity IMSI included in other Module SIM card, and the current registration cell of the SIM card;
Second judging unit, for judging whether the IMSI and the IMSI stored before are consistent, and the current registration Whether cell is in the cell range stored before;
First trigger element, if for the IMSI with it is described before storage IMSI it is consistent, and it is described currently register it is small Area then triggers the USB interface in the cell range stored before, the mobile device is connected with the miscellaneous equipment Connect;
First control unit, if it is inconsistent for the IMSI and the IMSI of the storage before, or the current registration Cell then controls the USB interface to close not in the cell range stored before;
Second control unit, if for the connection password bad, the USB interface is controlled to close.
Preferably, when user logs in first, the connection password of user's input is initial password.
Preferably, in addition to:
Second Tip element, mould is identified for obtaining the client installed in the mobile device in the second acquisition unit Before the international mobile subscriber identity IMSI included in block SIM card, and the current registration cell of the SIM card, prompt to use Whether family changes the connection password;
3rd acquiring unit, if changing the connection password for user, obtain the change connection password of user's input;
3rd Tip element, for after preset time period, prompting user to input the change connection password again;
3rd judging unit, for judging whether the change connection password that user inputs twice is identical;
First memory cell, if identical for the change connection password inputted twice, store the change connection Password;
4th acquiring unit, if not changing the connection password for user, obtain user's input does not change password Command information.
Preferably, in addition to:
5th acquiring unit, for detecting that mobile device is set by USB interface with other in first Tip element During standby connection, prompt user to input before connection password, obtain the USB function open commands of user's input;
4th Tip element, for after USB functions unlatching, prompting user to reset the pass of the USB functions Close password;
6th acquiring unit, for obtaining the closing password of user's input, and preserve the closing password;
Second trigger element, the IMSI included in the SIM card and the SIM card are obtained for trigger action system Current registration cell and peripheral cell relevant information, the relevant information include country identity identification number ID, network ID, Region ID and cell ID;
Second memory cell, for storing the related letter of the IMSI, the current registration cell and the peripheral cell Breath.
Preferably, in addition to:
7th acquiring unit, for triggering the USB interface in first trigger element, make the mobile device and institute After stating miscellaneous equipment connection, or after first control unit controls the USB interface to close, or described the After two control units control the USB interface closing, the closing password of user's input is obtained, closes the USB functions.
It can be seen from the above technical scheme that the invention provides a kind of controlling party of mobile device USB interface connection Method and system, when detecting that mobile device is connected by USB interface with miscellaneous equipment, user is prompted to input connection password, After detecting that connection password is correct, then the IMSI for judging to include in SIM card in the mobile device and IMSI that stores before whether one Cause, and SIM card current registration cell whether in the cell range stored before, and include in SIM card is judged IMSI is consistent with the IMSI stored before, and the current registration cell of SIM card in the cell range stored before when just trigger USB interface, otherwise, control USB interface are closed.As can be seen that the present invention is sentenced using connection password is increased before USB interface connects Fixed and SIM card judges the technological means of two decision conditions to ensure that the connection of USB interface is safe.When mobile device occurs surprisingly Situation, such as when losing, only the two decision conditions meet preparatory condition just triggerable USB interface simultaneously.So, even if moving The password of dynamic device operating system is cracked, when any one condition in the two decision conditions is unsatisfactory for preparatory condition, The information that other staff can not be also spied upon in mobile device by USB interface, so as to ensure that the information of mobile device user is pacified Entirely.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of control method flow chart of mobile device USB interface connection disclosed in the embodiment of the present invention;
Fig. 2 is the control method flow chart of another mobile device USB interface connection disclosed in the embodiment of the present invention;
Fig. 3 is the control method flow chart of another mobile device USB interface connection disclosed in the embodiment of the present invention;
Fig. 4 is a kind of structural representation of the control system of mobile device USB interface connection disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of the control system of another mobile device USB interface connection disclosed in the embodiment of the present invention Figure;
Fig. 6 is the structural representation of the control system of another mobile device USB interface connection disclosed in the embodiment of the present invention Figure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The embodiment of the invention discloses the control method and system of a kind of mobile device USB interface connection, is being moved with realizing When the password of dynamic device operating system is cracked, other staff can not pass through the information in USB interface pry mobile device.
Referring to Fig. 1, a kind of control method flow chart of mobile device USB interface connection, bag disclosed in the embodiment of the present invention Include:
Step S11, when detecting that mobile device is connected by USB interface with miscellaneous equipment, user is prompted to input connection Password;
Wherein, when user logs in first, the connection password of user's input is initial password, and initial password can be 123456th, 111111 etc., the present invention does not limit herein.
Step S12, the connection password of user's input is obtained;
Step S13, judge whether the connection password is correct, if it is, performing step S14, otherwise, perform step S17;
Step S14, SIM (Subscriber the Identity Module, Ke Hushi of installation in the mobile device are obtained Other module) card in include IMSI (International Mobile Subscriber Identification Number, International mobile subscriber identity), and the current registration cell of the SIM card;
Wherein, SIM card is also referred to as subscriber identification card, smart card, GSM (Global System for Mobile Communication, global system for mobile communications) digital mobile telephone must load onto this card and can use.SIM card memory storage The information of digital mobile phone client, the content such as the key of encryption and the telephone directory of user, is available for GSM network client identity Voice messaging when being differentiated, and conversed client is encrypted.
IMSI is the mark for distinguishing mobile subscriber, is stored in SIM card, the effective information available for difference mobile subscriber. IMSI total length be no more than 15, equally using 0~9 numeral.
It should be noted is that the region residing for SIM card is different, the registration cell of SIM card is also corresponding different.
Wherein, cell is the minimum service unit of mobile system.
Specifically, base station includes cell, cell includes sector, and each sector can have multiple carrier frequency.In general, one Base station is exactly a cell (base station can also be divided into several cells, and now cell and sector are equal), and cell is further divided into Sector (generally, a cell has one/bis-/tri- sectors, even more more), each sector is determined further according to telephone traffic Determine the quantity of carrier frequency.
Step S15, judge whether the IMSI and the IMSI stored before consistent, and the current registration cell whether The cell range stored before in, if it is, performing step S16, otherwise, step S17 is performed;
Step S16, the USB interface is triggered, the mobile device is connected with the miscellaneous equipment;
Step S17, the USB interface is controlled to close.
It in summary it can be seen, the present invention prompts to use when detecting that mobile device is connected by USB interface with miscellaneous equipment Family input connection password, after detecting that connection password is correct, then judge the IMSI that is included in mobile device in SIM card with before Whether the IMSI of storage consistent, and SIM card current registration cell whether in the cell range stored before, and judging The IMSI included in SIM card is consistent with the IMSI stored before, and the current registration cell of SIM card is in the cell model stored before USB interface is just triggered when enclosing interior, otherwise, control USB interface is closed.The present invention is close using connection is increased before USB interface connects Code judges to ensure the connection of USB interface safety with the technological means of SIM card two decision conditions of judgement.When mobile device occurs Fortuitous event, such as when losing, only the two decision conditions meet preparatory condition just triggerable USB interface simultaneously.So, i.e., The password of mobile device operation system is set to be cracked, when any one condition in the two decision conditions is unsatisfactory for preparatory condition When, other staff also can not be by the information in USB interface pry mobile device, so as to ensure that the information of mobile device user Safety.
It is understood that to ensure the safety of connection password, it is close that user can also change connection according to the needs of itself Code.
Therefore, it is further optimization above-described embodiment, referring to Fig. 2, a kind of movement disclosed in another embodiment of the present invention is set The control method flow chart of standby USB interface connection, on the basis of embodiment illustrated in fig. 1, before step S14, in addition to step Suddenly:
Step S21, prompt the user whether to change the connection password, if it is, performing step S22, otherwise, perform step Rapid S26;
Step S22, the change connection password of user's input is obtained;
Step S23, after preset time period, user is prompted to input the change connection password again;
Wherein, according to depending on being actually needed, the present invention does not limit preset time period herein.
Step S24, judge whether the change connection password that user inputs twice is identical, if it is, performing step S25;
Step S25, the change connection password is stored;
Step S26, the command information for not changing password of user's input is obtained.
If it should be noted that exceed preset time period, any information of user's input is not received, then default user is not Password is changed, then proceedes to perform step S14.
Therefore, user can increase the security and confidentiality of connection password by changing connection password, so as to further Ensure the connection safety of USB interface.
Wherein, when the change that user inputs twice connects password difference, USB functions can prompt user second of input Change connection code error, user is prompted to input change connection password again, until the change connection password inputted again and the The change connection password once inputted is identical.
It should be noted that mobile device user can also according to residing for mobile device region change, change storage The IMSI and the current registration cell of SIM card and the information of peripheral cell included in SIM card, to avoid because mobile device uses The change in region, and cause user can not use USB interface.
Therefore, it is further optimization above-described embodiment, referring to Fig. 3, a kind of movement disclosed in another embodiment of the present invention is set The control method flow chart of standby USB interface connection, on the basis of embodiment illustrated in fig. 1, before step S11, in addition to:
Step S31, the USB function open commands of user's input are obtained;
Step S32, after USB functions unlatching, user is prompted to reset the closing password of the USB functions;
It should be noted that before user resets the closing password of USB functions, the closing before being required to input is close Code.
Step S33, the closing password of user's input is obtained, and preserves the closing password;
Step S34, trigger action system obtains the IMSI included in the SIM card and the current note of the SIM card Volume cell and the relevant information of peripheral cell;
Wherein relevant information includes national ID (Identity, the identity number of current registration cell and peripheral cell Code), network ID, region ID and cell ID.
Step S35, the IMSI, the current registration cell and the peripheral cell relevant information are stored.
As can be seen that user reopens USB functions every time, can all be included in trigger action system reacquisition SIM card IMSI and the current registration cell of SIM card and the relevant information of peripheral cell.Therefore, when the region residing for mobile device is not During the cell registered before, to ensure that USB interface can be continuing with, user can be realized to storage by reopening USB functions The renewal of information.
To ensure to close the security and confidentiality of password, after user opens USB functions every time, user can be prompted again Set and close password.
It should be noted that USB functions are opened and before closing password is received, all the connection of USB interface can be entered Row control.
Wherein, step S31~S35 in the present embodiment, can also be before the step S11 in Fig. 2 disclosed embodiments Perform.
In the present embodiment, after step S16, or step S17, can also include:
The closing password of user's input is obtained, closes the USB functions.
Corresponding with above method embodiment, present invention also offers a kind of control system of mobile device USB interface connection System.
Referring to Fig. 4, a kind of structural representation of the control system of mobile device USB interface connection disclosed in the embodiment of the present invention Figure, including:
First Tip element 41, for when detecting that mobile device is connected by USB interface with miscellaneous equipment, prompting to use Family input connection password;
Wherein, when user logs in first, the connection password of user's input is initial password, and initial password can be 123456th, 111111 etc., the present invention does not limit herein.
First acquisition unit 42, for obtaining the connection password of user's input;
First judging unit 43, for judging whether the connection password is correct, if it is, performing second acquisition unit 44, otherwise perform the second control unit 48;
Second acquisition unit 44, if correct for the connection password, obtain the SIM card of installation in the mobile device In the IMSI that includes, and the current registration cell of the SIM card;
Second judging unit 45, for judging whether the IMSI and the IMSI stored before are consistent, and the current note Whether volume cell is in the cell range stored before, if it is, performing the first trigger element 46, otherwise, performs the first control Unit 47 processed;
First trigger element 46, if it is consistent with the IMSI of the storage before for the IMSI, and the current registration Cell then triggers the USB interface in the cell range stored before, makes the mobile device and the miscellaneous equipment Connection;
First control unit 47, if it is inconsistent for the IMSI and the IMSI of the storage before, or the current note Volume cell then controls the USB interface to close not in the cell range stored before;
Second control unit 48, if for the connection password bad, the USB interface is controlled to close.
It in summary it can be seen, the present invention prompts to use when detecting that mobile device is connected by USB interface with miscellaneous equipment Family input connection password, after detecting that connection password is correct, then judge the IMSI that is included in mobile device in SIM card with before Whether the IMSI of storage consistent, and SIM card current registration cell whether in the cell range stored before, and judging The IMSI included in SIM card is consistent with the IMSI stored before, and the current registration cell of SIM card is in the cell model stored before USB interface is just triggered when enclosing interior, otherwise, control USB interface is closed.The present invention is close using connection is increased before USB interface connects Code judges to ensure the connection of USB interface safety with the technological means of SIM card two decision conditions of judgement.When mobile device occurs Fortuitous event, such as when losing, only the two decision conditions meet preparatory condition just triggerable USB interface simultaneously.So, i.e., The password of mobile device operation system is set to be cracked, when any one condition in the two decision conditions is unsatisfactory for preparatory condition When, other staff also can not be by the information in USB interface pry mobile device, so as to ensure that the information of mobile device user Safety.
It is understood that to ensure the safety of connection password, it is close that user can also change connection according to the needs of itself Code.
Therefore, it is further optimization above-described embodiment, referring to Fig. 5, a kind of movement disclosed in another embodiment of the present invention is set The structural representation of the control system of standby USB interface connection, on the basis of embodiment illustrated in fig. 4, in addition to:
Second Tip element 51, mould is identified for obtaining the client installed in the mobile device in second acquisition unit 44 Before the international mobile subscriber identity IMSI included in block SIM card, and the current registration cell of the SIM card, prompt to use Whether family changes the connection password, if it is, performing the 3rd acquiring unit 52, otherwise, performs the 4th acquiring unit 56;
3rd acquiring unit 52, if changing the connection password for user, the change connection for obtaining user's input is close Code;
3rd Tip element 53, for after preset time period, prompting user to input the change connection password again;
3rd judging unit 54, for judging whether the change connection password that user inputs twice is identical, if it is, Then perform the first memory cell 55;
First memory cell 55, if identical for the change connection password inputted twice, store the change and connect Connect password;
4th acquiring unit 56, if not changing the connection password for user, it is close to obtain not changing for user's input The command information of code.
If it should be noted that exceed preset time period, any information of user's input is not received, then default user is not Password is changed, then proceedes to perform second acquisition unit 44.
Therefore, user can increase the security and confidentiality of connection password by changing connection password, so as to further Ensure the connection safety of USB interface.
Wherein, when the change that user inputs twice connects password difference, USB functions can prompt user second of input Change connection code error, user is prompted to input change connection password again, until the change connection password inputted again and the The change connection password once inputted is identical.
It should be noted that mobile device user can also according to residing for mobile device region change, change storage The IMSI and the current registration cell of SIM card and the information of peripheral cell included in SIM card, to avoid because mobile device uses The change in region, and cause user can not use USB interface.
Therefore, it is further optimization above-described embodiment, referring to Fig. 6, a kind of movement disclosed in another embodiment of the present invention is set The structural representation of the control system of standby USB interface connection, on the basis of embodiment illustrated in fig. 4, in addition to:
5th acquiring unit 61, for detecting that mobile device is set by USB interface with other in the first Tip element 41 During standby connection, prompt user to input before connection password, obtain the USB function open commands of user's input;
4th Tip element 62, for after USB functions unlatching, prompting user to reset the USB functions Close password;
It should be noted that before user resets the closing password of USB functions, the closing before being required to input is close Code.
6th acquiring unit 63, for obtaining the closing password of user's input, and preserve the closing password;
Second trigger element 64, the IMSI included in the SIM card and the SIM are obtained for trigger action system The current registration cell of card and the relevant information of peripheral cell;
Wherein relevant information includes national ID (Identity, the identity number of current registration cell and peripheral cell Code), network ID, region ID and cell ID.
Second memory cell 65, for storing the IMSI, the current registration cell and the peripheral cell correlation Information.
As can be seen that user reopens USB functions every time, can all be included in trigger action system reacquisition SIM card IMSI and the current registration cell of SIM card and the relevant information of peripheral cell.Therefore, when the region residing for mobile device is not During the cell registered before, to ensure that USB interface can be continuing with, user can be realized to storage by reopening USB functions The renewal of information.
To ensure to close the security and confidentiality of password, after user opens USB functions every time, user can be prompted again Set and close password.
It should be noted that USB functions are opened and before closing password is received, all the connection of USB interface can be entered Row control.
Wherein, the 5th acquiring unit 61 in the present embodiment, the 4th Tip element 62, the 6th acquiring unit 63, second are touched Bill member 64 and the second memory cell 65, it can also be held before the first Tip element 41 in Fig. 5 disclosed embodiments performs OK.
Further to optimize above-described embodiment, in addition to:
7th acquiring unit, for triggering the USB interface in the first trigger element 46, make the mobile device with it is described After miscellaneous equipment connection, or after the first control unit 47 controls the USB interface to close, or it is single in the second control After the control of member 48 USB interface is closed, the closing password of user's input is obtained, closes the USB functions.
It should be noted that the concrete operating principle of each part is referring to embodiment of the method in system embodiment, herein Repeat no more.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (10)

  1. A kind of 1. control method of mobile device USB interface connection, it is characterised in that including:
    When detecting that mobile device is connected by USB interface with miscellaneous equipment, user is prompted to input connection password;
    Obtain the connection password of user's input;
    Judge whether the connection password is correct;
    If the connection password is correct, the state included in the mobile device in the client identification module SIM card of installation is obtained Border mobile identification number IMSI, and the current registration cell of the SIM card;
    Judge whether the IMSI and the IMSI stored before are consistent, and whether the current registration cell is small what is stored before In the range of area;
    If the IMSI is consistent with the IMSI of the storage before, and the current registration cell is in the cell stored before In the range of, then the USB interface is triggered, the mobile device is connected with the miscellaneous equipment;
    If the IMSI and it is described before storage IMSI it is inconsistent, or the current registration cell described in do not store before In cell range, then the USB interface is controlled to close;
    If the connection password bad, the USB interface is controlled to close.
  2. 2. control method according to claim 1, it is characterised in that when user logs in first, user inputs described Connection password is initial password.
  3. 3. control method according to claim 1, it is characterised in that in the visitor for obtaining and being installed in the mobile device The international mobile subscriber identity IMSI included in the identification module SIM card of family, and the SIM card current registration cell it Before, in addition to:
    Prompt the user whether to change the connection password;
    If user changes the connection password, the change connection password of user's input is obtained;
    After preset time period, user is prompted to input the change connection password again;
    Judge whether the change connection password that user inputs twice is identical;
    If the change connection password inputted twice is identical, the change connection password is stored;
    If user does not change the connection password, the command information for not changing password of user's input is obtained.
  4. 4. control method according to claim 1, it is characterised in that ought detect that mobile device is connect by USB described When mouth is connected with miscellaneous equipment, user is prompted to input before connection password, in addition to:
    Obtain the USB function open commands of user's input;
    After USB functions unlatching, user is prompted to reset the closing password of the USB functions;
    The closing password of user's input is obtained, and preserves the closing password;
    Trigger action system obtains current the registration cell and surrounding of the IMSI included in the SIM card and the SIM card The relevant information of cell, the relevant information include country identity identification number ID, network ID, region ID and cell ID;
    Store the IMSI, the current registration cell and the peripheral cell relevant information.
  5. 5. control method according to claim 4, it is characterised in that in the triggering USB interface, make the movement After equipment is connected with the miscellaneous equipment, or the control USB interface is closed, in addition to:
    The closing password of user's input is obtained, closes the USB functions.
  6. A kind of 6. control system of mobile device USB interface connection, it is characterised in that including:
    First Tip element, for when detecting that mobile device is connected by USB interface with miscellaneous equipment, prompting user's input Connect password;
    First acquisition unit, for obtaining the connection password of user's input;
    First judging unit, for judging whether the connection password is correct;
    Second acquisition unit, if correct for the connection password, the client for obtaining installation in the mobile device identifies mould The international mobile subscriber identity IMSI included in block SIM card, and the current registration cell of the SIM card;
    Second judging unit, for judging whether the IMSI and the IMSI stored before are consistent, and the current registration cell Whether in the cell range stored before;
    First trigger element, if it is consistent with the IMSI of the storage before for the IMSI, and the current registration cell exists The cell range stored before in, then the USB interface is triggered, the mobile device is connected with the miscellaneous equipment;
    First control unit, if it is inconsistent for the IMSI and the IMSI of the storage before, or the current registration cell Not in the cell range stored before, then the USB interface is controlled to close;
    Second control unit, if for the connection password bad, the USB interface is controlled to close.
  7. 7. control system according to claim 6, it is characterised in that when user logs in first, user inputs described Connection password is initial password.
  8. 8. control system according to claim 6, it is characterised in that also include:
    Second Tip element, for obtaining the client identification module installed in the mobile device in the second acquisition unit Before the international mobile subscriber identity IMSI included in SIM card, and the current registration cell of the SIM card, user is prompted Whether the connection password is changed;
    3rd acquiring unit, if changing the connection password for user, obtain the change connection password of user's input;
    3rd Tip element, for after preset time period, prompting user to input the change connection password again;
    3rd judging unit, for judging whether the change connection password that user inputs twice is identical;
    First memory cell, if identical for the change connection password inputted twice, store the change connection password;
    4th acquiring unit, if not changing the connection password for user, obtain the finger for not changing password of user's input Make information.
  9. 9. control system according to claim 6, it is characterised in that also include:
    5th acquiring unit, for detecting that mobile device is connected by USB interface and miscellaneous equipment in first Tip element When connecing, prompt user to input before connection password, obtain the USB function open commands of user's input;
    4th Tip element, for after USB functions unlatching, the closing for prompting user to reset the USB functions to be close Code;
    6th acquiring unit, for obtaining the closing password of user's input, and preserve the closing password;
    Second trigger element, working as the IMSI included in the SIM card and the SIM card is obtained for trigger action system Preceding registration cell and the relevant information of peripheral cell, the relevant information include country identity identification number ID, network ID, region ID and cell ID;
    Second memory cell, for storing the IMSI, the current registration cell and the peripheral cell relevant information.
  10. 10. control system according to claim 9, it is characterised in that also include:
    7th acquiring unit, for triggering the USB interface in first trigger element, make the mobile device with it is described its After the connection of its equipment, or after first control unit controls the USB interface to close, or in the described second control After unit processed controls the USB interface closing, the closing password of user's input is obtained, closes the USB functions.
CN201410781629.4A 2014-12-16 2014-12-16 A kind of control method and system of the connection of mobile device USB interface Active CN104408013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410781629.4A CN104408013B (en) 2014-12-16 2014-12-16 A kind of control method and system of the connection of mobile device USB interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410781629.4A CN104408013B (en) 2014-12-16 2014-12-16 A kind of control method and system of the connection of mobile device USB interface

Publications (2)

Publication Number Publication Date
CN104408013A CN104408013A (en) 2015-03-11
CN104408013B true CN104408013B (en) 2017-12-19

Family

ID=52645645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410781629.4A Active CN104408013B (en) 2014-12-16 2014-12-16 A kind of control method and system of the connection of mobile device USB interface

Country Status (1)

Country Link
CN (1) CN104408013B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776308B (en) * 2016-12-06 2020-04-17 福州高图信息技术有限公司 Uboot-based electronic product fault debugging method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1484205A (en) * 2002-09-18 2004-03-24 王舜清 Device and method for high intelligent real time traffic managemant
CN101422065A (en) * 2003-12-22 2009-04-29 英特尔公司 Private base station with exclusivity
CN101493867A (en) * 2008-01-25 2009-07-29 希姆通信息技术(上海)有限公司 Method and system for mutually transmitting shared data safely between mobile phone and computer

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556488A (en) * 2004-01-05 2004-12-22 中国建设银行 Network bank system based on self signing and cipher resetting
US8024500B2 (en) * 2005-08-15 2011-09-20 Research In Motion Limited Universal peripheral connector
CN103687059B (en) * 2013-11-21 2017-06-13 北京奇虎科技有限公司 Set up the method and device connected between computing device and mobile device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1484205A (en) * 2002-09-18 2004-03-24 王舜清 Device and method for high intelligent real time traffic managemant
CN101422065A (en) * 2003-12-22 2009-04-29 英特尔公司 Private base station with exclusivity
CN101493867A (en) * 2008-01-25 2009-07-29 希姆通信息技术(上海)有限公司 Method and system for mutually transmitting shared data safely between mobile phone and computer

Also Published As

Publication number Publication date
CN104408013A (en) 2015-03-11

Similar Documents

Publication Publication Date Title
CN104517336B (en) Yunmen access control system and its implementation based on mobile internet
CN104640174B (en) Wireless network access point reminding method and device
CN105898743B (en) A kind of method for connecting network, apparatus and system
CN102779255A (en) Method and device for judging malicious program
CN107093232A (en) A kind of gate inhibition's verification method and system based on mobile terminal
KR20120064637A (en) Door lock system
CN101621804B (en) Safe wireless access method and safe wireless access device
CN105187672A (en) Incoming call answering method and mobile terminal
CN107134026A (en) A kind of entrance guard controlling method and system
CN104462911A (en) Method for achieving identity authentication on mobile terminal
CN107153505A (en) A kind of gesture rapid operating method based on screen fingerprint recognition
CN103324874A (en) Verification method and electronic device
CN205193906U (en) Cell -phone system of opening door based on cloud platform
CN105992188B (en) A kind of application update method and device
CN103379484B (en) Control method, device and the mobile terminal of mobile terminal
CN101483871A (en) Touch screen terminal, authentication method and system thereof
CN104408013B (en) A kind of control method and system of the connection of mobile device USB interface
CN105430738B (en) A kind of method and device for initiating registration
CN102945336B (en) A kind of cipher-code input method of intelligent communication terminal
EP2870787B1 (en) Method to disable a network access application in a secure element
CN208429365U (en) A kind of locker and storage system
CN104796885B (en) A kind of method and system that secret call is realized in communication process
CN108133142A (en) A kind of mobile device remote connection and the method for manipulation PC machine
CN105871840B (en) A kind of certificate management method and system
CN100583762C (en) On-line identification method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210128

Address after: 101300 room 153, 1 / F, building 17, 16 Caixiang East Road, Nancai Town, Shunyi District, Beijing

Patentee after: Yuanxin Information Technology Group Co.,Ltd.

Address before: 100176 room 408-27, building 8, No.1, Disheng North Street, economic and Technological Development Zone, Daxing District, Beijing (centralized office area)

Patentee before: BEIJING YUANXIN SCIENCE & TECHNOLOGY Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20150311

Assignee: Beijing Yuanxin Junsheng Technology Co.,Ltd.

Assignor: Yuanxin Information Technology Group Co.,Ltd.

Contract record no.: X2021110000018

Denomination of invention: A control method and system for USB interface connection of mobile devices

Granted publication date: 20171219

License type: Common License

Record date: 20210531