CN108846276A - Login process method, device, electronic equipment and server - Google Patents

Login process method, device, electronic equipment and server Download PDF

Info

Publication number
CN108846276A
CN108846276A CN201810542675.7A CN201810542675A CN108846276A CN 108846276 A CN108846276 A CN 108846276A CN 201810542675 A CN201810542675 A CN 201810542675A CN 108846276 A CN108846276 A CN 108846276A
Authority
CN
China
Prior art keywords
browser
logging
target app
request
mark
Prior art date
Application number
CN201810542675.7A
Other languages
Chinese (zh)
Inventor
张达理
吕庆春
彭飞
Original Assignee
北京五八信息技术有限公司
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 北京五八信息技术有限公司 filed Critical 北京五八信息技术有限公司
Priority to CN201810542675.7A priority Critical patent/CN108846276A/en
Publication of CN108846276A publication Critical patent/CN108846276A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Abstract

The embodiment of the present invention provides a kind of login process method, device, electronic equipment and server, the method for browser side:The first logging request of user is received, includes destination application APP mark, browser mark and logging request mark in first logging request;Corresponding target APP, which is identified, to the target APP according to first logging request sends the second logging request, comprising logging request mark and browser mark in second logging request, so that the logging state synchronizing information of the target APP to the browser is identified the corresponding browser according to the logging request identification request server by the target APP;The logging state information for the target APP that the server is sent is received, and is logged in using the logging state information of the target APP.The method achieve users can also log in the case where unbound any third-party platform account number in a key of the M page, significant increase user experience.

Description

Login process method, device, electronic equipment and server

Technical field

The present embodiments relate to computer technology more particularly to a kind of login process method, device, electronic equipment and clothes Business device.

Background technique

Current application program (Application, abbreviation APP) supports a variety of usage modes, specifically, can be by a People's computer (Personal Computer, abbreviation PC) end, the end M or mobile terminal APP carry out the function using APP.User can be with It is flexibly selected as needed.Wherein, the end M refers to the browser on the mobile terminals such as mobile phone.When user selects to make by the end M When with the function of APP, need to be logged in first.

In the prior art, user can log in APP using third party login mode at the end M, for example, using wechat, QQ The account number of equal third-party platforms, can be directly logged onto APP.

But the method for the prior art is only applicable to the account number of the APP scene with the account number binding of third-party platform, If the account number of the unbound third-party platform of the account number of APP, user needs to execute more complex operation ability on M end page face It completes to log in, causes the usage experience of user bad.

Summary of the invention

The embodiment of the present invention provides a kind of login process method, device, electronic equipment and server, for solving existing skill The bad problem of the experience of the M page of user's login browser in art.

First aspect of the embodiment of the present invention provides a kind of login process method, including:

The browser of terminal receives the first logging request of user, includes destination application in first logging request APP mark, browser mark and logging request mark;

The browser identifies corresponding target APP to the target APP according to first logging request and sends second Logging request, comprising logging request mark and browser mark in second logging request, so that the target APP is according to institute State logging request identification request server the logging state synchronizing information of the target APP is corresponding to browser mark The browser;

The browser receives the logging state information for the target APP that the server is sent, and uses the mesh The logging state information of mark APP is logged in.

Further, the browser is identified as the mark of the browser by encryption.

Further, the browser identifies corresponding target APP to the target APP according to first logging request The second logging request is sent, including:

The browser identifies corresponding target APP to the target APP by the operating system of the terminal and sends the Two logging requests.

Further, the browser identifies corresponding target to the target APP by the operating system of the terminal APP sends the second logging request, including:

The browser sends second logging request to the operating system, so that the operating system tune rises and institute The corresponding target APP of target APP is stated, and logging request mark and browser mark are sent to the target APP.

Second aspect of the embodiment of the present invention provides a kind of login process method, including:

The second login that the browser that the operating system of terminal receives the terminal is sent to destination application APP is asked It asks, browser mark and logging request mark is included in second logging request;

The operating system tune plays target APP corresponding with the target APP;

Logging request mark and browser mark are sent to the target APP by the operating system, so that The logging state of the target APP is synchronized to described clear by the target APP according to the logging request identification request server Device of looking at identifies the corresponding browser.

Further, the browser is identified as the mark of the browser by encryption;

Before the operating system tune plays target APP corresponding with the target APP, further include:

The operating system parses the unencryption part in second logging request, obtains logging request mark;

Correspondingly, logging request mark and browser mark are sent to the target by the operating system APP, including:

The operating system identifies the logging request and the browser mark by encryption is sent to the target APP。

The third aspect of the embodiment of the present invention provides a kind of login process method, including:

The destination application APP of terminal receive the terminal browser send the second logging request, described second Include logging request mark and browser mark in logging request;

The target APP is identified to server according to the logging request and is sent logging state synchronization request, the login Comprising browser mark and logging state information in state synchronization request, so that the server is by the target APP Logging state synchronizing information identify the corresponding browser to the browser.

Further, the target APP is identified to server according to the logging request and is sent logging state synchronization request Before, further include:

The target APP verifies current logging state;

If the logging state is to be not logged in, the target APP tune plays login page so that user completes to log in, and The user completes to execute the target APP after logging in and identifies that send logging state to server same according to the logging request The step of step request.

Further, the target APP is identified to server according to the logging request and is sent logging state synchronization request Later, further include:

The target APP receives the synchronization logging state success notification message that the server is sent.

Further, after the target APP receives the synchronization logging state success notification message that the server is sent, Further include:

The target APP plays the browser according to the synchronous logging state success notification message tune.

Fourth aspect of the embodiment of the present invention provides a kind of login process method, including:

The logging state synchronization request that the destination application APP of server receiving terminal is sent, the logging state are same Browser mark and logging state information in step request comprising the terminal;

