CN105072133B - Login method and device for application program - Google Patents
Login method and device for application program Download PDFInfo
- Publication number
- CN105072133B CN105072133B CN201510543587.5A CN201510543587A CN105072133B CN 105072133 B CN105072133 B CN 105072133B CN 201510543587 A CN201510543587 A CN 201510543587A CN 105072133 B CN105072133 B CN 105072133B
- Authority
- CN
- China
- Prior art keywords
- application program
- log
- logged
- server
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a login method and device of an application program. Wherein, the method comprises the following steps: receiving a login request of a first application program; judging whether a second application program which has an account number sharing relationship with the first application program in the mobile terminal is logged in; if the second application program is logged in, acquiring login information of the second application program; and sending login information to the server for login. According to the login method of the application program, the application program with the association relation can be quickly logged in through the same account, the trouble that a user manually inputs account information or the login is authorized by a third party is reduced, and the unification of the user accounts is facilitated.
Description
Technical field
The present invention relates to the login methods and device of Internet technical field more particularly to a kind of application program.
Background technology
With the continuous development in mobile Internet epoch, the function of mobile terminal such as smart mobile phone the next powerful, user
The application program of various functions can be installed in the terminal according to demand, for example news category application program, instant chat class should
With program, shopping class application program etc..
At present, on mobile terminals using application program when be required to log in, usual user can be logged in by two ways
Application program, first way are the account number cipher login application programs by inputting registration, and the second way is by third
Fang Pingtai authorizes login application program.
After user is mounted with multiple application programs of same company's exploitation on mobile terminals, at present, user Ke Tong
It crosses first way or the second way logs in corresponding application program.However, above two login mode there are the problem of
It is:First way needs user to input account number cipher, and usual user sets different account and close for different application programs
Code, user need the account remembered and password excessive.During login application program, user be susceptible to forget account and
The situation of password;The second way, during login is authorized, user needs the application program for selecting to authorize, and is awarding
In the case that the application program of power is not logged on, user needs to input the account and password of the application program authorized, login process
Need user's operation step more, user's sign-in experience is unsatisfactory.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, the present invention
First purpose be to propose a kind of login method of application program, and this method causes the application program with account shared relationship
Can quick registration be carried out by same account, reduce user and be manually entered account information or third party and authorize what is logged in
Trouble, is conducive to the unification of user account.
Second object of the present invention is to propose a kind of entering device of application program.
Third object of the present invention is to propose a kind of electronic equipment.
Fourth object of the present invention is to propose a kind of storage medium.
The 5th purpose of the present invention is to propose a kind of application program.
To achieve the above object, first aspect present invention embodiment proposes a kind of login method of application program, including:
Receive the logging request of the first application program;Judge that there is account shared relationship with first application program in mobile terminal
Whether the second application program has logged in;If second application program has logged in, stepping on for second application program is obtained
Record information;The log-on message is sent to server to be logged in.
Optionally, second application for judging there is account shared relationship in mobile terminal with first application program
Program whether logged in including:Judge whether second application program is installed in the mobile terminal;It is and if described
Second application program in mobile terminal is installed, then further judges whether second application program has logged in.
Optionally, it is described to judge that second application program whether is equipped in the mobile terminal to be included:Described in acquisition
The corresponding broadcast event response configuration information of first application program;Pass through the inquiry of the operating system of the mobile terminal and described the
The broadcast event of one application program responds the identical application program of configuration information.
Optionally, it is rung in the operating system inquiry by the mobile terminal and the broadcast event of first application program
After the application program for answering configuration information identical, further include:Pair with the response of the broadcast event of first application program with confidence
The same application program of manner of breathing is verified;If verified successfully, will match with the response of the broadcast event of first application program
The same application program of confidence manner of breathing is as second application program.
Optionally, the described pair of application program identical with the broadcast event of first application program response configuration information into
Row verification includes:Obtain the packet name and signing messages of the application program;Judge whether the packet name of the application program belongs to certainly
The packet name collection that body prestores;If belonging to, further judge the signing messages of the application program whether belong to itself prestore should
With the signing messages collection of program;If belonging to, judge to verify successfully.
Wherein, user account and the service when log-on message is including user's login second application program
Device is the login banner of second application program setting, it is described send the log-on message to server and log in include:
The log-on message of second application program is sent to the server, convenient for the server to second application program
Log-on message verified, if the verification passes, then the server to first application program feedback described first should
With the login banner of program to complete to log in.
Optionally, the method further includes:Obtain the user account when user logs in second application program;It will
The mark of user account and first application program when user logs in second application program is sent to the clothes
Be engaged in device, convenient for the server according to the user log in second application program when user account, it is described first application
The mark of program and preset account binding relationship determine the user account when user logs in first application program.
Wherein, if there are multiple listed second application programs in the mobile terminal, any one has been obtained
The log-on message of second application program logged in, and send the log-on message to server and logged in.
To achieve the above object, second aspect of the present invention embodiment proposes a kind of entering device of application program, including:
Receiving module, for receiving the logging request of the first application program;Judgment module, for judging in mobile terminal with described first
Whether the second application program that application program has account shared relationship has logged in;Acquisition module, in the described second application
When program has logged in, the log-on message of second application program is obtained;Sending module, for sending the login to server
Information is logged in.
Optionally, first judging unit, is specifically used for:The corresponding broadcast event of first application program is obtained to ring
Configuration information is answered, and is matched by the operating system inquiry of the mobile terminal and the broadcast event response of first application program
The same application program of confidence manner of breathing.
Optionally, described device further includes:Correction verification module, for passing through the mobile terminal in the second judgment unit
The operating system inquiry application program identical with the broadcast event of first application program response configuration information after, pair and
The identical application program of broadcast event response configuration information of first application program verified and if verification into
Work(, then using the application program identical with the broadcast event of first application program response configuration information as described second
Application program.
Optionally, the correction verification module, is specifically used for:The packet name and signing messages of the application program are obtained, and is judged
Whether the packet name of the application program belongs to the packet name collection itself to prestore, if belonging to, further judges the application program
Whether signing messages belongs to the signing messages collection of the application program itself to prestore, if the signing messages of the application program belongs to certainly
The signing messages collection for the application program that body prestores then judges to verify successfully.
Optionally, user account and the clothes when log-on message is including user's login second application program
Business device is the login banner of second application program setting, and the sending module is specifically used for:By second application program
Log-on message be sent to the server, the log-on message of second application program is tested convenient for the server
Card, if the verification passes, then the server feeds back the login banner of first application program to first application program
To complete to log in.
Optionally, described device further includes:Processing module, when logging in second application program for obtaining the user
User account, and by the user log in second application program when user account and first application program mark
Knowledge be sent to the server, convenient for the server according to the user log in second application program when user's account
Number, the mark of first application program and preset account binding relationship determine that the user logs in described first using journey
User account during sequence.
Wherein, if there are multiple listed second application programs in the mobile terminal, any one has been obtained
The log-on message of second application program logged in, and send the log-on message to server and logged in.
To achieve the above object, third aspect present invention embodiment proposes a kind of electronic equipment, including:
Processor, memory, communication interface and bus;
The processor, the memory are connected by the bus with the communication interface and completed mutual lead to
Letter;
The memory stores executable program code;
The processor can perform by reading the executable program code stored in the memory to run with described
The corresponding program of program code, for:Receive the logging request of the first application program;Judge in mobile terminal with described first
Whether the second application program that application program has account shared relationship has logged in;If second application program has logged in,
Then obtain the log-on message of second application program;The log-on message is sent to server to be logged in.
To achieve the above object, fourth aspect present invention embodiment proposes a kind of storage medium, wherein, the storage is situated between
For matter for storing application program, the application program is used to perform a kind of login of application program of the present invention at runtime
Method.
To achieve the above object, fifth aspect present invention embodiment proposes a kind of application program, wherein, it is described to apply journey
Sequence is used to perform a kind of login method of application program of the present invention at runtime.
In the present invention, by receiving the logging request of the first application program, judge in mobile terminal with first using journey
Whether the second application program that sequence has account shared relationship has logged in, if the second application program has logged in, obtains second
The log-on message of application program;And it sends log-on message to server and is logged in.As a result, with account shared relationship
Application program can by same account carry out quick registration, reduce user and be manually entered account information or third party
The trouble logged in is authorized, is conducive to the unification of user account.
Description of the drawings
Fig. 1 is the flow chart of the login method of application program according to an embodiment of the invention.
Fig. 2 is the flow chart according to the login method of the application program of a specific embodiment of the invention.
Fig. 3 is the structure diagram of the entering device of application program according to an embodiment of the invention.
Fig. 4 is the structure diagram of the entering device of application program in accordance with another embodiment of the present invention;
Fig. 5 is the structure diagram of electronic equipment according to an embodiment of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the login method and device of the application program of the embodiment of the present invention are described.
Fig. 1 is the flow chart of the login method of application program according to an embodiment of the invention.
As shown in Figure 1, the login method of the application program includes:
S11 receives the logging request of the first application program.
S12 judges whether to there is the second application program of account shared relationship with the first application program in mobile terminal
It logs in.
Specifically, after the logging request for receiving the first application program, it can determine whether to be equipped with the in mobile terminal
Two application programs;If being equipped with the second application program in mobile terminal, further judge whether the second application program has stepped on
Record.
Specifically, after the logging request for receiving the first application program, the first application can be obtained from mobile terminal
Program corresponding broadcast event response configuration information, and pass through the wide of the operating system inquiry of mobile terminal and the first application program
Broadcast the identical application program of event response configuration information, and pair identical with the broadcast event response configuration information of the first application program
Application program verified, if verify successfully, will with the broadcast event of the first application program respond configuration information it is identical
Application program as the second application program.
Wherein, broadcast event response configuration information includes broadcast event information and application program that application program can respond
The broadcast event information that can be initiated.Belong to the application program of same company, corresponding to broadcast event response with confidence
Manner of breathing is same.After the first application program sends a broadcast event, only belonging to the application program of same company could respond
This broadcast event that first application program is sent, that is to say, that answering for the broadcast event of the first application program transmission can be responded
It is the application program identical with the broadcast event of the first application program response configuration information with program.
In one embodiment of the invention, pair it is identical with the broadcast event of the first application program response configuration information should
With program verified the specific implementation process is as follows:
The packet name and signing messages of application program are obtained, then judges whether the packet name of application program belongs to what itself prestored
Packet name collection if belonging to, further judges whether the signing messages of application program belongs to the signature of the application program itself to prestore
Information collection;If the signing messages of application program belongs to the signing messages collection of the application program itself to prestore, judge to verify successfully.
S13 if the second application program has logged in, obtains the log-on message of the second application program.
Wherein, user account and server when above-mentioned log-on message logs in the second application program including user are second
The login banner of application program.It should be noted that login banner is to login successfully the mandate character that rear server returns
String, needs to send the mandate character string when subsequently interacting with server, user identity is identified by the mandate character string.
Specifically, after determining that the second application program has logged in, AIDL (Android Interface can be passed through
Definition Language, Android Interface Definition Language) interface communicates with the second application program, and passes through AIDL and connect
Mouth obtains the log-on message of the second application program.
It should be noted that the AIDL interfaces that the first application program is interacted with the second application program progress striding course are
Pre-set, it is that can share account information between two application programs to realize to set the AIDL interfaces.
In one embodiment of the invention, it if the second application program is not logged in, is prompted in the first application program
User inputs login authentication information, user to be facilitated to input user account and login password according to prompt message.
It should be noted that there may be multiple broadcast events with the first application program in mobile terminal to respond configuration information
There may be multiple second application programs in identical application program, i.e. mobile terminal.
After having multiple second application programs in mobile terminal is determined, it can further judge that corresponding second application program is
It is no to have logged on, have in judging mobile terminal it is multiple have logged on the second application program when, had logged on due to multiple
The second application program used in user account it is identical, at this point, the log-on message of any one the second application program can be obtained.
For example, it respectively application program A, is answered there are the application program that three have account shared relationship in smart mobile phone
With program B and application program C.User applies for the registration of in application program A and after login user account X, if user opens application
Program B, user is without logging in, the user account X that background program will obtain the application program A having logged on from smart mobile phone,
And with the direct login application program B of user account X.Similarly, when user opens application program C, background program can determine intelligence
Two the second application programs having logged on, i.e. application program A and application program B can be deposited in mobile phone, since the two apply journey
User account is identical used in sequence, at this point, the user account of application program A or application program B can be used in background program
User account login application program C.
S14 sends log-on message to server and is logged in.
It specifically, can be by the log-on message of the second application program and the after the log-on message for obtaining the second application program
The mark of one application program is sent to server.
After the mark and the log-on message of the second application program for receiving the first application program, server obtains server
The login banner of user account and the second application program in the log-on message of second application program, and according to the account pre-saved
Number information bank verifies the user account of the second application program and the login banner of the second application program, if receive second should
It is identical with the user account of the second application program and login banner in account information library with the user account and login banner of program,
It is then verified, the mark of user account, the first application program when then logging in the second application program according to user and pre-
If account binding relationship determine user log in the first application program when user account.
Specifically, server can determine whether the first application with whether there is account binding relationship between the second application program, if
In the presence of, it is determined that the user account of the first application program, wherein, the user account of the first application program and the second application program
User account is identical.
Server verify the first application program send the user account of the second application program and login banner information, with
And first application program and the second application program there are binding relationship after, the first application program can be returned to the first application program
Login banner is to complete to log in.
It in summary it can be seen, which proposes a kind of log-on message by the second application program and log in the first application
The mode of program, after the login of the second application program, the first application program can be logged in quickly using same account, be reduced
User's manual entry authorizes the trouble logged in, while multiple application programs are conducive to user account using same account
It is unified, user can be reduced since account and password excessively the occurrence of forgetting account and password occur.
The login method of the application program of the embodiment of the present invention receives the logging request of the first application program, judges to move
Whether logged in second application program of first application program with account shared relationship in terminal, if the second application program
It has been logged in that, then obtain the log-on message of the second application program;And it sends log-on message to server and is logged in.Make as a result,
Quick registration can be carried out by same account by obtaining the application program with account shared relationship, reduced user and be manually entered
Account information or third party authorize the trouble logged in, are conducive to the unification of user account.
Fig. 2 is the flow chart according to the login method of the application program of a specific embodiment of the invention.The embodiment with
Two application programs of same company are mounted in mobile terminal simultaneously, illustrate to apply for application program A and application program B
The detailed process of the login method of program.It is assumed that the application program A in mobile terminal applies for the registration of and has logged in user account
Test@test.com, and the login banner of application program A is abcdefghijk.Wherein, it should be noted that the two applications
There are account shared relationships, i.e. the two application programs between program to use same account system.As shown in Fig. 2, the application
The login method of program includes:
S201 receives the trigger action that user clicks application program B icons, and opens application program B according to trigger action.
S202 judges whether to there is the second application program of account shared relationship with application program B in mobile terminal
It logs in.
Specifically, can be from the corresponding broadcast event response configuration informations of acquisition for mobile terminal application program B, and pass through movement
The operating system inquiry of the terminal application program identical with the broadcast event response configuration information of application program B, can by inquiry
It is application program A to obtain application program identical with the broadcast event of application program B response configuration information in mobile terminal, this
When, further application program A can be verified, specifically, pre-set ADIL interfaces and application program A can be passed through
It communicates, and passes through packet name and signing messages that ADIL interfaces obtain application program A, then judge the packet name of application program A
Whether the packet name collection that itself prestores is belonged to, if belonging to, it is pre- whether the further signing messages for judging application program A belongs to itself
The signing messages collection for the application program deposited;If the signing messages of application program A belongs to the A.L.S. of the application program itself to prestore
Breath collection, then judge to verify successfully, at this time, it may be determined that application program A is have account shared relationship with application program B second
Application program, that is to say, that there is account shared relationship with application program B second has been mounted in mobile terminal using journey
Sequence.
After application program A has been mounted in mobile terminal is determined, it can further judge whether application program A is in and step on
Record state can determine that application program A is in login status by judging.
S203 if the second application program has logged on, obtains the log-on message of the second application program.
Wherein, it should be noted that, can be true due to being only mounted with two application programs of same company in mobile terminal
The second application program for determining application program B is application program A.
Wherein, the login of user account and application program A when above-mentioned log-on message is including user login application program A
Mark.
Specifically, after determining that application program A has logged on, application program B can pass through pre-set ADIL interfaces
It communicates with application program A, and passes through the log-on message that the interface obtains application program A, that is, obtain the user of application program
Account test@test.com, and the login banner of application program A is abcdefghijk.
S204 sends the log-on message of the second application program and the mark of application program B to server, convenient for server pair
Application program B carries out login authentication.
Specifically, after the log-on message for obtaining application program A, application program B is by the log-on message of application program A and certainly
Oneself mark is uploaded to server.Server is after the mark for receiving the log-on message of application program A and application program B, clothes
Business device first verifies the log-on message of application program A received, if the log-on message and clothes of the application program A received
The log-on message of application program A that preserves is consistent in business device, then further between verification application program A and application program B whether
There are binding relationship, if there are binding relationships between two application programs, it is determined that the user account of application program A determines
Application program B can be logged in by the user account of application program A.That is, letter is logged in used in application program B
Breath passes through verification.
Server verification application program B send application program A user account and login banner information it is correct and
After application program A and application program B is there are binding relationship, the login banner of application program B can be generated, it is assumed that application program B's
Login banner is " 123456789 ", and server returns to login banner " 123456789 " to application program B, and application program B is received
The login banner " 123456789 " that server returns, application program B is in login status, and the user account of application program is
test@test.com.When subsequently needing login application program B, user can be stepped on by user account test test.com
Record.
It in summary it can be seen, after user opens application program B, application program B obtains the log-on message of application program A,
And pass through the user account automated log on application program B of application program A, it avoids user and inputs account and the trouble of password, have
Conducive to the unification of user account.
The login method of the application program of the embodiment of the present invention is mounted with there is account shared relationship in the terminal
After multiple application programs, if one of application program has logged on, during user is using other applications,
His application program can carry out quick registration by the user account of login application program, and avoiding user, to be manually entered account close
Code or the trouble for authorizing login application program, it is unified to be conducive to user account.
In order to realize above-described embodiment, the present invention also proposes a kind of entering device of application program.
Fig. 3 is the structure diagram of the entering device of application program according to an embodiment of the invention.
As shown in figure 3, the entering device of the application program includes receiving module 100, judgment module 200, acquisition module 300
With sending module 400, wherein:
Receiving module 100 is used to receive the logging request of the first application program;Judgment module 200 is used to judge mobile terminal
In with the first application program have account shared relationship the second application program whether logged in;Acquisition module 300 is used for the
When two application programs have logged in, the log-on message of the second application program is obtained;Sending module 400 is used to send to server and log in
Information is logged in.
Wherein, user account and server when above-mentioned log-on message logs in the second application program including user are second
The login banner of application program.It should be noted that login banner is to login successfully the mandate character that rear server returns
String, needs to send the mandate character string when subsequently interacting with server, user identity is identified by the mandate character string.
As shown in figure 4, above-mentioned judgment module 200 can include the first judging unit 210 and second judgment unit 220,
In, the first judging unit 210 is used to judge whether be equipped with the second application program in mobile terminal;And second judgment unit
220 for the second application program is installed in the terminal when, judge whether the second application program has logged in.
Specifically, the first judging unit 210 can obtain the corresponding broadcast event response configuration information of the first application program, and
Pass through the operating system inquiry of the mobile terminal application program identical with the broadcast event response configuration information of the first application program.
Wherein, broadcast event response configuration information includes broadcast event information and application program that application program can respond
The broadcast event information that can be initiated.Belong to the application program of same company, corresponding to broadcast event response with confidence
Manner of breathing is same.After the first application program sends a broadcast event, only belonging to the application program of same company could respond
This broadcast event that first application program is sent, that is to say, that answering for the broadcast event of the first application program transmission can be responded
It is the application program identical with the broadcast event of the first application program response configuration information with program.
In addition, as shown in figure 4, above device can also include correction verification module 500, which is used for second
Judging unit 220 is identical with the broadcast event response configuration information of the first application program by the operating system inquiry of mobile terminal
Application program after, a pair application program identical with the broadcast event of the first application program response configuration information verifies,
It, will be with the broadcast event of the first application program identical application program of response configuration information as the and if verified successfully
Two application programs.
Specifically, correction verification module 500 can obtain the packet name and signing messages of application program, and judge the packet name of application program
Whether the packet name collection that itself prestores is belonged to, if belonging to, it is pre- whether the further signing messages for judging application program belongs to itself
The signing messages collection for the application program deposited, if the signing messages of application program belongs to the signing messages of the application program itself to prestore
Collection, then judge to verify successfully.
Specifically, after the log-on message for obtaining the second application program in acquisition module 300, sending module 400 can be by second
The mark of the log-on message of application program and the first application program is sent to server, convenient for server to the second application program
Log-on message is verified that if the verification passes, then server feeds back the login mark of the first application program to the first application program
Know to complete to log in.
In an embodiment of the present invention, if there are multiple the second application programs having logged in mobile terminal, at this point,
Acquisition module 300 can obtain the log-on message of any one the second application program, and then sending module 400 is by the second application program
The mark of log-on message and the first application program is sent to server, to carry out login authentication.
In addition, as shown in figure 4, above device can also include processing module 600, which uses for obtaining
Family log in the second application program when user account, and by user log in the second application program when user account and first application
The mark of program is sent to server, convenient for server according to user log in the second application program when user account, first should
User account when determining that user logs in the first application program with the mark and preset account binding relationship of program.
The entering device of the application program of the embodiment of the present invention, receiving module receive the logging request of the first application program,
Then judgment module judges whether to there is the second application program of account shared relationship with the first application program in mobile terminal
It logs in, when the second application program has logged in, acquisition module obtains the log-on message of the second application program;And sending module to
Server sends log-on message and is logged in.As a result, the application program with account shared relationship can be by same
Account carries out quick registration, reduces the trouble that user is manually entered account information or third party authorizes login, is conducive to use
The unification of family account.
In order to realize above-described embodiment, the present invention also proposes a kind of electronic equipment.
Fig. 5 is the structure diagram of electronic equipment according to an embodiment of the invention.
As shown in figure 5, the electronic equipment includes processor 51, memory 52, communication interface 53 and bus 54, wherein:
Processor 51, memory 52 and communication interface 53 are connected by bus 54 and complete mutual communication;Memory
52 storage executable program codes;Processor 51 by read the executable program code stored in memory 52 run with can
The corresponding program of program code is performed, for:Receive the logging request of the first application program;Judge in mobile terminal with first
Whether the second application program that application program has account shared relationship has logged in;If the second application program has logged in, obtain
Take the log-on message of the second application program;Log-on message is sent to server to be logged in.
The electronic equipment of the embodiment of the present invention by receiving the logging request of the first application program, is judged in mobile terminal
Whether logged in second application program of first application program with account shared relationship, if the second application program has been stepped on
Record then obtains the log-on message of the second application program;And it sends log-on message to server and is logged in.As a result, tool
The application program for having account shared relationship can carry out quick registration by same account, reduce user and be manually entered account
Information or third party authorize the trouble logged in, are conducive to the unification of user account.
In order to realize above-described embodiment, the present invention also proposes a kind of storage medium, wherein, storage medium is applied for storing
Program, application program are used to perform a kind of login method of application program of the present invention at runtime.
In order to realize above-described embodiment, the present invention also proposes a kind of application program, wherein, application program is at runtime
Perform a kind of login method of application program of the present invention.
In the description of this specification, reference term " one embodiment ", " example ", " is specifically shown " some embodiments "
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It is combined in an appropriate manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the different embodiments or examples described in this specification and the feature of different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are only used for description purpose, and it is not intended that instruction or hint relative importance
Or the implicit quantity for indicating indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, " multiple " are meant that at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include
Module, segment or the portion of the code of the executable instruction of one or more the step of being used to implement specific logical function or process
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, to perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) it uses or combines these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment
It puts.The more specific example (non-exhaustive list) of computer-readable medium is including following:Electricity with one or more wiring
Connecting portion (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage
Or firmware is realized.If for example, with hardware come realize in another embodiment, can be under well known in the art
Any one of row technology or their combination are realized:With for the logic gates to data-signal realization logic function
Discrete logic, have suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, the program when being executed, one or a combination set of the step of including embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also
That each unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and is independent product sale or in use, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although it has been shown and retouches above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, those of ordinary skill in the art can be changed above-described embodiment, change, replace and become within the scope of the invention
Type.
Claims (10)
1. a kind of login method of application program, which is characterized in that include the following steps:
Receive the logging request of the first application program;
Judge whether logged in second application program of first application program with account shared relationship in mobile terminal;
If second application program has logged in, the log-on message of second application program is obtained;
The log-on message is sent to server to be logged in;
Wherein, it is with second application program of first application program with account shared relationship in the judgement mobile terminal
It is no logged in including:
Judge whether second application program is installed in the mobile terminal;And
If being equipped with second application program in the mobile terminal, whether second application program is further judged
It has logged in;
It is described to judge that second application program whether is equipped in the mobile terminal to be included:
Obtain the corresponding broadcast event response configuration information of first application program;
Configuration information phase is responded by the operating system inquiry and the broadcast event of first application program of the mobile terminal
Same application program;
Configuration information is responded in the operating system inquiry by the mobile terminal and the broadcast event of first application program
After identical application program, further include:
Pair application program identical with the broadcast event of first application program response configuration information verifies;
If verify successfully, by with the broadcast event of first application program response configuration information it is identical it is described apply journey
Sequence is as second application program.
2. the login method of application program as described in claim 1, which is characterized in that described pair and first application program
The identical application program of broadcast event response configuration information carry out verification and include:
Obtain the packet name and signing messages of the application program;
Judge whether the packet name of the application program belongs to the packet name collection itself to prestore;
If belonging to, further judge whether the signing messages of the application program belongs to the signature of the application program itself to prestore
Information collection;
If belonging to, judge to verify successfully.
3. the login method of application program as described in claim 1, which is characterized in that the log-on message is logged in including user
The login banner of user account and the server for second application program setting during second application program, institute
It states to send the log-on message to server and log in and include:
The log-on message of second application program is sent to the server, is applied convenient for the server to described second
The log-on message of program verified, if the verification passes, then the server is to first application program feedback described the
The login banner of one application program is to complete to log in.
4. the login method of application program as claimed in claim 3, which is characterized in that further include:
Obtain the user account when user logs in second application program;
The mark of user account and first application program when user is logged in second application program is sent to
The server, user account when logging according to the user second application program convenient for the server, described the
The mark of one application program and preset account binding relationship determine the use when user logs in first application program
Family account.
5. the login method of application program as described in claim 1, which is characterized in that if had in the mobile terminal multiple
Listed second application program, then obtain the log-on message of any one listed second application program, and to
Server sends the log-on message and is logged in.
6. a kind of entering device of application program, which is characterized in that including:
Receiving module, for receiving the logging request of the first application program;
Judgment module, for judging to have the second of account shared relationship to apply journey with first application program in mobile terminal
Whether sequence has logged in;
Acquisition module, for when second application program has logged in, obtaining the log-on message of second application program;
Sending module is logged in for sending the log-on message to server;
The judgment module, including:
First judging unit, for judging second application program whether is equipped in the mobile terminal;And
Second judgment unit during for being equipped with second application program in the mobile terminal, judges that described second should
Whether logged in program;
First judging unit, is specifically used for:
Obtain the corresponding broadcast event response configuration information of first application program, and the operation system for passing through the mobile terminal
The system inquiry application program identical with the broadcast event response configuration information of first application program;
The entering device, further includes:
Correction verification module, for being answered in the second judgment unit by the operating system inquiry of the mobile terminal with described first
After the identical application program of the broadcast event of program response configuration information, the broadcast event pair with first application program
The identical application program of response configuration information verified and if verify successfully, by with first application program
The identical application program of broadcast event response configuration information is as second application program.
7. the entering device of application program as claimed in claim 6, which is characterized in that the correction verification module is specifically used for:
The packet name and signing messages of the application program are obtained, and judges whether the packet name of the application program belongs to and itself prestores
Packet name collection, if belonging to, further judge whether the signing messages of the application program belongs to the application program itself to prestore
Signing messages collection, if the signing messages of the application program belongs to the signing messages collection of the application program itself to prestore, sentence
It is disconnected to verify successfully.
8. the entering device of application program as claimed in claim 6, which is characterized in that the log-on message is logged in including user
The login banner of user account and the server for second application program setting during second application program, institute
Sending module is stated, is specifically used for:
The log-on message of second application program is sent to the server, is applied convenient for the server to described second
The log-on message of program verified, if the verification passes, then the server is to first application program feedback described the
The login banner of one application program is to complete to log in.
9. the entering device of application program as claimed in claim 8, which is characterized in that further include:
Processing module for obtaining the user account when user logs in second application program, and the user is stepped on
The mark of user account and first application program when recording second application program is sent to the server, convenient for institute
State server according to the user log in second application program when user account, first application program mark with
And preset account binding relationship determines the user account when user logs in first application program.
10. the entering device of application program as claimed in claim 6, which is characterized in that if had in the mobile terminal more
A listed second application program then obtains the log-on message of any one listed second application program, and
The log-on message is sent to server to be logged in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510543587.5A CN105072133B (en) | 2015-08-28 | 2015-08-28 | Login method and device for application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510543587.5A CN105072133B (en) | 2015-08-28 | 2015-08-28 | Login method and device for application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105072133A CN105072133A (en) | 2015-11-18 |
CN105072133B true CN105072133B (en) | 2018-07-10 |
Family
ID=54501412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510543587.5A Active CN105072133B (en) | 2015-08-28 | 2015-08-28 | Login method and device for application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105072133B (en) |
Families Citing this family (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105491048A (en) * | 2015-12-10 | 2016-04-13 | 小米科技有限责任公司 | Account management method and apparatus |
CN105824711A (en) * | 2016-02-29 | 2016-08-03 | 维沃移动通信有限公司 | Recommending method and mobile terminal |
CN105827600B (en) * | 2016-03-11 | 2020-09-29 | 腾讯科技(深圳)有限公司 | Method and device for logging in client |
CN105959297A (en) * | 2016-06-23 | 2016-09-21 | 珠海市魅族科技有限公司 | Quick login methods, terminal, smart device, and server |
CN106650351B (en) * | 2016-10-31 | 2018-12-04 | 维沃移动通信有限公司 | A kind of operation method and mobile terminal of application program |
CN106502777B (en) * | 2016-10-31 | 2019-09-24 | 天脉聚源(北京)科技有限公司 | A kind of method and device handling tripartite's information exchange |
CN106888202B (en) * | 2016-12-08 | 2020-02-21 | 阿里巴巴集团控股有限公司 | Authorized login method and device |
CN106713315B (en) * | 2016-12-22 | 2019-12-24 | 北京五八信息技术有限公司 | Login method and device of plug-in application program |
CN108259431A (en) * | 2016-12-29 | 2018-07-06 | 航天信息股份有限公司 | The method, apparatus and system of account information are shared between applying more |
CN106790252A (en) * | 2017-01-24 | 2017-05-31 | 北京奇虎科技有限公司 | Log-on message sharing method and device |
CN107483477B (en) * | 2017-09-08 | 2020-07-10 | 上海宝库信息技术有限公司 | Account management method and account management system |
US10812465B2 (en) | 2017-09-20 | 2020-10-20 | Hisense Mobile Communications Technology Co., Ltd. | Method for logging into account on mobile device, mobile device, and non-transitory computer readable storage medium |
CN110650129B (en) * | 2017-09-20 | 2022-02-18 | 青岛海信移动通信技术股份有限公司 | Account login method and device and computer readable storage medium |
CN107528858B (en) * | 2017-09-29 | 2021-04-06 | 广州视睿电子科技有限公司 | Login method, device and equipment based on webpage and storage medium |
CN108259458B (en) * | 2017-09-30 | 2021-12-28 | 中国平安人寿保险股份有限公司 | Application software account correlation method and device and storage medium |
CN109801092B (en) * | 2017-11-16 | 2023-09-08 | 腾讯科技(武汉)有限公司 | Resource security management method, device, computer equipment and storage medium |
CN108347471B (en) * | 2018-01-02 | 2021-07-23 | 武汉斗鱼网络科技有限公司 | Method, device and system for acquiring third-party user information |
CN108647501A (en) * | 2018-05-09 | 2018-10-12 | 平安科技(深圳)有限公司 | Multiple utility program shares password unlocking method, device, equipment and storage medium |
CN109582450B (en) * | 2018-11-02 | 2024-05-03 | 平安科技(深圳)有限公司 | Application program management method, device, medium and electronic equipment |
CN109688150A (en) * | 2018-12-29 | 2019-04-26 | 奥克斯空调股份有限公司 | A kind of multi-platform account interoperability methods and device |
CN111724773A (en) * | 2019-03-22 | 2020-09-29 | 北京京东尚科信息技术有限公司 | Application opening method and device, computer system and medium |
CN110008669A (en) * | 2019-03-28 | 2019-07-12 | 深兰科技(上海)有限公司 | A kind of platform login method, system, device, terminal device and storage medium |
CN110213260A (en) * | 2019-05-29 | 2019-09-06 | 北京中亦安图科技股份有限公司 | User ID authentication method and device |
CN111181907B (en) * | 2019-07-24 | 2022-05-24 | 腾讯科技(北京)有限公司 | Host side plug-in login method, device and equipment and storage medium |
CN112714092B (en) * | 2019-10-24 | 2022-03-18 | 珠海格力电器股份有限公司 | Registration login method, device and computer readable storage medium |
CN111259368A (en) * | 2019-11-07 | 2020-06-09 | 深圳市远行科技股份有限公司 | Method and equipment for logging in system |
CN110990868B (en) * | 2019-11-29 | 2023-02-10 | 花瓣云科技有限公司 | Method for logging in application and accessing application server by application and electronic equipment |
CN111241527A (en) * | 2020-01-03 | 2020-06-05 | 北京奇艺世纪科技有限公司 | Silent login method and device, electronic equipment and storage medium |
CN111352552B (en) * | 2020-03-30 | 2021-09-10 | 北京达佳互联信息技术有限公司 | Application login method and device, electronic equipment and storage medium |
CN111756696A (en) * | 2020-05-26 | 2020-10-09 | 维沃移动通信有限公司 | Login method of application program, first electronic device and second electronic device |
CN111935092B (en) * | 2020-07-10 | 2023-04-04 | 上海淇毓信息科技有限公司 | Information interaction method and device based on third-party application and electronic equipment |
CN112131553B (en) * | 2020-09-28 | 2022-07-19 | 中国银行股份有限公司 | Single sign-on method, first server and electronic equipment |
CN113422752B (en) * | 2020-10-30 | 2024-03-26 | 阿里巴巴集团控股有限公司 | User login processing method and device and electronic equipment |
CN112671778B (en) * | 2020-12-25 | 2023-05-30 | 阿波罗智联(北京)科技有限公司 | Account management method, device, equipment and storage medium for electronic equipment |
CN113965350A (en) * | 2021-09-14 | 2022-01-21 | 海信视像科技股份有限公司 | Terminal device and login control method of terminal device |
CN114422270B (en) * | 2022-03-28 | 2022-06-03 | 成都运荔枝科技有限公司 | Method and device for safe login authentication of Internet platform system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634316A (en) * | 2013-11-26 | 2014-03-12 | 乐视网信息技术(北京)股份有限公司 | Account login method and electronic equipment |
CN104113534A (en) * | 2014-07-02 | 2014-10-22 | 百度在线网络技术(北京)有限公司 | System and method for logging in applications (APPs) |
CN104601590A (en) * | 2015-01-30 | 2015-05-06 | 网易(杭州)网络有限公司 | Login method, server and mobile terminal |
CN104753943A (en) * | 2015-03-30 | 2015-07-01 | 努比亚技术有限公司 | Method and device for log-in control of third-party account |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103036851B (en) * | 2011-09-30 | 2016-05-11 | 腾讯科技(深圳)有限公司 | Use processing method, system and the server of sharing account number login third party website |
US9137245B2 (en) * | 2013-04-26 | 2015-09-15 | Tencent Technology (Shenzhen) Company Limited | Login method, apparatus, and system |
KR20150026587A (en) * | 2013-09-03 | 2015-03-11 | 네이버 주식회사 | Apparatus, method and computer readable recording medium for providing notification of log-in from new equipments |
-
2015
- 2015-08-28 CN CN201510543587.5A patent/CN105072133B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634316A (en) * | 2013-11-26 | 2014-03-12 | 乐视网信息技术(北京)股份有限公司 | Account login method and electronic equipment |
CN104113534A (en) * | 2014-07-02 | 2014-10-22 | 百度在线网络技术(北京)有限公司 | System and method for logging in applications (APPs) |
CN104601590A (en) * | 2015-01-30 | 2015-05-06 | 网易(杭州)网络有限公司 | Login method, server and mobile terminal |
CN104753943A (en) * | 2015-03-30 | 2015-07-01 | 努比亚技术有限公司 | Method and device for log-in control of third-party account |
Also Published As
Publication number | Publication date |
---|---|
CN105072133A (en) | 2015-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105072133B (en) | Login method and device for application program | |
US11206247B2 (en) | System and method for providing controlled application programming interface security | |
CN104283841B (en) | The method, apparatus and system of service access control are carried out to third-party application | |
US20210049579A1 (en) | Multi-factor identity authentication | |
CN110311891B (en) | Account management method and device, computer equipment and storage medium | |
CN105814591A (en) | Verification information transmission method and terminal | |
CN103929402A (en) | Sensitive operation verification method, terminal device, servers and verification system | |
CN107864144A (en) | Obtain method and device, computer installation and the storage medium of dynamic password | |
CN112073289B (en) | Instant messaging control method and device | |
CN107196893A (en) | Login method, login service device and login client | |
CN105933331A (en) | Method and device for operating accounts | |
TWI839875B (en) | Payment method, user terminal, device, equipment, system and medium | |
CN113179282A (en) | Method and device for merging account numbers and server | |
SE531960C2 (en) | Method of securely executing a payment transaction | |
CN110135136A (en) | Account fusion method, device, computer equipment and storage medium | |
US20160014278A1 (en) | Secure data entry system | |
CN104753940B (en) | A kind of method to issue invoice, common invoice self-service terminal and server | |
CN113347179A (en) | Authentication server, card authentication system, secret-free authentication method and system | |
CN115543646A (en) | Contact processing method and device, computer equipment and storage medium | |
CN108566389A (en) | A kind of fingerprint identity validation method and device across application | |
CN110336872B (en) | Method, device and system for acquiring third-party data | |
CN117172786A (en) | Identity authentication method, device, equipment, medium and program product | |
CN115776548A (en) | Double recording system | |
WO2006117931A1 (en) | Service system and operation method of server device in the system | |
CN105847218A (en) | Method, business platform and system for controlling user right |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |