CN108924132A - A kind of public platform login method, system, equipment and computer readable storage medium - Google Patents

A kind of public platform login method, system, equipment and computer readable storage medium Download PDF

Info

Publication number
CN108924132A
CN108924132A CN201810712568.4A CN201810712568A CN108924132A CN 108924132 A CN108924132 A CN 108924132A CN 201810712568 A CN201810712568 A CN 201810712568A CN 108924132 A CN108924132 A CN 108924132A
Authority
CN
China
Prior art keywords
user client
user
public platform
openid
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810712568.4A
Other languages
Chinese (zh)
Inventor
刘均
曹建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201810712568.4A priority Critical patent/CN108924132A/en
Publication of CN108924132A publication Critical patent/CN108924132A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

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

This application discloses a kind of public platform login method, system, equipment and computer readable storage medium, wherein this method includes:Receive the logging request that user client is sent;It directly transmits authorization corresponding with logging request and adjusts back page to user client;The response message corresponding with authorization readjustment page that user client returns is received, includes bill code in response message;The mark openid of user client is obtained according to code;Wherein, code indicates to exchange the bill of openid for;Openid indicates user client and the associated mark of public platform.In a kind of public platform login method disclosed in the present application, system, equipment and computer readable storage medium, whether no need to send confirm the verification information of login to user for public platform, namely it does not need user and confirms that login can log on to public platform, compared with prior art, the convenience of user's login public platform is higher.

Description