The logging state information of the target APP is sent to browsing corresponding with browser mark by the server Device.

Further, the logging state information of the target APP is sent to and identifies with the browser by the server Before corresponding browser, further include:

The server verifies the logging state information of the target APP;

If verify successfully execute the server by the logging state information of the target APP be sent to it is described clear Device of looking at identifies the step of corresponding browser.

Further, the logging state information of the target APP is sent to and identifies with the browser by the server After corresponding browser, further include:

The server sends synchronous logging state success notification message to the target APP.

Fifth aspect present invention provides a kind of login process apparatus, including:

Receiving module includes target application journey in first logging request for receiving the first logging request of user Sequence APP mark, browser mark and logging request mark;

Sending module sends for identifying corresponding target APP to the target APP according to first logging request Two logging requests, comprising logging request mark and browser mark in second logging request so that the target APP according to The logging state synchronizing information of the target APP to the browser is identified and is corresponded to by the logging request identification request server The browser;

Login module, for receiving the logging state information for the target APP that the server is sent, and described in use The logging state information of target APP is logged in.

Further, the browser is identified as the mark of the browser by encryption.

Further, the sending module includes:

Transmission unit identifies corresponding target APP to the target APP for the operating system by the terminal and sends Second logging request.

Further, the transmission unit is specifically used for:

Second logging request is sent to the operating system, so that the operating system tune rises and the target APP Corresponding target APP, and logging request mark and browser mark are sent to the target APP.

Sixth aspect present invention provides a kind of login process apparatus, including:

Receiving module, the browser for receiving terminal is sent to the second logging request of destination application APP, described Include browser mark and logging request mark in second logging request;

Module is adjusted, for having adjusted target APP corresponding with the target APP;

Sending module, for logging request mark and browser mark to be sent to the target APP, so that The logging state of the target APP is synchronized to described clear by the target APP according to the logging request identification request server Device of looking at identifies the corresponding browser.

Further, the browser is identified as the mark of the browser by encryption;

Further include:

Parsing module obtains logging request mark for parsing the unencryption part in second logging request;

The sending module is specifically used for:

The logging request is identified and the browser mark by encryption is sent to the target APP.

The 7th aspect of the embodiment of the present invention provides a kind of login process apparatus, including:

First receiving module, the second logging request that the browser for receiving terminal is sent, second logging request In comprising logging request mark and browser mark;

Sending module sends logging state synchronization request for identifying according to the logging request to server, described to step on It records comprising browser mark and logging state information in state synchronization request, so that the server is by the target The logging state synchronizing information of APP identifies the corresponding browser to the browser.

Further, further include:

Correction verification module, for verifying current logging state;

First has adjusted module, for the logging state be not logged in when, then the target APP tune rise login page with Just user complete log in, and the user complete log in after execute the target APP according to the logging request identify to Server sends the step of logging state synchronization request.

Further, further include:

Second receiving module, the synchronization logging state success notification message sent for receiving the server.

Further, further include:

Second has adjusted module, for playing the browser according to the synchronous logging state success notification message tune.

Eighth aspect present invention provides a kind of login process apparatus, including:

Receiving module, the logging state synchronization request that the destination application APP for receiving terminal is sent, the login Browser mark and logging state information in state synchronization request comprising the terminal;

First sending module, for the logging state information of the target APP to be sent to and browser mark pair The browser answered.

Further, further include:

Correction verification module is verified for the logging state information to the target APP;

Execution module is executed for when verifying successfully, triggering the sending module by the logging state of the target APP Information is sent to the operation that corresponding browser is identified with the browser.

Further, further include:

Second sending module, for sending synchronous logging state success notification message to the target APP.

The 9th aspect of the embodiment of the present invention provides a kind of electronic equipment, including:

Memory, for storing program instruction;

Processor executes above-mentioned first aspect, above-mentioned second for calling and executing the program instruction in the memory Method and step described in aspect and the above-mentioned third aspect.

The tenth aspect of the embodiment of the present invention provides a kind of server, including:

Memory, for storing program instruction;

Processor executes side described in above-mentioned fourth aspect for calling and executing the program instruction in the memory Method step.

The tenth one side of the embodiment of the present invention provides a kind of readable storage medium storing program for executing, and meter is stored in the readable storage medium storing program for executing Calculation machine program, when at least one processor of login process apparatus executes the computer program, login process apparatus is above-mentioned Login process method described in first aspect, above-mentioned second aspect and the above-mentioned third aspect.

The 12nd aspect of the embodiment of the present invention provides a kind of readable storage medium storing program for executing, and meter is stored in the readable storage medium storing program for executing Calculation machine program, when at least one processor of login process apparatus executes the computer program, login process apparatus is above-mentioned Login process method described in fourth aspect.

Login process method, device provided by the embodiment of the present invention, electronic equipment and server, browser receive user The second logging request is sent to target APP in the first logging request of the M page, and accordingly, and then triggers target APP and server It interacts and makes server that the logging state information of user is directly synchronized to browser, to realize user at unbound What can also be logged in a key of the M page in the case where third-party platform account number, significant increase user experience.

Detailed description of the invention

It, below will be to embodiment or the prior art in order to illustrate more clearly of the present invention or technical solution in the prior art Attached drawing needed in description is briefly described, it should be apparent that, the accompanying drawings in the following description is of the invention one A little embodiments for those of ordinary skill in the art without any creative labor, can also be according to this A little attached drawings obtain other attached drawings.

Fig. 1 is the corresponding system architecture diagram of login process method provided in an embodiment of the present invention;

Fig. 2 is the flow diagram of login process method embodiment one provided in an embodiment of the present invention;

Fig. 3 is the flow diagram of login process method embodiment two provided in an embodiment of the present invention;

