CN116436633B - Platform login method and system for receiving and transmitting verification code based on instant messaging - Google Patents

Platform login method and system for receiving and transmitting verification code based on instant messaging Download PDF

Info

Publication number
CN116436633B
CN116436633B CN202310102287.8A CN202310102287A CN116436633B CN 116436633 B CN116436633 B CN 116436633B CN 202310102287 A CN202310102287 A CN 202310102287A CN 116436633 B CN116436633 B CN 116436633B
Authority
CN
China
Prior art keywords
instant messaging
login
platform
client
verification 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.)
Active
Application number
CN202310102287.8A
Other languages
Chinese (zh)
Other versions
CN116436633A (en
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.)
Guangzhou Xibeisi Intelligent Technology Co ltd
Original Assignee
Guangzhou Xibeisi Intelligent 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 Guangzhou Xibeisi Intelligent Technology Co ltd filed Critical Guangzhou Xibeisi Intelligent Technology Co ltd
Priority to CN202310102287.8A priority Critical patent/CN116436633B/en
Publication of CN116436633A publication Critical patent/CN116436633A/en
Application granted granted Critical
Publication of CN116436633B publication Critical patent/CN116436633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a platform login method and device for receiving and transmitting verification codes based on instant messaging, a platform server, a computer readable storage medium and a platform login system. The platform login method for receiving and sending the verification code based on the instant messaging does not need to send the verification code to the mobile phone of the user in the form of mobile phone short messages, but sends the verification code to the corresponding instant messaging client in the form of instant messaging messages, so that a platform service provider does not need to pay short message fees to the mobile communication service provider any more, and the operation cost is saved; meanwhile, the user can check the verification code without depending on the mobile phone short message, so that the problems that the mobile signal is bad or the short message is forbidden to cause that the verification code cannot be checked in time and the like can be prevented; in addition, the verification information input by the user is not dependent on the return of the mobile communication path, so that the reliability of the return of the verification information is improved, and the user experience is improved.

Description