A kind of public platform login method, system, equipment and computer readable storage medium
Technical field
This application involves public platform login techniques field, more specifically to a kind of public platform login method, system, Equipment and computer readable storage medium.
Background technique
With popularizing for public platform, more and more wechat users inquire information required for oneself using public platform, For example log in the information of vehicles etc. that automobile public platform inquires oneself.
However, user, when logging in public platform, public platform needs to send whether confirm that the verification information of login is extremely used Family, user needs just log in public platform after confirming login, so that the existing method very complicated for logging in public platform, convenient Property is lower.
In conclusion convenience when how to improve user's login public platform is that current those skilled in the art are urgently to be resolved The problem of.
Summary of the invention
The purpose of the application is to provide a kind of public platform login method, can solve how to improve user to a certain extent Log in public platform when convenience the technical issues of.Present invention also provides a kind of public platform login system, equipment and computers Readable storage medium storing program for executing.
To achieve the goals above, the application provides the following technical solutions:
A kind of public platform login method, including:
Receive the logging request that user client is sent;
It directly transmits authorization corresponding with the logging request and adjusts back page to the user client;
Receive that the user client returns adjusts back the corresponding response message of page with the authorization, in the response message Including bill code;
The mark openid of the user client is obtained according to the code;
Wherein, the code indicates to exchange the bill of the openid for;The openid indicate the user client with The associated mark of public platform.
Preferably, after the logging request for receiving user client transmission, described directly transmit is asked with the login Before seeking corresponding authorization readjustment page to the user client, further include:
Judge whether be stored with the user client in user client data cookie and/or session session Openid, if it is not, directly transmitting authorization corresponding with the logging request described in then executing adjusts back page to the user client The step of;
Wherein, the cookie indicates the data being stored in the user client, and the session stores the use Family client and the public platform conversate required attribute and configuration information.
Preferably, after the openid that the user client is obtained according to the code, further include:
It stores in the openid to user client data cookie and/or session session;
Wherein, the cookie indicates the data being stored in the user client, and the session stores the use Family client and the public platform conversate required attribute and configuration information, and the openid indicates the user client With the associated mark of the public platform.
Preferably, after the openid that the user client is obtained according to the code, further include:
Search user information corresponding with the openid;
The user information is sent to the user client.
Preferably, after the openid that the user client is obtained according to the code, further include:
Transmission logins successfully prompt information to the user client.
Preferably, after the openid that the user client is obtained according to the code, further include:
Receive and save the user information that the user client is sent.
Preferably, after the user information for receiving and saving the user client transmission, further include:
Receive user's more new information that the user client is sent;
According to user information described in user update information update.
A kind of public platform login system, including:
First receiving module, for receiving the logging request of user client transmission;
First sending module adjusts back page to the user client for directly transmitting authorization corresponding with the logging request End;
Second receiving module is believed for receiving the response corresponding with authorization readjustment page that the user client returns It ceases, includes bill code in the response message;
First obtains module, for obtaining the mark openid of the user client according to the code;
Wherein, the code indicates to exchange the bill of the openid for;The openid indicate the user client with The associated mark of public platform.
Preferably, further include:
Judgment module, for first receiving module receive user client send logging request after, it is described Before first sending module directly transmits authorization readjustment page to the user client corresponding with the logging request, judge to use Whether the openid of the user client is stored in family client data cookie and/or session session, if it is not, then Prompt to directly transmit authorization readjustment page corresponding with the logging request described in the first sending module execution to the user The step of client;
Wherein, the cookie indicates the data being stored in the user client, and the session stores the use Family client and the public platform conversate required attribute and configuration information.
Preferably, further include:
Memory module, for obtaining the openid of the user client according to the code in the first acquisition module Later, it stores in the openid to user client data cookie and/or session session;
Wherein, the cookie indicates the data being stored in the user client, and the session stores the use Family client and the public platform conversate required attribute and configuration information, and the openid indicates the user client With the associated mark of the public platform.
Preferably, further include:
Searching module, for obtaining the openid of the user client according to the code in the first acquisition module Later, user information corresponding with the openid is searched;
Second sending module, for sending the user information to the user client.
Preferably, further include:
Third sending module, for obtaining the user client according to the code in the first acquisition module After openid, transmission logins successfully prompt information to the user client.
Preferably, further include:
Third receiving module, for obtaining the user client according to the code in the first acquisition module After openid, the user information that the user client is sent is received and saved.
Preferably, further include:
4th receiving module, for receiving and saving the user that the user client is sent in the third receiving module After information, user's more new information that the user client is sent is received;
Update module, for the user information according to user update information update.
A kind of public platform logging device, including:
Memory, for storing computer program;
Processor realizes the step of as above any public platform login method when for executing the computer program Suddenly.
A kind of computer readable storage medium is stored with computer program in the computer readable storage medium, described The step of as above any described public platform login method is realized when computer program is executed by processor.
A kind of public platform login method provided by the present application, after receiving the logging request that user client is sent, just Directly transmit corresponding with logging request authorization and adjust back page to user client, then receive that user client returns with authorization The corresponding response message of page is adjusted back, the mark openid of user client is finally obtained according to the bill code in response message, After getting the openid of user client, which just logged on the public platform.One kind provided by the present application In public platform login method, no need to send whether confirm that the verification information of login to user, namely does not need user for public platform Confirmation, which logs in, can log on to public platform, and compared with prior art, the convenience that user logs in public platform is higher.The application provides A kind of public platform login system, equipment and computer readable storage medium also improve to a certain extent user log in the public Number when convenience.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of public platform login method provided by the embodiments of the present application;
Fig. 2 is a kind of structural schematic diagram of public platform login system provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of public platform logging device provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of another public platform logging device provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
In the login process of existing public platform, after user client clicks public platform, public platform can be first aobvious to user Show include whether to confirm the popup web page for logging in key, user client, which is clicked after the confirmation on popup web page logs in key, just may be used To log in public platform, in addition, public platform can also show the pop-up page to user when logging in public platform second of user client Face, so that user client need to frequently click confirmation and log in key, the convenience that user logs in public platform is lower.And the application mentions A kind of public platform login method supplied does not need user then and clicks confirmation login key, improves user's login to a certain extent The convenience of public platform.
The movement executing subject of each step can be this in a kind of public platform login method provided by the embodiments of the present application Apply for a kind of public platform login system that embodiment provides, and the system can be built in computer, server etc., so this The movement executing subject for applying for each step in a kind of public platform login method of embodiment offer can also be built-in, and this is Computer, server of system etc..It for convenience, here will be in a kind of public platform login method provided by the embodiments of the present application The movement executing subject of each step is set as a kind of public platform login system provided by the embodiments of the present application, referred to as logs in system System.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of public platform login method provided by the embodiments of the present application.
A kind of public platform login method provided by the embodiments of the present application, may include steps of:
Step S101:Receive the logging request that user client is sent.
In practical application, user client can be when clicking public platform, just send logging request to public platform;It logs in The particular content of request can be determine according to actual needs.After user client sends logging request to public platform, in public platform Login system just receive the logging request.
Step S102:It directly transmits authorization corresponding with logging request and adjusts back page to user client.
Login system just directly transmits authorization corresponding with logging request and adjusts back page to user after receiving logging request Client.In the case where user client clicks public platform and just sends logging request to public platform, login system can be sent Authorization corresponding with public platform adjusts back page to user client.It should be pointed out that authorization readjustment page mentioned here is to include the public Number authorization readjustment domain name the page, particular content, form can be determine according to actual needs.
Step S103:The response message corresponding with authorization readjustment page that user client returns is received, is wrapped in response message Include bill code.
User client can send and authorize readjustment page after receiving the authorization readjustment page that public platform directly transmits Corresponding response message includes the code of user client in response message to login system.Code mentioned here is indicated It exchanges the bill of access_token for, and exchanges the bill of openid for, in practical application, user client is public platform every time The code of institute's band is generally different when authorization, and code is used only once, and is not used by within 5 minutes just automatic expired, Ye Jiyong Family client is both needed to generate new code when logging in public platform every time.Access_token mentioned here is to obtain user The authorized certificate of people's information.
Step S104:The mark openid of user client is obtained according to code;
Wherein, code indicates to exchange the bill of openid for;Openid indicates user client and the associated mark of public platform.
Login system can send code to wechat server, wechat after receiving including the response message of code Server will return to the openid of user client to login system according to code, and login system is getting the openid Afterwards, just indicate that user client successfully logs on to public platform.Openid mentioned here is that user client is associated with public platform Unique identification, will not change with login times, log duration, in addition, user client is not paying close attention to the public Number, when only accessing the webpage of public platform, it can also generate openid.In concrete application scene, wechat server is also possible to basis Code sends access_token to login system, at this point, login system is after receiving access_token, it can basis Access_token obtains the personal information of user in user client, such as wechat title, wechat head portrait.In addition, wechat is objective Family end can first judge whether code is legal, and openid is then sent to public platform if legal after receiving code, if not conforming to Method, then end operation, and the illegal message of code is returned to public platform.
A kind of public platform login method provided by the present application, after receiving the logging request that user client is sent, just Directly transmit corresponding with logging request authorization and adjust back page to user client, then receive that user client returns with authorization The corresponding response message of page is adjusted back, the mark openid of user client is finally obtained according to the bill code in response message, After getting the openid of user client, which just logged on the public platform.One kind provided by the present application In public platform login method, no need to send whether confirm that the verification information of login to user, namely does not need user for public platform Confirmation, which logs in, can log on to public platform, and compared with prior art, the convenience that user logs in public platform is higher.
In practical application, the case where repeatedly logging in public platform there are user client, public affairs are currently logged in user client When many numbers last login public platforms, the openid of user client may be stored in user client data by public platform In cookie and/or session session, so receiving user in a kind of public platform login method provided by the embodiments of the present application After the logging request that client is sent, before directly transmitting authorization readjustment page to user client corresponding with logging request, Can also include:
The openid that user client whether is stored in cookie and/or session is judged, if it is not, then executing direct The step of sending authorization readjustment page to user client corresponding with logging request;
Wherein, cookie indicates the data being stored in user client, and session stores user client and public platform Conversate required attribute and configuration information.
It should be pointed out that login system is stored with the openid of user client in judging cookie and/or session Later, user client directly can be completed according to the openid of the user client stored in cookie and/or session The process for logging in public platform, without execute directly transmit corresponding with logging request authorization readjustment page to user client and with Step afterwards.
In a kind of public platform login method provided by the embodiments of the present application, the openid of user client is obtained according to code Later, can also include:
It stores in openid to cookie and/or session;
Wherein, cookie indicates the data being stored in user client, and session stores user client and public platform Conversate required attribute and configuration information, and openid indicates user client and the associated mark of public platform.
Login system just completes user client and logs in the public after the openid for obtaining user client according to code Number event, at this point, login system can in order to which completion user client easily and fast next time logs in the process of public platform Openid is stored into cookie and/or session with active, certainly, login system can also be stored in the form of session openid。
In practical application, the user information of itself may be stored in public platform by user client in advance, so this In a kind of public platform login method that embodiment offer is provided, after the openid that user client is obtained according to code, may be used also To include:
Search user information corresponding with openid;
User information is sent to user client.
In concrete application scene, login system after getting the openid of user client, just actively search with User information is actively sent to user client later by the corresponding user information of openid;It is also possible to receiving user After the request for the searching user's information that client is sent, just executes and search user information corresponding with openid, and user is believed The step of breath is sent to user client.The particular content of user information mentioned here can determine according to actual needs, than Such as it may include information of vehicles, and information of vehicles may include that the type of vehicle of user, the traveling duration of vehicle, vehicle make With the time limit, vehicle driving milimeter number etc..
In practical application, in order to intuitively prompt user client successfully to log in public platform, the embodiment of the present application is provided A kind of public platform login method in, according to code obtain user client openid after, can also include:
Transmission logins successfully prompt information to user client.
In concrete application scene, logining successfully prompt information can be picture, voice, the text etc. for indicating to login successfully.
When user client logs in public platform for the first time, oneself is quickly understood in order to facilitate the user in user client User information, in a kind of public platform login method provided by the embodiments of the present application, user client is obtained according to code After openid, can also include:
Receive and save the user information of user client transmission.
In practical application, the type of user information can be shown to user client in table form by login system, User client inputs corresponding with itself interested type of user information after selecting oneself interested type of user information User information to public platform, public platform receives and saves the user information;It is also possible to login system successively to use each Family information type is sent to user client, and user client feeds back user's letter corresponding with currently received type of user information Breath is to public platform, and public platform receives and saves the user information, and in the process, the user in user client can be with voice Input form inputs user information to user client, and user information can also be inputted with text input form to user client End, in addition, user client is under the operation of user it is also an option that skipping itself uninterested type of user information etc..
Practical application, the case where user information of itself is updated there are user client, at this point, the embodiment of the present application provides A kind of public platform login method in, receive and save user client transmission user information after, can also include:
Receive user's more new information that user client is sent;
Information update user information is updated according to user.
Since the process for updating user information is identical with the Principle of Process for receiving and saving user information, so about reception User's more new information of user client transmission, the process that information update user information is updated according to user, can be refering to above-mentioned Receive and save the process of the user information of user client transmission.
Present invention also provides a kind of public platform login system, stepped on a kind of public platform provided by the embodiments of the present application The correspondence effect that recording method has.Referring to Fig. 2, Fig. 2 is a kind of knot of public platform login system provided by the embodiments of the present application Structure schematic diagram.
A kind of public platform login system provided by the embodiments of the present application may include:
First receiving module 101, for receiving the logging request of user client transmission;
First sending module 102 adjusts back page to user client for directly transmitting authorization corresponding with logging request;
Second receiving module 103 is answered for receiving the response message corresponding with authorization readjustment page of user client return Answering includes bill code in information;
First obtains module 104, for obtaining the mark openid of user client according to code;
Wherein, code indicates to exchange the bill of openid for;Openid indicates user client and the associated mark of public platform.
In a kind of public platform login system provided by the embodiments of the present application, can also include:
Judgment module, for after the logging request that the first receiving module receives that user client is sent, first to be sent Before module directly transmits authorization readjustment page to user client corresponding with logging request, user client data are judged Whether the openid of user client is stored in cookie and/or session session, if it is not, then prompting the first sending module Execution directly transmits the step of authorization readjustment page to user client corresponding with logging request;
Wherein, cookie indicates the data being stored in user client, and session stores user client and public platform Conversate required attribute and configuration information.
In a kind of public platform login system provided by the embodiments of the present application, can also include:
Memory module, for storing after first obtains openid of the module according to code acquisition user client In openid to cookie and/or session;
Wherein, cookie indicates the data being stored in user client, and session stores user client and public platform Conversate required attribute and configuration information, and openid indicates user client and the associated mark of public platform.
In a kind of public platform login system provided by the embodiments of the present application, can also include:
Searching module, for first obtain module according to code obtain user client openid after, search with The corresponding user information of openid;
Second sending module, for sending user information to user client.
In a kind of public platform login system provided by the embodiments of the present application, can also include:
Third sending module, for sending out after first obtains openid of the module according to code acquisition user client It send and logins successfully prompt information to user client.
In a kind of public platform login system provided by the embodiments of the present application, can also include:
Third receiving module, for connecing after first obtains openid of the module according to code acquisition user client Receive and save the user information of user client transmission.
In a kind of public platform login system provided by the embodiments of the present application, can also include:
4th receiving module, for third receiving module receive and save user client transmission user information it Afterwards, user's more new information that user client is sent is received;
Update module, for updating information update user information according to user.
Present invention also provides a kind of public platform logging device and computer readable storage mediums, all have the application reality It applies and corresponds to effect possessed by a kind of public platform login method provided by example.Referring to Fig. 3, Fig. 3 mentions for the embodiment of the present application A kind of structural schematic diagram of the public platform logging device supplied.
A kind of public platform logging device provided by the embodiments of the present application, may include memory 201 and processor 202, deposits Computer program is stored in reservoir 201, processor 202 is realized as follows when being used to execute the computer program in memory 201 Step:
Receive the logging request that user client is sent;
It directly transmits authorization corresponding with logging request and adjusts back page to user client;
The response message corresponding with authorization readjustment page that user client returns is received, includes bill in response message code;
The mark openid of user client is obtained according to code;
Wherein, code indicates to exchange the bill of openid for;Openid indicates user client and the associated mark of public platform.
In a kind of public platform logging device provided by the embodiments of the present application, stored in the execution memory 201 of processor 202 Also particularly useful for realization when computer subprogram:After receiving the logging request that user client is sent, directly transmits and log in Before requesting corresponding authorization readjustment page to user client, user client data cookie and/or session session is judged In whether be stored with the openid of user client, adjust back page if it is not, then executing and directly transmitting authorization corresponding with logging request The step of to user client;
Wherein, cookie indicates the data being stored in user client, and session stores user client and public platform Conversate required attribute and configuration information.
In a kind of public platform logging device provided by the embodiments of the present application, stored in the execution memory 201 of processor 202 Also particularly useful for realization when computer subprogram:After the openid for obtaining user client according to code, storage openid is extremely In cookie and/or session;
Wherein, cookie indicates the data being stored in user client, and session stores user client and public platform Conversate required attribute and configuration information, and openid indicates user client and the associated mark of public platform.
In a kind of public platform logging device provided by the embodiments of the present application, stored in the execution memory 201 of processor 202 Also particularly useful for realization when computer subprogram:After the openid for obtaining user client according to code, lookup and openid Corresponding user information;User information is sent to user client.
In a kind of public platform logging device provided by the embodiments of the present application, stored in the execution memory 201 of processor 202 Also particularly useful for realization when computer subprogram:After the openid for obtaining user client according to code, transmission is logined successfully Prompt information is to user client.
In a kind of public platform logging device provided by the embodiments of the present application, stored in the execution memory 201 of processor 202 Also particularly useful for realization when computer subprogram:After the openid for obtaining user client according to code, use is received and saved The user information that family client is sent.
In a kind of public platform logging device provided by the embodiments of the present application, stored in the execution memory 201 of processor 202 Also particularly useful for realization when computer subprogram:After the user information for receiving and saving user client transmission, user is received User's more new information that client is sent;Information update user information is updated according to user.
Referring to Fig. 4, can also include in another kind public platform logging device provided by the embodiments of the present application:With processor The input port 203 of 202 connections is used for transmission the extraneous order inputted to processor 202;The display being connect with processor 202 Unit 204, the processing result for video-stream processor 202 is to the external world;The communication module 205 being connect with processor 202, for real Existing service providing device and extraneous communication.Display unit 202 can make display etc. for display panel, laser scanning;Communication Communication mode used by module 205 include but is not limited to mobile high definition chained technology (HML), universal serial bus (USB), High-definition media interface (HDMI) is wirelessly connected:Adopting wireless fidelity technology (WiFi), Bluetooth Communication Technology, low-power consumption bluetooth communication Technology, the communication technology based on IEEE802.11s.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium Calculation machine program.Computer readable storage medium mentioned here includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field Any other form of storage medium well known to interior.
It is real when computer program is executed by processor in a kind of computer readable storage medium provided by the embodiments of the present application Existing following steps:
Receive the logging request that user client is sent;
It directly transmits authorization corresponding with logging request and adjusts back page to user client;
The response message corresponding with authorization readjustment page that user client returns is received, includes bill in response message code;
The mark openid of user client is obtained according to code;
Wherein, code indicates to exchange the bill of openid for;Openid indicates user client and the associated mark of public platform.
In a kind of computer readable storage medium provided by the embodiments of the present application, tool when computer program is executed by processor Body realizes following steps:After receiving the logging request that user client is sent, authorization corresponding with logging request is directly transmitted Before adjusting back page to user client, judge whether to store in user client data cookie and/or session session useful The openid of family client adjusts back page to user client if it is not, then executing and directly transmitting authorization corresponding with logging request Step;
Wherein, cookie indicates the data being stored in user client, and session stores user client and public platform Conversate required attribute and configuration information.
In a kind of computer readable storage medium provided by the embodiments of the present application, tool when computer program is executed by processor Body realizes following steps:According to code obtain user client openid after, store openid to cookie and/or In session;
Wherein, cookie indicates the data being stored in user client, and session stores user client and public platform Conversate required attribute and configuration information, and openid indicates user client and the associated mark of public platform.
In a kind of computer readable storage medium provided by the embodiments of the present application, tool when computer program is executed by processor Body realizes following steps:After the openid for obtaining user client according to code, user information corresponding with openid is searched; User information is sent to user client.
In a kind of computer readable storage medium provided by the embodiments of the present application, tool when computer program is executed by processor Body realizes following steps:After the openid for obtaining user client according to code, transmission logins successfully prompt information to user Client.
In a kind of computer readable storage medium provided by the embodiments of the present application, tool when computer program is executed by processor Body realizes following steps:After the openid for obtaining user client according to code, user client transmission is received and saved User information.
In a kind of computer readable storage medium provided by the embodiments of the present application, tool when computer program is executed by processor Body realizes following steps:After the user information for receiving and saving user client transmission, the use that user client is sent is received Family more new information;Information update user information is updated according to user.
Dependent part in a kind of public platform login system provided by the embodiments of the present application, equipment and computer readable storage medium The explanation divided refers to the detailed description of corresponding part in a kind of public platform login method provided by the embodiments of the present application, herein not It repeats again.In addition, in above-mentioned technical proposal provided by the embodiments of the present application with correspond to technical solution realization principle in the prior art Consistent part is simultaneously unspecified, in order to avoid excessively repeat.
The foregoing description of the disclosed embodiments makes those skilled in the art can be realized or use the application.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the application, to realize in other embodiments.Therefore, the application will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.

Claims (10)

1. a kind of public platform login method, which is characterized in that including:
Receive the logging request that user client is sent;
It directly transmits authorization corresponding with the logging request and adjusts back page to the user client;
The response message corresponding with authorization readjustment page that the user client returns is received, includes in the response message Bill code;
The mark openid of the user client is obtained according to the code;
Wherein, the code indicates to exchange the bill of the openid for;The openid indicate the user client with it is described The associated mark of public platform.
2. the method according to claim 1, wherein it is described receive user client send logging request it Afterwards, it is described directly transmit corresponding with logging request authorization readjustment page to the user client before, further include:
Judge whether be stored with the user client in user client data cookie and/or session session Openid, if it is not, directly transmitting authorization corresponding with the logging request described in then executing adjusts back page to the user client The step of;
Wherein, the cookie indicates the data being stored in the user client, and the session stores the user visitor Family end and the public platform conversate required attribute and configuration information.
3. the method according to claim 1, wherein described obtain the user client according to the code After openid, further include:
It stores in the openid to user client data cookie and/or session session;
Wherein, the cookie indicates the data being stored in the user client, and the session stores the user visitor Family end and the public platform conversate required attribute and configuration information, and the openid indicates the user client and institute State the associated mark of public platform.
4. according to the method described in claim 3, it is characterized in that, described obtain the user client according to the code After openid, further include:
Search user information corresponding with the openid;
The user information is sent to the user client.
5. the method according to claim 1, wherein described obtain the user client according to the code After openid, further include:
Transmission logins successfully prompt information to the user client.
6. method according to any one of claims 1 to 5, which is characterized in that described to obtain the use according to the code After the openid of family client, further include:
Receive and save the user information that the user client is sent.
7. according to the method described in claim 6, it is characterized in that, the use for receiving and saving the user client and sending After the information of family, further include:
Receive user's more new information that the user client is sent;
According to user information described in user update information update.
8. a kind of public platform login system, which is characterized in that including:
First receiving module, for receiving the logging request of user client transmission;
First sending module adjusts back page to the user client for directly transmitting authorization corresponding with the logging request;
Second receiving module, the response message corresponding with authorization readjustment page returned for receiving the user client, It include bill code in the response message;
First obtains module, for obtaining the mark openid of the user client according to the code;
Wherein, the code indicates to exchange the bill of the openid for;The openid indicate the user client with it is described The associated mark of public platform.
9. a kind of public platform logging device, which is characterized in that including:
Memory, for storing computer program;
Processor realizes public platform login side as described in any one of claim 1 to 7 when for executing the computer program The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program, the computer program realize public platform login method as described in any one of claim 1 to 7 when being executed by processor The step of.
CN201810712568.4A 2018-06-29 2018-06-29 A kind of public platform login method, system, equipment and computer readable storage medium Pending CN108924132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810712568.4A CN108924132A (en) 2018-06-29 2018-06-29 A kind of public platform login method, system, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810712568.4A CN108924132A (en) 2018-06-29 2018-06-29 A kind of public platform login method, system, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108924132A true CN108924132A (en) 2018-11-30

Family

ID=64424551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810712568.4A Pending CN108924132A (en) 2018-06-29 2018-06-29 A kind of public platform login method, system, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108924132A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800551A (en) * 2019-01-24 2019-05-24 四川雪宝乳业集团有限公司 One kind is based on wechat end enterprise number and internal ERP system method for interchanging data
CN112583770A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Data transmission method, device, storage medium and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179134A (en) * 2013-04-19 2013-06-26 中国建设银行股份有限公司 Single sign on method and system based on Cookie and application server thereof
CN103856446A (en) * 2012-11-30 2014-06-11 腾讯科技(深圳)有限公司 Login method and device, and open platform system
CN106559384A (en) * 2015-09-25 2017-04-05 阿里巴巴集团控股有限公司 A kind of utilization public number realizes the method and device for logging in
CN108076042A (en) * 2017-11-02 2018-05-25 深圳市金立通信设备有限公司 User information acquiring method, server and computer-readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856446A (en) * 2012-11-30 2014-06-11 腾讯科技(深圳)有限公司 Login method and device, and open platform system
CN103179134A (en) * 2013-04-19 2013-06-26 中国建设银行股份有限公司 Single sign on method and system based on Cookie and application server thereof
CN106559384A (en) * 2015-09-25 2017-04-05 阿里巴巴集团控股有限公司 A kind of utilization public number realizes the method and device for logging in
CN108076042A (en) * 2017-11-02 2018-05-25 深圳市金立通信设备有限公司 User information acquiring method, server and computer-readable medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
LQH: "详解微信开发中snsapi-base和snsapi_ userinfo及静默授权的实现", 《脚本之家》 *
小帅、: "微信OAuth授权获取用户OpenId", 《博客园》 *
花生喂龙: "网页授权获取用户基本信息", 《博客园》 *
长不大的菜鸟: "微信公众号静默授权注册及获取用户信息", 《博客园》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800551A (en) * 2019-01-24 2019-05-24 四川雪宝乳业集团有限公司 One kind is based on wechat end enterprise number and internal ERP system method for interchanging data
CN112583770A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Data transmission method, device, storage medium and equipment

Similar Documents

Publication Publication Date Title
US20220224679A1 (en) Authenticated Session Management Across Multiple Electronic Devices Using A Virtual Session Manager
US9001355B2 (en) Methods and structure for simplified enterprise printing from mobile devices
JP6966631B2 (en) Blockchain-based One ID service system and method
JP6190444B2 (en) Online Q & A method, device and system
CN104468463B (en) Verification method, device and system
CN105659557A (en) Web-based interface integration for single sign-on
CN103023918A (en) Method, system and device for uniformly providing login for multiple network services
CN102882903A (en) Method and system for acquiring multi-site application information
CN102508475B (en) Remote control method and remote control system
CN102663848A (en) Wireless Internet queuing system and queuing method based on intelligent mobile terminal
JP2007079857A5 (en)
CN103139137A (en) Method and device for providing network service
CN108449417A (en) A kind of service data visitation method and device
CN105074690A (en) System and method for monitoring biometric data
CN107196909A (en) Invitation registration method and device
CN102790772A (en) Cookie data processing method, server and client
CN108924132A (en) A kind of public platform login method, system, equipment and computer readable storage medium
CN110201400A (en) Game item method of commerce, transaction terminal and storage medium based on block chain
US20140041009A1 (en) Information processing apparatus, information processing method and program
CN103023901A (en) Login method and login system of mobile terminal
US11206699B2 (en) Registering network devices using known host devices
CN102347964A (en) Method of logging in website, system, information gathering platform and website
CN109558419A (en) Data query method, apparatus and storage medium
CN113055348A (en) Cross-platform data request method and device and electronic equipment
US9807194B1 (en) Method of automatically communicating information to a profile

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181130