Fig. 4 is the flow diagram of login process method embodiment three provided in an embodiment of the present invention;

Fig. 5 is the flow diagram of login process method example IV provided in an embodiment of the present invention;

Fig. 6 is the function structure chart of the first login process apparatus embodiment one provided in an embodiment of the present invention;

Fig. 7 is the function structure chart of the first login process apparatus embodiment two provided in an embodiment of the present invention;

Fig. 8 is the function structure chart of second of login process apparatus embodiment one provided in an embodiment of the present invention;

Fig. 9 is the function structure chart of second of login process apparatus embodiment two provided in an embodiment of the present invention;

Figure 10 is the function structure chart of the third login process apparatus embodiment one provided in an embodiment of the present invention;

Figure 11 is the function structure chart of the third login process apparatus embodiment two provided in an embodiment of the present invention;

Figure 12 is the function structure chart of the third login process apparatus embodiment three provided in an embodiment of the present invention;

Figure 13 is the function structure chart of the third login process apparatus example IV provided in an embodiment of the present invention;

Figure 14 is the function structure chart of the 4th kind of login process apparatus embodiment one provided in an embodiment of the present invention;

Figure 15 is the function structure chart of the 4th kind of login process apparatus embodiment two provided in an embodiment of the present invention;

Figure 16 is the function structure chart of the 4th kind of login process apparatus embodiment three provided in an embodiment of the present invention;

Figure 17 is the entity block diagram of a kind of electronic equipment provided in an embodiment of the present invention;

Figure 18 is a kind of entity block diagram of server provided in an embodiment of the present invention.

Specific embodiment

To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention Figure, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is the present invention A part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.

Using the method for the prior art, only in the case where the account number of APP account number binding with third-party platform, User just can log in APP by one key of third party login mode in the M page, and in APP actual moving process, it has many consumers The account number of third platform is bound not on APP, in this case, just be cannot achieve key login, is influenced user and use body It tests.

The embodiment of the present invention based on the above issues, proposes a kind of login process method, when user logs in the M page When, it is interacted by browser with target APP and target APP is interacted with server, allow browser according to server Logging state information is directly realized by login, to realize in the case where the account number of APP does not bind third-party platform account number It can be logged in a key, the usage experience of significant increase user.

Fig. 1 is the corresponding system architecture diagram of login process method provided in an embodiment of the present invention, as shown in Figure 1, this method It is related to browser, operating system, target APP and server.Wherein, browser, operating system and target APP are operated in In the same terminal, browser is interacted by operating system and target APP, and target APP is interacted with service, in turn, Server is interacted with browser, realizes that the key on the M page logs in by the interaction between these executing subjects.Its In, target APP refers to APP client.

Following embodiment of the present invention is respectively illustrated implementation process of the invention from above-mentioned each angle for executing theme.

Illustrate the treatment process of browser side first below.

Fig. 2 is the flow diagram of login process method embodiment one provided in an embodiment of the present invention, the execution of this method Main body is above-mentioned browser, as shown in Fig. 2, this method includes:

S201, terminal browser receive the first logging request of user, marked comprising target APP in first logging request Know, browser mark and logging request identify.

Optionally, user executes register in the M page of browser, steps on for example, user can click one in the M page Button is recorded, after the M page identifies the operation of user, i.e., can send the first logging request to browser, wherein carry target APP mark, browser mark and logging request mark.

Specifically, above-mentioned target APP mark refers to the mark at the mobile end APP of the same APP product corresponding with the M page Know.The mark of target APP has been had recorded on the M page in advance.

Above-mentioned logging request mark is used to identify this logging request, i.e., by the mark, that is, can determine user need into Row logs in.

S202, above-mentioned browser identify corresponding target APP to above-mentioned target APP according to above-mentioned first logging request and send Second logging request, comprising logging request mark and browser mark in second logging request, so that target APP is according to being somebody's turn to do The logging state synchronizing information of target APP to above-mentioned browser is identified corresponding browsing by logging request identification request server Device.

After getting target APP mark, browser can send the second login to target APP indicated by the mark and ask It asks, and carries above-mentioned logging request mark and browser mark in the request.

It, can be by being interacted with server so that server will be stepped on after target APP receives above-mentioned second logging request Record status information is synchronized to browser, and detailed process will be described in detail in the embodiment of following target APP and server.

S203, above-mentioned browser receive the logging state information for the above-mentioned target APP that above-mentioned server is sent, and using upper The logging state information for stating target APP is logged in.

After interaction by target APP and server, server knows that user needs to log in the M page, and services The logging state information of the available user of device, server send that information to browser, and browser can be according to the login Status information is logged in, and is logged in realize in a key of the M page.

Optionally, the logging state information of user may include the account number and logging state of user, and logging state is for example It can be and logged in.

In the present embodiment, browser receives user in the first logging request of the M page, and sends the to target APP accordingly Two logging requests, and then trigger target APP and interacted with server and make server that the logging state information of user is directly same Browser is walked, so that realizing user can also be the one of the M page in the case where unbound any third-party platform account number Key logs in, significant increase user experience.

In a kind of optional embodiment, above-mentioned browser is identified as the mark of the browser by encryption.

Illustratively, the first logging request that the M page is sent to browser is:

Wbmain://jump/core/weblogin?dnk3a9#F@ads2ktgasdczG93

Wherein, "?" before part indicate target APP mark and logging request mark, "?" after part indicate plus The browser of close mistake identifies.

The browser mark of the encryption can be sent to target APP, and be parsed by target APP.

In a kind of optional embodiment, above-mentioned browser when sending the second logging request, specifically can by with Under type executes:

Above-mentioned browser identifies corresponding target APP transmission second to above-mentioned target APP by the operating system of terminal and steps on Record request.

Specifically, browser and target APP are operated on the same underlying operating system, therefore, behaviour can be passed through Information exchange is carried out as system.

When sending the second logging request by operating system, browser can further be sent in the following way:

Above-mentioned browser sends above-mentioned second logging request to above-mentioned operating system so that aforesaid operations system tune rise with it is upper The corresponding target APP of target APP is stated, and above-mentioned logging request mark and above-mentioned browser mark are sent to target APP.

Specifically, sending it to the operating system of bottom, the operation system of bottom after browser generates the second logging request System is above-mentioned target APP by the destination that second logging request can know that it sends, then operating system can be adjusted directly Target APP is played, i.e., so that target APP starts to run in front end.

The following are the treatment processes of operating system side.

Fig. 3 is the flow diagram of login process method embodiment two provided in an embodiment of the present invention, the execution of this method Main body is above-mentioned operating system, as shown in figure 3, this method includes:

S301, terminal operating system receive terminal browser send the second logging request, second logging request In comprising browser mark and logging request mark.

S302, aforesaid operations system tune play target APP corresponding with above-mentioned target APP.

Specifically, aforesaid operations system indicates that above-mentioned target APP starts to run in front end.

S303, aforesaid operations system identifies above-mentioned logging request and above-mentioned browser mark is sent to above-mentioned target APP, So that the logging state of above-mentioned target APP is synchronized to by above-mentioned target APP according to above-mentioned logging request identification request server It states browser and identifies corresponding browser.

When target APP start front end run after, operating system by aforesaid operations request in logging request mark with And browser mark is sent to target APP, after target APP receives these information, can be interacted according to information with server, and So that logging state information of the server to the synchronous user of browser.

In the present embodiment, the second logging request for needing to be sent to target APP is sent to operating system by browser, thus Target APP and subsequent operation is continued to execute by operating system tune, i.e., target APP is played by operating system tune and to target APP, which is sent, logs in corresponding information, allows target APP to be able to run in time and completes to log in corresponding operation.

In a kind of optional embodiment, above-mentioned browser is identified as the mark of the browser by encryption.

Correspondingly, also being performed the following operations before operating system executes above-mentioned steps S302:

Operating system parses the unencryption part in above-mentioned second logging request, obtains logging request mark.

Referring to the example of above-mentioned first logging request, the exemplary format is can be used also to indicate in the second logging request.

That is browser mark indicates that logging request mark is identified using unencrypted form using the form of encryption.

Then in the present embodiment, operation new system can parse the unencryption part in the second logging request, To obtain logging request mark.

After operating system parses logging request mark, further, when executing above-mentioned S303, operating system tool Body can execute following processes:

Operating system identifies above-mentioned logging request and the browser mark by encryption is sent to above-mentioned target APP.

By processing above-mentioned, operating system has parsed logging request mark, therefore, in the present embodiment, operation system System can identify the logging request parsed and the browser mark by encryption is sent to target APP, so that target APP continues to execute subsequent operation.

The following are the treatment processes of the side target APP.

Fig. 4 is the flow diagram of login process method embodiment three provided in an embodiment of the present invention, the execution of this method Main body is above-mentioned target APP, as shown in figure 4, this method includes:

S401, terminal target APP receive the second logging request that the browser of terminal is sent, in second logging request Include logging request mark and browser mark.

Wherein, the specific sending method of second logging request is referred to the treatment process of aforesaid operations system side.

S402, above-mentioned target APP are identified to server according to above-mentioned logging request and are sent logging state synchronization request, this is stepped on It records comprising above-mentioned browser mark and logging state information in state synchronization request, so that server is by above-mentioned target APP's Logging state synchronizing information identifies corresponding browser to above-mentioned browser.

Optionally, above-mentioned logging state information may include the account number and logging state of user, and logging state for example may be used To be to have logged in.

After target APP receives the second logging request, is identified according to the logging request in request and browser mark is It can determine that the browser identifies corresponding browser and needs to complete to log in, then target APP can report logging state to server Logging state of the user on target APP is synchronized to browser with tell the server by synchronization request.For example, if user Being logged on target APP, then the logging state of the user is synchronized to browser by target APP meeting request server, so that The state of the user is also login on a web browser.

In the present embodiment, after target APP receives the second logging request of browser transmission, request server is understood by target Logging state synchronizing information on APP is to browser, i.e., if user logs on target APP, passes through server Synchronizing can make the state of the user on browser also be login, to realize user in unbound any third-party platform It can also be logged in a key of the M page in the case where account number, significant increase user experience.

In a kind of optional embodiment, before target APP sends logging state synchronization request to server, may be used also To execute following processes:

Target APP verifies current logging state.

If current logging state is to be not logged in, target APP tune plays login page so that user completes to log in, and User completes performance objective APP after logging in and is identified according to above-mentioned logging request to server transmission logging state synchronization request Step.

Specifically, if user logs in not over APP, server possibly can not know that currently log in is which is used Family, and then logging state can not be synchronized to browser.Therefore, in the present embodiment, target APP is sending login shape to server Before state synchronization request, guarantee user is logged on target APP first.Logging state target APP current by verification, If verifying out current logging state is to be not logged in, target APP can show login page, be logged in by user, log in it Afterwards again to server send logging state synchronization request the step of.And if current logging state is to have logged in, target APP Logging state synchronization request is directly sent to server according to current logging state information.

Since the register process of APP is more efficient and convenient compared to for browser, even if user is in advance not It is logged on target APP, login can also be rapidly completed, and then the automated log on browser can be realized.

In a kind of optional embodiment, after above-mentioned steps S402, following processes are can also be performed in target APP:

Target APP receives the synchronization logging state success notification message that server is sent.

Specifically, can be notified by above-mentioned notification message after server logging state success synchronous to browser Target APP, target APP are using the interaction with browser so that browser is run in front end.

Specifically, target APP can execute following processes:

Target APP plays above-mentioned browser according to above-mentioned synchronous logging state success notification message tune.

After target APP receives synchronous logging state success notification message, illustrate that server will successfully log in shape State synchronizing information is to browser, i.e., user has succeeded logs in browser, at this point, user needs on the M page of browser Subsequent operation is executed, therefore, in the present embodiment, browser can directly have been adjusted by target APP, so that M pages of browser Face is shown in front end, and user does not need to execute the operations such as additional switching again and can directly operate on the M page, thus into The usage experience of one step promotion user.

The following are the treatment processes of server side.

Fig. 5 is the flow diagram of login process method example IV provided in an embodiment of the present invention, the execution of this method Main body is above-mentioned server, as shown in figure 5, this method includes:

S501, server receiving terminal target APP send logging state synchronization request, the logging state synchronization request In comprising terminal browser mark and logging state information.

The logging state information of above-mentioned target APP is sent to corresponding clear with above-mentioned browser mark by S502, server Look at device.

Optionally, above-mentioned logging state information may include the account number and logging state of user, and logging state for example may be used To be to have logged in.

After server receives logging state synchronization request, it can determine that the user for logging on to target APP wishes to step on Browser is recorded, then logging state information of the user on target APP can be sent to browser by server.In turn, by clear The information that device is sent according to server of looking at directly is logged in.

In the present embodiment, server arrives the logging state synchronizing information on target APP according to the request of target APP Browser can make the user on browser by synchronizing for server if user logs on target APP State is also login, so that realizing user can also be in the M page in the case where unbound any third-party platform account number One key logs in, significant increase user experience.

In a kind of optional embodiment, before logging state information is sent to browser by server, server Following processes can also be performed:

Server verifies the logging state information of above-mentioned target APP.

If verify successfully execute above-mentioned server by the logging state information of above-mentioned target APP be sent to it is above-mentioned clear Device of looking at identifies the step of corresponding browser (i.e. above-mentioned steps S502).

Specifically, whether the account number that server can verify the user in logging state information is legal account number, meanwhile, Server can also verify whether account has logged on, i.e., whether logging state is to have logged in, if verification all passes through, really Recognize and verify successfully, then server can be by logging state synchronizing information to browser.

In the present embodiment, logging state information is verified before synchronous logging state information, it is ensured that clear The legitimacy for the user that device of looking at logs in, ensure that the safety that APP is used.

In a kind of optional embodiment, after above-mentioned steps S502, following processes are can also be performed in server:

Server sends synchronous logging state success notification message to above-mentioned target APP.

Server sends synchronous logging state success notification message to target APP, to indicate target APP user clear It lookes on device and logs in, then target APP can further execute the process for having adjusted browser, specifically be referred to the side preceding aim APP Description, details are not described herein again.

Fig. 6 is the function structure chart of the first login process apparatus embodiment one provided in an embodiment of the present invention, the device Applied to the browser of terminal, as shown in fig. 6, the device includes:

Receiving module 601 includes target APP in first logging request for receiving the first logging request of user Mark, browser mark and logging request mark.

Sending module 602 is sent out for identifying corresponding target APP to the target APP according to first logging request The second logging request is sent, is identified in second logging request comprising logging request mark and browser, so that the target APP The logging state synchronizing information of the target APP is identified to the browser according to the logging request identification request server The corresponding browser.

Login module 603 for receiving the logging state information for the target APP that the server is sent, and uses The logging state information of the target APP is logged in.

In the device, browser receives user in the first logging request of the M page, and sends second to target APP accordingly Logging request, and then triggering target APP is interactive with server and makes server that the logging state information of user is directly synchronous To browser, so that realizing user can also be in a key of the M page in the case where unbound any third-party platform account number It logs in, significant increase user experience.

In another embodiment, the browser is identified as the mark of the browser by encryption.

Fig. 7 is the function structure chart of the first login process apparatus embodiment two provided in an embodiment of the present invention, such as Fig. 7 institute Show, which includes:

Receiving module 601 includes target APP in first logging request for receiving the first logging request of user Mark, browser mark and logging request mark.

Sending module 602 is sent out for identifying corresponding target APP to the target APP according to first logging request The second logging request is sent, is identified in second logging request comprising logging request mark and browser, so that the target APP The logging state synchronizing information of the target APP is identified to the browser according to the logging request identification request server The corresponding browser.

Login module 603 for receiving the logging state information for the target APP that the server is sent, and uses The logging state information of the target APP is logged in.

Sending module 602 includes:

Transmission unit 6021 identifies corresponding target APP to the target APP for the operating system by the terminal Send the second logging request.

In another embodiment, transmission unit 6021 is specifically used for:

Second logging request is sent to the operating system, so that the operating system tune rises and the target APP Corresponding target APP, and logging request mark and browser mark are sent to the target APP.

Fig. 8 is the function structure chart of second of login process apparatus embodiment one provided in an embodiment of the present invention, the device Applied to the operating system of terminal, as shown in figure 8, the device includes:

Receiving module 801, the browser for receiving terminal are sent to the second logging request of target APP, and described second Include browser mark and logging request mark in logging request.

Module 802 is adjusted, for having adjusted target APP corresponding with the target APP.

Sending module 803, for logging request mark and browser mark to be sent to the target APP, So that the logging state of the target APP is synchronized to institute according to the logging request identification request server by the target APP It states browser and identifies the corresponding browser.

In the device, the second logging request for needing to be sent to target APP is sent to operating system by browser, thus by Operating system tune plays target APP and simultaneously continues to execute subsequent operation, i.e., plays target APP by operating system tune and to target APP, which is sent, logs in corresponding information, allows target APP to be able to run in time and completes to log in corresponding operation.

In another embodiment, the browser is identified as the mark of the browser by encryption.

Fig. 9 is the function structure chart of second of login process apparatus embodiment two provided in an embodiment of the present invention, such as Fig. 9 institute Show, which includes:

Receiving module 801, the browser for receiving terminal are sent to the second logging request of target APP, and described second Include browser mark and logging request mark in logging request.

Module 802 is adjusted, for having adjusted target APP corresponding with the target APP.

Sending module 803, for logging request mark and browser mark to be sent to the target APP, So that the logging state of the target APP is synchronized to institute according to the logging request identification request server by the target APP It states browser and identifies the corresponding browser.

Further include:

Parsing module 804 obtains logging request mark for parsing the unencryption part in second logging request.

Sending module 803 is specifically used for:

The logging request is identified and the browser mark by encryption is sent to the target APP.

Figure 10 is the function structure chart of the third login process apparatus embodiment one provided in an embodiment of the present invention, is applied to The target APP of terminal, as shown in Figure 10, which includes:

First receiving module 1001, the second logging request that the browser for receiving terminal is sent, described second logs in Include logging request mark and browser mark in request.

Sending module 1002 sends logging state synchronization request, institute for identifying according to the logging request to server It states comprising browser mark and logging state information in logging state synchronization request, so that the server is by the mesh The logging state synchronizing information for marking APP identifies the corresponding browser to the browser.

In the device, after target APP receives the second logging request of browser transmission, request server is understood by target Logging state synchronizing information on APP is to browser, i.e., if user logs on target APP, passes through server Synchronizing can make the state of the user on browser also be login, to realize user in unbound any third-party platform It can also be logged in a key of the M page in the case where account number, significant increase user experience.

Figure 11 is the function structure chart of the third login process apparatus embodiment two provided in an embodiment of the present invention, such as Figure 11 Shown, which includes:

First receiving module 1001, the second logging request that the browser for receiving terminal is sent, described second logs in Include logging request mark and browser mark in request.

Sending module 1002 sends logging state synchronization request, institute for identifying according to the logging request to server It states comprising browser mark and logging state information in logging state synchronization request, so that the server is by the mesh The logging state synchronizing information for marking APP identifies the corresponding browser to the browser.

Further include:

Correction verification module 1003, for verifying current logging state.

First has adjusted module 1004, for when the logging state is to be not logged in, then the target APP tune to play log in page Login is completed so as to user in face, and triggers sending module 1002 after the user completes to log in and send login shape to server State synchronization request.

Figure 12 is the function structure chart of the third login process apparatus embodiment three provided in an embodiment of the present invention, such as Figure 12 Shown, which includes:

First receiving module 1001, the second logging request that the browser for receiving terminal is sent, described second logs in Include logging request mark and browser mark in request.

Sending module 1002 sends logging state synchronization request, institute for identifying according to the logging request to server It states comprising browser mark and logging state information in logging state synchronization request, so that the server is by the mesh The logging state synchronizing information for marking APP identifies the corresponding browser to the browser.

Further include:

Correction verification module 1003, for verifying current logging state.

First has adjusted module 1004, for when the logging state is to be not logged in, then the target APP tune to play log in page Login is completed so as to user in face, and triggers sending module 1002 after the user completes to log in and send login shape to server State synchronization request.

Further include:

Second receiving module 1005, the synchronization logging state success notification message sent for receiving the server.

Figure 13 is the function structure chart of the third login process apparatus example IV provided in an embodiment of the present invention, such as Figure 13 Shown, which includes:

First receiving module 1001, the second logging request that the browser for receiving terminal is sent, described second logs in Include logging request mark and browser mark in request.

Sending module 1002 sends logging state synchronization request, institute for identifying according to the logging request to server It states comprising browser mark and logging state information in logging state synchronization request, so that the server is by the mesh The logging state synchronizing information for marking APP identifies the corresponding browser to the browser.

Further include:

Correction verification module 1003, for verifying current logging state.

First has adjusted module 1004, for when the logging state is to be not logged in, then the target APP tune to play log in page Login is completed so as to user in face, and triggers sending module 1002 after the user completes to log in and send login shape to server State synchronization request.

Further include:

Second receiving module 1005, the synchronization logging state success notification message sent for receiving the server.

Further include:

Second has adjusted module 1006, for playing the browser according to the synchronous logging state success notification message tune.

Figure 14 is the function structure chart of the 4th kind of login process apparatus embodiment one provided in an embodiment of the present invention, is applied to Server, as shown in figure 14, which includes:

Receiving module 1401, the logging state synchronization request that the destination application APP for receiving terminal is sent are described Browser mark and logging state information in logging state synchronization request comprising the terminal.

First sending module 1402, for the logging state information of the target APP to be sent to and the browser mark Know corresponding browser.

In the device, server is according to the request of target APP, by the logging state synchronizing information on target APP to clear It lookes at device, if user logs on target APP, the shape that can make the user on browser is synchronized by server State is also login, so that realizing user can also be the one of the M page in the case where unbound any third-party platform account number Key logs in, significant increase user experience.

Figure 15 is the function structure chart of the 4th kind of login process apparatus embodiment two provided in an embodiment of the present invention, such as Figure 15 Shown, which includes:

Receiving module 1401, the logging state synchronization request that the destination application APP for receiving terminal is sent are described Browser mark and logging state information in logging state synchronization request comprising the terminal.

First sending module 1402, for the logging state information of the target APP to be sent to and the browser mark Know corresponding browser.

Further include:

Correction verification module 1403 is verified for the logging state information to the target APP.

Execution module 1404 is executed for when verifying successfully, triggering the sending module by the login of the target APP Status information is sent to the operation that corresponding browser is identified with the browser.

Figure 16 is the function structure chart of the 4th kind of login process apparatus embodiment three provided in an embodiment of the present invention, such as Figure 16 Shown, which includes:

Receiving module 1401, the logging state synchronization request that the destination application APP for receiving terminal is sent are described Browser mark and logging state information in logging state synchronization request comprising the terminal.

First sending module 1402, for the logging state information of the target APP to be sent to and the browser mark Know corresponding browser.

Further include:

Correction verification module 1403 is verified for the logging state information to the target APP.

Execution module 1404 is executed for when verifying successfully, triggering the sending module by the login of the target APP Status information is sent to the operation that corresponding browser is identified with the browser.

Further include:

Second sending module 1405, for sending synchronous logging state success notification message to the target APP.

Figure 17 is the entity block diagram of a kind of electronic equipment provided in an embodiment of the present invention, which can be terminal, As shown in figure 17, which includes:

Memory 1701, for storing program instruction.

Processor 1702 executes the above-mentioned above method and implements for calling and executing the program instruction in memory 1701 Method and step performed by the target APP of the browser of terminal, the operating system of terminal and terminal in example.

Figure 18 is a kind of entity block diagram of server provided in an embodiment of the present invention, and as shown in figure 18, which includes:

Memory 1801, for storing program instruction.

Processor 1802 executes in above method embodiment for calling and executing the program instruction in memory 1801 Method and step performed by server.

Those of ordinary skill in the art will appreciate that:Realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.

Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, those skilled in the art should understand that:Its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (21)

1. a kind of login process method, which is characterized in that including:
The browser of terminal receives the first logging request of user, includes destination application APP in first logging request Mark, browser mark and logging request mark;
The browser identifies corresponding target APP to the target APP according to first logging request and sends the second login It requests, comprising logging request mark and browser mark in second logging request, so that the target APP is stepped on according to Record request identification request server is corresponding described to browser mark by the logging state synchronizing information of the target APP Browser;
The browser receives the logging state information for the target APP that the server is sent, and uses the target APP Logging state information logged in.
2. the method according to claim 1, wherein the browser is identified as the browser mark by encryption Know.
3. method according to claim 1 or 2, which is characterized in that the browser according to first logging request to The target APP identifies corresponding target APP and sends the second logging request, including:
The browser identifies corresponding target APP transmission second to the target APP by the operating system of the terminal and steps on Record request.
4. according to the method described in claim 3, it is characterized in that, the browser is by the operating system of the terminal to institute It states target APP and identifies the second logging request of corresponding target APP transmission, including:
The browser sends second logging request to the operating system, so that the operating system tune rises and the mesh The corresponding target APP of APP is marked, and logging request mark and browser mark are sent to the target APP.
5. a kind of login process method, which is characterized in that including:
The browser that the operating system of terminal receives the terminal is sent to the second logging request of destination application APP, institute It states in the second logging request comprising browser mark and logging request mark;
The operating system tune plays target APP corresponding with the target APP;
Logging request mark and browser mark are sent to the target APP by the operating system, so that described The logging state of the target APP is synchronized to the browser according to the logging request identification request server by target APP Identify the corresponding browser.
6. according to the method described in claim 5, it is characterized in that, the browser is identified as the browser mark by encryption Know;
Before the operating system tune plays target APP corresponding with the target APP, further include:
The operating system parses the unencryption part in second logging request, obtains logging request mark;
Correspondingly, logging request mark and browser mark are sent to the target APP by the operating system, wrap It includes:
The operating system identifies the logging request and the browser mark by encryption is sent to the target APP.
7. a kind of login process method, which is characterized in that including:
The destination application APP of terminal receives the second logging request that the browser of the terminal is sent, and described second logs in Include logging request mark and browser mark in request;
The target APP is identified to server according to the logging request and is sent logging state synchronization request, the logging state Comprising browser mark and logging state information in synchronization request, so that the server stepping on the target APP Record status information is synchronized to the browser and identifies the corresponding browser.
8. the method according to the description of claim 7 is characterized in that the target APP is identified according to the logging request to clothes It is engaged in front of device transmission logging state synchronization request, further includes:
The target APP verifies current logging state;
If the logging state is to be not logged in, the target APP tune plays login page so that user completes to log in, and described User, which completes to execute the target APP after logging in and identified according to the logging request, to be sent logging state to server and synchronizes and ask The step of asking.
9. method according to claim 7 or 8, which is characterized in that the target APP according to the logging request identify to After server sends logging state synchronization request, further include:
The target APP receives the synchronization logging state success notification message that the server is sent.
10. according to the method described in claim 9, it is characterized in that, the target APP receives the synchronization that the server is sent After logging state success notification message, further include:
The target APP plays the browser according to the synchronous logging state success notification message tune.
11. a kind of login process method, which is characterized in that including:
The logging state synchronization request that the destination application APP of server receiving terminal is sent, the logging state, which synchronizes, asks Browser mark and logging state information in asking comprising the terminal;
The logging state information of the target APP is sent to browser corresponding with browser mark by the server.
12. according to the method for claim 11, which is characterized in that the server is by the logging state of the target APP Information is sent to before browser corresponding with browser mark, further includes:
The server verifies the logging state information of the target APP;
The logging state information of the target APP is sent to and the browser if verifying and successfully executing the server The step of identifying corresponding browser.
13. method according to claim 11 or 12, which is characterized in that the server is by the login of the target APP Status information is sent to after browser corresponding with browser mark, further includes:
The server sends synchronous logging state success notification message to the target APP.
14. a kind of login process apparatus, the browser applied to terminal, which is characterized in that including:
Receiving module includes destination application APP in first logging request for receiving the first logging request of user Mark, browser mark and logging request mark;
Sending module is stepped on for identifying corresponding target APP transmission second to the target APP according to first logging request Record is requested, comprising logging request mark and browser mark in second logging request, so that the target APP is according to The logging state synchronizing information of the target APP to the browser is identified corresponding institute by logging request identification request server State browser;
Login module for receiving the logging state information for the target APP that the server is sent, and uses the target The logging state information of APP is logged in.
15. a kind of login process apparatus, the operating system applied to terminal, which is characterized in that including:
Receiving module, the browser for receiving terminal are sent to the second logging request of destination application APP, and described second Include browser mark and logging request mark in logging request;
Module is adjusted, for having adjusted target APP corresponding with the target APP;
Sending module, for logging request mark and browser mark to be sent to the target APP, so that described The logging state of the target APP is synchronized to the browser according to the logging request identification request server by target APP Identify the corresponding browser.
16. a kind of login process apparatus, the destination application APP applied to terminal, which is characterized in that including:
First receiving module, the second logging request that the browser for receiving terminal is sent, is wrapped in second logging request Containing logging request mark and browser mark;
Sending module sends logging state synchronization request, the login shape for identifying according to the logging request to server Comprising browser mark and logging state information in state synchronization request, so that the server is by the target APP's Logging state synchronizing information identifies the corresponding browser to the browser.
17. a kind of login process apparatus is applied to server, which is characterized in that including:
Receiving module, the logging state synchronization request that the destination application APP for receiving terminal is sent, the logging state Browser mark and logging state information in synchronization request comprising the terminal;
First sending module, it is corresponding with browser mark for being sent to the logging state information of the target APP Browser.
18. a kind of electronic equipment, which is characterized in that including:
Memory, for storing program instruction;
Processor, for calling and executing the program instruction in the memory, perform claim requires 1-4,5-6,7-10 any Method and step described in.
19. a kind of server, which is characterized in that including:
Memory, for storing program instruction;
Processor, for calling and executing the program instruction in the memory, perform claim requires 11-13 described in any item Method and step.
20. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program in the readable storage medium storing program for executing, work as login When at least one processor of processing unit executes the computer program, login process apparatus perform claim requirement 1-4,5-6, The described in any item login process methods of 7-10.
21. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program in the readable storage medium storing program for executing, work as login When at least one processor of processing unit executes the computer program, login process apparatus perform claim requires 11-13 to appoint Login process method described in one.
CN201810542675.7A 2018-05-30 2018-05-30 Login process method, device, electronic equipment and server CN108846276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810542675.7A CN108846276A (en) 2018-05-30 2018-05-30 Login process method, device, electronic equipment and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810542675.7A CN108846276A (en) 2018-05-30 2018-05-30 Login process method, device, electronic equipment and server

Publications (1)

Publication Number Publication Date
CN108846276A true CN108846276A (en) 2018-11-20

Family

ID=64211208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810542675.7A CN108846276A (en) 2018-05-30 2018-05-30 Login process method, device, electronic equipment and server

Country Status (1)

Country Link
CN (1) CN108846276A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140173708A1 (en) * 2012-12-18 2014-06-19 Virtual Kayring, LLC Cloud based password management
CN104394133A (en) * 2014-11-14 2015-03-04 百度在线网络技术(北京)有限公司 Login method and login system
CN104519050A (en) * 2014-11-14 2015-04-15 百度在线网络技术(北京)有限公司 Login method and login system
CN104580074A (en) * 2013-10-14 2015-04-29 阿里巴巴集团控股有限公司 Logging method of client end application and corresponding server of logging method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140173708A1 (en) * 2012-12-18 2014-06-19 Virtual Kayring, LLC Cloud based password management
CN104580074A (en) * 2013-10-14 2015-04-29 阿里巴巴集团控股有限公司 Logging method of client end application and corresponding server of logging method
CN104394133A (en) * 2014-11-14 2015-03-04 百度在线网络技术(北京)有限公司 Login method and login system
CN104519050A (en) * 2014-11-14 2015-04-15 百度在线网络技术(北京)有限公司 Login method and login system

Similar Documents

Publication Publication Date Title
JP2015092374A (en) Apparatus and methods for managing firmware verification on wireless device
US20180121635A1 (en) Systems and methods for authenticating video using watermarks
CN103891246B (en) Webpage real-time Communication for Power call transfer method and device
US7904580B2 (en) Digital media player exposing operational state data
EP2745541B1 (en) Method and apparatus for accessing virtual smart cards
EP2963933A1 (en) Remote control processing method, apparatus and system
US10284494B2 (en) Device controlling method, client, server and intermediate device
CN104602131A (en) Barrage processing method and system
KR20150096312A (en) Telemetry system for a cloud synchronization system
CN104917749B (en) account registration method and device
US8826402B2 (en) Management of an instant message session
CN104092811B (en) Mobile terminal information download method, system, terminal device and server
CN104765678B (en) The method and device tested the application on mobile terminal device
US20140113601A1 (en) Method for accessing media content, service server and mobile terminal
CN102761549B (en) Processing method and system of resource sharing and service platforms
WO2013177968A1 (en) File storage system and device, and file access method
CN104780183B (en) A kind of information sharing method, device and electronic equipment
WO2007086697A1 (en) Apparatus and method for moving rights object from one device to another device via server
CN106453415B (en) Block chain-based equipment authentication method, authentication server and user equipment
WO2012116000A1 (en) User initiated and controlled identity federation establishment and revocation mechanism
CN101990183A (en) Method, device and system for protecting user information
CN107295354A (en) Connect the live method for building up of wheat and device in a kind of network direct broadcasting
CN103368913A (en) Account login method, apparatus and system, and network server
CN103152402A (en) Method and system for logging in through mobile terminal and cloud server
CN105786473A (en) Task management method and device of multi-task interface as well as terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination