Disclosure of Invention
In order to solve the problem of low distribution efficiency and flexibility in the prior art, the invention provides an authentication payment method and system for a dynamic access environment.
The invention provides an authentication payment method and a system for a dynamic access environment, which adopts the following technical scheme:
in a first aspect, the present invention provides an authentication payment method for dynamically accessing an environment, comprising the steps of:
Responding to an authentication portal access request sent by a user through an intelligent terminal, wherein the authentication portal access request carries authentication portal access information for accessing an access authentication portal, and the authentication portal access information comprises access equipment data and access environment data;
inquiring authentication flow information corresponding to the authentication entry access information from a preset database, wherein the authentication flow information comprises authentication flow data which can be used under the current access equipment data and access environment data;
acquiring user identity information according to the authentication entrance access request;
Logging in and jumping to a system page according to the user identity information, wherein the authentication flow information is displayed in the system page;
Responding to a payment mode selection request generated by a user through a system page, wherein the payment mode selection request carries payment mode selection information for selecting a payment mode;
And generating a payment instruction according to the payment mode selection information and executing the payment instruction.
By adopting the technical scheme, the authentication payment system enables the user to randomly enter the authentication payment system page selected by the user according to the access request of the authentication inlet of the user, and selects any payment mode to pay, so that a unified authentication payment inlet is provided, and the distribution consistency of various payment channels is ensured.
Further, the step of generating and executing a payment instruction according to the payment mode selection information specifically includes:
generating a payment mode selection parameter according to the payment mode selection information and initiating a payment request to a third party payment service;
Receiving payment calling information returned by the third party payment service;
Generating and executing a payment control calling instruction according to the payment calling information, wherein the payment control calling instruction is used for calling a payment control at an intelligent terminal of a user and sending the payment control to a third party payment service;
and receiving a payment success notice sent by the third party payment service.
Further, the step of querying authentication flow information corresponding to the authentication entry access information from a preset database specifically includes:
acquiring authentication flow information corresponding to the authentication entrance access information according to the authentication entrance access information;
if the authentication flow information corresponding to the authentication entrance access information is not obtained, an information deletion instruction is generated and sent according to the authentication entrance access information.
Further, after the step of generating and sending the information missing instruction, the method further includes:
developing and configuring corresponding authentication flow information according to the authentication entry access information;
and adding the authentication flow information into a database.
In a second aspect, the present invention provides an authenticated payment system for dynamic access to an environment, comprising:
An authentication portal access request module, configured to respond to an authentication portal access request sent by a user through an intelligent terminal, where the authentication portal access request carries authentication portal access information for accessing an access authentication portal, and the authentication portal access information includes access device data and access environment data;
The authentication flow information inquiry module is used for inquiring authentication flow information corresponding to the authentication inlet access information from a preset database, wherein the authentication flow information comprises authentication flow data which can be used under the current access equipment data and the access environment data;
The user identity information acquisition module is used for acquiring user identity information according to the authentication entrance access request;
the authentication flow information display module is used for logging in and jumping to a system page according to the user identity information, and the authentication flow information is displayed in the system page;
the payment mode selection request response module is used for responding to a payment mode selection request generated by a user through a system page, wherein the payment mode selection request carries payment mode selection information for selecting a payment mode;
and the payment instruction generation module is used for generating and executing a payment instruction according to the payment mode selection information.
In a third aspect, the present invention provides an intelligent terminal comprising a memory and a processor, the memory storing a computer program capable of being loaded by the processor and executing an authentication payment method of a dynamic access environment as described above.
In a fourth aspect, the present invention provides a computer readable storage medium storing a computer program capable of being loaded by a processor and executing an authenticated payment method of a dynamic access environment as described above.
In summary, compared with the prior art, the beneficial effects of the technical scheme are as follows:
According to the authentication payment method and the system for the dynamic access environment, the authentication payment system enables the user to randomly enter the authentication payment system page selected by the user according to the authentication access request of the user, and selects any payment mode to pay, a unified authentication payment access is provided, and the distribution consistency of various payment channels is ensured.
Detailed Description
The present invention will be described in further detail below with reference to the accompanying drawings.
The embodiment of the invention discloses an authentication payment method and a system for a dynamic access environment, and referring to fig. 1, the authentication payment method for the dynamic access environment comprises the following steps:
s101, responding to an authentication entry access request sent by a user through an intelligent terminal.
Specifically, the authentication payment system responds to an authentication portal access request sent by a user through an intelligent terminal, wherein the authentication portal access request carries authentication portal access information for accessing an access authentication portal, and the authentication portal access information comprises access equipment data and access environment data.
S102, inquiring authentication flow information corresponding to the authentication entrance access information from a preset database.
Specifically, the authentication payment system queries authentication flow information corresponding to the authentication entry access information from a preset database, wherein the authentication flow information comprises authentication flow data which can be used under the current access equipment data and the access environment data. The authentication flow information is preset and generated aiming at the authentication flow and payment mode corresponding to the commonly used authentication payment channel.
S103, acquiring user identity information.
Specifically, the authentication payment system acquires user identity information according to the authentication entrance access request, and further verifies the user identity of the current environment so as to perform subsequent authentication flow. The authentication payment system can call the authentication service of the third party to carry out identity recognition so as to acquire the identity information of the user in the channel, the authentication service of the third party is responsible for authentication of the identity of the user, and after authentication is passed, the system can acquire the identity information of the user from the authentication service of the third party.
S104, logging in and jumping to the system page.
Specifically, the authentication payment system logs in and jumps to a system page according to the user identity information, and the authentication flow information is displayed in the system page.
S105, responding to a payment mode selection request generated by a user through a system page.
Specifically, the authentication payment system responds to a payment mode selection request generated by a user through a system page, wherein the payment mode selection request carries payment mode selection information for selecting a payment mode.
S106, generating and executing a payment instruction.
Specifically, the authentication payment system generates and executes a payment instruction according to the payment mode selection information, wherein the payment instruction is used for carrying out payment operation according to a payment mode required by a user in a current payment environment.
In another embodiment, referring to fig. 2, S106 specifically includes the following sub-steps:
s201, generating payment mode selection parameters and initiating a payment request to a third party payment service.
Specifically, the authentication payment system generates payment mode selection parameters according to the payment mode selection information and payment selection of the user, and initiates a payment request to a third party payment service.
S202, receiving payment calling information returned by the third party payment service.
Specifically, after the authentication payment system initiates a payment request to the third party payment service, the payment call information returned by the third party payment service is waited to be received.
S203, generating a payment control calling instruction and executing the payment control calling instruction.
Specifically, the authentication payment system generates and executes a payment control calling instruction according to the payment calling information, wherein the payment control calling instruction is used for calling a payment control at an intelligent terminal of a user and sending the payment control to a third party payment service.
S204, receiving a payment success notice sent by the third party payment service.
Specifically, after the payment operation is completed, the authentication payment system receives a payment success notification sent by the third party payment service.
In another embodiment, referring to fig. 3, S102 specifically includes the following sub-steps:
S301, acquiring authentication flow information corresponding to the authentication entry access information.
Specifically, the authentication payment system acquires authentication flow information corresponding to the authentication entry access information according to the authentication entry access information.
S302, if the authentication flow information corresponding to the authentication entry access information is not acquired, an information deletion instruction is generated and sent.
Specifically, if the authentication payment system does not acquire the authentication flow information corresponding to the authentication entry access information, an information deletion instruction is generated and sent according to the authentication entry access information. The authentication payment system pre-develops and configures corresponding payment mode flows aiming at different devices and environment information, and can be directly used after the primary configuration is completed. If the system cannot be matched with the proper payment mode, the system gives related prompt information
S303, developing authentication flow information corresponding to the configuration.
Specifically, if the authentication payment system does not acquire the authentication flow information corresponding to the authentication entry access information, developing and configuring the corresponding authentication flow information according to the authentication entry access information.
The authentication payment system is specifically required to access the corresponding third party authorization and payment interface aiming at the missing authentication flow. For example, the current system has an authentication payment process under the environment a, no authentication payment process under the environment B, the authentication payment system needs authentication and payment protocol documents provided by a third party, namely the environment B, to realize normal use under the environment B, and the authentication payment system performs relevant interface docking development on the system according to the protocol information of the environment B, so that the authentication and payment processes missing from the authentication payment system are added and perfected, and key data required by the authentication payment process are also stored in a database of the system.
When the system develops and configures the authentication payment flow of the third party, the system mainly needs to see interface protocol information provided by the third party system, and the finally generated authentication payment flows corresponding to different protocol information are generally different.
The third party protocol document generally provides an entry address of authentication payment, protocol data required by data communication, key information required to be encrypted in the communication process, and key interaction flow of a third party system, and the system can integrate the information provided by the key interaction flow to complete development and access of related authentication flow.
S304, adding the authentication flow information into a database.
Specifically, the authentication payment system adds the authentication flow information to a database.
Wherein, as another implementation, S303 to S304 of the embodiment of the present application are optional.
The embodiment of the invention discloses an authentication payment method of a dynamic access environment, which comprises the following implementation principles: the authentication payment system enables the user to randomly enter an authentication payment system page selected by the user according to the authentication entry access request of the user, selects any payment mode to pay, provides a unified authentication payment entry, and ensures the distribution consistency of various payment channels.
Based on the method, the embodiment of the invention also discloses an authentication payment system for dynamically accessing the environment. Referring to fig. 4, an authenticated payment system for a dynamic access environment, comprising:
An authentication portal access request module 1, configured to respond to an authentication portal access request sent by a user through an intelligent terminal, where the authentication portal access request carries authentication portal access information for accessing an access authentication portal, and the authentication portal access information includes access device data and access environment data;
An authentication flow information inquiry module 2, configured to inquire authentication flow information corresponding to the authentication entry access information from a preset database, where the authentication flow information includes authentication flow data that can be used under current access device data and access environment data;
the user identity information acquisition module 3 is used for acquiring user identity information according to the authentication entrance access request;
The authentication flow information display module 4 is used for logging in and jumping to a system page according to the user identity information, and the authentication flow information is displayed in the system page;
The payment mode selection request response module 5 is used for responding to a payment mode selection request generated by a user through a system page, wherein the payment mode selection request carries payment mode selection information for selecting a payment mode;
and the payment instruction generation module 6 is used for generating and executing a payment instruction according to the payment mode selection information.
The embodiment of the invention also discloses an intelligent terminal which comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and execute the authentication payment method of the dynamic access environment.
The embodiment of the invention also discloses a computer readable storage medium. A computer-readable storage medium has stored thereon a computer program that can be loaded by a processor and that performs an authenticated payment method of a dynamic access environment as described above, the computer-readable storage medium comprising, for example: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the scope of the present invention. It will be apparent that the described embodiments are merely some, but not all, embodiments of the invention. Based on these embodiments, all other embodiments that may be obtained by one of ordinary skill in the art without inventive effort are within the scope of the invention. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art may still combine, add or delete features of the embodiments of the present invention or make other adjustments according to circumstances without any conflict, so as to obtain different technical solutions without substantially departing from the spirit of the present invention, which also falls within the scope of the present invention.