CN110336840B - Third party account registration method and system for voice conversation platform - Google Patents

Third party account registration method and system for voice conversation platform Download PDF

Info

Publication number
CN110336840B
CN110336840B CN201910740608.0A CN201910740608A CN110336840B CN 110336840 B CN110336840 B CN 110336840B CN 201910740608 A CN201910740608 A CN 201910740608A CN 110336840 B CN110336840 B CN 110336840B
Authority
CN
China
Prior art keywords
account
party
token
platform
login
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
CN201910740608.0A
Other languages
Chinese (zh)
Other versions
CN110336840A (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.)
Sipic Technology Co Ltd
Original Assignee
Sipic 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 Sipic Technology Co Ltd filed Critical Sipic Technology Co Ltd
Priority to CN201910740608.0A priority Critical patent/CN110336840B/en
Publication of CN110336840A publication Critical patent/CN110336840A/en
Application granted granted Critical
Publication of CN110336840B publication Critical patent/CN110336840B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a third party account registration method for a voice conversation platform. The method comprises the following steps: configuring REST style for API of a third party platform in an account system of a voice conversation platform; in response to the operation that a user calls the API of the third-party platform, the account system acquires account information after the login verification of the third-party platform is passed under an account registration page of the voice conversation platform based on REST; the account system routes the account information to account service corresponding to the third-party platform through a service gateway; the account service performs login verification based on account information, creates a unique user identifier for the user after the login verification is passed, and persists the unique user identifier in the database. The embodiment of the invention also provides a third party account registration system for the voice conversation platform. The embodiment of the invention ensures that the user is more 'unaware' when using the third-party account for registration, improves the user experience, ensures the safety of the account service because the account service is not directly exposed.

Description

Third party account registration method and system for voice conversation platform
Technical Field
The invention relates to the field of intelligent voice, in particular to a third party account registration method and system for a voice conversation platform.
Background
As more and more companies providing services are provided in the market, each platform can use respective account numbers, if a user needs to use a plurality of platforms, the account numbers of each platform need to be recorded, so that the user can record the account numbers inconveniently, and each platform can support the user to use the account numbers of other platforms to access to the platform.
The account access system is usually applied by a user to a third party account system, and after the account access system is approved, the user jumps to an authorized address of the third party through a provided interface document. After confirmation and authentication, the third-party account system returns the basic information of the user.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the related art:
the third-party account can jump to the login page of the third-party account system in the process of accessing the third-party account, so that a user can feel the jump of the page when using the third-party account, and the experience of the user is greatly influenced along with the forced switching of the third-party account. Meanwhile, the account information returned after the user confirms is not provided with a login token with timeliness and the verification of the login token, and a directly exposed third-party access interface has potential safety hazards.
Disclosure of Invention
The method and the device at least solve the problems that in the prior art, the user experience is influenced by the perception of the access operation of a third party for accessing an account system, and potential safety hazards exist in the access process.
In a first aspect, an embodiment of the present invention provides a third party account registration method for a voice dialog platform, including:
configuring REST (representational state transfer) style for API (application program interface) of a third-party platform in an account system of a voice conversation platform;
in response to the operation that the user calls the API of the third-party platform, the account system acquires the account information after the login verification of the third-party platform is passed under an account registration page of the voice conversation platform based on the REST;
the account system routes the account information to account services corresponding to the third-party platform through a service gateway;
and the account service performs login verification based on the account information, creates a unique user identifier for the user after the login verification is passed, and persists the unique user identifier into a database.
In a second aspect, an embodiment of the present invention provides a third party account login method for a voice dialog platform, including:
when the third party account registration method is adopted to perform third party account registration and then the voice conversation platform is accessed again, a login TOKEN of the third party account is obtained;
carrying out validity check on the login TOKEN and a login TOKEN corresponding to the third party account and stored in the account system;
when the verification result is legal, successfully acquiring the unique user identifier of the third party account for logging in;
and when the verification result is illegal, refusing to log in and prompting the user to log in again.
In a third aspect, an embodiment of the present invention provides a third party account registration system for a voice dialog platform, including:
the style configuration program module is used for configuring REST (representational state transfer) style for API (application program interface) of a third-party platform in an account system of the voice conversation platform;
the account information acquisition program module is used for responding to the operation that a user calls the API of the third-party platform, and the account system acquires the account information after the login verification of the third-party platform is passed under an account registration page of the voice conversation platform based on the REST;
the service program module is used for the account system to route the account information to account services corresponding to the third-party platform through a service gateway;
and the account registration program module is used for performing login verification on the account service based on the account information, creating a unique user identifier for the user after the verification is passed, and persisting the unique user identifier into a database.
In a fourth aspect, an embodiment of the present invention provides a third party account login system for a voice dialog platform, including:
the TOKEN acquisition program module is used for acquiring a login TOKEN of the third party account when the third party account registration system of the system accesses the voice conversation platform again after registering the third party account;
the verification program module is used for verifying the legality of the login TOKEN TOKEN and a login TOKEN TOKEN which is stored in the account system and corresponds to the third-party account;
a login program module used for successfully acquiring the unique user identifier of the third party account for login when the verification result is legal,
and when the verification result is illegal, refusing to log in and prompting the user to log in again.
In a fifth aspect, an electronic device is provided, comprising: the device comprises at least one processor and a memory which is in communication connection with the at least one processor, wherein the memory stores instructions which can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the steps of the third party account registration method for the voice conversation platform and the third party account login method for the voice conversation platform according to any embodiment of the invention.
In a sixth aspect, an embodiment of the present invention provides a storage medium, on which a computer program is stored, where the computer program is executed by a processor, and the program is configured to implement the steps of the third party account registration method for a voice conversation platform and the third party account login method for a voice conversation platform according to any embodiment of the present invention.
The embodiment of the invention has the beneficial effects that: according to the third party access process, the interface document and the REST API, a developer can conveniently and quickly access the third party platform into the voice conversation platform in the method, meanwhile, for the use of a user, the skip among pages is avoided, the user can be more 'unaware' when using the third party account to register, the experience of the user is improved, the account service is not directly exposed, and the safety of the account service is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a third party account registration method for a voice dialog platform according to an embodiment of the present invention;
FIG. 2 is a flowchart of a third party login registration method for a voice dialog platform according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a third party account registration system for a voice dialog platform according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a third party account login system for a voice dialog platform according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a third party account registration method for a voice dialog platform according to an embodiment of the present invention, which includes the following steps:
s11: configuring REST (representational state transfer) style for API (application program interface) of a third-party platform in an account system of a voice conversation platform;
s12: in response to the operation that the user calls the API of the third-party platform, the account system acquires the account information after the login verification of the third-party platform is passed under an account registration page of the voice conversation platform based on the REST;
s13: the account system routes the account information to account services corresponding to the third-party platform through a service gateway;
s14: and the account service performs login verification based on the account information, creates a unique user identifier for the user after the login verification is passed, and persists the unique user identifier into a database.
In the embodiment, the voice conversation platform not only supports the platform account system, but also provides a third party access flow and an interface document, so that other third party platforms can be conveniently docked. The platforms of other companies can complete common account system functions such as registration, normal login, automatic login and the like by providing a REST API (representational state transfer application program interface) and transmitting parameters explained on a document. The platform and the third-party account system are communicated, the same account can access the platform and the third-party company platform, the centralized management of account resources is realized, and the centralized management is unaware to users.
For step S11, in the account system of the voice dialog platform, a REST style is configured for the API of the third party platform, where the REST is a presentation layer state transition, and colloquially: the URL locates the resource, and describes the operation with HTTP verbs (GET, POST, DELETE, PUSH, etc.). The interface can be used by a plurality of places simultaneously only by writing the interface once through REST, so that the method is safer and quicker, and is mainly quicker in work division. One person writes the interface specially, and other persons only need to know how to call, and do not need to know how to implement at all. Through the HTTP + specific action, some Resources (Resources) on other applications, such as articles, comments, files, or account information used by the method, are processed. The task is completed by using a GET method of HTTP to request an access interface of a third party.
For step S12, the voice dialog platform responds to an operation of the user invoking the third party platform API, and based on the configured REST, under the account registration page of the voice dialog platform, the background noninductively acquires the account information after the login verification of the third party platform is passed, without skipping of the third party page, thereby avoiding the influence of the page skipping on the user, and meanwhile, acquiring the account information after the login verification of the third party is passed. Because account passwords used for the third party platform are used. Therefore, before registration, the third-party platform can verify whether the account and the password in the account information of the third-party platform are correct or not, so as to ensure that the account registration of the third party is successful.
For step S13, the account system routes account information of the third party to an account service corresponding to the third party platform through the service gateway, where the account service is specifically corresponding to the third party platform, and different third party platforms have different account services corresponding thereto. Because the account service is routed to the account service through the service gateway, the account service is not directly exposed, and the safety of the account service is ensured.
For step S14, the account service performs login verification based on the account number, password, and other information in the account number information, for example, if a verification code can be added for higher security factor. And creating a unique user identification for the user, and storing the unique user identification in a database in a persistent mode. Thus, the registration of the third party account is completed.
According to the embodiment, the third party access process, the interface document and the REST API are provided, so that a developer can conveniently and quickly access the third party platform into the voice conversation platform in the method, meanwhile, the skip among pages is avoided for the use of a user, the user can be more unaware when using the third party account for registration, the experience of the user is improved, the account service is not directly exposed, and the safety of the account service is ensured.
As an implementation manner, in this embodiment, after creating a unique user identifier for the user and persisting the unique user identifier in the database, the method further includes:
and creating a login TOKEN TOKEN and an automatic login TOKEN Rmem-auth corresponding to the unique user identifier on the basis of the unique user identifier, and returning the unique user identifier, the login TOKEN TOKEN and the automatic login TOKEN Rmem-auth to the third-party platform.
In this embodiment, after the end of the voice dialog platform is successfully registered, a corresponding login token needs to be provided for the user to log in. And creating a login TOKEN TOKEN and an automatic login TOKEN Rmem-auth corresponding to the unique user identifier on the basis of the unique user identifier. In addition to determining the login TOKEN, the automatic login TOKEN Rmem-auth is further used in consideration of security. These are fed back together to the third party platform.
According to the embodiment, the token is returned to the third-party platform, the login of the third-party account is guaranteed, and meanwhile, the safety performance is further improved through the multiple tokens.
Fig. 2 is a flowchart of a third party account login method for a voice dialog platform according to an embodiment of the present invention, which includes the following steps:
s21: when the voice conversation platform is accessed again after the third party account is registered by adopting the method of claim 2, acquiring a login TOKEN of the third party account;
s22: carrying out validity check on the login TOKEN and a login TOKEN corresponding to the third party account and stored in the account system;
s23: and when the verification result is legal, successfully acquiring the unique user identifier of the third-party account for logging in, and when the verification result is illegal, refusing to log in and prompting the user to log in again.
In this embodiment, the third party account login method described in the present method is implemented after the third party account is registered.
For step S21, the voice dialog platform receives the revisit of the third party platform, and the voice dialog platform obtains the TOKEN of the third party account;
for step S22, the voice dialog platform performs TOKEN validity check on the TOKEN and a login TOKEN stored in the account system and corresponding to the third party account. For example, the voice dialog platform may store a plurality of third party accounts of different companies, and each third party company may have a corresponding account system for performing TOKEN validity check. The account numbers among companies are guaranteed not to be disordered.
For step S23, when the verification is legal, the unique user representation of the third party is successfully obtained for login. And when the verification is illegal, the TOKEN is abnormal, the user is refused to log in, and the user is prompted to log in again.
According to the embodiment, the third party account login method is provided for being matched with the third party account login method, and the complete experience of the user is guaranteed.
As an implementation manner, in this embodiment, after obtaining the login TOKEN of the third party account, the method further includes:
determine whether the login TOKEN is expired,
if not, checking the validity of the TOKEN,
and if the time is expired but the preset time is not exceeded, checking the validity of the TOKEN of the login TOKEN, and if the time is legal, updating the TOKEN for the third party account to be the current time.
In this embodiment, after obtaining the TOKEN of the third party account, it is further required to determine whether the TOKEN is expired, because the third party account is logged in to cause a security problem. Therefore, timeliness is provided for both the TOKEN and the automatic login TOKEN Rmem-auth, and potential safety hazards caused by long-term effectiveness of the automatic login TOKEN are avoided. And if the login TOKEN is not expired, verifying the legality of the login TOKEN, and obtaining the unique user representation of the third party for login if the verification is successful. If the TOKEN is expired but the expiration time is not longer than the preset time, for example, the expiration time is within two hours, the validity of the TOKEN is checked, and if the TOKEN is legal, the TOKEN is updated to the current time for the third party account, so that the continuity of timeliness is guaranteed.
According to the embodiment, the safety is further ensured according to the judgment of the timeliness and the legality.
As an implementation manner, in this embodiment, the method further includes, if the predetermined time has expired but has not exceeded the predetermined time, the method further includes: further detecting whether the automatic login token Rmem-auth is expired;
if not, updating a login TOKEN TOKEN for the third party account to be the current time;
and if the time is expired, prompting the user to log in again.
In this embodiment, if the login TOKEN is expired and the preset time is exceeded, for example, after expiration of two hours, it is further detected whether the automatic login TOKEN Rmem-auth is expired, if not, the login TOKEN is updated to the current time for the third party account, and if so, the user is prompted to log in again. And after the user successfully registers or logs in, logging in again after the next interval, and carrying out time efficiency judgment on the automatic login token Rmem-auth in order to further guarantee the safety. The safety performance is improved.
Fig. 3 is a schematic structural diagram of a third party account registration system for a voice dialog platform according to an embodiment of the present invention, which can execute the third party account registration method for the voice dialog platform according to any of the embodiments described above and is configured in a terminal.
The third party account registration system for the voice conversation platform provided by the embodiment comprises: a style configuration program module 11, an account information acquisition program module 12, a service program module 13 and an account registration program module 14.
The style configuration program module 11 is configured to configure a REST (representational state transfer) style for an API (application program interface) of a third party platform in an account system of the voice conversation platform; the account information obtaining program module 12 is configured to respond to an operation of a user calling the API of the third party platform, where the account system obtains, based on the REST, account information after the login verification of the third party platform is passed under an account registration page of the voice dialog platform; the service program module 13 is used for the account system to route the account information to the account service corresponding to the third-party platform through a service gateway; the account registration program module 14 is configured to perform login verification on the account service based on the account information, create a unique user identifier for the user after the login verification is passed, and persist the unique user identifier in the database.
Further, the system comprises: an information feedback program module:
and the system is used for creating a login TOKEN TOKEN and an automatic login TOKEN Rmem-auth corresponding to the unique user identifier on the basis of the unique user identifier, and returning the unique user identifier, the login TOKEN TOKEN and the automatic login TOKEN Rmem-auth to the third-party platform.
Fig. 4 is a schematic structural diagram of a third party account login system for a voice dialog platform according to an embodiment of the present invention, which can execute the third party account login method for the voice dialog platform according to any of the embodiments described above and is configured in a terminal.
The third party account login system for the voice conversation platform provided by the embodiment comprises: a token acquisition program module 21, a verification program module 22 and a login program module 23.
The TOKEN obtaining program module 21 is configured to obtain a TOKEN of a third party account when the voice dialog platform is accessed again after the third party account is registered by using the system of claim 7; the verification program module 22 is configured to perform validity verification on the login TOKEN and a login TOKEN stored in the account system and corresponding to the third party account; the login program module 23 is configured to, when the verification result is legal, successfully acquire the unique user identifier of the third party account for login, and when the verification result is illegal, refuse to login and prompt the user to log in again.
Further, the verification program module is configured to:
determine whether the login TOKEN is expired,
if not, checking the validity of the TOKEN,
and if the time is expired but the preset time is not exceeded, checking the validity of the TOKEN of the login TOKEN, and if the time is legal, updating the TOKEN for the third party account to be the current time.
Further, the system is also configured to: further detecting whether the automatic login token Rmem-auth is expired;
if not, updating a login TOKEN TOKEN for the third party account to be the current time;
and if the time is expired, prompting the user to log in again.
The embodiment of the invention also provides a nonvolatile computer storage medium, wherein the computer storage medium stores computer executable instructions which can execute the third party account registration method for the voice conversation platform in any method embodiment;
as one embodiment, a non-volatile computer storage medium of the present invention stores computer-executable instructions configured to:
configuring REST (representational state transfer) style for API (application program interface) of a third-party platform in an account system of a voice conversation platform;
in response to the operation that the user calls the API of the third-party platform, the account system acquires the account information after the login verification of the third-party platform is passed under an account registration page of the voice conversation platform based on the REST;
the account system routes the account information to account services corresponding to the third-party platform through a service gateway;
and the account service performs login verification based on the account information, creates a unique user identifier for the user after the login verification is passed, and persists the unique user identifier into a database.
The embodiment of the invention also provides a nonvolatile computer storage medium, wherein the computer storage medium stores computer executable instructions which can execute the third party account login method for the voice conversation platform in any method embodiment;
as one embodiment, a non-volatile computer storage medium of the present invention stores computer-executable instructions configured to:
when the voice conversation platform is accessed again after the third party account is registered by adopting the method of claim 2, acquiring a login TOKEN of the third party account;
carrying out validity check on the login TOKEN and a login TOKEN corresponding to the third party account and stored in the account system;
when the verification result is legal, successfully acquiring the unique user identifier of the third party account for logging in;
and when the verification result is illegal, refusing to log in and prompting the user to log in again.
As a non-volatile computer readable storage medium, may be used to store non-volatile software programs, non-volatile computer executable programs, and modules, such as program instructions/modules corresponding to the methods of testing software in embodiments of the present invention. One or more program instructions are stored in a non-transitory computer readable storage medium, and when executed by a processor, perform the third party account registration method for a voice conversation platform and the third party account login method for the voice conversation platform in any of the above method embodiments.
The non-volatile computer readable storage medium may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of a device of test software, and the like. Further, the non-volatile computer-readable storage medium may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the non-transitory computer readable storage medium optionally includes memory located remotely from the processor, which may be connected to the means for testing software over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
An embodiment of the present invention further provides an electronic device, which includes: the device comprises at least one processor and a memory which is in communication connection with the at least one processor, wherein the memory stores instructions which can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the steps of the third party account registration method for the voice conversation platform and the third party account login method for the voice conversation platform according to any embodiment of the invention.
The client of the embodiment of the present application exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones, multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as tablet computers.
(3) Portable entertainment devices such devices may display and play multimedia content. The devices comprise audio and video players, handheld game consoles, electronic books, intelligent toys and portable vehicle-mounted navigation devices.
(4) Other electronic devices with data processing capabilities.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 … …" does not exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A third party account registration method for a voice conversation platform comprises the following steps:
configuring REST (representational state transfer) style for API (application program interface) of a third-party platform in an account system of a voice conversation platform;
in response to the operation that the user calls the API of the third-party platform, the account system does not jump to a third-party page based on the REST, and account information after the login verification of the third-party platform is passed is acquired under an account registration page of the voice conversation platform;
the account system routes the account information to account services corresponding to the third-party platform through a service gateway;
and the account service performs login verification based on the account information, and after the verification is passed, the voice conversation platform creates a unique user identifier corresponding to the account information for logging in the third party platform for the user and persists the unique user identifier in a database.
2. The method of claim 1, wherein after the voice dialog platform creates a unique user identifier for the user corresponding to the account information for logging into the third party platform and persists in a database, the method further comprises:
and creating a login TOKEN TOKEN and an automatic login TOKEN Rmem-auth corresponding to the unique user identifier on the basis of the unique user identifier, and returning the unique user identifier, the login TOKEN TOKEN and the automatic login TOKEN Rmem-auth to the third-party platform.
3. A third party account login method for a voice conversation platform comprises the following steps:
when the voice conversation platform is accessed again after the third party account is registered by adopting the method of claim 2, acquiring a login TOKEN of the third party account;
carrying out validity check on the login TOKEN and a login TOKEN corresponding to the third party account and stored in the account system;
when the verification result is legal, successfully acquiring the unique user identifier of the third party account for logging in;
and when the verification result is illegal, refusing to log in and prompting the user to log in again.
4. The method of claim 3, wherein after obtaining the TOKEN for the third party account, the method further comprises:
determine whether the login TOKEN is expired,
if not, checking the validity of the TOKEN,
and if the time is expired but the preset time is not exceeded, checking the validity of the TOKEN of the login TOKEN, and if the time is legal, updating the TOKEN for the third party account to be the current time.
5. The method of claim 4, wherein if the predetermined time has not elapsed, the method further comprises: further detecting whether the automatic login token Rmem-auth is expired;
if not, updating a login TOKEN TOKEN for the third party account to be the current time;
and if the time is expired, prompting the user to log in again.
6. A third party account registration system for a voice dialog platform, comprising:
the style configuration program module is used for configuring REST (representational state transfer) style for API (application program interface) of a third-party platform in an account system of the voice conversation platform;
the account information acquisition program module is used for responding to the operation that a user calls the API of the third-party platform, the account system does not jump to a third-party page based on the REST, and the account information after the login verification of the third-party platform is passed is acquired under an account registration page of the voice conversation platform;
the service program module is used for the account system to route the account information to account services corresponding to the third-party platform through a service gateway;
and the account registration program module is used for performing login verification on the account service based on the account information, and after the verification is passed, the voice conversation platform creates a unique user identifier corresponding to the account information for logging in the third-party platform for the user and persists the unique user identifier in a database.
7. The system of claim 6, wherein the system comprises: an information feedback program module:
and the system is used for creating a login TOKEN TOKEN and an automatic login TOKEN Rmem-auth corresponding to the unique user identifier on the basis of the unique user identifier, and returning the unique user identifier, the login TOKEN TOKEN and the automatic login TOKEN Rmem-auth to the third-party platform.
8. A third party account login system for a voice dialog platform, comprising:
a TOKEN obtaining program module, configured to obtain a TOKEN of a third party account when the voice dialog platform is accessed again after the third party account is registered by using the system of claim 7;
the verification program module is used for verifying the legality of the login TOKEN TOKEN and a login TOKEN TOKEN which is stored in the account system and corresponds to the third-party account;
a login program module used for successfully acquiring the unique user identifier of the third party account for login when the verification result is legal,
and when the verification result is illegal, refusing to log in and prompting the user to log in again.
9. The system of claim 8, wherein the verification program module is to:
determine whether the login TOKEN is expired,
if not, checking the validity of the TOKEN,
and if the time is expired but the preset time is not exceeded, checking the validity of the TOKEN of the login TOKEN, and if the time is legal, updating the TOKEN for the third party account to be the current time.
10. The system of claim 9, wherein the system is further configured to: further detecting whether the automatic login token Rmem-auth is expired;
if not, updating a login TOKEN TOKEN for the third party account to be the current time;
and if the time is expired, prompting the user to log in again.
CN201910740608.0A 2019-08-12 2019-08-12 Third party account registration method and system for voice conversation platform Active CN110336840B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910740608.0A CN110336840B (en) 2019-08-12 2019-08-12 Third party account registration method and system for voice conversation platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910740608.0A CN110336840B (en) 2019-08-12 2019-08-12 Third party account registration method and system for voice conversation platform

Publications (2)

Publication Number Publication Date
CN110336840A CN110336840A (en) 2019-10-15
CN110336840B true CN110336840B (en) 2022-05-13

Family

ID=68149274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910740608.0A Active CN110336840B (en) 2019-08-12 2019-08-12 Third party account registration method and system for voice conversation platform

Country Status (1)

Country Link
CN (1) CN110336840B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150501A (en) * 2021-03-30 2022-10-04 华为技术有限公司 Voice interaction method and electronic equipment
CN113688379B (en) * 2021-08-20 2024-05-31 杭州海康威视数字技术股份有限公司 Platform registration method and device and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201662833U (en) * 2009-11-05 2010-12-01 上海久隆信息工程有限公司 Processing system suitable for enterprise-oriented information resource application and integration
CN105554025A (en) * 2016-01-19 2016-05-04 四川长虹电器股份有限公司 Management method for unifying users by open platform and management system thereof
CN107786571A (en) * 2017-11-07 2018-03-09 昆山云景商务服务有限公司 A kind of method of user's unified certification
CN109933362A (en) * 2019-01-24 2019-06-25 优信拍(北京)信息科技有限公司 A kind of platform feature call method, system and equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102916933A (en) * 2011-08-03 2013-02-06 腾讯科技(深圳)有限公司 Method and system for registration or login via third-party website
CN103856446B (en) * 2012-11-30 2018-01-09 腾讯科技(深圳)有限公司 A kind of login method, device and open platform system
CN103888451B (en) * 2014-03-10 2017-09-26 百度在线网络技术(北京)有限公司 Authorization method, the apparatus and system of certification
CN104113534B (en) * 2014-07-02 2018-01-09 百度在线网络技术(北京)有限公司 The login system and method for application APP
CN105871838B (en) * 2016-03-30 2019-03-01 努比亚技术有限公司 A kind of log-in control method and customer center platform of third party's account
CN108989346B (en) * 2018-08-30 2021-03-16 上海同态信息科技有限责任公司 Third-party valid identity escrow agile authentication access method based on account hiding
CN109462601B (en) * 2018-12-13 2020-12-22 中国联合网络通信集团有限公司 Multi-platform access method and device based on eSIM

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201662833U (en) * 2009-11-05 2010-12-01 上海久隆信息工程有限公司 Processing system suitable for enterprise-oriented information resource application and integration
CN105554025A (en) * 2016-01-19 2016-05-04 四川长虹电器股份有限公司 Management method for unifying users by open platform and management system thereof
CN107786571A (en) * 2017-11-07 2018-03-09 昆山云景商务服务有限公司 A kind of method of user's unified certification
CN109933362A (en) * 2019-01-24 2019-06-25 优信拍(北京)信息科技有限公司 A kind of platform feature call method, system and equipment

Also Published As

Publication number Publication date
CN110336840A (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN109639740B (en) Login state sharing method and device based on equipment ID
CN109587133B (en) Single sign-on system and method
US11539687B2 (en) Message right management method, device and storage medium
CN110351269B (en) Method for logging in open platform through third-party server
CN104902028B (en) A kind of a key login authentication method, apparatus and system
CN105450643B (en) The authentication method of network insertion, apparatus and system
CN104253686B (en) Method, equipment and the system that account logs in
US8861692B1 (en) Web call access and egress to private network
CN110430205B (en) Single sign-on method, device, equipment and computer readable storage medium
CN105337997B (en) Login method of application client and related equipment
US20130254858A1 (en) Encoding an Authentication Session in a QR Code
CN111355713B (en) Proxy access method, device, proxy gateway and readable storage medium
CN104580074A (en) Logging method of client end application and corresponding server of logging method
CN110691085B (en) Login method, login device, password management system and computer readable medium
CN106254319B (en) Light application login control method and device
CN110336840B (en) Third party account registration method and system for voice conversation platform
CN107710725B (en) Method and system for authenticating a user by a telephone number
CN112163199B (en) Login authentication method, device, equipment and storage medium using public account
CN102833247A (en) Method for anti-sweeping ciphers in user login system and device thereof
CN110706143A (en) Identity authentication method and device based on government affair service
CN112968892A (en) Information verification method, device, computing equipment and medium
CN106357684B (en) Game application program login method and device
CA2844888A1 (en) System and method of extending a host website
CN111259368A (en) Method and equipment for logging in system
CN110278178B (en) Login method, equipment and readable storage medium

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
CB02 Change of applicant information

Address after: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province

Applicant after: Sipic Technology Co.,Ltd.

Address before: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province

Applicant before: AI SPEECH Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant