Disclosure of Invention
The embodiment of the invention provides a payment method and a payment device, which can reduce flow consumption and use cost of a user.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method, including: detecting whether a target character exists in address information of a page loaded by a user terminal currently, wherein the page loaded currently is a page to which a payment request sent by the user terminal points;
if the target character exists, reading transaction information corresponding to the payment request through a payment client in the user terminal;
and carrying out online payment according to the transaction information through the payment client.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the detecting whether a target character exists in address information of a page currently loaded by a user terminal includes:
generating the payment request according to user operation through a service client in the user terminal, wherein a monitoring plug-in is operated in the service client;
detecting whether a target character exists in the address information of the page loaded by the service client currently through the monitoring plug-in, if so, generating a jump message or a start message, wherein the jump message is used for triggering the payment client to generate a payment interface according to the transaction information, and the start message is used for starting the payment client and triggering the payment client to generate the payment interface according to the transaction information.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the detecting whether a target character exists in address information of a page currently loaded by a user terminal includes:
detecting whether a target character exists in address information of a page loaded by the user terminal currently through a monitoring plug-in an operating system of the user terminal;
and if the transaction information exists, generating a jump message or a starting message, wherein the jump message is used for triggering the payment client to generate a payment interface according to the transaction information, and the starting message is used for starting the payment client and triggering the payment client to generate the payment interface according to the transaction information.
With reference to the first possible implementation manner of the first aspect, in a third possible implementation manner, the performing, by the payment client, online payment according to the transaction information includes:
sending the transaction information to a merchant server through the payment client so that the merchant server generates order information according to the transaction information and sends the order information to a payment server through the merchant server;
and after receiving a confirmation message sent by the payment server, performing online payment according to the transaction information, wherein the confirmation message is used for indicating that the identity of the merchant corresponding to the transaction information is verified.
With reference to the second possible implementation manner of the first aspect, in a fourth possible implementation manner, the performing, by the payment client, online payment according to the transaction information includes:
sending the transaction information to a merchant server through the payment client so that the merchant server generates order information according to the transaction information and sends the order information to a payment server through the merchant server;
and after receiving a confirmation message sent by the payment server, performing online payment according to the transaction information, wherein the confirmation message is used for indicating that the identity of the merchant and the identity of the user corresponding to the transaction information are verified.
In a second aspect, an embodiment of the present invention provides an apparatus, including: the system comprises a monitoring module, a payment module and a processing module, wherein the monitoring module is used for detecting whether a target character exists in address information of a page loaded by a user terminal currently, and the page loaded currently is a page to which a payment request sent by the user terminal points;
the analysis module is used for reading the transaction information corresponding to the payment request through a payment client in the user terminal when the target character exists;
and the payment module is used for carrying out online payment according to the transaction information through the payment client.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the monitoring module is specifically configured to generate the payment request according to a user operation through a service client in the user terminal, where a monitoring plug-in is run in the service client; and detecting whether a target character exists in the address information of the page loaded by the service client currently through the monitoring plug-in, if so, generating a jump message or a start message, wherein the jump message is used for triggering the payment client to generate a payment interface according to the transaction information, and the start message is used for starting the payment client and triggering the payment client to generate the payment interface according to the transaction information.
With reference to the second aspect, in a second possible implementation manner of the second aspect, the analysis module is specifically configured to detect, through a monitoring plug-in an operating system of the user terminal, whether a target character exists in address information of a page currently loaded by the user terminal; and if the transaction information exists, generating a jump message or a starting message, wherein the jump message is used for triggering the payment client to generate a payment interface according to the transaction information, and the starting message is used for starting the payment client and triggering the payment client to generate the payment interface according to the transaction information.
With reference to the first possible implementation manner of the second aspect, in a third possible implementation manner, the payment module is specifically configured to send the transaction information to a merchant-side server through the payment client, so that the merchant-side server generates order information according to the transaction information, and the merchant-side server sends the order information to a payment server; and after receiving a confirmation message sent by the payment server, performing online payment according to the transaction information, wherein the confirmation message is used for indicating that the identity of the merchant corresponding to the transaction information is verified.
With reference to the second possible implementation manner of the second aspect, in a fourth possible implementation manner, the payment module is specifically configured to send the transaction information to a merchant-side server through the payment client, so that the merchant-side server generates order information according to the transaction information, and the merchant-side server sends the order information to a payment server;
and after receiving a confirmation message sent by the payment server, performing online payment according to the transaction information, wherein the confirmation message is used for indicating that the identity of the merchant and the identity of the user corresponding to the transaction information are verified.
According to the payment method and the payment device, the target character in the address information of the page loaded by the user terminal at present is detected, when the target character exists, the transaction information corresponding to the payment request is read through the payment client side in the user terminal, and then online payment is carried out through the payment client side according to the transaction information. Compared with the means of online payment by loading the wap payment interface in the prior art, the method and the device realize the local loading and display of the payment interface at the user terminal, wherein data interaction between the user terminal and the server terminal is not required, so that the flow consumption and the use cost of a user are reduced.
Detailed Description
In order to make the technical solutions of the present invention better understood, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments. Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or coupled. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items. It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The payment method disclosed by the invention can be operated on a single electronic device; the payment device disclosed in the present invention may be implemented as a single device, or integrated into various media data playing devices, such as a mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a laptop Computer (laptop Computer), a Personal Digital Assistant (PDA), etc. For example: as shown in fig. 1, an electronic device according to an embodiment of the present invention may also be referred to as a user terminal in this embodiment, and includes an input unit, a processor unit, an output unit, a communication unit, a storage unit, a peripheral unit, and other components. These components communicate over one or more buses. It will be appreciated by those skilled in the art that the configuration of the electronic device shown in the figures is not intended to limit the invention, and may be a bus or star configuration, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Specifically, the method comprises the following steps: the input unit is used for realizing interaction between a user and the electronic equipment and/or inputting information into the electronic equipment. For example, the input unit may receive numeric or character information input by a user to generate a signal input related to user setting or function control. In the embodiment of the present invention, the input unit may be a touch panel, other human-computer interaction interfaces such as physical input keys and a microphone, and other external information capturing devices such as a camera. A touch panel, also referred to as a touch screen or touch screen, may collect an operation action on which a user touches or approaches. For example, the user uses any suitable object or accessory such as a finger, a stylus, etc. to operate on or near the touch panel, and drives the corresponding connection device according to a preset program. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects touch operation of a user, converts the detected touch operation into an electric signal and transmits the electric signal to the touch controller; the touch controller receives the electrical signal from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processing unit. The touch controller can also receive and execute commands sent by the processing unit. In addition, the touch panel may be implemented in various types, such as resistive, capacitive, Infrared (Infrared), and surface acoustic wave. In other embodiments of the present invention, the physical input keys used by the input unit may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. An input unit in the form of a microphone may collect speech input by a user or the environment and convert it into commands executable by the processing unit in the form of electrical signals.
The processor unit is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and executes various functions of the electronic device and/or processes data by operating or executing software programs and/or modules stored in the storage unit and calling data stored in the storage unit. The processor unit may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor Unit may include only a Central Processing Unit (CPU), or may be a combination of a GPU, a Digital Signal Processor (DSP), and a control chip (e.g., a baseband chip) in the communication Unit. In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
The communication unit is used for establishing a communication channel, enabling the electronic equipment to be connected to a remote server through the communication channel, and downloading media data from the remote server. The communication unit may include a wireless local Area Network (wlan) module, a bluetooth module, a baseband (Base Band) module, and other communication modules, and a Radio Frequency (RF) circuit corresponding to the communication module, and is configured to perform wlan communication, bluetooth communication, infrared communication, and/or cellular communication system communication, such as Wideband Code Division Multiple Access (W-CDMA) and/or High Speed Downlink Packet Access (HSDPA). The communication module is used for controlling communication of each component in the electronic equipment and can support Direct Memory Access (Direct Memory Access).
In different embodiments of the present invention, the various communication modules in the communication unit are generally in the form of Integrated Circuit chips (Integrated Circuit chips), and may be selectively combined without including all the communication modules and corresponding antenna groups. For example, the communication unit may comprise only a baseband chip, a radio frequency chip and a corresponding antenna to provide communication functionality in a cellular communication system. The electronic device may be connected to a Cellular Network or the Internet (Internet) via a wireless communication connection established by the communication unit, such as a wireless local area Network access or a WCDMA access. In some alternative embodiments of the present invention, the communication module, e.g., the baseband module, in the communication unit may be integrated into a processor unit, typically an APQ + MDM family platform as provided by the Qualcomm corporation.
The output unit includes, but is not limited to, an image output unit and a sound output unit. The image output unit is used for outputting characters, pictures and/or videos. The image output unit may include a display panel, such as a display panel configured in the form of an LCD (Liquid crystal display), an OLED (Organic Light-Emitting Diode), a Field Emission Display (FED), and the like. Alternatively, the image output unit may include a reflective display, such as an electrophoretic (electrophoretic) display, or a display using an Interferometric Modulation of Light (Interferometric Modulation). The image output unit may include a single display or a plurality of displays of different sizes. In an embodiment of the present invention, the touch panel used in the input unit can also be used as a display panel of the output unit. For example, when the touch panel detects a gesture operation of touch or proximity thereon, the gesture operation is transmitted to the processing unit to determine the type of the touch event, and then the processing unit provides a corresponding visual output on the display panel according to the type of the touch event. Although the input unit and the output unit are shown in fig. 1 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel may be integrated with the display panel to implement the input and output functions of the electronic device. For example, the image output unit may display various Graphical User Interfaces (GUIs) as virtual control elements, including but not limited to windows, scroll shafts, icons, and scrapbooks, for a User to operate in a touch manner.
The storage unit may be used to store software programs and modules, and the processing unit executes various functional applications of the electronic device and implements data processing by operating the software programs and modules stored in the storage unit. The storage unit mainly comprises a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs required by at least one function, such as a sound playing program, an image playing program and the like; the data storage area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. In an embodiment of the invention, the Memory unit may include a volatile Memory, such as a Nonvolatile dynamic Random Access Memory (NVRAM), a Phase Change Random Access Memory (PRAM), a Magnetoresistive Random Access Memory (MRAM), and a non-volatile Memory, such as at least one magnetic disk Memory device, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a flash Memory device, such as a flash Memory (NOR) or a flash Memory (NAND) or a flash Memory. The nonvolatile memory stores an operating system and an application program executed by the processing unit. The processing unit loads operating programs and data from the non-volatile memory into the memory and stores digital content in the mass storage device. The operating system includes various components and/or drivers for controlling and managing conventional system tasks, such as memory management, storage device control, power management, etc., as well as facilitating communication between various hardware and software components. In the embodiment of the present invention, the operating system may be an Android system developed by Google, an iOS system developed by Apple, a Windows operating system developed by Microsoft, or an embedded operating system such as Vxworks.
The application programs include any application installed on the electronic device including, but not limited to, browser, email, instant messaging service, word processing, keyboard virtualization, Widget (Widget), encryption, digital rights management, voice recognition, voice replication, positioning (e.g., functions provided by the global positioning system), music playing, and so forth. Particularly in this embodiment, the application program includes: the system comprises a service client and an operation monitoring plug-in running in the service client; and/or a monitoring plug-in the operating system.
The power supply is used to power the various components of the electronic device to maintain its operation. As a general understanding, the power source may be a built-in battery, such as a common lithium ion battery, a nickel metal hydride battery, and the like, and also include an external power source that directly supplies power to the electronic device, such as an AC adapter, and the like. In some embodiments of the invention, the power supply may be more broadly defined and may include, for example, a power management system, a charging system, a power failure detection circuit, a power converter or inverter, a power status indicator (e.g., a light emitting diode), and any other components associated with power generation, management, and distribution of an electronic device.
An embodiment of the present invention provides a payment method, as shown in fig. 2, including:
s1, detecting whether the address information of the current loaded page of the user terminal has the target character.
And the currently loaded page is a page to which a payment request sent by the user terminal is directed. In this embodiment, the address information may specifically be a web page address of a page to which the payment request is directed, an address to which a URL opened by a user operation is directed, or other types of page address information. The target character may specifically be preset character string information, such as: domain name information of the online payment platform; preset special characters or keywords (wherein the special characters or keywords are automatically generated by a server of the online payment platform and added in the address information), and the like.
If the target character does not exist, the payment process provided by the embodiment is not executed.
And S2, if the target character exists, reading the transaction information corresponding to the payment request through the payment client in the user terminal.
For example: the user terminal analyzes the network request initiated by the third-party app, judges whether a preset keyword exists in address information of a page pointed by the network request initiated by the third-party app, if so, further judges that the current request is a payment mode of a wap cash desk, and if the payment mode is payment through an sdk (Software Development Kit) client, sends the request (including parameters) to a payment client for analysis, wherein the payment client can be a sdk client specifically. sdk after receiving the request and parameters, the client will take out the relevant data and analyze the data to get the transaction information needed by the payment, and then start the payment interface for the user to finish the payment. The transaction information may specifically include information such as an order number, an amount, a payment account number, an account name, and the like, and may further include information such as a commodity type and a commodity name.
And S3, carrying out online payment according to the transaction information through the payment client.
In this embodiment, in the case that the user terminal has a payment client locally, the payment client performs online payment according to the transaction information, where the payment client may specifically be an sdk client or a sdk payment plug-in. And if the page loaded by the user terminal is the payment page pointed by the wap payment request initiated by the third-party app, replacing the wap payment request initiated by the third-party app, and calling the local payment client instead. In this embodiment, the payment client and the payment server may be affiliated with the same payment system, which may be implemented by an SDK based payment package or payment instrument.
The user terminal can judge whether the current payment request initiated by the third-party app is in a wap payment mode according to the content of the target character in the address information, wherein whether the content of the target character corresponds to the wap payment mode can be set by the online payment platform. If yes, judging whether a payment client exists locally, if yes, calling the local payment client to complete payment, and if not, continuing to adopt the wap payment mode.
According to the payment method provided by the embodiment of the invention, the target character in the address information of the page loaded by the user terminal at present is detected, when the target character exists, the transaction information corresponding to the payment request is read through the payment client side in the user terminal, and then online payment is carried out through the payment client side according to the transaction information. Compared with the means of online payment by loading the wap payment interface in the prior art, the method and the device realize the local loading and display of the payment interface at the user terminal, wherein data interaction between the user terminal and the server terminal is not required, so that the flow consumption and the use cost of a user are reduced.
In this embodiment, the detecting whether the target character exists in the address information of the page currently loaded by the user terminal includes:
and generating the payment request according to user operation through a service client in the user terminal, wherein a monitoring plug-in is operated in the service client. And detecting whether a target character exists in the address information of the page loaded by the service client currently through the monitoring plug-in, and if so, generating a jump message or a start message.
And if the target character does not exist, continuing to execute wap payment.
The skip message is used for triggering the payment client to generate a payment interface according to the transaction information, and the start message is used for starting the payment client and triggering the payment client to generate the payment interface according to the transaction information. The monitoring plug-in is specifically used for detecting address information of a currently loaded page of the service client in real time, and generating a jump message or a start message when target characters exist in the address information so as to jump to a payment interface of the payment client.
In this embodiment, the service client may specifically be a third-party application app satisfying a federated trusted login function, or may also be a third-party application app satisfying an untrusted login, where the federated trusted login means: the service client and the payment client have unified user accounts and passwords, the same account information of the user can log in the service client and the payment client at the same time, and specifically, the third-party application APP can be a shopping APP provided by an operator of an online shopping platform or clients such as APPs for realizing e-commerce functions. For example: in the scenario of adopting the united trust login, a merchant of the online shopping platform submits order information and user information to a payment server (specifically, an SDK server can be used as the payment server), the identity of the merchant needs to be authenticated by the SDK server, and when the identity authentication of the merchant is successful, a user uses the SDK server in a trust login mode; in the scene of login without joint trust, a merchant of the online shopping platform submits order information to the SDK server, the SDK server performs merchant identity authentication and user identity authentication, and the SDK server is called after the two kinds of authentication are passed.
Further, in this embodiment, the monitoring plug-in is configured in the service client and is encapsulated in the installation package of the service client, and after the user terminal downloads the installation package of the service client, the service client configured with the monitoring plug-in is installed. The online payment is carried out according to the transaction information through the payment client, and the online payment comprises the following steps:
and sending the transaction information to a merchant server through the payment client so that the merchant server generates order information according to the transaction information and sends the order information to a payment server through the merchant server. And after receiving a confirmation message sent by the payment server, performing online payment according to the transaction information, wherein the confirmation message is used for indicating that the identity of the merchant corresponding to the transaction information is verified. For example:
as shown in fig. 3, the embodiment provides a specific application scenario for performing online payment by the payment client according to the transaction information, which includes:
1. a user selects commodities at a service client, places orders and triggers a payment order;
2. after a monitoring plug-in a service client detects a target character, generating order information according to transaction information obtained by ordering operation of a user, and acquiring user account information;
3. the service client sends the order information and the user account information to a payment client and requests payment;
4. the payment client performs local initialization processing on the current account and the terminal information to generate a corresponding key, and the key can access the account and the terminal equipment information stored by the payment server;
5. the payment client sends the order information and the user account information to a payment server of the mobile internet;
6. the payment server performs merchant identity authentication and user identity authentication and puts the order into storage;
7. the payment server returns the merchant, the user identity authentication result and the corresponding payment order to the payment client, wherein if the payment server passes the verification and the account state is activated, the payment client is informed that the user can log in trustiny, and the account state, the account authority, the equipment information, the confidential information, the balance information and the bank card information of the corresponding account are returned to the payment client; if the payment server passes the verification and the account state is not activated, only providing a quick payment mode for the user not activated;
8. if the account state returned by the payment server is that the account is not activated, the payment client loads and displays a payment password setting page;
9. the payment client renders and displays a corresponding cash register page according to the current service type and account information returned by the payment server, the user selects a payment mode and inputs a payment check item, wherein the account information comprises but is not limited to the payment mode, balance, a bank card, payment limit, the payment check item and the like.
In this embodiment, the monitoring plug-in may also be set in an operating system, for example, in a system control for loading a web page, so that when the service client is provided for an operator of a non-agreement partner, the service client monitors the web page and triggers a jump. The detecting address information of the page currently loaded by the user terminal includes:
and detecting whether a target character exists in the address information of the page loaded by the user terminal currently through a monitoring plug-in an operating system of the user terminal.
And if the transaction information exists, generating a jump message or a starting message, wherein the jump message is used for triggering the payment client to generate a payment interface according to the transaction information, and the starting message is used for starting the payment client and triggering the payment client to generate the payment interface according to the transaction information.
Further, since a monitoring plug-in does not exist in a service client provided by an operator of a non-agreement partner, for page monitoring in the case that the monitoring plug-in does not exist in the service client, the present embodiment provides a scheme in which the monitoring plug-in is set in an operating system to monitor a page and trigger a jump. The scheme of setting a monitoring page in an operating system and triggering jump based on a monitoring plug-in, wherein the online payment is carried out according to the transaction information through the payment client, and comprises the following steps:
and sending the transaction information to a merchant server through the payment client so that the merchant server generates order information according to the transaction information and sends the order information to a payment server through the merchant server.
And after receiving a confirmation message sent by the payment server, performing online payment according to the transaction information, wherein the confirmation message is used for indicating that the identity of the merchant and the identity of the user corresponding to the transaction information are verified.
As shown in fig. 4, this embodiment further provides a specific application scenario for performing online payment by the payment client according to the transaction information, including:
1. a user selects commodities at a service client, places orders and triggers a payment order, and the service client sends corresponding order placing information to a merchant server;
2. the merchant server generates an order;
3. the merchant server submits the order information to a payment client and requests payment;
4. the payment client side carries out initialization processing on the current account and the terminal information, generates a corresponding key, the key can access the account and the terminal equipment information stored by the payment server, if the account information corresponding to the current equipment cannot be inquired or the current equipment does not have a corresponding account use record, user identity authentication is required, the step 5 is carried out, and if a history matching record exists, the step 6 is directly carried out;
5. the user fills in identity authentication information, wherein the page simultaneously provides a payment password setting text link, and the payment password setting can be accessed by clicking;
6. the client submits the merchant order information and the user identity information to a mobile internet payment server for verification;
7. the payment server verifies the result, wherein if the payment server verifies successfully, the account state, the account authority, the equipment information, the balance information and the bank card information of the user to the account are returned to the payment client side at the same time; and if the payment server verifies that the user does not set the payment password, the payment client loads and displays a payment password setting page.
An embodiment of the present invention further provides a payment apparatus, as shown in fig. 5, including:
the system comprises a monitoring module, a payment module and a processing module, wherein the monitoring module is used for detecting whether a target character exists in address information of a page loaded by a user terminal currently, and the page loaded currently is a page to which a payment request sent by the user terminal points;
the analysis module is used for reading the transaction information corresponding to the payment request through a payment client in the user terminal when the target character exists;
and the payment module is used for carrying out online payment according to the transaction information through the payment client.
In this embodiment, the monitoring module is specifically configured to generate the payment request according to a user operation through a service client in the user terminal, where a monitoring plug-in is run in the service client; and detecting whether a target character exists in the address information of the page loaded by the service client currently through the monitoring plug-in, if so, generating a jump message or a start message, wherein the jump message is used for triggering the payment client to generate a payment interface according to the transaction information, and the start message is used for starting the payment client and triggering the payment client to generate the payment interface according to the transaction information.
In this embodiment, the analysis module is specifically configured to detect, through a monitoring plug-in an operating system of the user terminal, whether a target character exists in address information of a page currently loaded by the user terminal; and if the transaction information exists, generating a jump message or a starting message, wherein the jump message is used for triggering the payment client to generate a payment interface according to the transaction information, and the starting message is used for starting the payment client and triggering the payment client to generate the payment interface according to the transaction information.
In this embodiment, the payment module is specifically configured to send the transaction information to a merchant-side server through the payment client, so that the merchant-side server generates order information according to the transaction information, and the merchant-side server sends the order information to a payment server; and after receiving a confirmation message sent by the payment server, performing online payment according to the transaction information, wherein the confirmation message is used for indicating that the identity of the merchant corresponding to the transaction information is verified.
In this embodiment, the payment client is specifically configured to send the transaction information to a merchant server, so that the merchant server generates order information according to the transaction information, and the merchant server sends the order information to a payment server;
and after receiving a confirmation message sent by the payment server, performing online payment according to the transaction information, wherein the confirmation message is used for indicating that the identity of the merchant and the identity of the user corresponding to the transaction information are verified.
According to the payment device provided by the embodiment of the invention, the target character in the address information of the page loaded by the user terminal at present is detected, when the target character exists, the transaction information corresponding to the payment request is read through the payment client side in the user terminal, and then online payment is carried out through the payment client side according to the transaction information. Compared with the means of online payment by loading the wap payment interface in the prior art, the method and the device realize the local loading and display of the payment interface at the user terminal, wherein data interaction between the user terminal and the server terminal is not required, so that the flow consumption and the use cost of a user are reduced.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.