The control method and the terminal of a kind of terminal USB memory function
Technical field
The present invention relates to display technique field, terminal, especially a kind of terminal USB (Universal Serial BUS USB) control method of memory function and the terminal of realizing this method.
Background technology
At present; Terminals such as the mobile phone that we use, palm PC are under the screen locking state; Connect the terminal USB port, the memory function of opening the terminal is mainly through following dual mode realization: directly to the screen release, need not other operations and open the USB memory function at terminal; Or also further need the USB memory function at terminal is just opened in the screen release then.
This dual mode all is under the situation of screen release, opens the USB memory function at terminal, and such control realizes, causes the generation of maloperation easily owing to the release of screen, makes troubles to the user.
Concrete, for first kind of situation, might not be for data storage because the user connects the purpose of terminal USB port, also possibly be for to terminal charge; For second kind of situation, need user's manual work to the screen release, increased operation steps.
Therefore, in order to address the above problem, be necessary to provide the method that to open the USB memory function under a kind of situation that makes the terminal need not the screen release terminal with this method of realization.
Summary of the invention
In view of this, be necessary, the control method and the terminal of realizing this control method of a kind of terminal USB memory function is provided to the problem of mentioning in the background technology.
The present invention realizes through following technical scheme:
The control method of a kind of terminal USB memory function, it may further comprise the steps:
The signal that the receiving terminal USB port is connected;
Judge the current screen locking state that whether is in said terminal;
When being judged as when being, show that one is used for the human-computer interaction interface whether the receiving terminal user opens terminal USB memory function;
Receive the selection instruction of said terminal user to said human-computer interaction interface;
Judge whether said selection instruction is the instruction of opening terminal USB memory function;
When being judged as when being, open terminal USB memory function.
Said human-computer interaction interface is one to include the human-computer interaction interface of the selector button of whether opening terminal USB memory function; The said terminal user of said reception specifically comprises the selection instruction of said human-computer interaction interface: receive the instruction that selection action that said terminal user does the selector button on the described human-computer interaction interface produces.
The said terminal user of said reception specifically comprises the selection instruction of said human-computer interaction interface: receive that said terminal user pushes through button or instruction that selection action that the screen touch control manner is done the selector button on the described human-computer interaction interface produces.
Said screen locking state comprises the holding state of blank screen and screen locking or the holding state of bright screen and screen locking.
Said terminal is mobile phone, e-book or palm PC.
A kind of terminal is characterized in that, comprising:
First receiver module is used for the signal that the receiving terminal USB port is connected;
First judge module is used to judge the current screen locking state that whether is in said terminal;
Display module is used for when judging that said terminal is current and be in the screen locking state, showing that one is used for the human-computer interaction interface whether the receiving terminal user opens terminal USB memory function;
Second receiver module is used to receive the selection instruction of said terminal user to said human-computer interaction interface;
Second judge module is used to judge whether said selection instruction is the instruction of opening terminal USB memory function;
Open module, be used for when judging that said selection instruction is when opening the instruction of terminal USB memory function, to open terminal USB memory function.
Said first judge module specifically is used to judge the current holding state of blank screen and screen locking or the holding state of bright screen and screen locking of whether being in said terminal.
Said display module specifically is used for when judging that said terminal is current and be in the screen locking state, shows that one is used for the receiving terminal user and whether opens terminal USB storage and on former screen locking interface, increase the human-computer interaction interface that shows a selector button; Said second receiver module specifically is used to receive the instruction that selection action that said terminal user does the selector button on the described human-computer interaction interface produces.
Said second receiver module specifically is used to receive the instruction that said terminal user pushes through button or the screen touch control manner is done the selector button on the described human-computer interaction interface selection action produces.
Said terminal is mobile phone, e-book or palm PC.
Compared with prior art, the present invention can make the terminal under the screen locking state, thereby confirms intelligently to open the USB memory function through receiving terminal user's selection instruction, need not the screen release, makes things convenient for the user, reduces the generation of maloperation.
Description of drawings
Fig. 1 is the schematic flow sheet of the embodiment of the invention one;
Fig. 2 A, 2B, 2C connect the USB port state after being respectively the screen locking state, screen locking of the access failure USB port of the embodiment of the invention, obtain the user opens the display effect synoptic diagram after the USB memory function is confirmed.
Embodiment
Embodiment one:
Present embodiment provides the control method of a kind of terminal USB memory function, and is as shown in Figure 1, and this method may further comprise the steps:
The signal that the receiving terminal USB port is connected: the USB port of receiving terminal and server, PC for example, the signal of connection;
Judge the current screen locking state that whether is in said terminal: said screen locking state comprises the holding state of blank screen and screen locking or the holding state of bright screen and screen locking;
When being judged as when being; Show that one is used for the human-computer interaction interface whether the receiving terminal user opens terminal USB memory function: when judged result is said terminal when being in the screen locking state, show that one is used for the receiving terminal user and whether opens terminal USB storage and on former screen locking interface, increase the human-computer interaction interface that shows a selector button; This human-computer interaction interface can comprise a button that can be between " open-minded " and " not open-minded " drags with the mode of screen touch-control; Or comprise and can click two selector buttons selecting through the screen touch-control, like " open-minded " and " not open-minded "; Can also be a dialog box, confirm " being " or show " denying " not according to key table through button;
Receive the selection instruction of said terminal user: receive the selection instruction of the said terminal user of described any form to said human-computer interaction interface to said human-computer interaction interface;
Judge whether said selection instruction is the instruction of opening terminal USB memory function: whether the selection instruction of judging said any form is the USB memory function of opening the terminal;
When being judged as when being, open terminal USB memory function:, then open the USB memory function at terminal when judged result is that the implication of said selection instruction is to open the USB memory function at terminal.
Said terminal can be the electronic product that mobile phone, e-book or palm PC etc. have memory function.
Embodiment two:
Present embodiment provides a kind of terminal of realizing the control method of terminal USB memory function, and it comprises:
First receiver module is used for the signal that the receiving terminal USB port is connected;
First judge module is used to judge the current screen locking state that whether is in said terminal;
Display module is used for when judging that said terminal is current and be in the screen locking state, showing that one is used for the human-computer interaction interface whether the receiving terminal user opens terminal USB memory function;
Second receiver module is used to receive the selection instruction of said terminal user to said human-computer interaction interface;
Second judge module is used to judge whether said selection instruction is the instruction of opening terminal USB memory function;
Open module, be used for when judging that said selection instruction is when opening the instruction of terminal USB memory function, to open terminal USB memory function.
Said first judge module specifically is used to judge the current holding state of blank screen and screen locking or the holding state of bright screen and screen locking of whether being in said terminal.
Said display module; Specifically be used for when judging that said terminal is current and be in the screen locking state; Show that one is used for the receiving terminal user and whether opens terminal USB storage and on former screen locking interface, increase the human-computer interaction interface that shows a selector button, this human-computer interaction interface can comprise a button that can be between " open-minded " and " not open-minded " drags with the mode of screen touch-control; Or comprise and can click two selector buttons selecting through the screen touch-control, like " open-minded " and " not open-minded "; Can also be a dialog box, confirm " being " or show " denying " not according to key table through button.
Said second receiver module specifically is used to receive the instruction that selection action that said terminal user does the selector button on the human-computer interaction interface of described any form produces; More specifically, be used to receive the instruction that said terminal user pushes through button or the screen touch control manner is done the selector button on the described human-computer interaction interface selection action produces.
Participate in Fig. 2 A, 2B, 2C, it is respectively the state of connecting USB port behind the screen locking state, screen locking of the access failure USB port of the embodiment of the invention, obtains the display effect synoptic diagram that the user opens the state after the USB memory function is confirmed.
Among Fig. 2 A, the screen locking state the when USB interface that is shown as the terminal is not connected with server.
Among Fig. 2 B, on the screen locking interface of Fig. 2 A, increased a selector button that can drag and become a personal-machine interactive interface, the left side of this selector button also shows literal " USB storage ", and the expression button drags has left promptly selected the USB memory function.
The change of the relative Fig. 2 B of Fig. 2 C is that described selector button has been dragged to the left side, and promptly the terminal user has selected to open the USB memory function, and it is bright that selector button changes, and explains that the terminal confirmed that the terminal user has selected to open the USB memory function.
In the foregoing description, said terminal can be the product that mobile phone, e-book or palm PC etc. have the memory function electronics.
The above embodiment has only expressed several kinds of embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with accompanying claims.