Summary of the invention
The embodiment of the invention provides the methods and mobile terminal of a kind of mobile terminal switching account, solve due to current
Account switching mode be " to enter personal information interface -> click user account head portrait -> entering account management interface -> to beat back
Out -> click new account -> login again ", and caused by the low technical problem of experience property.
A kind of method of mobile terminal switching account provided in an embodiment of the present invention, comprising:
Get the account switching command that the display interface in current application is triggered according to preset mode;
All accounts are shown with tabular form in the display interface any position;
It determines the to be switched account that user is selected by the list, and switches over.
Optionally, the account switching command that the display interface in current application is triggered according to preset mode is got specifically to wrap
It includes:
Get the account switching command of the user according to preset time period by triggering at the top of the display interface long-pressing.
Optionally, show that all accounts specifically include in the display interface any position with tabular form:
Downslide one shows the switching of all accounts for all accounts to be arranged side by side at the top of the display interface
Space, and show that account increases key newly in the switching space leftmost side or the rightmost side.
Optionally it is determined that the to be switched account that user is selected by the list, and switch over and specifically include:
Determine that user carries out scrolling left and right the described to be cut of selection by all accounts of the display that is arranged side by side
Change account;
The account of current application is switched into the to be switched account.
Optionally it is determined that the to be switched account that user is selected by the list, and switch over and specifically include:
Determine that user carries out the described to be cut of selection that rock from side to side by all accounts of the display that is arranged side by side
Change account;
The account of current application is switched into the to be switched account.
A kind of mobile terminal provided in an embodiment of the present invention, comprising:
Acquiring unit, the account switching that the display interface for getting in current application is triggered according to preset mode refer to
It enables;
Account display unit, for showing all accounts in the display interface any position with tabular form;
Determine switch unit, the to be switched account selected for determining user by the list, and switch over.
Optionally, acquiring unit passes through display interface long-pressing top according to preset time period specifically for getting user
The account switching command of portion's triggering.
Optionally, account display unit is specifically used for the downslide one at the top of the display interface and is used for all accounts
It number is arranged side by side and to show the switching space of all accounts, and show that account is newly-increased in the switching space leftmost side or the rightmost side
Key.
Optionally it is determined that switch unit specifically includes:
First determines subelement, for determining that user is controlled by all accounts of the display that is arranged side by side
Roll the to be switched account of selection;
First switching subelement, for the account of current application to be switched to the to be switched account.
Optionally it is determined that switch unit specifically includes:
Second determines subelement, for determining that user is controlled by all accounts of the display that is arranged side by side
Shake the to be switched account of selection;
Second switching subelement, for the account of current application to be switched to the to be switched account.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
The method and mobile terminal of a kind of mobile terminal switching account provided in an embodiment of the present invention, wherein mobile terminal
Switch the method for account, comprising: get the account switching command that the display interface in current application is triggered according to preset mode;
All accounts are shown with tabular form in display interface any position;Determine the to be switched account that user is selected by list, and
It switches over.In the present embodiment, account handoff functionality is directly triggered by the current display interface in mobile terminal, and carry out account
Number selection switches again, solves since current account switching mode is " to enter personal information interface -> click user account head
As -> enter account management interface -> click is exited -> and click new account -> login again ", and caused by the low technology of experience property ask
Topic.
Specific embodiment
The embodiment of the invention provides the methods and mobile terminal of a kind of mobile terminal switching account, solve due to current
Account switching mode be " to enter personal information interface -> click user account head portrait -> entering account management interface -> to beat back
Out -> click new account -> login again ", and caused by the low technical problem of experience property.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field
Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention
Range.
Referring to Fig. 1, a kind of one embodiment packet of the method for mobile terminal switching account provided in an embodiment of the present invention
It includes:
101, the account switching command that the display interface in current application is triggered according to preset mode is got;
In the present embodiment, when user needs in current application, as mobile terminal client on carry out the switching of account
When, it is necessary first to get the account switching command that the display interface in current application is triggered according to preset mode.
102, all accounts are shown with tabular form in display interface any position;
After the account switching command that the display interface got in current application is triggered according to preset mode, need
Display interface any position shows all accounts with tabular form.
103, it determines the to be switched account that user is selected by list, and switches over.
After showing all accounts in display interface any position with tabular form, it is thus necessary to determine that user is selected by list
The to be switched account selected, and switch over.
In the present embodiment, account handoff functionality is directly triggered by the current display interface in mobile terminal, and carry out account
Number selection switches again, solves since current account switching mode is " to enter personal information interface -> click user account head
As -> enter account management interface -> click is exited -> and click new account -> login again ", and caused by the low technology of experience property ask
Topic.
The above is that the process of the method for mobile terminal switching account is described in detail, below will be in display interface
Any position shows that the detailed process of all accounts is described in detail with tabular form, referring to Fig. 2, the embodiment of the present invention
A kind of another embodiment of method of mobile terminal switching account provided includes:
201, account switching command of the user according to preset time period by triggering at the top of display interface long-pressing is got;
In the present embodiment, when user needs in current application, as mobile terminal client on carry out the switching of account
When, it is necessary first to account switching command of the user according to preset time period by triggering at the top of display interface long-pressing is got, it is aforementioned
Preset time period can be it is customized, such as user mobile terminal open using current display interface top long-pressing trigger
Account switching command.
202, downslide one is used to for all accounts being arranged side by side to show the switching space of all accounts at the top of display interface,
And show that account increases key newly in the switching space leftmost side or the rightmost side;
When gliding at the top of display interface one the switching space of all accounts is shown for all accounts to be arranged side by side, and
After the switching space leftmost side or the rightmost side show that account increases key newly, need to glide one at the top of display interface for that will own
Account, which is arranged side by side, shows the switching space of all accounts, and shows that account increases key newly in the switching space leftmost side or the rightmost side.
203, determine that user scroll left and right by all accounts for the display that is arranged side by side the to be switched account of selection;
After showing all accounts in display interface any position with tabular form, it is thus necessary to determine that user by arranging side by side
All accounts of column display scroll left and right the to be switched account of selection.
204, the account of current application is switched into be switched account.
After determining that user carries out scrolling left and right the to be switched account of selection by all accounts for the display that is arranged side by side,
It needs the account of current application switching to be switched account.
In the present embodiment, account handoff functionality is directly triggered by the current display interface in mobile terminal, and carry out account
Number selection switches again, solves since current account switching mode is " to enter personal information interface -> click user account head
As -> enter account management interface -> click is exited -> and click new account -> login again ", and caused by the low technology of experience property ask
Topic.
The above is to show that the detailed process progress of all accounts is detailed in display interface any position with tabular form
Description, below will be described in detail switching mode, referring to Fig. 3, a kind of mobile terminal provided in an embodiment of the present invention
Another embodiment of method for switching account includes:
301, account switching command of the user according to preset time period by triggering at the top of display interface long-pressing is got;
In the present embodiment, when user needs in current application, as mobile terminal client on carry out the switching of account
When, it is necessary first to account switching command of the user according to preset time period by triggering at the top of display interface long-pressing is got, it is aforementioned
Preset time period can be it is customized, such as user mobile terminal open using current display interface top long-pressing trigger
Account switching command.
302, downslide one is used to for all accounts being arranged side by side to show the switching space of all accounts at the top of display interface,
And show that account increases key newly in the switching space leftmost side or the rightmost side;
When gliding at the top of display interface one the switching space of all accounts is shown for all accounts to be arranged side by side, and
After the switching space leftmost side or the rightmost side show that account increases key newly, need to glide one at the top of display interface for that will own
Account, which is arranged side by side, shows the switching space of all accounts, and shows that account increases key newly in the switching space leftmost side or the rightmost side.
303, determine that user rock from side to side the to be switched account of selection by all accounts for the display that is arranged side by side;
After showing all accounts in display interface any position with tabular form, it is thus necessary to determine that user by arranging side by side
All accounts of column display rock from side to side the to be switched account of selection.
304, the account of current application is switched into be switched account.
After determining user by all accounts for the display that is arranged side by side and rock from side to side the to be switched account of selection,
It needs the account of current application switching to be switched account.
In the present embodiment, account handoff functionality is directly triggered by the current display interface in mobile terminal, and carry out account
Number selection switches again, solves since current account switching mode is " to enter personal information interface -> click user account head
As -> enter account management interface -> click is exited -> and click new account -> login again ", and caused by the low technology of experience property ask
Topic, and the mobile terminal that rocks from side to side carry out account switching, further realize the beneficial effect for efficiently and rapidly switching account
Fruit.
In order to make it easy to understand, be described in detail below with embodiment of the concrete application scene to Fig. 2, shown in Fig. 6,
Application examples includes:
1) user is in active client, and at the top of long-pressing client, client has a downslide to act at this time, and it is empty to vacate top
Between show account list;
2) account shown from left to right arranges, and selecting the account to be switched to be clicked by rolling, (client is in list
Account switching, register are completed when hitting);
3) client restPoses, and account switches successfully;
4) there is a "+" number in the account list rightmost side, click can increase account newly.
The one embodiment for please referring to a kind of mobile terminal provided in Fig. 4 embodiment of the present invention includes:
Acquiring unit 401, the account switching that the display interface for getting in current application is triggered according to preset mode
Instruction;
Account display unit 402, for showing all accounts in display interface any position with tabular form;
Determine switch unit 403, the to be switched account selected for determining user by list, and switch over.
In the present embodiment, by acquiring unit 401, account display unit 402 and determine switch unit 403 in mobile terminal
Current display interface directly trigger account handoff functionality, and carry out account selection switch again, solve due to current account
Switching mode be " enter personal information interface -> click user account head portrait -> enter account management interface -> click exit -> again
Click new account -> login ", and caused by the low technical problem of experience property.
The above is that each unit of mobile terminal is described in detail, and sub-unit is described in detail below,
Referring to Fig. 5, a kind of one embodiment of the mobile terminal provided in the embodiment of the present invention includes:
Acquiring unit 501, the account switching that the display interface for getting in current application is triggered according to preset mode
Instruction, acquiring unit 501, specifically for getting account of the user according to preset time period by triggering at the top of display interface long-pressing
Switching command.;
Account display unit 502, for showing that all accounts, account are shown in display interface any position with tabular form
Unit 502 one shows the switching of all accounts for all accounts to be arranged side by side specifically for gliding at the top of display interface
Space, and show that account increases key newly in the switching space leftmost side or the rightmost side;
Determine switch unit 503, the to be switched account selected for determining user by list, and switch over.
Determine that switch unit 503 specifically includes:
First determines subelement 5031, for determining that user is scrolled left and right by all accounts for the display that is arranged side by side
The to be switched account of selection;
First switching subelement 5032, for the account of current application to be switched to be switched account.
Determining switch unit 503 can also include:
Second determines subelement 5033, for determining that user is rocked from side to side by all accounts for the display that is arranged side by side
The to be switched account of selection;
Second switching subelement 5034, for the account of current application to be switched to be switched account.
In the present embodiment, by acquiring unit 501, account display unit 502 and determine switch unit 503 in mobile terminal
Current display interface directly trigger account handoff functionality, and carry out account selection switch again, solve due to current account
Switching mode be " enter personal information interface -> click user account head portrait -> enter account management interface -> click exit -> again
Click new account -> login ", and caused by the low technical problem of experience property and second determine that subelement 5033 shakes according to left and right
Dynamic mobile terminal carries out account switching, further realizes the beneficial effect for efficiently and rapidly switching account.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.