CN105094898A - Method for switching account of application program and terminal - Google Patents

Method for switching account of application program and terminal Download PDF

Info

Publication number
CN105094898A
CN105094898A CN201510398864.8A CN201510398864A CN105094898A CN 105094898 A CN105094898 A CN 105094898A CN 201510398864 A CN201510398864 A CN 201510398864A CN 105094898 A CN105094898 A CN 105094898A
Authority
CN
China
Prior art keywords
gesture
account
swing
application
terminal
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.)
Pending
Application number
CN201510398864.8A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510398864.8A priority Critical patent/CN105094898A/en
Publication of CN105094898A publication Critical patent/CN105094898A/en
Pending legal-status Critical Current

Links

Abstract

An embodiment of the invention discloses a method for switching an account of an application program, which comprises: acquire swing datum of a terminal; the swing datum comprise at least one of swing movement, swing speed and swing accelerated speed; determine swing gesture of the terminal based on the swing datum of the terminal; log in the first application account when the swing gesture of the terminal is the same with a log-in gesture of a first application account of a preset and specified application program; and if a swing gesture that is same with a log-in gesture of a second application account of a preset and specified application program is acquired within the preset time, then the log-in account of the specified application program is switched to the second application account. The embodiment of the invention also discloses a terminal. By adopting the method and the terminal provided herein, the method and the terminal have the advantages of improving the efficiency of logging in the application account of the application program, enhancing the safety of the application account of the application program, and increasing user experience to the terminal.

Description

A kind of method that application program account switches and terminal
Technical field
The present invention relates to communication technical field, particularly relate to method and the terminal of the switching of a kind of application program account.
Background technology
Current day by day universal along with terminals such as mobile phones, mobile phone has become a part inseparable in cellphone subscriber's life.Mobile phone by mobile phone chats, play games, read or browse webpage etc., different cellphone subscribers uses during same portion's mobile phone also can log in different chat accounts on mobile phone, or different GIDs or webpage account.
In prior art, when cellphone subscriber switches the different account of same application, need manually to input the information such as account name, account number cipher and log in, complex operation, input error probability is large, and password is easily cracked, and security is low.
Summary of the invention
A kind of method that the embodiment of the present invention provides application program account to switch and terminal, the login switching of the different accounts of application program can be carried out according to the wobble data of terminal, the efficiency that the application account that improve application program logs in, enhance the security of the application account of application program, strengthen the Consumer's Experience of terminal.
Embodiments provide a kind of method that application program account switches, it can comprise:
Obtain the wobble data of terminal, described wobble data comprises: at least one in wobbling action, swing speed and oscillating acceleration;
The swing gesture of described terminal is determined, the combination in any of the multinomial data that described swing gesture is wobble data described at least one according to the wobble data of described terminal;
When described swing gesture and first of the specified application preset of described terminal apply the login gesture of account identical time, log in described first and apply account;
The swing gesture that the login gesture applying account with second of the described specified application preset if acquire in Preset Time is identical, then switch to described second application account by the login account of described specified application.
Wherein, before the wobble data of described acquisition terminal, described method also comprises:
Obtain one or more application account of described specified application;
Set the login gesture of each described application account, and the login gesture of described each application account is stored to designated memory space;
Wherein, the login gesture of described each application account comprises: wobbling action, and the swaying direction of described wobbling action or swing speed or oscillating acceleration.
Wherein, the described wobble data according to described terminal determines the swing gesture of described terminal, comprising:
Determine the combination of actions of the swing gesture of described terminal according to the wobble data of described terminal, described combination of actions comprises multiple wobbling actions of different swaying direction; Or
The combination of actions of the swing gesture of described terminal is determined according to the wobble data of described terminal, described combination of actions comprises multiple wobbling actions of different swaying direction, and determine the swaying direction of each wobbling action in described combination of actions, or swing speed, or oscillating acceleration.
Wherein, after the described wobble data according to described terminal determines the swing gesture of described terminal, described method also comprises:
The login gesture of the swing gesture of described terminal with each application account of the described specified application prestored is mated, determines the intended application account corresponding with the login gesture that described swing gesture matches;
Wherein, described intended application account comprises: described first application account, or described second application account.
Wherein, described specified application comprises: at least one in instant messaging application program, game, copy editor's application program and social application program.
The embodiment of the present invention additionally provides a kind of terminal, and it can comprise:
Acquisition module, for obtaining the wobble data of terminal, described wobble data comprises: at least one in wobbling action, swing speed and oscillating acceleration;
Determination module, the wobble data for the described terminal obtained according to described acquisition module determines the swing gesture of described terminal, the combination in any of the multinomial data that described swing gesture is wobble data described at least one;
Login module, for determine at described determination module the described swing gesture of described terminal and preset first of specified application apply the login gesture of account identical time, log in described first and apply account;
Handover module, for at described acquisition module in Preset Time, acquire when apply the identical swing gesture of the login gesture of account with second of the described specified application preset, trigger described login module and switched to by the login account of described specified application described second to apply account.
Wherein, described acquisition module, also for obtaining one or more application account of described specified application;
Described terminal also comprises:
Module being set, for setting the login gesture of each described application account that described acquisition module obtains, and the login gesture of described each application account being stored to designated memory space;
Wherein, the login gesture of described each application account comprises: wobbling action, and the swaying direction of described wobbling action or swing speed or oscillating acceleration.
Wherein, described determination module specifically for:
Determine the combination of actions of the swing gesture of described terminal according to the wobble data of described terminal, described combination of actions comprises multiple wobbling actions of different swaying direction; Or
The combination of actions of the swing gesture of described terminal is determined according to the wobble data of described terminal, described combination of actions comprises multiple wobbling actions of different swaying direction, and determine the swaying direction of each wobbling action in described combination of actions, or swing speed, or oscillating acceleration.
Wherein, described terminal also comprises:
Matching module, for the swing gesture of described terminal that described determination module is determined, mate with the described login gesture arranging each application account of the described specified application that module prestores, determine the intended application account corresponding with the login gesture that described swing gesture matches;
Wherein, described intended application account comprises: described first application account, or described second application account.
Wherein, described specified application comprises: at least one in instant messaging application program, game, copy editor's application program and social application program.
Implement the embodiment of the present invention, there is following beneficial effect:
First the embodiment of the present invention can obtain the wobble data of terminal, above-mentioned wobble data comprises: wobbling action, swing speed and oscillating acceleration etc., and can according to the swing gesture of the wobble data determination terminal of above-mentioned terminal, wherein, above-mentioned swing gesture is the combination in any of the multinomial data of the wobble datas such as above-mentioned wobbling action, swing speed or oscillating acceleration.Each login gesture applying account of the swing gesture determined and the specified application prestored can be mated by terminal, when the login gesture that the swing gesture of terminal and first of specified application apply account is identical, logs in described first application account.If terminal has logged in the first application account, then when terminal acquires the identical swing gesture of the login gesture of applying account with second of specified application in Preset Time, then the login account of above-mentioned specified application is switched to above-mentioned second application account.The embodiment of the present invention can carry out login, the switching of the different accounts of application program according to the wobble data of terminal, the efficiency that the account that improve end application logs in or switches, enhance the security of the account of end application, strengthen the Consumer's Experience of terminal.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of the method for the application program account switching that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of the method for the application program account switching that the embodiment of the present invention provides;
Fig. 3 is a structural representation of the embodiment of the terminal that the embodiment of the present invention provides;
Fig. 4 is another structural representation of the embodiment of the terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In specific implementation, the terminal described in the embodiment of the present invention can comprise: mobile phone, panel computer, notebook computer or personal computer assistant etc., and above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal, does not limit at this.Below will for mobile phone, the method that the application program account that composition graphs 1 to Fig. 4 provides the embodiment of the present invention switches and terminal are specifically described.
It should be noted that, application program described in the embodiment of the present invention can comprise: the instant messaging application programs such as QQ, micro-letter, microblogging or Fetion, or game, or copy editor's application programs such as WPS, or know, the ends of the earth, the social application program etc. such as Baidu or bean cotyledon, above-mentioned application program is only citing, and non exhaustive, including but not limited to above-mentioned application program.
See Fig. 1, it is the first embodiment schematic flow sheet of the method for the application program account switching that the embodiment of the present invention provides.The method that application program account described in the embodiment of the present invention switches, comprises step:
S101, obtain the wobble data of terminal, described wobble data comprises: at least one in wobbling action, swing speed and oscillating acceleration.
In the embodiment that some are feasible, first mobile phone can obtain the wobble data of mobile phone by its built-in sensors, wherein, above-mentioned wobble data can comprise: wobbling action, swing speed and oscillating acceleration etc.Concrete, mobile phone obtains the wobble datas such as the swaying direction of mobile phone, swing speed, oscillating acceleration or amplitude of fluctuation by the sensor such as its built-in gyroscope, and then can according to the wobbling action of the swaying direction of mobile phone and amplitude of fluctuation determination mobile phone, such as, when the direction of mobile phone to the mobile phone screen left side swings, and when amplitude of fluctuation exceedes predetermined amplitude threshold value, can determine that the wobbling action of now mobile phone is: swing left.Further, mobile phone determines its swaying direction for after swinging left, also can according to the wobble data determination swing speed detected and the wobble data such as oscillating acceleration, and then can according to the swing gesture of above-mentioned wobble data determination mobile phone.
S102, determines the swing gesture of described terminal according to the wobble data of described terminal, the combination in any of the multinomial data that described swing gesture is wobble data described at least one.
In specific implementation, the hand-holdable mobile phone of cellphone subscriber does several continuous print wobbling action, that is, first swing an action, and swings second action after prefixed time interval, swings the 3rd action after next prefixed time interval again.Mobile phone obtains each wobbling action of mobile phone swing by sensors such as its built-in gyroscopes, and records the acquisition time of each action, and then each wobbling action that above-mentioned mobile phone swings can be combined into the swing gesture of mobile phone.Concrete, cellphone subscriber can preset the wobbling action combination of the swing gesture of mobile phone, such as, swing left+swing to the right+swing to the right+swing left, cellphone subscriber also can preset the composite component of each wobbling action, such as, swaying direction and swing speed, swaying direction and oscillating acceleration or swaying direction and amplitude of fluctuation etc.That is, cellphone subscriber can preset the swing gesture of mobile phone, and above-mentioned swing gesture can be the combination in any of the swaying direction of mobile phone, amplitude of fluctuation, oscillating acceleration or swing speed.
In specific implementation, the swaying direction of the wobble data determination mobile phone that mobile phone can get according to its built-in sensors, amplitude of fluctuation, swing speed and oscillating acceleration, and then according to the wobbling action of above-mentioned wobble data determination mobile phone, and then can determine the swing gesture of mobile phone according to the duration of oscillation of each wobbling action or swing order.
S103, when the login gesture that the described swing gesture of described terminal and first of default specified application apply account is identical, logs in described first application account.
In the embodiment that some are feasible, cellphone subscriber can set the login gesture of each application account of specified application in advance in mobile phone, wherein, above-mentioned specified application can comprise: micro-letter, microblogging or QQ etc., do not limit at this, for micro-letter, will be specifically described below.Such as, the login gesture that cellphone subscriber can preset the first application account of micro-letter is: the right pendulum left swing of left swing left swing, and the login gesture of the second application account of micro-letter is: the right pendulum left swing of the right pendulum of left swing.After cellphone subscriber sets the login gesture of each application account of micro-letter, the corresponding relation then each can being applied account and login gesture is stored to the designated memory space of mobile phone, wherein, the designated memory space of above-mentioned mobile phone can comprise: the internal storage space of mobile phone, the cloud storage space etc. extending out storage space (as SD card) or mobile phone of mobile phone, do not limit at this.
In the embodiment that some are feasible, after mobile phone determines the swing gesture of mobile phone according to the wobble data that its built-in sensors gets, then the login gesture stored in the designated memory space of the swing gesture of mobile phone and mobile phone can be mated, determine that whether the swing gesture of mobile phone is any one in the multiple login gestures stored in the designated memory space of mobile phone.When mobile phone judge to learn store in the swing gesture of mobile phone and the designated memory space of mobile phone first log in gesture identical time, then can log according to first the first application account that gesture determine its correspondence.When mobile phone judge to learn store in the swing gesture of mobile phone and the designated memory space of mobile phone second log in gesture identical time, then can log according to first the second application account that gesture determine its correspondence.
Mobile phone determine its swing gesture and first of the specified application stored in mobile phone apply the login gesture of account identical time, then can switch to the login interface of above-mentioned specified application and log in above-mentioned first and apply account.Cellphone subscriber without the need to inputting the information such as the first application account title of account or login password on login interface, mobile phone can carry out the login of the first application account according to the swing gesture of mobile phone, simplify the login formality of application account, improve the login efficiency of application account, enhance the security of application account.
S104, the swing gesture that the login gesture applying account with second of the described specified application preset if acquire in Preset Time is identical, then switch to described second application account by the login account of described specified application.
In the embodiment that some are feasible, mobile phone is also monitored by the swing situation of embedded in mobile phone sensor to mobile phone after having logged in the first application account according to the login gesture of the first application account.When the built-in sensors of mobile phone acquires new wobble data in Preset Time, and after determining new swing gesture (as second swings gesture) according to the wobble data got, mobile phone can swing gesture by get second and mate with multiple login gestures that the designated memory space of mobile phone stores.When mobile phone determine to get second swing gesture be the login gesture of the second application account prestored in mobile phone identical time, the user interface of mobile phone then can be switched to the login interface of above-mentioned specified application by mobile phone, and logs in above-mentioned second application account.Cellphone subscriber without the need to inputting the information such as the second application account title of account or login password on login interface, mobile phone can carry out the login of the second application account according to the swing gesture of mobile phone, the login realizing the first application account and the second application account switches, simplify the operating performance that application account switches, the switching that improve application account logs in efficiency, enhances the application security of account and the Consumer's Experience of mobile phone.
In embodiments of the present invention, first mobile phone can obtain its wobble data, above-mentioned wobble data comprises: wobbling action, swing speed and oscillating acceleration etc., and can according to the swing gesture of above-mentioned wobble data determination mobile phone, wherein, above-mentioned swing gesture is the combination in any of the multinomial data of the wobble datas such as above-mentioned wobbling action, swing speed or oscillating acceleration.Each login gesture applying account of the swing gesture determined and the specified application prestored can be mated by mobile phone, when the login gesture that the swing gesture of mobile phone and first of specified application apply account is identical, logs in described first application account.If mobile phone has logged in the first application account, then when mobile phone acquires the identical swing gesture of the login gesture of applying account with second of specified application in Preset Time, then the login account of above-mentioned specified application is switched to above-mentioned second application account.The embodiment of the present invention can carry out login, the switching of the different accounts of application program according to the wobble data of mobile phone, the efficiency that the account that improve application program of mobile phone logs in or switches, enhance the security of the account of application program of mobile phone, strengthen the Consumer's Experience of mobile phone.
See Fig. 2, it is the second embodiment schematic flow sheet of the method for the application program account switching that the embodiment of the present invention provides.The method that application program account described in the embodiment of the present invention switches, comprises step:
S201, obtains one or more application account of described specified application, sets the login gesture of each described application account, and the login gesture of described each application account is stored to designated memory space.
In the embodiment that some are feasible, cellphone subscriber can set the login gesture of each application account of specified application in advance in mobile phone, wherein, above-mentioned specified application can comprise: micro-letter, microblogging or QQ etc., do not limit at this, for micro-letter, will be specifically described below.Such as, the login gesture that cellphone subscriber can preset the first application account of micro-letter is: the right pendulum left swing of left swing left swing, and the login gesture of the second application account of micro-letter is: the right pendulum left swing of the right pendulum of left swing.After cellphone subscriber sets the login gesture of each application account of micro-letter, mobile phone can obtain one or more application account of the micro-letter stored in mobile phone, and obtain the login gesture of each application account of micro-letter of cellphone subscriber's setting, and then each application account above-mentioned and the corresponding relation logging in gesture can be stored to the designated memory space of mobile phone.Wherein, the designated memory space of above-mentioned mobile phone can comprise: the internal storage space of mobile phone, the cloud storage space etc. extending out storage space (as SD card) or mobile phone of mobile phone, do not limit at this.
S202, obtain the wobble data of terminal, described wobble data comprises: at least one in wobbling action, swing speed and oscillating acceleration.
In the embodiment that some are feasible, the specific implementation process that mobile phone obtains its wobble data see the implementation described by the step S101 in above-mentioned first embodiment, can not repeat them here.
S203, determine the combination of actions of the swing gesture of described terminal according to the wobble data of described terminal, described combination of actions comprises multiple wobbling actions of different swaying direction, and determines the swaying direction of each wobbling action in described combination of actions, or swing speed, or oscillating acceleration.
In the embodiment that some are feasible, the hand-holdable mobile phone of cellphone subscriber does several continuous print wobbling action, that is, first swing an action, and swings second action after prefixed time interval, swings the 3rd action after next prefixed time interval again.During the swing gesture that mobile phone determination mobile phone swings, first can be obtained the wobble data of mobile phone by sensors such as its built-in gyroscopes, and according to each wobbling action that the wobble data determination mobile phone got swings.Further, mobile phone also can record the acquisition time of each action, and then each wobbling action that above-mentioned mobile phone swings can be combined into the swing gesture of mobile phone.Concrete, cellphone subscriber can preset the wobbling action combination of the swing gesture of mobile phone, such as, swing left+swing to the right+swing to the right+swing left, cellphone subscriber also can preset the composite component of each wobbling action, such as, swaying direction and swing speed, swaying direction and oscillating acceleration or swaying direction and amplitude of fluctuation etc.That is, cellphone subscriber can preset the swing gesture of mobile phone, and above-mentioned swing gesture can be the combination in any of the swaying direction of mobile phone, amplitude of fluctuation, oscillating acceleration or swing speed.Namely, mobile phone also can determine the swaying direction of each wobbling action above-mentioned after determining each wobbling action of mobile phone swing according to the wobble data that it gets, or swing speed, or oscillating acceleration, and then according to the swing gesture of the above-mentioned wobble data determination mobile phone determined.
S204, mates the login gesture of the swing gesture of described terminal with each application account of the described specified application prestored, determines the intended application account corresponding with the login gesture that described swing gesture matches.
In the embodiment that some are feasible, after mobile phone determines the swing gesture of mobile phone according to the wobble data that its built-in sensors gets, then the login gesture stored in the designated memory space of the swing gesture of mobile phone and mobile phone can be mated, determine that whether the swing gesture of mobile phone is any one in the multiple login gestures stored in the designated memory space of mobile phone.In specific implementation, the login gesture of each application account that swing gesture and mobile phone that mobile phone can be got prestore is mated, and determines that whether the swing gesture of mobile phone is identical with any one in the multiple login gestures prestored in mobile phone.If mobile phone determines it and swings gesture and certain in the multiple login gestures prestored to log in mobile phone identical, then in conjunction with the corresponding relation of each application account above-mentioned and login gesture, the application account that above-mentioned login gesture is corresponding can be determined.Such as, when mobile phone judge to learn store in the swing gesture of mobile phone and the designated memory space of mobile phone first log in gesture identical time, then can log according to first the first application account that gesture determine its correspondence.When mobile phone judge to learn store in the swing gesture of mobile phone and the designated memory space of mobile phone second log in gesture identical time, then can log according to first the second application account that gesture determine its correspondence.
S205, when the login gesture that the described swing gesture of described terminal and first of default specified application apply account is identical, logs in described first application account.
S206, the swing gesture that the login gesture applying account with second of the described specified application preset if acquire in Preset Time is identical, then switch to described second application account by the login account of described specified application.
In specific implementation, the specific implementation process that the switching that above-mentioned mobile phone logs in the first application account and carries out the first application account and the second application account logs in see the step S103 in above-mentioned first embodiment and S104, can not repeat them here.
In embodiments of the present invention, first mobile phone can obtain one or more application account of specified application, and set the login gesture of each application account, and then can according to the swing gesture of the wobble data determination mobile phone got, wherein, above-mentioned swing gesture is the combination in any of the multinomial data of the wobble datas such as above-mentioned wobbling action, swing speed or oscillating acceleration.Each login gesture applying account of the swing gesture determined and the specified application prestored can be mated by mobile phone, when the login gesture that the swing gesture of mobile phone and first of specified application apply account is identical, logs in described first application account.If mobile phone has logged in the first application account, then when mobile phone acquires the identical swing gesture of the login gesture of applying account with second of specified application in Preset Time, then the login account of above-mentioned specified application is switched to above-mentioned second application account.The embodiment of the present invention can carry out login, the switching of the different accounts of application program according to the wobble data of mobile phone, improve application program of mobile phone account log in or switch efficiency and accuracy rate, enhance the security of the account of application program of mobile phone, strengthen the Consumer's Experience of mobile phone.
See Fig. 3, it is the first example structure schematic diagram of the terminal that the embodiment of the present invention provides.Terminal described in the embodiment of the present invention, comprising:
Acquisition module 10, for obtaining the wobble data of terminal, described wobble data comprises: at least one in wobbling action, swing speed and oscillating acceleration.
Determination module 20, the wobble data for the described terminal obtained according to described acquisition module determines the swing gesture of described terminal, the combination in any of the multinomial data that described swing gesture is wobble data described at least one.
Login module 30, for determine at described determination module the described swing gesture of described terminal and preset first of specified application apply the login gesture of account identical time, log in described first and apply account.
Handover module 40, for at described acquisition module in Preset Time, acquire when apply the identical swing gesture of the login gesture of account with second of the described specified application preset, trigger described login module and switched to by the login account of described specified application described second to apply account.
In the embodiment that some are feasible, above-mentioned acquisition module 10, also for obtaining one or more application account of described specified application.
In the embodiment that some are feasible, the terminal (as Fig. 4) described in the embodiment of the present invention also comprises:
Module 60 being set, for setting the login gesture of each described application account that described acquisition module obtains, and the login gesture of described each application account being stored to designated memory space;
Wherein, the login gesture of described each application account comprises: wobbling action, and the swaying direction of described wobbling action or swing speed or oscillating acceleration.
In the embodiment that some are feasible, above-mentioned determination module 20 specifically for:
Determine the combination of actions of the swing gesture of described terminal according to the wobble data of described terminal, described combination of actions comprises multiple wobbling actions of different swaying direction; Or
The combination of actions of the swing gesture of described terminal is determined according to the wobble data of described terminal, described combination of actions comprises multiple wobbling actions of different swaying direction, and determine the swaying direction of each wobbling action in described combination of actions, or swing speed, or oscillating acceleration.
In the embodiment that some are feasible, the terminal (as Fig. 4) described in the embodiment of the present invention also comprises:
Matching module 60, for the swing gesture of described terminal that described determination module is determined, mate with the described login gesture arranging each application account of the described specified application that module prestores, determine the intended application account corresponding with the login gesture that described swing gesture matches;
Wherein, described intended application account comprises: described first application account, or described second application account.
In the embodiment that some are feasible, first acquisition module 10 can obtain the wobble data of mobile phone by the built-in sensors of mobile phone, wherein, above-mentioned wobble data can comprise: wobbling action, swing speed and oscillating acceleration etc.Concrete, acquisition module 10 obtains the wobble datas such as the swaying direction of mobile phone, swing speed, oscillating acceleration or amplitude of fluctuation by the sensor such as its built-in gyroscope, and then by the wobbling action of determination module 20 according to the swaying direction of mobile phone and amplitude of fluctuation determination mobile phone, such as, when the direction of mobile phone to the mobile phone screen left side swings, and when amplitude of fluctuation exceedes predetermined amplitude threshold value, can determine that the wobbling action of now mobile phone is: swing left.Further, determination module 20 determines its swaying direction for after swinging left, also can according to the wobble data determination swing speed detected and the wobble data such as oscillating acceleration, and then can according to the swing gesture of above-mentioned wobble data determination mobile phone.
In specific implementation, the hand-holdable mobile phone of cellphone subscriber does several continuous print wobbling action, that is, first swing an action, and swings second action after prefixed time interval, swings the 3rd action after next prefixed time interval again.Acquisition module 10 obtains by the sensor such as gyroscope of embedded in mobile phone each wobbling action that mobile phone swings, and records the acquisition time of each action, and then each wobbling action that above-mentioned mobile phone swings can be combined into the swing gesture of mobile phone.Concrete, cellphone subscriber can preset the wobbling action combination of the swing gesture of mobile phone, such as, swing left+swing to the right+swing to the right+swing left, cellphone subscriber also can preset the composite component of each wobbling action, such as, swaying direction and swing speed, swaying direction and oscillating acceleration or swaying direction and amplitude of fluctuation etc.That is, cellphone subscriber can preset the swing gesture of mobile phone, and above-mentioned swing gesture can be the combination in any of the swaying direction of mobile phone, amplitude of fluctuation, oscillating acceleration or swing speed.
In the embodiment that some are feasible, cellphone subscriber can set the login gesture of each application account of specified application in advance in mobile phone, wherein, above-mentioned specified application can comprise: micro-letter, microblogging or QQ etc., do not limit at this, for micro-letter, will be specifically described below.Such as, the login gesture that cellphone subscriber can preset the first application account of micro-letter is: the right pendulum left swing of left swing left swing, and the login gesture of the second application account of micro-letter is: the right pendulum left swing of the right pendulum of left swing.After cellphone subscriber sets the login gesture of each application account of micro-letter, one or more application account that module 50 can obtain the micro-letter stored in mobile phone is set, and obtain the login gesture of each application account of micro-letter of cellphone subscriber's setting, and then each application account above-mentioned and the corresponding relation logging in gesture can be stored to the designated memory space of mobile phone.Wherein, the designated memory space of above-mentioned mobile phone can comprise: the internal storage space of mobile phone, the cloud storage space etc. extending out storage space (as SD card) or mobile phone of mobile phone, do not limit at this.
In the embodiment that some are feasible, the hand-holdable mobile phone of cellphone subscriber does several continuous print wobbling action, that is, first swing an action, and swings second action after prefixed time interval, swings the 3rd action after next prefixed time interval again.When determination module 20 determines the swing gesture that mobile phone swings, first can be obtained the wobble data of mobile phone by sensors such as its built-in gyroscopes, and according to each wobbling action that the wobble data determination mobile phone got swings.Further, determination module 20 also can record the acquisition time of each action, and then each wobbling action that above-mentioned mobile phone swings can be combined into the swing gesture of mobile phone.Concrete, cellphone subscriber can preset the wobbling action combination of the swing gesture of mobile phone, such as, swing left+swing to the right+swing to the right+swing left, cellphone subscriber also can preset the composite component of each wobbling action, such as, swaying direction and swing speed, swaying direction and oscillating acceleration or swaying direction and amplitude of fluctuation etc.That is, cellphone subscriber can preset the swing gesture of mobile phone, and above-mentioned swing gesture can be the combination in any of the swaying direction of mobile phone, amplitude of fluctuation, oscillating acceleration or swing speed.Namely, determination module 20 also can determine the swaying direction of each wobbling action above-mentioned after determining each wobbling action of mobile phone swing according to the wobble data that it gets, or swing speed, or oscillating acceleration, and then according to the swing gesture of the above-mentioned wobble data determination mobile phone determined.
In the embodiment that some are feasible, after determination module 20 determines the swing gesture of mobile phone according to the wobble data that its built-in sensors gets, the login gesture stored in the designated memory space of the swing gesture of mobile phone and mobile phone can be mated by matching module 60, determines that whether the swing gesture of mobile phone is any one in the multiple login gestures stored in the designated memory space of mobile phone.In specific implementation, the login gesture of each application account that swing gesture and mobile phone that matching module 60 can be got prestore is mated, and determines that whether the swing gesture of mobile phone is identical with any one in the multiple login gestures prestored in mobile phone.If matching module 60 determines it and swings gesture and certain in the multiple login gestures prestored to log in mobile phone identical, determination module 20 can arrange each application account that module 50 sets and the corresponding relation logging in gesture in conjunction with above-mentioned, determines the application account that above-mentioned login gesture is corresponding.Such as, when matching module 60 judge to learn store in the swing gesture of mobile phone and the designated memory space of mobile phone first log in gesture identical time, then can log according to first the first application account that gesture determine its correspondence.When matching module 60 judge to learn store in the swing gesture of mobile phone and the designated memory space of mobile phone second log in gesture identical time, determination module 20 can log according to first the second application account that gesture determine its correspondence.
In the embodiment that some are feasible, determination module 20 determine its swing gesture and first of the specified application stored in mobile phone apply the login gesture of account identical time, then switch to the login interface of above-mentioned specified application by login module 30 and log in above-mentioned first and apply account.Cellphone subscriber without the need to inputting the information such as the first application account title of account or login password on login interface, login module 30 can carry out the login of the first application account according to the swing gesture of mobile phone, simplify the login formality of application account, improve the login efficiency of application account, enhance the security of application account.
In the embodiment that some are feasible, after login module 30 has logged in the first application account according to the login gesture of the first application account, handover module 40 has also been monitored by the swing situation of embedded in mobile phone sensor to mobile phone.When acquisition module 10 acquires new wobble data by the built-in sensors of mobile phone in Preset Time, and after determining new swing gesture (as second swings gesture) by determination module 20 according to the wobble data that acquisition module 10 gets, determination module 20 can swing gesture by get second and mate with multiple login gestures that the designated memory space of mobile phone stores.When determination module 20 determine to get second swing gesture be the login gesture of the second application account prestored in mobile phone identical time, switch, the user interface of mobile phone can be switched to the login interface of above-mentioned specified application by module 40, and logs in above-mentioned second application account by login module 30.Cellphone subscriber without the need to inputting the information such as the second application account title of account or login password on login interface, handover module 40 can trigger according to the swing gesture of mobile phone the login that login module 30 carries out the second application account, the login realizing the first application account and the second application account switches, simplify the operating performance that application account switches, the switching that improve application account logs in efficiency, enhances the application security of account and the Consumer's Experience of mobile phone.
In embodiments of the present invention, first mobile phone can obtain one or more application account of specified application, and set the login gesture of each application account, and then can according to the swing gesture of the wobble data determination mobile phone got, wherein, above-mentioned swing gesture is the combination in any of the multinomial data of the wobble datas such as above-mentioned wobbling action, swing speed or oscillating acceleration.Each login gesture applying account of the swing gesture determined and the specified application prestored can be mated by mobile phone, when the login gesture that the swing gesture of mobile phone and first of specified application apply account is identical, logs in described first application account.If mobile phone has logged in the first application account, then when mobile phone acquires the identical swing gesture of the login gesture of applying account with second of specified application in Preset Time, then the login account of above-mentioned specified application is switched to above-mentioned second application account.The embodiment of the present invention can carry out login, the switching of the different accounts of application program according to the wobble data of mobile phone, improve application program of mobile phone account log in or switch efficiency and accuracy rate, enhance the security of the account of application program of mobile phone, strengthen the Consumer's Experience of mobile phone.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a method for application program account switching, is characterized in that, comprising:
Obtain the wobble data of terminal, described wobble data comprises: at least one in wobbling action, swing speed and oscillating acceleration;
The swing gesture of described terminal is determined, the combination in any of the multinomial data that described swing gesture is wobble data described at least one according to the wobble data of described terminal;
When described swing gesture and first of the specified application preset of described terminal apply the login gesture of account identical time, log in described first and apply account;
The swing gesture that the login gesture applying account with second of the described specified application preset if acquire in Preset Time is identical, then switch to described second application account by the login account of described specified application.
2. the method for claim 1, is characterized in that, before the wobble data of described acquisition terminal, described method also comprises:
Obtain one or more application account of described specified application;
Set the login gesture of each described application account, and the login gesture of described each application account is stored to designated memory space;
Wherein, the login gesture of described each application account comprises: wobbling action, and the swaying direction of described wobbling action or swing speed or oscillating acceleration.
3. method as claimed in claim 1 or 2, it is characterized in that, the described wobble data according to described terminal determines the swing gesture of described terminal, comprising:
Determine the combination of actions of the swing gesture of described terminal according to the wobble data of described terminal, described combination of actions comprises multiple wobbling actions of different swaying direction; Or
The combination of actions of the swing gesture of described terminal is determined according to the wobble data of described terminal, described combination of actions comprises multiple wobbling actions of different swaying direction, and determine the swaying direction of each wobbling action in described combination of actions, or swing speed, or oscillating acceleration.
4. method as claimed in claim 3, it is characterized in that, after the described wobble data according to described terminal determines the swing gesture of described terminal, described method also comprises:
The login gesture of the swing gesture of described terminal with each application account of the described specified application prestored is mated, determines the intended application account corresponding with the login gesture that described swing gesture matches;
Wherein, described intended application account comprises: described first application account, or described second application account.
5. method as claimed in claim 4, it is characterized in that, described specified application comprises: at least one in instant messaging application program, game, copy editor's application program and social application program.
6. a terminal, is characterized in that, comprising:
Acquisition module, for obtaining the wobble data of terminal, described wobble data comprises: at least one in wobbling action, swing speed and oscillating acceleration;
Determination module, the wobble data for the described terminal obtained according to described acquisition module determines the swing gesture of described terminal, the combination in any of the multinomial data that described swing gesture is wobble data described at least one;
Login module, for determine at described determination module the described swing gesture of described terminal and preset first of specified application apply the login gesture of account identical time, log in described first and apply account;
Handover module, for at described acquisition module in Preset Time, acquire when apply the identical swing gesture of the login gesture of account with second of the described specified application preset, trigger described login module and switched to by the login account of described specified application described second to apply account.
7. terminal as claimed in claim 6, is characterized in that,
Described acquisition module, also for obtaining one or more application account of described specified application;
Described terminal also comprises:
Module being set, for setting the login gesture of each described application account that described acquisition module obtains, and the login gesture of described each application account being stored to designated memory space;
Wherein, the login gesture of described each application account comprises: wobbling action, and the swaying direction of described wobbling action or swing speed or oscillating acceleration.
8. terminal as claimed in claims 6 or 7, is characterized in that, described determination module specifically for:
Determine the combination of actions of the swing gesture of described terminal according to the wobble data of described terminal, described combination of actions comprises multiple wobbling actions of different swaying direction; Or
The combination of actions of the swing gesture of described terminal is determined according to the wobble data of described terminal, described combination of actions comprises multiple wobbling actions of different swaying direction, and determine the swaying direction of each wobbling action in described combination of actions, or swing speed, or oscillating acceleration.
9. terminal as claimed in claim 8, it is characterized in that, described terminal also comprises:
Matching module, for the swing gesture of described terminal that described determination module is determined, mate with the described login gesture arranging each application account of the described specified application that module prestores, determine the intended application account corresponding with the login gesture that described swing gesture matches;
Wherein, described intended application account comprises: described first application account, or described second application account.
10. terminal as claimed in claim 9, it is characterized in that, described specified application comprises: at least one in instant messaging application program, game, copy editor's application program and social application program.
CN201510398864.8A 2015-07-08 2015-07-08 Method for switching account of application program and terminal Pending CN105094898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510398864.8A CN105094898A (en) 2015-07-08 2015-07-08 Method for switching account of application program and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510398864.8A CN105094898A (en) 2015-07-08 2015-07-08 Method for switching account of application program and terminal

Publications (1)

Publication Number Publication Date
CN105094898A true CN105094898A (en) 2015-11-25

Family

ID=54575410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510398864.8A Pending CN105094898A (en) 2015-07-08 2015-07-08 Method for switching account of application program and terminal

Country Status (1)

Country Link
CN (1) CN105094898A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227456A (en) * 2016-07-28 2016-12-14 广东小天才科技有限公司 A kind of login account management method based on touch-control and device, user terminal
CN106896983A (en) * 2017-02-10 2017-06-27 合网络技术(北京)有限公司 Interface display control method and device
CN106951259A (en) * 2017-03-27 2017-07-14 宇龙计算机通信科技(深圳)有限公司 One kind application account starts method and device
WO2018107727A1 (en) * 2016-12-13 2018-06-21 中兴通讯股份有限公司 Method and device for information processing, and terminal
CN109413761A (en) * 2018-12-12 2019-03-01 达州市志向科技外包服务有限公司 A kind of method of calling and calling network platform applied to calling network platform
CN111490931A (en) * 2020-04-14 2020-08-04 腾讯科技(深圳)有限公司 Session management method, device, session management equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685314A (en) * 2011-03-18 2012-09-19 宏碁股份有限公司 Mobile device and control method thereof
CN102968343A (en) * 2012-11-14 2013-03-13 广东欧珀移动通信有限公司 Method and system for switching users
CN103092489A (en) * 2013-01-31 2013-05-08 浪潮集团有限公司 Touch screen device fingerprint gesture unlocking method
CN103631733A (en) * 2012-08-21 2014-03-12 联想(北京)有限公司 Control method and device
CN103810002A (en) * 2012-11-12 2014-05-21 杨正光 Method for quickly selecting function of intelligent device, recording medium and computer program product
CN104200143A (en) * 2014-09-04 2014-12-10 广东欧珀移动通信有限公司 Method and system for inputting password into intelligent mobile terminal rapidly through wearable device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685314A (en) * 2011-03-18 2012-09-19 宏碁股份有限公司 Mobile device and control method thereof
CN103631733A (en) * 2012-08-21 2014-03-12 联想(北京)有限公司 Control method and device
CN103810002A (en) * 2012-11-12 2014-05-21 杨正光 Method for quickly selecting function of intelligent device, recording medium and computer program product
CN102968343A (en) * 2012-11-14 2013-03-13 广东欧珀移动通信有限公司 Method and system for switching users
CN103092489A (en) * 2013-01-31 2013-05-08 浪潮集团有限公司 Touch screen device fingerprint gesture unlocking method
CN104200143A (en) * 2014-09-04 2014-12-10 广东欧珀移动通信有限公司 Method and system for inputting password into intelligent mobile terminal rapidly through wearable device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227456A (en) * 2016-07-28 2016-12-14 广东小天才科技有限公司 A kind of login account management method based on touch-control and device, user terminal
WO2018107727A1 (en) * 2016-12-13 2018-06-21 中兴通讯股份有限公司 Method and device for information processing, and terminal
CN108460259A (en) * 2016-12-13 2018-08-28 中兴通讯股份有限公司 A kind of information processing method, device and terminal
CN106896983A (en) * 2017-02-10 2017-06-27 合网络技术(北京)有限公司 Interface display control method and device
US10425807B2 (en) 2017-02-10 2019-09-24 Youku Internet Technology (Beijing) Co., Ltd. Method and apparatus for controlling interface display
CN106951259A (en) * 2017-03-27 2017-07-14 宇龙计算机通信科技(深圳)有限公司 One kind application account starts method and device
CN109413761A (en) * 2018-12-12 2019-03-01 达州市志向科技外包服务有限公司 A kind of method of calling and calling network platform applied to calling network platform
CN109413761B (en) * 2018-12-12 2022-06-14 达州市志向科技外包服务有限公司 Calling method applied to network calling platform and network calling platform
CN111490931A (en) * 2020-04-14 2020-08-04 腾讯科技(深圳)有限公司 Session management method, device, session management equipment and storage medium
CN111490931B (en) * 2020-04-14 2021-10-15 腾讯科技(深圳)有限公司 Session management method, device, session management equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105094898A (en) Method for switching account of application program and terminal
CN104283843B (en) A kind of method, apparatus and system that user logs in
CN104270348B (en) The polygonal look implementation method of the same account of social networks, changing method and system
CN103634294A (en) Information verifying method and device
CN103107974A (en) Method for registration and login of users and mobile terminal
CN103152402A (en) Method and system for logging in through mobile terminal and cloud server
CN104518875A (en) Identity authentication method, account acquisition method and mobile terminal
CN105363201A (en) Prompt information display method and prompt information display device
CN111478849B (en) Service access method, device and storage medium
CN103347003B (en) A kind of Voice over Internet method, Apparatus and system
CN103716793A (en) Access point information sharing method and apparatus
CN103268255A (en) Method, device and system for triggering terminal to execute processing
US20140365778A1 (en) Method and system for roaming website account and password
CN107742067A (en) A kind of auth method, device and system
CN106375478A (en) Synchronizing method, device and system for mobile terminal data
CN111953668B (en) Network security information processing method and device
CN105847007A (en) Identity verification method for terminal device and computer device
CN102695173B (en) Safety control method for accessing wireless network and terminal
CN105100238A (en) Attendance registration method and apparatus
CN103716374A (en) Method for sharing files and server
CN106331169A (en) Method for reporting loss of mobile terminal and cloud customer terminal, cloud server, mobile terminal
CN104967637A (en) Operation processing methods, operation processing devices and operation processing terminals
CN103595611A (en) A method, a system and a device for realizing instant messaging application
CN105072253A (en) Method of terminal data interaction, terminal
CN105656704B (en) Page abnormity detection method, device 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20151125

RJ01 Rejection of invention patent application after publication