Platform login method and system for receiving and transmitting verification code based on instant messaging
Technical Field
The disclosure relates to the technical field of service platform login, in particular to a platform login method and device for receiving and transmitting verification codes based on instant messaging, a platform server, a computer readable storage medium and a platform login system.
Background
The general third party service platform needs the user registration account number and logs in based on the user account number and the corresponding account number password or verification code. The platform login method is realized based on mobile phone short messages to send verification codes, and the specific method comprises the following steps: the user inputs an account number or a bound mobile phone number on a login interface of the third-party service platform, the platform server sends the verification code to the mobile phone of the user in a mobile phone short message mode, the user inputs the verification code on the login interface of the third-party service platform after checking the verification code on the mobile phone, and the platform server controls the platform client to jump from the login interface to the logged interface to provide service for the user after verifying the user account number and the verification code.
The platform login method for sending the verification code through the mobile phone short message has the following problems: the platform service provider needs to pay the short message fee to the mobile communication service provider; the user can not check the verification code in time due to the reasons that the mobile communication signal is poor or the short message is forbidden in the short message receiving and transmitting process depending on the mobile phone short message, so that the user can not log in the third party service platform smoothly through the verification code, and the user experience is reduced.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a platform login method, device, platform server, computer readable storage medium and platform login system for receiving and transmitting verification codes based on instant messaging.
The platform login method for receiving and sending the verification code based on the instant messaging does not need to send the verification code to the mobile phone of the user in the form of mobile phone short messages, but sends the verification code to the corresponding instant messaging client in the form of instant messaging messages, so that a platform service provider does not need to pay short message fees to the mobile communication service provider any more, and the operation cost is saved; meanwhile, the user can check the verification code by the instant messaging client without relying on the mobile phone short message, so that the problems that the mobile signal is bad or the short message is forbidden to cause that the verification code cannot be checked in time and the like are prevented, and the user experience is improved.
According to a first aspect of an embodiment of the present disclosure, a platform login method for receiving and transmitting a verification code based on instant messaging is provided, including the following steps:
generating a verification code corresponding to a user account in a user login request in response to receiving the user login request sent by a platform client, determining a pre-bound instant messaging account according to the user account, and sending the verification code to an instant messaging server based on the instant messaging account;
The verification code is sent to an instant messaging client through the instant messaging server, and the verification code is displayed on the instant messaging client;
the method comprises the steps that through the instant messaging server side, verification information input by a user at an instant messaging client side is received, a pre-bound user account is determined according to an instant messaging account sending the verification information, if verification codes generated by the verification information and the user account are the same, the login state of the user account is set to be logged in, otherwise, the login state of the user account is set to be not logged in;
and generating a login result according to the user account and the corresponding login state, feeding back the login result to the platform client, and enabling the platform client to display a corresponding interactive interface.
According to a second aspect of the embodiments of the present disclosure, there is provided a platform login device for receiving and transmitting a verification code based on instant messaging, including:
the system comprises a verification code sending module, a verification code receiving module and an instant messaging server, wherein the verification code sending module is used for responding to a user login request sent by a platform client, generating a verification code corresponding to a user account in the user login request, determining a pre-bound instant messaging account according to the user account, and sending the verification code to the instant messaging server based on the instant messaging account;
The verification code display module is used for sending the verification code to the instant messaging client through the instant messaging server and displaying the verification code on the instant messaging client;
the login state judging module is used for receiving verification information input by a user at the instant messaging client through the instant messaging server, determining a pre-bound user account according to the instant messaging account sending the verification information, setting the login state of the user account to be logged in if the verification information is the same as a verification code generated by the user account, and otherwise setting the login state of the user account to be not logged in;
and the login result feedback module is used for generating a login result according to the user account and the corresponding login state, feeding back the login result to the platform client and enabling the platform client to display a corresponding interactive interface.
According to a third aspect of embodiments of the present disclosure, there is provided a platform server, including at least one processor and at least one memory; the memory is electrically connected with the processor; the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the platform login method for receiving and transmitting verification codes based on instant messaging as disclosed in the embodiment.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program adapted to be loaded by the processor and to perform a platform login method for authentication code transceiving based on instant messaging as disclosed in the above embodiments.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a platform login system for receiving and transmitting a verification code based on instant messaging, including: the system comprises a platform client, a platform server, an instant messaging server and an instant messaging client; the platform server establishes communication with the platform client and the instant messaging server, and the instant messaging client establishes communication with the instant messaging server;
the platform client receives a user login request input by a user and sends the user login request to the platform server;
the platform server side responds to a user login request sent by a platform client side, generates a verification code corresponding to a user account in the user login request, determines a pre-bound instant messaging account according to the user account, and sends the verification code to a corresponding instant messaging server side based on the instant messaging account;
The instant messaging server receives and forwards the verification code to an instant messaging client;
the instant messaging client receives and displays the verification code, then receives verification information input by a user at the instant messaging client, and returns the verification information to the platform server through the instant messaging server;
the platform server receives the verification information returned by the instant messaging server, determines a pre-bound user account according to an instant messaging account sending the verification information, and sets the login state of the user account to be logged in if the verification information is the same as a verification code generated by the user account, or sets the login state of the user account to be not logged in if the verification information is not the same as the verification code generated by the user account; generating a login result according to the user account and the corresponding login state, and feeding back the login result to the platform client;
and the platform client receives the login result and displays an interactive interface corresponding to the login result.
According to the technical scheme, the platform server side responds to the received user login request sent by the platform client side, generates a verification code corresponding to a user account in the user login request and sends the verification code to the instant messaging server side; the verification code is sent to the instant messaging client through the instant messaging server, and the verification code is displayed on the instant messaging client, so that the verification code can be sent independently of mobile phone short messages, short message service charge is saved for platform service providers, and platform operation cost is reduced; the instant messaging server receives the verification information input by the instant messaging client and then forwards the verification information to the platform server, the platform server judges whether the verification information input by the user is consistent with the verification code or not, if the verification information is consistent with the verification code, a corresponding login result is generated and fed back to the platform client, so that an interactive interface of the platform client jumps to a logged-in interface to provide services for the user, the user can directly input the verification information after checking the verification code at the instant messaging client, the verification information is not required to be input at the login interface of the platform client, and switching of using equipment is avoided; and the verification information is returned through the network path, so that the mobile communication path is not relied on for returning, the problems that the verification code cannot be timely checked or the verification information is returned due to bad mobile signals or disabled short messages can be prevented, the reliability of receiving and transmitting the verification code and the verification information is improved, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
For a better understanding and implementation, the present disclosure is described in detail below with reference to the drawings.
Drawings
FIG. 1 is a schematic diagram of a platform login system according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a platform login method for receiving and transmitting a verification code based on instant messaging according to an embodiment of the disclosure;
fig. 3 is a timing chart of a platform login method for receiving and transmitting verification codes based on instant messaging according to an embodiment of the disclosure;
fig. 4 is a flowchart of step S1 of a platform login method according to an embodiment of the disclosure;
fig. 5 is a flowchart of step S2 of the platform login method according to the embodiment of the present disclosure;
fig. 6 is a flowchart of step S3 of a platform login method according to an embodiment of the disclosure;
fig. 7 is a flowchart of step S31 of the platform login method according to the embodiment of the present disclosure;
fig. 8 is a schematic diagram illustrating a determination of a login status of a platform login method according to an embodiment of the disclosure;
fig. 9 is a flowchart of step S4 of a platform login method according to an embodiment of the disclosure;
Fig. 10 is a schematic structural diagram of a platform login device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if"/"if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination", depending on the context.
In a first aspect of the disclosed embodiments, a platform login method for receiving and transmitting verification codes based on instant messaging is disclosed, which is applied to a platform server of a third party service platform in a platform login system. According to the platform login method, the verification code is not required to be sent to the mobile phone of the user in the form of a mobile phone short message, but is sent to the corresponding instant messaging client in the form of an instant messaging message, so that a platform service provider does not need to pay short message cost to the mobile communication service provider any more, and the operation cost is saved; meanwhile, the user does not need to rely on the mobile phone short message to check the verification code or input verification information, and the corresponding verification information can be input after checking the verification code at the instant communication client, so that the problems that the mobile signal is poor or the short message is forbidden to cause that the verification code cannot be checked in time and the like can be prevented, and the user experience is improved.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a platform login system according to an embodiment of the disclosure.
The platform login system for receiving and transmitting verification codes based on instant messaging comprises: the system comprises a platform client of the third party service platform, a platform service end of the third party service platform, an instant messaging service end and an instant messaging client.
The platform client or the platform server of the third party service platform may be smart devices such as a smart phone, an interactive tablet, a notebook computer, and a desktop computer, which is not limited in this embodiment.
The instant messaging server or the instant messaging client may be an intelligent device such as a smart phone, an interactive tablet, a notebook computer, or a desktop computer, which is not limited in this embodiment.
Real-time network communication is established between the platform client and the platform server, between the platform server and the instant messaging server and between the instant messaging server and the instant messaging client, and a network transmission path of verification codes or verification information is formed.
Referring to fig. 2 and fig. 3, fig. 2 is a flow chart illustrating a platform login method for receiving and transmitting a verification code based on instant messaging according to an embodiment of the disclosure; fig. 3 is a timing chart of a platform login method for receiving and transmitting verification codes based on instant messaging according to an embodiment of the disclosure.
The platform login method for receiving and transmitting verification codes based on instant messaging is applied to a platform server of a third party service platform and comprises the following steps:
s1: and generating a verification code corresponding to a user account in the user login request in response to receiving the user login request sent by the platform client, determining a pre-bound instant messaging account according to the user account, and sending the verification code to an instant messaging server based on the instant messaging account.
The platform client may be an application of a third party service platform installed on the smart device or may be a web service window accessed on a browser of the smart device according to the web address of the third party service platform.
The user login request may be a login request of a user inputting a registered user account on the platform client, and the user account may be a user account allocated by the third party service platform, or a user mobile phone number, or a user mailbox, or an account on an associated other platform.
The user can input the user account registered in the third party service platform in advance on the interactive interface of the application program of the third party service platform or the interactive page of the webpage service window, but does not input the password corresponding to the user account.
After receiving a user login request input by a user, the platform server can acquire a user account and a login event, and then generates a verification code corresponding to the user account.
In this embodiment, the user account needs to be bound with the instant messaging account in advance, so that the platform server transmits the verification code to the instant messaging client through the corresponding instant messaging service to be displayed for the user to check. Therefore, if a certain user account and a certain instant messaging account are bound, the platform server stores the binding relation between the user account and the corresponding instant messaging account.
For example, when the instant messaging software is a WeChat, the user account may be bound with a WeChat account number belonging to the same user, and if the third party service platform has authorized in advance that the WeChat account number may log onto the service platform, a corresponding WeChat OpenID may be generated, where the user account may be bound with the WeChat OpenID belonging to the same user.
In other embodiments, the instant messaging software may be other instant messaging software, such as QQ, where the instant messaging software may be a QQ account.
The bound instant messaging account number is determined based on the user account number, then the corresponding instant messaging server is determined according to the instant messaging account number, and then the verification code is sent to the instant messaging server, so that the verification code can be sent independently of the mobile phone short message.
The verification code may be verification information composed of numbers, and/or letters, and/or Chinese characters, and/or graphics.
Referring to fig. 4, fig. 4 is a flowchart illustrating a step S1 of a platform login method for receiving and transmitting a verification code based on instant messaging according to an embodiment of the disclosure.
In this embodiment, step S1 may include:
s11: and responding to a user login request sent by a platform client, acquiring a user account in the user login request, and generating a verification code corresponding to the user account.
S12: and determining a pre-bound instant messaging account according to the user account, and determining a corresponding instant messaging server according to the instant messaging account.
And storing one-to-one binding relation between each user account and the corresponding instant messaging account on the platform server, and when receiving a user login request to obtain the user account, searching the corresponding instant messaging account according to the user account so as to further determine the corresponding instant messaging server.
If the user account number sending the user login request is not bound with any instant messaging account number, a user account number binding prompt, such as a pop-up window display, "please bind the corresponding instant messaging account number according to the requirement, such as a WeChat account number", is sent.
S13: generating a verification code data packet according to the instant messaging account number, the service platform identifier to which the user account number belongs and the verification code, and sending the verification code data packet to an instant messaging server.
The service platform identifier is used for indicating which platform the verification code is sent out, so that a user can confirm whether the service platform is the service platform which needs to log in.
S2: and sending the verification code to an instant messaging client through the instant messaging server, and displaying the verification code on the instant messaging client.
Referring to fig. 5, fig. 5 is a flowchart illustrating a step S2 of a platform login method for receiving and transmitting a verification code based on instant messaging according to an embodiment of the disclosure.
Step S2 may include:
s21: and receiving the verification code data packet through the instant messaging server.
After the instant messaging server receives the verification code data packet, the verification code data packet can be analyzed to determine the instant messaging account number, the service platform identifier to which the user account number belongs and the verification code.
S22: and generating an instant communication message according to the instant communication account number in the verification code data packet, the service platform identifier of the user account number and the verification code.
In an alternative embodiment, step S22 may include:
s221: the instant messaging server obtains an instant messaging message template, wherein the instant messaging message template at least comprises: the service platform identifies the filling item, the text template, and the verification code filling item.
The service platform identifier filling item is used for filling in the corresponding service platform identifier.
Optionally, in order to enhance the user experience, the instant messaging message template may further include a login event, and/or a validity period of the verification code, and/or account security prompt information, and so on.
S222: and generating an instant communication message according to the instant communication message template, the instant communication account number in the verification code data packet, the service platform identifier of the user account number and the verification code by the instant communication server.
S23: and determining a corresponding instant messaging client based on the instant messaging account, establishing connection with the instant messaging client through the instant messaging server, and sending and displaying the instant messaging message to the instant messaging client.
In an optional embodiment, the instant messaging server is a micro-messaging server, the instant messaging client is a micro-messaging client, and the instant messaging account is a micro-messaging account; the instant messaging message template is a WeChat message template.
The WeChat service end stores the association relation between the WeChat account number and the WeChat OpenID, wherein the WeChat OpenID is a unique association identifier generated after a third party service platform authorizes the WeChat account number to log in a platform client, and the unique association identifier cannot be changed along with the change of login duration or login times.
In S221, the obtaining, by the instant messaging server, the instant messaging message template includes: and acquiring the WeChat message template through the WeChat server.
If the instant messaging software is other interactive software, the instant messaging message template can be other interactive message templates.
In S222, generating, by the instant messaging server, an instant messaging message according to the instant messaging message template, the instant messaging account number in the verification code data packet, the service platform identifier to which the user account number belongs, and the verification code, includes: and generating a WeChat message through the WeChat server according to the WeChat message template, the WeChat account number or WeChat OpenID in the verification code data packet, the service platform identifier to which the user account number belongs and the verification code.
In S23, the determining the corresponding instant messaging client based on the instant messaging account, establishing a connection with the instant messaging client through the instant messaging server, and sending and displaying the instant messaging message to the instant messaging client, including: and determining a corresponding WeChat client based on the WeChat account number or the WeChat OpenID, establishing connection with the WeChat client through the WeChat server, and sending and displaying the WeChat message to the WeChat client.
In an alternative embodiment, the third party service platform registers a platform public number with a WeChat public platform, and the WeChat account number is a WeChat account number that pays attention to the platform public number of the third party service platform in advance. If the WeChat account number of the user does not pay attention to the platform public number of the third party service platform, an attention prompt can be generated and sent to the platform service end, and then the attention prompt is forwarded to the platform client through the platform service end so as to remind the user of paying attention to the platform public number of the current login platform on the WeChat, so that the verification code can be conveniently sent.
In S221, the obtaining, by the instant messaging server, the instant messaging message template includes: and acquiring the WeChat public number message template through the WeChat server.
In S222, generating, by the instant messaging server, an instant messaging message according to the instant messaging message template, the instant messaging account number in the verification code data packet, the service platform identifier to which the user account number belongs, and the verification code, includes: and generating a micro-letter public signal message according to the micro-letter account number or the micro-letter Open ID, the service platform identifier of the user account number and the verification code in the micro-letter public signal message template and the verification code data packet by the micro-letter service terminal.
In S23, the determining, based on the WeChat account, a corresponding WeChat client, establishing a connection with the WeChat client through the WeChat server, and sending and displaying the WeChat message to the WeChat client, including:
and determining a corresponding WeChat client based on the WeChat account number or the WeChat OpenID, establishing connection with the WeChat client through the WeChat server, sending the WeChat public number message to the WeChat client, and displaying the WeChat public number message on an interactive interface of the platform public number.
S3: and receiving check information input by a user at the instant messaging client through the instant messaging server, determining a pre-bound user account according to the instant messaging account sending the check information, and setting the login state of the user account to be logged in if the check information is the same as a verification code generated by the user account, or setting the login state of the user account to be not logged in if the check information is not the same as the verification code generated by the user account.
The verification message may be a verification message input by the user after checking the verification code at the instant messaging client, and the composition form of the verification message is the same as the composition form of the verification code.
If the instant messaging server is a WeChat server, the instant messaging client is a WeChat client, and the instant messaging account is a WeChat account, the step S3 may be:
and receiving verification information input by a user at the WeChat client through the WeChat server, determining a pre-bound user account according to the WeChat account sending the verification information, and setting the login state of the user account to be logged in if the verification information is the same as a verification code generated by the user account, otherwise setting the login state to be not logged in.
In an alternative embodiment, as shown in fig. 6, step S3 may include:
S31: and receiving verification information input by a user at the instant messaging client through the instant messaging server, determining a pre-bound user account according to the instant messaging account sending the verification information, and comparing the verification information with a verification code generated by the user account.
In an alternative embodiment, as shown in fig. 7, step S31 may include:
s311: and receiving verification information input by a user at the instant messaging client through the instant messaging server, and acquiring an instant messaging account for inputting the verification information.
If the instant messaging client is a WeChat client and the WeChat account of the user pays attention to the platform public number in advance, at this time, the user can check the verification code sent by the platform server on the interactive interface of the platform public number and input verification information on the same interactive interface to try to complete login verification of the user account.
The method for sending the verification code and receiving the verification message by the interactive interface of the instant messaging client end ensures that the verification code does not depend on the mobile phone short message to be sent, and a platform service provider does not need to pay short message fees to the mobile communication service provider, thereby saving the operation cost; the trouble that the mobile phone short message cannot be successfully transmitted and received and cannot be verified in time is prevented, and the user experience is improved; meanwhile, the user can input verification information on the same interactive interface, so that switching use of equipment is avoided, and user experience is further improved.
S312: and determining a target user account bound in advance according to the instant messaging account, and determining a target verification code corresponding to the target user account.
S313: and comparing the verification information with the target verification code to judge whether the verification code is successfully verified.
S32: if the verification information is the same as the verification code generated by the corresponding user account, setting the login state of the user account to be logged in, otherwise setting the login state of the user account to be not logged in.
In an optional embodiment, in step S1, in response to receiving a user login request sent by a platform client, when generating a verification code corresponding to a user account in the user login request and sending the verification code to an instant messaging server, a unique login credential corresponding to the user account is also generated at the same time.
Step S32 may include:
s321: and determining the unique login credentials of the login according to the target user account.
S322: and if the verification information is the same as the target verification code, setting the login state of the unique login credential to be logged in, otherwise, setting the login state of the unique login credential to be not logged in.
Step S4: and generating a login result according to the user account and the corresponding login state, feeding back the login result to the platform client, and enabling the platform client to display a corresponding interactive interface.
As shown in fig. 8, fig. 8 is a schematic diagram of a process of verifying verification information and verification codes.
After receiving the verification information sent by the instant messaging server, the platform server can find the pre-bound user account according to the WeChat OpenID of the WeChat account sending the verification information, find the verification code and the unique login credential generated before according to the user account, set the login state to be successful based on the unique login credential if the verification information is the same as the verification code, set the login state to be failed based on the unique login credential if the verification information is different from the verification code, and then return the login result according to the unique login credential and the corresponding login state.
In an alternative embodiment, as shown in fig. 9, step S4 may include:
s41: and generating a login result according to the user account and the corresponding login state, and feeding back the login result to the platform client.
Optionally, when the platform server generates the unique login credential of the login corresponding to the user account, the unique login credential is returned to the platform client.
Step S41 is: and receiving a login state query request sent by the platform client and based on the unique login credentials, generating a login result according to the unique login credentials and the corresponding login state, and feeding back the login result to the platform client.
In an alternative embodiment, the platform server sends a user login request, starts timing after receiving the unique login credential issued by the platform server, and initiates a login state query request to the platform server based on a preset time interval within a preset time threshold. The preset time threshold and the preset time interval may be determined by the inventor according to service experience or scheme requirements, and in this embodiment, the specific threshold is not limited.
S42: and if the login result is that the user account is successfully logged in, the interactive interface of the platform client is jumped from a login interface to a login success interface, and service is provided for the user.
S43: if the login result is that the user account fails to login, the interactive interface of the platform client is kept at a login interface, and a popup window prompts that the user account fails to login.
On the basis of the above embodiment, if the user account fails to log in, a prompt window pops up on the login interface to inform that the login fails, the reason of the login failure and the corresponding login prompt.
Based on the above embodiments, a platform login method for receiving and transmitting verification codes based on WeChat public numbers is seen with reference to FIG. 3. The platform client receives a user account number input by a user and sends a user login request to the platform server; the platform server receives a user login request initiated by the platform client, acquires a user account number in the user login request, generates a corresponding verification code and a current login unique credential, sends the verification code and the WeChat OpenID to the WeChat server, and simultaneously returns the current login unique credential to the platform client. After receiving the verification code and the WeChat OpenID, the WeChat server obtains a WeChat public number message template, generates a public number message according to the verification code and the WeChat public number message template, then determines a WeChat client according to the WeChat OpenID, sends the public number message to the WeChat client, and displays the WeChat client to a user at a platform public number interactive interface of a service platform.
After checking the verification code on the platform public number interactive interface, the user can input verification information on the current interactive interface, the WeChat client returns the verification information and the corresponding WeChat OpenID to the WeChat server, and the verification information and the WeChat OpenID are forwarded to the platform server through the WeChat server. The platform server determines a pre-bound user account number and a previously generated verification code according to the WeChat OpenID, compares the verification information with the verification code, and sets the login state of the login unique credential as successful if the verification information is consistent with the verification code, otherwise sets the login state as failed login. The platform client polls the platform server according to a preset time interval in a certain time to inquire the login state of the unique login certificate, the platform server receives the login state polling request and then sends a login result to the platform client, the platform client can jump to the corresponding interactive interface according to the login result, if the login is successful, the platform client jumps to the logged interactive interface to provide service, otherwise, the platform client keeps on the login interface and makes a login failure prompt.
According to the technical scheme, the platform server side responds to the received user login request sent by the platform client side, generates a verification code corresponding to a user account in the user login request and sends the verification code to the instant messaging server side; the verification code is sent to the instant messaging client through the instant messaging server, and the verification code is displayed on the instant messaging client, so that the verification code can be sent independently of mobile phone short messages, short message service charge is saved for platform service providers, and platform operation cost is reduced.
The instant messaging server receives the verification information input by the instant messaging client and then forwards the verification information to the platform server, the platform server judges whether the verification information input by the user is consistent with the verification code or not, if the verification information is consistent with the verification code, a corresponding login result is generated and fed back to the platform client, so that an interactive interface of the platform client jumps to a logged-in interface to provide services for the user, the user can directly input the verification information after checking the verification code at the instant messaging client, the verification information is not required to be input at the login interface of the platform client, and switching of using equipment is avoided; and the verification information is returned through the network path, so that the mobile communication path is not relied on for returning, the problems that the verification code cannot be timely checked or the verification information is returned due to bad mobile signals or disabled short messages can be prevented, the reliability of receiving and transmitting the verification code and the verification information is improved, and the user experience is improved.
According to a second aspect of the disclosed embodiments, a platform login device for receiving and transmitting verification codes based on instant messaging is disclosed, and the device can be used for executing the platform login method for receiving and transmitting verification codes based on instant messaging according to the corresponding embodiments of the disclosure, and has corresponding functions and beneficial effects. For details not disclosed in the embodiment of the platform login device for receiving and transmitting verification codes based on instant messaging in the present disclosure, please refer to the content of the platform login method for receiving and transmitting verification codes based on instant messaging in the above embodiment of the present disclosure.
As shown in fig. 10, a platform login device 100 for transmitting and receiving an authentication code based on instant messaging includes:
the verification code sending module 101 is configured to generate a verification code corresponding to a user account in a user login request in response to receiving the user login request sent by a platform client, determine a pre-bound instant messaging account according to the user account, and send the verification code to an instant messaging server based on the instant messaging account;
the verification code display module 102 is configured to send the verification code to an instant messaging client through the instant messaging server, and display the verification code at the instant messaging client;
The login state judging module 103 is configured to receive, through the instant messaging server, verification information input by a user at an instant messaging client, determine a user account bound in advance according to an instant messaging account that sends the verification information, and if the verification information is the same as a verification code generated by the user account, set a login state of the user account to be logged in, otherwise set the login state to be not logged in;
and the login result feedback module 104 is configured to generate a login result according to the user account and the corresponding login state, feed back the login result to the platform client, and enable the platform client to display a corresponding interactive interface.
In an optional embodiment, the instant messaging server is a micro-message server, the instant messaging client is a micro-message client, the instant messaging account is a micro-message account and is a micro-message Open ID, and the platform login device for receiving and sending the verification code based on the instant messaging may be a platform login device for receiving and sending the verification code based on a micro-message public number.
The platform login device for receiving and transmitting verification codes based on instant messaging can comprise:
the verification code sending module is used for responding to a user login request sent by a platform client, generating a verification code corresponding to a user account in the user login request, determining a pre-bound WeChat account according to the user account, and sending the verification code to a WeChat server based on the WeChat account;
The verification code display module is used for sending the verification code to the WeChat client through the WeChat server and displaying the verification code on the WeChat client;
the login state judging module is used for receiving verification information input by a user at the WeChat client through the WeChat server, determining a pre-bound user account according to the WeChat account sending the verification information, setting the login state of the user account to be logged in if the verification information is the same as a verification code generated by the user account, and otherwise setting the login state of the user account to be not logged in;
and the login result feedback module is used for generating a login result according to the user account and the corresponding login state, feeding back the login result to the platform client and enabling the platform client to display a corresponding interactive interface.
According to the technical scheme, the platform server side responds to the received user login request sent by the platform client side, generates a verification code corresponding to a user account in the user login request and sends the verification code to the instant messaging server side; the verification code is sent to the instant messaging client through the instant messaging server, and the verification code is displayed on the instant messaging client, so that the verification code can be sent independently of mobile phone short messages, short message service charge is saved for platform service providers, and platform operation cost is reduced.
The instant messaging server receives the verification information input by the instant messaging client and then forwards the verification information to the platform server, the platform server judges whether the verification information input by the user is consistent with the verification code or not, if the verification information is consistent with the verification code, a corresponding login result is generated and fed back to the platform client, so that an interactive interface of the platform client jumps to a logged-in interface to provide services for the user, the user can directly input the verification information after checking the verification code at the instant messaging client, the verification information is not required to be input at the login interface of the platform client, and switching of using equipment is avoided; and the verification information is returned through the network path, so that the mobile communication path is not relied on for returning, the problems that the verification code cannot be timely checked or the verification information is returned due to bad mobile signals or disabled short messages can be prevented, the reliability of receiving and transmitting the verification code and the verification information is improved, and the user experience is improved.
It should be noted that, when executing the platform login method for receiving and transmitting the verification code based on instant messaging, the platform login device for receiving and transmitting the verification code based on instant messaging provided in the above embodiment is only exemplified by the above functional modules or functional units, in practical application, the above functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the embodiment of the platform login device for receiving and sending the verification code based on the instant messaging and the embodiment of the platform login method for receiving and sending the verification code based on the instant messaging provided in the foregoing embodiments belong to the same concept, and the detailed embodiment of the embodiment is described in detail and is not repeated here.
According to a third aspect of the embodiments of the present disclosure, an intelligent device is provided, where the intelligent device may be a platform server.
The platform server comprises at least one processor and at least one memory; the memory is electrically connected with the processor;
the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the platform login method for receiving and transmitting verification codes based on instant messaging as disclosed in the embodiment.
The platform server can be used for intelligent devices such as desktop computers, notebook computers, intelligent mobile phones, interactive tablets and the like.
The platform server includes at least one processor, at least one memory, and at least one communication bus. The communication bus is used for realizing connection communication among the components, and the memory stores a computer program which is suitable for being loaded by the processor and executing the platform login method for receiving and transmitting the verification code based on instant messaging according to any embodiment.
Wherein the processor may include one or more processing cores. The processor uses various interfaces and lines to connect various parts within the overall smart device, performing various functions of the smart device and processing data by running or executing instructions, programs, code sets, or instruction sets stored within the processor, and invoking data stored within the memory.
The Memory may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). The memory may be used to store instructions, programs, code sets, or instruction sets. The memory may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described respective method embodiments, etc.; the storage data area may store data or the like referred to in the above respective method embodiments. An operating system, a network communication module, a user interface module, and an operating application of the smart device may be included in a memory as one type of computer storage medium.
The processor may be configured to invoke an operation application of the smart device stored in the memory, and perform the related operations in the platform login method for receiving and sending the verification code based on the instant messaging in the above embodiment.
The intelligent device can be used for executing the content of the platform login method for receiving and transmitting the verification code based on the instant messaging according to the corresponding embodiment of the disclosure, and has corresponding functions and beneficial effects.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, the computer program being adapted to be loaded by a processor and to perform the relevant operations of the platform login method for receiving and transmitting a verification code based on instant messaging as described in the above embodiments, and having corresponding functions and advantageous effects.
Where computer-readable storage media includes both non-transitory and non-transitory, removable and non-removable media, information storage may be implemented by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer-readable storage media include, but are not limited to, phase-change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable storage media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
According to a fifth aspect of the embodiments of the present disclosure, a platform login system for receiving and transmitting a verification code based on instant messaging is provided.
As shown in fig. 1, the platform login system includes: the system comprises a platform client, a platform server, an instant messaging server and an instant messaging client; the platform server establishes communication with the platform client and the instant messaging server, and the instant messaging client establishes real-time network communication with the instant messaging server.
And the platform client receives a user login request input by a user and sends the user login request to the platform server.
The platform server side responds to a user login request sent by the platform client side, generates a verification code corresponding to a user account in the user login request, determines a pre-bound instant messaging account according to the user account, and sends the verification code to the instant messaging server side based on the instant messaging account.
In an alternative embodiment, the platform server performs the following steps:
responding to a user login request sent by a platform client, acquiring a user account in the user login request, and generating a verification code corresponding to the user account;
Determining a pre-bound instant messaging account according to the user account, and determining a corresponding instant messaging server according to the instant messaging account;
generating a verification code data packet according to the instant messaging account number, the service platform identifier to which the user account number belongs and the verification code, and sending the verification code data packet to an instant messaging server.
And the verification code of the instant messaging server is sent to the instant messaging client.
In an optional embodiment, the instant messaging server receives the verification code data packet;
generating an instant communication message according to the instant communication account number in the verification code data packet, the service platform identifier of the user account number and the verification code;
and determining a corresponding instant messaging client based on the instant messaging account, establishing connection with the instant messaging client through the instant messaging server, and sending and displaying the instant messaging message to the instant messaging client.
And the instant messaging client receives and displays the verification code, receives verification information input by a user at the instant messaging client, and returns the verification information to the platform server through the instant messaging server.
The platform server receives the verification information which is returned by the instant messaging server and is input by a user at the instant messaging client, if the verification information is the same as a verification code generated by the user account, the login state of the user account is set to be logged in, otherwise, the login state is set to be not logged in; and generating a login result according to the user account and the corresponding login state, and feeding back the login result to the platform client.
In an alternative embodiment, the platform server performs the following steps:
the instant messaging server receives verification information input by a user at the instant messaging client, determines a pre-bound user account according to an instant messaging account sending the verification information, and compares the verification information with a verification code generated by the user account;
if the verification information is the same as the verification code generated by the user account, setting the login state of the user account to be logged in, otherwise setting the login state of the user account to be not logged in. Generating a login result according to the user account and the corresponding login state, and feeding back the login result to the platform client, wherein the method comprises the following steps:
Generating a login result according to the user account and the corresponding login state, and feeding back the login result to the platform client;
if the login result is that the user account login is successful, the interactive interface of the platform client is jumped from a login interface to a login success interface;
if the login result is that the user account fails to login, the interactive interface of the platform client is kept at a login interface, and a popup window prompts that the user account fails to login.
And the platform client receives the login result and displays an interactive interface corresponding to the login result.
In an optional embodiment, the instant messaging service end is a micro-letter service end; the instant messaging client is a WeChat client; the instant messaging account is a WeChat account or a WeChat OpenID corresponding to the WeChat account one by one.
The platform login system for receiving and transmitting the verification code based on instant messaging can be as follows: and (5) logging in the system by the platform for receiving and transmitting the verification code based on the WeChat.
The platform login system for receiving and transmitting verification codes based on WeChat can comprise: the system comprises a platform client, a platform server, a WeChat server and a WeChat client; the platform server establishes communication with the platform client and the WeChat server, and the WeChat client establishes communication with the WeChat server.
The user account is bound with the WeChat account of the user in advance, or the third party service platform has authorized the WeChat account to be used by the login platform client, and generates the WeChat OpenID corresponding to the WeChat account.
The platform client receives a user login request input by a user and sends the user login request to the platform server;
the platform server side responds to a user login request sent by a platform client side, generates a verification code corresponding to a user account in the user login request, determines a pre-bound WeChat account according to the user account, and sends the verification code to a corresponding WeChat server side based on the WeChat account or WeChat OpenID;
the micro-letter server receives and forwards the verification code to a micro-letter client;
the WeChat client receives and displays the verification code, then receives verification information input by a user at the WeChat client, and returns the verification information to the platform server through the WeChat server;
the platform server receives the verification information returned by the WeChat server, determines a pre-bound user account according to the WeChat account sending the verification information, and sets the login state of the user account as logged in if the verification information is the same as a verification code generated by the user account, or sets the login state of the user account as not logged in if the verification information is not the same as the verification code generated by the user account; generating a login result according to the user account and the corresponding login state, and feeding back the login result to the platform client;
And the platform client receives the login result and displays an interactive interface corresponding to the login result.
In the above embodiments, the platform client and the platform server may be any form of computer, smart phone, interactive tablet, or central control device, where the platform server may be a physical service device or a cloud service device.
The instant messaging client and the instant messaging server can be any form of computer, smart phone, interactive tablet or central control equipment, wherein the instant messaging server can be entity service equipment or virtual cloud service equipment.
Compared with the scheme of realizing the transmission of the verification code through the mobile phone short message, the platform login system generates the verification code corresponding to the user account in the user login request and transmits the verification code to the instant messaging server through the platform server in response to receiving the user login request transmitted by the platform client; the verification code is sent to the instant messaging client through the instant messaging server, and the verification code is displayed on the instant messaging client, so that the verification code can be sent independently of mobile phone short messages, short message service charge is saved for platform service providers, and platform operation cost is reduced; moreover, login trouble caused by incapability of successfully receiving verification codes due to mobile signals or short message forbidden reasons and the like can be prevented, and user experience is improved.
The instant messaging server receives the verification information input by the instant messaging client and then forwards the verification information to the platform server, the platform server judges whether the verification information input by the user is consistent with the verification code or not, if the verification information is consistent with the verification code, a corresponding login result is generated and fed back to the platform client, so that an interactive interface of the platform client jumps to a logged-in interface to provide services for the user, the user can directly input the verification information after checking the verification code at the instant messaging client, the verification information is not required to be input at the login interface of the platform client, and switching of using equipment is avoided; and the verification information is returned through the network path and is not dependent on the mobile communication path, so that the problems that the verification code cannot be timely checked or the verification information is returned due to poor mobile signals or forbidden short messages can be prevented, the reliability of receiving and transmitting the verification code and the verification information is improved, and the user experience is improved.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
Note that the above is only a preferred embodiment of the present disclosure and the technical principle applied. Those skilled in the art will appreciate that the present disclosure is not limited to the specific embodiments described herein, and that various obvious changes, rearrangements and substitutions can be made by those skilled in the art without departing from the scope of the disclosure. Therefore, while the present disclosure has been described in connection with the above embodiments, the present disclosure is not limited to the above embodiments, but may include many other equivalent embodiments without departing from the spirit of the present disclosure, the scope of which is determined by the scope of the appended claims.

Claims (14)

1. The platform login method for receiving and transmitting verification codes based on instant messaging is characterized by being applied to a platform service end of a third party service platform, wherein the platform service end establishes communication with the instant messaging service end;
the platform login method for receiving and transmitting verification codes based on instant messaging comprises the following steps:
responding to a user login request sent by a platform client, acquiring a user account in the user login request, and generating a verification code corresponding to the user account; determining a pre-bound instant messaging account according to the user account, and determining a corresponding instant messaging server according to the instant messaging account; generating a verification code data packet according to the instant messaging account number, the service platform identifier to which the user account number belongs and the verification code, and sending the verification code data packet to an instant messaging server;
Receiving the verification code data packet through the instant messaging server; generating an instant communication message according to the instant communication account number in the verification code data packet, the service platform identifier of the user account number and the verification code; determining a corresponding instant messaging client based on the instant messaging account, establishing connection with the instant messaging client through the instant messaging server, and sending and displaying the instant messaging message to the instant messaging client;
the method comprises the steps that through the instant messaging server side, verification information input by a user at an instant messaging client side is received, a pre-bound user account is determined according to an instant messaging account sending the verification information, if verification codes generated by the verification information and the user account are the same, the login state of the user account is set to be logged in, otherwise, the login state of the user account is set to be not logged in;
and generating a login result according to the user account and the corresponding login state, feeding back the login result to the platform client, and enabling the platform client to display a corresponding interactive interface.
2. The platform login method for receiving and transmitting verification codes based on instant messaging according to claim 1, wherein the generating an instant messaging message according to the instant messaging account number, the service platform identifier to which the user account number belongs and the verification code in the verification code data packet comprises:
The instant messaging server obtains an instant messaging message template, wherein the instant messaging message template at least comprises: the service platform identifies filling items, a text template and verification code filling items;
and generating an instant communication message according to the instant communication message template, the instant communication account number in the verification code data packet, the service platform identifier of the user account number and the verification code by the instant communication server.
3. The platform login method for receiving and transmitting verification codes based on instant messaging according to claim 1, wherein the instant messaging server is a micro-messaging server, the instant messaging client is a micro-messaging client, and the instant messaging account is a micro-messaging account; the instant messaging message template is a WeChat message template;
the WeChat service end stores the association relation between the WeChat account number and the WeChat OpenID, wherein the WeChat OpenID is a unique association identifier generated after a third party service platform authorizes the WeChat account number to log in a platform client;
the obtaining the instant communication message template through the instant communication server comprises the following steps:
acquiring a WeChat message template through the WeChat server;
Generating, by the instant messaging server, an instant messaging message according to the instant messaging message template, the instant messaging account number in the verification code data packet, the service platform identifier to which the user account number belongs, and the verification code, including:
generating a WeChat message according to the WeChat message template, the WeChat account number or WeChat OpenID in the verification code data packet, the service platform identifier of the user account number and the verification code by the WeChat service end;
the determining the corresponding instant messaging client based on the instant messaging account number, establishing connection with the instant messaging client through the instant messaging server, and sending and displaying the instant messaging message to the instant messaging client comprises the following steps:
and determining a corresponding WeChat client based on the WeChat account number or the WeChat OpenID, establishing connection with the WeChat client through the WeChat server, and sending and displaying the WeChat message to the WeChat client.
4. The platform login method for receiving and transmitting verification codes based on instant messaging according to claim 3, wherein the third party service platform registers a platform public number in a WeChat public platform, and the WeChat account is a WeChat account of the platform public number which pays attention to the third party service platform in advance;
The obtaining the instant communication message template through the instant communication server comprises the following steps:
acquiring a WeChat public number message template through the WeChat server;
the generating the instant communication message according to the instant communication message template, the instant communication account number in the verification code data packet, the service platform identifier to which the user account number belongs, and the verification code includes:
generating a WeChat public number message according to the WeChat public number message template, the WeChat account number or WeChat OpenID in the verification code data packet, the service platform identifier of the user account number and the verification code;
the step of determining the corresponding WeChat client based on the WeChat account, establishing connection with the WeChat client through the WeChat server, and sending and displaying the WeChat message to the WeChat client, comprises the following steps:
and determining a corresponding WeChat client based on the WeChat account number or the WeChat OpenID, establishing connection with the WeChat client through the WeChat server, sending the WeChat public number message to the WeChat client, and displaying the WeChat public number message on an interactive interface of the platform public number.
5. The platform login method according to claim 1, wherein the receiving, by the instant messaging server, check information input by a user at an instant messaging client, determining a user account bound in advance according to an instant messaging account sending the check information, if the check information is the same as a verification code generated by the user account, setting a login state of the user account to be logged in, otherwise, setting the login state to be not logged in, and including:
The instant messaging server receives verification information input by a user at the instant messaging client, determines a pre-bound user account according to an instant messaging account sending the verification information, and compares the verification information with a verification code generated by the user account;
if the verification information is the same as the verification code generated by the user account, setting the login state of the user account to be logged in, otherwise setting the login state of the user account to be not logged in.
6. The platform login method according to claim 5, wherein the receiving, by the instant messaging server, the verification information input by the user at the instant messaging client, determining a pre-bound user account according to the instant messaging account sending the verification message, and comparing the verification information with the verification code generated by the user account, includes:
receiving verification information input by a user at an instant messaging client through an instant messaging server, and acquiring an instant messaging account for inputting the verification information;
determining a target user account bound in advance according to the instant messaging account, and determining a target verification code corresponding to the target user account;
And comparing the verification information with the target verification code.
7. The platform login method for receiving and transmitting verification codes based on instant messaging according to claim 6, wherein when the verification codes corresponding to the user account numbers in the user login requests are generated and sent to an instant messaging server in response to receiving the user login requests sent by the platform client, unique login credentials corresponding to the user account numbers are also generated simultaneously;
if the verification information is the same as the verification code generated by the user account, setting the login state of the user account to be logged in, otherwise setting the login state of the user account to be not logged in, including:
determining a unique login credential of the login according to the target user account;
and if the verification information is the same as the target verification code, setting the login state of the unique login credential to be logged in, otherwise, setting the login state of the unique login credential to be not logged in.
8. The platform login method for receiving and transmitting verification codes based on instant messaging according to claim 1, wherein the generating a login result according to the user account and a corresponding login state, feeding back the login result to the platform client, and enabling the platform client to display a corresponding interactive interface comprises:
Generating a login result according to the user account and the corresponding login state, and feeding back the login result to the platform client;
if the login result is that the user account login is successful, the interactive interface of the platform client is jumped from a login interface to a login success interface;
if the login result is that the user account fails to login, the interactive interface of the platform client is kept at a login interface, and a popup window prompts that the user account fails to login.
9. The platform login method for receiving and transmitting verification codes based on instant messaging according to claim 8, wherein when generating a unique login credential of the login corresponding to the user account, the unique login credential is returned to a platform client;
generating a login result according to the user account and the corresponding login state, and feeding back the login result to the platform client, wherein the method comprises the following steps:
and receiving a login state query request sent by the platform client and based on the unique login credentials, generating a login result according to the unique login credentials and the corresponding login state, and feeding back the login result to the platform client.
10. The utility model provides a platform login device based on authentication code is received and dispatched to instant messaging which characterized in that includes:
the verification code sending module is used for responding to a user login request sent by a platform client, obtaining a user account in the user login request and generating a verification code corresponding to the user account; determining a pre-bound instant messaging account according to the user account, and determining a corresponding instant messaging server according to the instant messaging account; generating a verification code data packet according to the instant messaging account number, the service platform identifier to which the user account number belongs and the verification code, and sending the verification code data packet to an instant messaging server;
the verification code display module is used for receiving the verification code data packet through the instant messaging server; generating an instant communication message according to the instant communication account number in the verification code data packet, the service platform identifier of the user account number and the verification code; determining a corresponding instant messaging client based on the instant messaging account, establishing connection with the instant messaging client through the instant messaging server, and sending and displaying the instant messaging message to the instant messaging client;
The login state judging module is used for receiving verification information input by a user at the instant messaging client through the instant messaging server, determining a pre-bound user account according to the instant messaging account sending the verification information, setting the login state of the user account to be logged in if the verification information is the same as a verification code generated by the user account, and otherwise setting the login state of the user account to be not logged in;
and the login result feedback module is used for generating a login result according to the user account and the corresponding login state, feeding back the login result to the platform client and enabling the platform client to display a corresponding interactive interface.
11. A platform server comprising at least one processor and at least one memory; the memory is electrically connected with the processor; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the platform login method for receiving and transmitting verification codes based on instant messaging according to any one of claims 1 to 9.
12. A computer readable storage medium having stored thereon a computer program, wherein the computer program is adapted to be loaded by a processor and to perform the platform login method for authentication code transceiving based on instant messaging according to any of claims 1 to 9.
13. A platform login system for receiving and transmitting verification codes based on instant messaging is characterized by comprising: the system comprises a platform client, a platform server, an instant messaging server and an instant messaging client; the platform server establishes communication with the platform client and the instant messaging server, and the instant messaging client establishes communication with the instant messaging server;
the platform client receives a user login request input by a user and sends the user login request to the platform server;
the platform server side responds to a user login request sent by a platform client side, obtains a user account in the user login request and generates a verification code corresponding to the user account; determining a pre-bound instant messaging account according to the user account, and determining a corresponding instant messaging server according to the instant messaging account; generating a verification code data packet according to the instant messaging account number, the service platform identifier to which the user account number belongs and the verification code, and sending the verification code data packet to an instant messaging server;
the instant messaging server receives the verification code data packet and generates an instant messaging message according to the instant messaging account number, the service platform identifier of the user account number and the verification code in the verification code data packet; determining a corresponding instant messaging client based on the instant messaging account, establishing connection with the instant messaging client through the instant messaging server, and forwarding the instant messaging message to the instant messaging client;
The instant messaging client receives and displays the instant messaging message, then receives verification information input by a user at the instant messaging client, and returns the verification information to the platform server through the instant messaging server;
the platform server receives the verification information returned by the instant messaging server, determines a pre-bound user account according to an instant messaging account sending the verification information, and sets the login state of the user account to be logged in if the verification information is the same as a verification code generated by the user account, or sets the login state of the user account to be not logged in if the verification information is not the same as the verification code generated by the user account; generating a login result according to the user account and the corresponding login state, and feeding back the login result to the platform client;
and the platform client receives the login result and displays an interactive interface corresponding to the login result.
14. The platform login system for receiving and transmitting verification codes based on instant messaging according to claim 13, wherein the instant messaging server is a micro-messaging server; the instant messaging client is a WeChat client; the instant messaging account is a WeChat account or a WeChat OpenID.
CN202310102287.8A 2023-02-08 2023-02-08 Platform login method and system for receiving and transmitting verification code based on instant messaging Active CN116436633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310102287.8A CN116436633B (en) 2023-02-08 2023-02-08 Platform login method and system for receiving and transmitting verification code based on instant messaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310102287.8A CN116436633B (en) 2023-02-08 2023-02-08 Platform login method and system for receiving and transmitting verification code based on instant messaging

Publications (2)

Publication Number Publication Date
CN116436633A CN116436633A (en) 2023-07-14
CN116436633B true CN116436633B (en) 2023-12-05

Family

ID=87086169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310102287.8A Active CN116436633B (en) 2023-02-08 2023-02-08 Platform login method and system for receiving and transmitting verification code based on instant messaging

Country Status (1)

Country Link
CN (1) CN116436633B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618315A (en) * 2013-12-30 2015-05-13 腾讯科技(深圳)有限公司 Method, device and system for verification information push, and method, device and system for information verification
CN105306435A (en) * 2015-09-15 2016-02-03 厦门精图信息技术股份有限公司 Method and system for binding information system account and WeChat account
CN105407074A (en) * 2014-09-11 2016-03-16 腾讯科技(深圳)有限公司 Authentication method, apparatus and system
CN105843495A (en) * 2015-01-15 2016-08-10 阿里巴巴集团控股有限公司 Method and device for processing pushed message
CN106778290A (en) * 2016-11-18 2017-05-31 上海斐讯数据通信技术有限公司 A kind of application software verification method and system based on wechat platform
CN107196893A (en) * 2016-03-15 2017-09-22 百度在线网络技术(北京)有限公司 Login method, login service device and login client
WO2017190668A1 (en) * 2016-05-05 2017-11-09 腾讯科技(深圳)有限公司 Identity verification method and device
CN107995104A (en) * 2017-12-11 2018-05-04 深圳喜盈佳企业云服务有限公司 A kind of system and method based on instant message push service message
CN109447780A (en) * 2018-09-18 2019-03-08 深圳壹账通智能科技有限公司 Information push method, device, computer equipment and storage medium
CN110099029A (en) * 2018-01-30 2019-08-06 阿里健康信息技术有限公司 A kind of auth method, terminal device and server
WO2019184135A1 (en) * 2018-03-30 2019-10-03 平安科技(深圳)有限公司 Application login method and apparatus, and computer device and storage medium
CN110855548A (en) * 2019-10-18 2020-02-28 深圳前海微众银行股份有限公司 Message pushing method and device
CN111147358A (en) * 2019-12-31 2020-05-12 中国银行股份有限公司 Security authentication method and device based on instant messaging software
TW202105205A (en) * 2019-07-19 2021-02-01 桓基科技股份有限公司 Authentication system and authentication method
CN113765898A (en) * 2021-08-20 2021-12-07 北京来也网络科技有限公司 Login method, device, equipment and medium based on AI and RPA
CN113824628A (en) * 2021-09-30 2021-12-21 传仲智能数字科技(上海)有限公司 User identity authentication method, device, server and storage medium based on IM
CN114979048A (en) * 2022-08-02 2022-08-30 深圳市明源云科技有限公司 Identity verification method, system, electronic device and medium based on instant messaging

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618315A (en) * 2013-12-30 2015-05-13 腾讯科技(深圳)有限公司 Method, device and system for verification information push, and method, device and system for information verification
CN105407074A (en) * 2014-09-11 2016-03-16 腾讯科技(深圳)有限公司 Authentication method, apparatus and system
CN105843495A (en) * 2015-01-15 2016-08-10 阿里巴巴集团控股有限公司 Method and device for processing pushed message
CN105306435A (en) * 2015-09-15 2016-02-03 厦门精图信息技术股份有限公司 Method and system for binding information system account and WeChat account
CN107196893A (en) * 2016-03-15 2017-09-22 百度在线网络技术(北京)有限公司 Login method, login service device and login client
WO2017190668A1 (en) * 2016-05-05 2017-11-09 腾讯科技(深圳)有限公司 Identity verification method and device
CN106778290A (en) * 2016-11-18 2017-05-31 上海斐讯数据通信技术有限公司 A kind of application software verification method and system based on wechat platform
CN107995104A (en) * 2017-12-11 2018-05-04 深圳喜盈佳企业云服务有限公司 A kind of system and method based on instant message push service message
CN110099029A (en) * 2018-01-30 2019-08-06 阿里健康信息技术有限公司 A kind of auth method, terminal device and server
WO2019184135A1 (en) * 2018-03-30 2019-10-03 平安科技(深圳)有限公司 Application login method and apparatus, and computer device and storage medium
CN109447780A (en) * 2018-09-18 2019-03-08 深圳壹账通智能科技有限公司 Information push method, device, computer equipment and storage medium
TW202105205A (en) * 2019-07-19 2021-02-01 桓基科技股份有限公司 Authentication system and authentication method
CN110855548A (en) * 2019-10-18 2020-02-28 深圳前海微众银行股份有限公司 Message pushing method and device
CN111147358A (en) * 2019-12-31 2020-05-12 中国银行股份有限公司 Security authentication method and device based on instant messaging software
CN113765898A (en) * 2021-08-20 2021-12-07 北京来也网络科技有限公司 Login method, device, equipment and medium based on AI and RPA
CN113824628A (en) * 2021-09-30 2021-12-21 传仲智能数字科技(上海)有限公司 User identity authentication method, device, server and storage medium based on IM
CN114979048A (en) * 2022-08-02 2022-08-30 深圳市明源云科技有限公司 Identity verification method, system, electronic device and medium based on instant messaging

Also Published As

Publication number Publication date
CN116436633A (en) 2023-07-14

Similar Documents

Publication Publication Date Title
US9954855B2 (en) Login method and apparatus, and open platform system
US9130927B2 (en) Single certificate service system and operational method thereof
CN108234505B (en) Account login method and system
US20170041259A1 (en) Instant message processing method, apparatus, and system
KR20190126005A (en) Smart broadcasting method and device
JP6686165B2 (en) Service execution method and device
WO2016101635A1 (en) Method, apparatus and device for synchronizing login status, and computer storage medium
CN110351269A (en) The method for logging in open platform by third-party server
CN104092542A (en) Account login method, device and system
WO2014101521A1 (en) Geographical location-based communication method, mobile terminal, server, and system
TW201203140A (en) Online service providing system, method, server and mobile device thereof, and computer program product
CN104253861A (en) Terminal control method, terminal control device and terminal control system
CN111143207B (en) Method for checking model training notice and training log at mobile terminal
CN112738046B (en) One-key login method, terminal and system server
WO2020073538A1 (en) Message sending method, device and system
US20160162984A1 (en) Processing unstructured messages
CN104580108A (en) Information prompting method and system as well as server
CN104618322A (en) Data processing method and device based on instant communication tool
WO2015043451A1 (en) Method and device for displaying patterning page in cgs mode
CN116436633B (en) Platform login method and system for receiving and transmitting verification code based on instant messaging
CN113515395A (en) Application access method and device based on multi-cloud management platform
CN113207144A (en) Wireless network detection method and device for screen projection equipment, medium and screen projection equipment
CN105491153A (en) Sharing method and device and mobile terminal
CN105187474A (en) Information processing method and server
CN112383469A (en) Information processing method and device, computer readable medium and electronic 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
GR01 Patent grant
GR01 Patent grant