CN111213167A - Payment method, unlocking method and related terminal - Google Patents

Payment method, unlocking method and related terminal Download PDF

Info

Publication number
CN111213167A
CN111213167A CN201880065550.8A CN201880065550A CN111213167A CN 111213167 A CN111213167 A CN 111213167A CN 201880065550 A CN201880065550 A CN 201880065550A CN 111213167 A CN111213167 A CN 111213167A
Authority
CN
China
Prior art keywords
information
terminal
payment
certificate
collection
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.)
Granted
Application number
CN201880065550.8A
Other languages
Chinese (zh)
Other versions
CN111213167B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN111213167A publication Critical patent/CN111213167A/en
Application granted granted Critical
Publication of CN111213167B publication Critical patent/CN111213167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/02Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]

Abstract

The embodiment of the application provides a payment method and a related terminal, which are used for realizing quick payment without code scanning operation for a user, and the method not only ensures the safety of the payment process, but also simplifies the user operation and improves the payment efficiency; the embodiment of the application also provides an unlocking method and a related terminal, which are used for realizing quick unlocking without code scanning operation.

Description

Payment method, unlocking method and related terminal Technical Field
The invention relates to the technical field of terminals, in particular to a payment method, an unlocking method and a related terminal.
Background
With the rapid development of the mobile internet technology, the two-dimensional code has higher and higher frequency in the life of people, so that the life of people is greatly facilitated; however, since the two-dimensional code manufacturing threshold is low, a lawless person can easily implant viruses, trojan programs, fee deduction software and the like into the two-dimensional code, so that a consumer is cheated; because the two-dimensional code is an information technology which can not be identified by naked eyes, some lawbreakers adopt a pasting mode to cover the self-made two-dimensional code with the two-dimensional code of a merchant, so that consumers can not identify the two-dimensional code at all, and property loss is easily caused.
Disclosure of Invention
In view of this, the present application provides a payment method and a related terminal, which are used for providing a quick payment method without code scanning for a user, so as to ensure the security of a payment process, simplify the payment operation of the user, and shorten the payment time.
The embodiment of the application also provides an unlocking method and a related terminal, which are used for providing a quick payment mode without code scanning for a user, so that the safety of the unlocking process is ensured, the unlocking operation of the user is simplified, and the unlocking time is shortened.
In a first aspect of the application, there is provided a payment method comprising:
accessing to a wireless local area network through an authentication mode of a certificate, wherein the certificate comprises at least one piece of collection information, and each piece of collection information in the at least one piece of collection information comprises collection account information and collection server information;
responding to payment operation triggered by a user, and determining a piece of collection information as collection information to be used according to the certificate;
and communicating with the corresponding collection server according to the collection server information and the collection account information in the collection information to be used, so as to realize payment.
With reference to the first aspect, in a first possible implementation manner, the method further includes:
displaying a payment control, wherein the payment control is used for receiving payment operation of a user; the payment control and the payment client have a binding relationship;
the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
determining the type of a payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
and analyzing a piece of payment information matched with the type of the payment client from the certificate according to the type of the payment client to be used as the payment information to be used.
With reference to the first aspect, in a second possible implementation manner, there is one piece of payment information in the certificate;
the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
and responding to payment operation triggered by a user, analyzing the certificate to obtain collection information, and determining the collection information obtained by analysis as collection information to be used.
With reference to the first aspect, in a third possible implementation manner, at least two pieces of payment information in the certificate are received; each of the at least two payment information further comprises: payee information;
the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
responding to payment operation triggered by a user, and analyzing the certificate to obtain at least two pieces of collection information;
and displaying the payee information included in each piece of the at least two pieces of payee information, and determining the corresponding payee information as the payee information to be used according to the selected payee information.
With reference to the first aspect, in a fourth possible implementation manner, there are at least two pieces of payment information in the certificate, and each piece of payment information in the at least two pieces of payment information further includes: the geographic location of the payee;
the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
responding to payment operation triggered by a user, and analyzing the certificate to obtain at least two pieces of collection information;
and determining one piece of money receiving information matched with the current geographical position of the terminal as the money receiving information to be used according to the geographical position of the money receiving party in each piece of money receiving information in the at least two pieces of money receiving information.
With reference to the first aspect, in a fifth possible implementation manner, the determining, according to the certificate, that one piece of payment information is to be used as the payment information to be used in response to the payment operation triggered by the user includes:
sending a collection information acquisition request to the wireless access point in response to payment operation triggered by a user;
and receiving the to-be-used collection information fed back by the wireless access point, wherein the to-be-used collection information is obtained by the authentication server analyzing the certificate according to the collection information acquisition request.
With reference to the first aspect, in a sixth possible implementation manner, the accessing to a wireless local area network by using a certificate authentication method includes:
sending an authentication request to the wireless access point through an authentication address in the certificate;
receiving an authentication result fed back by the wireless access point, and accessing the wireless local area network if the authentication result is that the authentication is passed; and the authentication result is obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
In a second aspect of the present application, there is provided a terminal comprising:
the system comprises a network access module, a wireless local area network access module and a receiving server module, wherein the network access module is used for accessing a wireless local area network through an authentication mode of a certificate, the certificate comprises at least one piece of receiving information, and each piece of receiving information in the at least one piece of receiving information comprises receiving account information and receiving server information;
the determining module is used for responding to payment operation triggered by a user and determining a piece of money receiving information as the money receiving information to be used according to the certificate;
and the payment module is used for communicating with the corresponding collection server according to the collection server information and the collection account information in the collection information to be used so as to realize payment.
With reference to the second aspect, in a first possible implementation manner, the apparatus further includes:
the payment control display module is used for displaying a payment control, and the payment control is used for receiving payment operation of a user; the payment control and the payment client have a binding relationship;
the determining module is specifically configured to:
determining the type of a payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
and analyzing a piece of payment information matched with the type of the payment client from the certificate according to the type of the payment client to be used as the payment information to be used.
And the control display module is used for displaying the payment control, and the payment control is used for receiving the payment operation of the user.
With reference to the second aspect, in a second possible implementation manner, there is a piece of payment information in the certificate; the determining module is specifically configured to:
and responding to payment operation triggered by a user, analyzing the certificate to obtain collection information, and determining the collection information obtained by analysis as collection information to be used.
With reference to the second aspect, in a third possible implementation manner, at least two pieces of payment information in the certificate are received; each of the at least two payment information further comprises: payee information;
the determining module is specifically configured to:
responding to payment operation triggered by a user, and analyzing the certificate to obtain at least two pieces of collection information;
and displaying the payee information included in each piece of the at least two pieces of payee information, and determining the corresponding payee information as the payee information to be used according to the selected payee information.
With reference to the second aspect, in a fourth possible implementation manner, there are at least two pieces of payment information in the certificate, and each piece of payment information in the at least two pieces of payment information further includes: the geographic location of the payee;
the determining module is specifically configured to:
responding to payment operation triggered by a user, and analyzing the certificate to obtain at least two pieces of collection information;
and determining one piece of money receiving information matched with the current geographical position of the terminal as the money receiving information to be used according to the geographical position of the money receiving party in each piece of money receiving information in the at least two pieces of money receiving information.
With reference to the second aspect, in a fifth possible implementation manner, the determining module is specifically configured to:
sending a collection information acquisition request to the wireless access point in response to payment operation triggered by a user;
and receiving the to-be-used collection information fed back by the wireless access point, wherein the to-be-used collection information is obtained by the authentication server analyzing the certificate according to the collection information acquisition request.
With reference to the second aspect, in a sixth possible implementation manner, the network access module is specifically configured to:
sending an authentication request to the wireless access point through an authentication address in the certificate;
receiving an authentication result fed back by the wireless access point, and accessing the wireless local area network if the authentication result is that the authentication is passed; and the authentication result is obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
In a third aspect of the present application, there is provided a terminal comprising:
a processor and a memory;
the antenna is used for receiving the certificate;
the memory stores computer instructions, wherein the processor is configured to perform the following steps when the computer instructions in the memory are executed:
accessing to a wireless local area network through an authentication mode of a certificate, wherein the certificate comprises at least one piece of collection information, and each piece of collection information in the at least one piece of collection information comprises collection account information and collection server information;
responding to a payment request triggered by a user, and determining a piece of payment information as the payment information to be used according to the certificate;
and communicating with the corresponding collection server according to the collection server information and the collection account information in the collection information to be used, so as to realize payment.
With reference to the third aspect, in a first possible implementation manner, the processor is further configured to:
displaying a payment control, wherein the payment control is used for receiving payment operation of a user; the payment control and the payment client have a binding relationship;
the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
determining the type of a payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
and analyzing a piece of payment information matched with the type of the payment client from the certificate according to the type of the payment client to be used as the payment information to be used.
With reference to the third aspect, in a second possible implementation manner, there is one piece of payment information in the certificate;
the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
and responding to payment operation triggered by a user, analyzing the certificate to obtain collection information, and determining the collection information obtained by analysis as collection information to be used.
With reference to the third aspect, in a third possible implementation manner, at least two pieces of payment information in the certificate are received; each of the at least two payment information further comprises: payee information;
the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
responding to payment operation triggered by a user, and analyzing the certificate to obtain at least two pieces of collection information;
and displaying the payee information included in each piece of the at least two pieces of payee information, and determining the corresponding payee information as the payee information to be used according to the selected payee information.
With reference to the third aspect, in a fourth possible implementation manner, there are at least two pieces of payment information in the certificate, and each piece of payment information in the at least two pieces of payment information further includes: the geographic location of the payee;
the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
responding to payment operation triggered by a user, and analyzing the certificate to obtain at least two pieces of collection information;
and determining one piece of money receiving information matched with the current geographical position of the terminal as the money receiving information to be used according to the geographical position of the money receiving party in each piece of money receiving information in the at least two pieces of money receiving information.
With reference to the third aspect, in a fifth possible implementation manner, the determining, in response to a payment operation triggered by a user and according to the certificate, that one piece of payment information is to be used as the payment information to be used includes:
sending a collection information acquisition request to the wireless access point in response to payment operation triggered by a user;
and receiving the to-be-used collection information fed back by the wireless access point, wherein the to-be-used collection information is obtained by the authentication server analyzing the certificate according to the collection information acquisition request.
With reference to the third aspect, in a sixth possible implementation manner, the accessing to the wireless local area network by using a certificate authentication method includes:
sending an authentication request to the wireless access point through an authentication address in the certificate;
receiving an authentication result fed back by the wireless access point, and accessing the wireless local area network if the authentication result is that the authentication is passed; and the authentication result is obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
Compared with the prior art, the technical solutions of the above first aspect, second aspect and third aspect of the present application have the following advantages:
in the payment method and the related terminal provided by the embodiment of the application, the payment receiving information is pre-built in the certificate of the wireless local area network, the terminal ensures the network security of accessing the wireless local area network in a certificate authentication mode, and in the wireless local area network, if a user does not need to scan the payment receiving two-dimensional code of a merchant, the payment process is started only in a mode of triggering payment operation; and the user triggers the payment operation through the terminal, the terminal determines the current to-be-used collection information according to the collection information carried in the certificate, and then interacts with the collection server according to the to-be-used collection information to realize the payment service.
For the user, the payment is finished without queuing and scanning the collection code in a merchant, so that a queuing and code scanning ring is omitted, and the payment time of the user is saved; for the merchant, the payment receiving code does not need to be displayed externally, so that illegal copy is prevented from carrying out illegal covering action, and the safety of the payment receiving information is ensured; in addition, the process that the terminal accesses the wireless local area network needs to be authenticated by the certificate, so that the network security of the terminal in the payment process can be ensured, and the network intrusion of illegal members is prevented.
In a fourth aspect of the present application, an unlocking method applied to a first terminal includes:
establishing Bluetooth connection with a second terminal in a Bluetooth certificate authentication mode, wherein the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal is provided with a unique identifier of the second terminal and server information of the second terminal;
responding to an unlocking operation triggered by a user, sending an acquisition request to the second terminal, and receiving the unique identifier of the second terminal and the server information fed back by the second terminal;
and communicating with a corresponding server according to the information of the collection server and the identifier of the second terminal to unlock the second terminal.
With reference to the fourth aspect, in a first possible implementation manner, the method further includes:
and displaying a control, wherein the control is used for receiving the unlocking operation of a user.
In a fifth aspect of the present application, there is provided a first terminal comprising:
the Bluetooth connection module is used for establishing Bluetooth connection with a second terminal in a Bluetooth certificate authentication mode, the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal comprises the unique identifier of the second terminal and the server information of the second terminal;
the information acquisition module is used for responding to unlocking operation triggered by a user, sending an acquisition request to the second terminal, and receiving the unique identifier of the second terminal and the server information fed back by the second terminal;
and the unlocking module is used for communicating with the corresponding server according to the information of the collection server and the identifier of the second terminal to realize the unlocking of the second terminal.
With reference to the fourth aspect, in a first possible implementation manner, the terminal further includes:
the display module is used for displaying a control, and the control is used for receiving the unlocking operation of a user.
In a fifth aspect of the present application, there is provided a first terminal comprising:
a processor and a memory; the memory stores computer instructions, wherein the processor is configured to perform the following steps when the computer instructions in the memory are executed:
establishing Bluetooth connection with a second terminal in a Bluetooth certificate authentication mode, wherein the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal is provided with a unique identifier of the second terminal and server information of the second terminal;
responding to an unlocking operation triggered by a user, sending an acquisition request to the second terminal, and receiving the unique identifier of the second terminal and the server information fed back by the second terminal;
and communicating with a corresponding server according to the information of the collection server and the identifier of the second terminal to unlock the second terminal.
With reference to the fifth aspect, in a first possible implementation manner, the processor is further configured to perform the following steps:
and displaying a control, wherein the control is used for receiving the unlocking operation of a user.
In a sixth aspect of the present application, an unlocking method applied to a second terminal includes:
establishing Bluetooth connection with a first terminal in a Bluetooth certificate authentication mode; the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal comprises the unique identifier of the second terminal and the server information of the second terminal;
receiving an unlocking request sent by the first terminal, and feeding back the unique identifier of the second terminal and the server information of the second terminal to the first terminal;
and receiving an unlocking password and opening the coded lock.
In a seventh aspect of the present application, there is provided a second terminal comprising:
the connection establishing module is used for establishing Bluetooth connection with the first terminal in a Bluetooth certificate authentication mode; the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal comprises the unique identifier of the second terminal and the server information of the second terminal;
the information feedback module is used for receiving an unlocking request sent by the first terminal and feeding back the unique identifier of the second terminal and the server information of the second terminal to the first terminal;
and the unlocking module is used for receiving the unlocking password and unlocking the coded lock.
In an eighth aspect of the present application, there is provided a second terminal comprising:
a processor and a memory; the memory stores computer instructions, wherein the processor is configured to perform the following steps when the computer instructions in the memory are executed:
establishing Bluetooth connection with a first terminal in a Bluetooth certificate authentication mode; the Bluetooth certificate comprises the unique identifier of the second terminal and the server information of the second terminal;
receiving an unlocking request sent by the first terminal, and feeding back the unique identifier of the second terminal and the server information of the second terminal to the first terminal;
and receiving an unlocking password and opening the coded lock.
Compared with the prior art, the technical solutions of the above fourth, fifth and sixth aspects of the present application have the following advantages:
according to the unlocking method and the related equipment provided by the embodiment of the application, the unique identifier of the second terminal and the server information of the second terminal are pre-built in the Bluetooth certificate, when a user needs to unlock, the user does not need to execute code scanning operation to obtain the information of the second terminal, but the first terminal receives the information of the second equipment through Bluetooth, and the information is used for unlocking the second terminal.
For a user, when the second terminal needs to be unlocked, the two-dimensional code of the second device does not need to be manually scanned, so that the unlocking operation of the user is simplified, and the unlocking time is shortened; for a merchant, a two-dimensional code does not need to be deployed on the second terminal, so that illegal parts are prevented from carrying out illegal covering behaviors; in addition, because the first terminal and the second terminal are connected through the network established in the Bluetooth authentication mode, the first terminal and the second terminal can ensure the safety of the unlocking process through the point-to-point communication mode.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a flow chart of a payment method in an embodiment of the present application;
FIG. 2 is an exemplary diagram of a payment control in an embodiment of the present application;
FIG. 3 is another exemplary diagram of a payment control in an embodiment of the present application;
FIG. 4 is a schematic diagram of a user triggering a payment operation in an embodiment of the application;
FIG. 5 is another schematic diagram of a user triggering a payment operation in an embodiment of the application;
fig. 6 is a block diagram of a terminal in an embodiment of the present application;
fig. 7 is a hardware configuration diagram of a terminal in an embodiment of the present application;
FIG. 8 is a flow chart of a method of unlocking in an embodiment of the present application;
fig. 9 is a block diagram of a first terminal in an embodiment of the present application;
fig. 10 is a hardware configuration diagram of a first terminal in an embodiment of the present application;
FIG. 11 is a flow chart of another unlocking method in an embodiment of the present application;
fig. 12 is a structural diagram of a second terminal in an embodiment of the present application;
fig. 13 is a hardware configuration diagram of a second terminal in the embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
First, a description is given of an application scenario of the payment method and the related terminal provided in the embodiment of the present application.
After the user consumes the business, the user generally selects to access a network provided by the business in order to save the flow, and the payment is quickly finished in an electronic payment mode; for example, a user uses a terminal to start a payment client preinstalled on the terminal, such as a WeChat client, a Paibao client, and the like, which can realize a payment function; taking the WeChat client as an example, the user clicks and starts the WeChat client, then clicks and scans a function, aligns the two-dimensional collection code provided by the merchant to obtain the collection information of the merchant, the payment client displays the payment page, the user inputs the payment amount on the payment page, and clicks the payment control to complete one-time payment.
Sometimes, however, the network provided by the merchant is easily attacked by lawless persons, and the consumer may join the network of the lawless persons to cause the network attack, so that the electronic payment process is unsafe and property loss is easily caused; in addition, lawbreakers can adopt a pasting mode, the self-made two-dimensional code covers the collection two-dimensional code of the merchant, consumers can not identify the two-dimensional code, and the property loss is easily caused by the fact that payment is realized through code scanning.
Based on this, the embodiment of the application provides a payment method, which provides a payment mode without code scanning for a user, can ensure the safety of a payment process, simplifies the payment operation of the user, and improves the payment efficiency.
The payment method provided in the embodiment of the application can be applied to a terminal, the terminal can be a smart phone, a tablet computer, a smart watch and the like, and equipment for realizing electronic payment by loading a payment client can be loaded. The payment client refers to a client for implementing an electronic payment function, such as a wechat client, a pay bank client, and the like, and the payment client may be loaded in a terminal in an Application (APP) form or may exist in a web page form.
Referring to fig. 1, a flowchart of a payment method provided in an embodiment of the present application is shown, where the method is applied to a terminal, and the method includes the following steps:
step 101, a terminal accesses a wireless local area network through an authentication mode of a certificate, wherein the certificate comprises at least one piece of collection information, and each piece of collection information in the at least one piece of collection information comprises collection account information and collection server information;
the Wireless Local Area Networks (WLANs) are Local Area Networks that transmit data over the air by using a Wireless technology, and the WLANs can conveniently and quickly accept newly added terminals. The wlan supports a variety of different network protocols, and the description below is only made with reference to a WiFi network as an example.
When the wireless local area network is actually deployed, the wireless local area network comprises a wireless access point and an authentication server, network access service is provided for a terminal through the wireless access point, when the terminal searches the wireless local area network for the first time, the wireless access point sends an access prompt to the terminal to prompt a user to install a WiFi certificate, the WiFi certificate not only carries authentication related information, but also is internally provided with collection information, the collection information refers to collection information of a collector, and one collection information at least comprises collection account information and collection server information.
The collection account information refers to bank account information of a receiver, and at least comprises the following information: an account number, or information that can identify a user account; of course, the information may also include the account name, account opening row, and the like; the checkout server information may include the network address (IP address, MAC address, etc.), domain name, name of the checkout server, or other information that may identify the server.
In this embodiment, the terminal may access the wireless local area network by the following method, where the method includes:
sending an authentication request to the wireless access point through an authentication address in the certificate;
receiving an authentication result fed back by the wireless access point, and accessing the wireless local area network if the authentication result is that the authentication is passed; and the authentication result is obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
In practical application, a user may install a certificate management client on a terminal in advance, where the certificate management client is used to automatically download, update, and manage a certificate of a wireless local area network, such as a WiFi certificate, and when the terminal accesses the WiFi network, the terminal automatically downloads the WiFi certificate by using the certificate management client.
In the embodiment of the application, the terminal searches for the WiFi network, and after the WiFi network passes the WiFi authentication, the WiFi network allows the terminal to access; the authentication method is not specifically limited in the embodiments of the present application, and in order to facilitate understanding of implementation of the embodiments of the present application, an optional implementation manner is given below:
the terminal connects WiFi through SSID and starts 802.1x authentication by using the authentication URL in the WiFi certificate, and sends a WiFi authentication request to the wireless access point so that the authentication server finishes WiFi authentication feedback authentication results; and the terminal receives an authentication result fed back by the wireless access point, and the terminal accesses the WiFi network when the authentication result is that the authentication is passed.
Step 102, responding to payment operation triggered by a user, and determining a piece of payment information as the payment information to be used according to the certificate;
in the embodiment of the application, the terminal provides a quick payment mode without code scanning for a user, the user triggers a payment operation, the terminal responds to the payment operation, and the current required payment information of the user is determined according to the WiFi certificate and is used as the to-be-used payment information.
In an optional implementation manner, a terminal displays a payment control, and the payment control is used for receiving payment operation of a user; the payment control and the payment client have a binding relationship;
step 102 specifically includes:
determining the type of a payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
and analyzing a piece of payment information matched with the type of the payment client from the certificate according to the type of the payment client to be used as the payment information to be used.
In practical application, the terminal can display the payment control on a page of the pre-installed payment client in a plug-in mode. And the user touches the payment control, the terminal responds to the payment operation, and the terminal analyzes a piece of money receiving information matched with the type of the payment client from the certificate as the money receiving information to be used according to the binding relationship between the payment control and the corresponding payment client.
For example, referring to fig. 2, fig. 2 is a schematic diagram of a user triggering a payment operation in this embodiment, and fig. 2 takes a scenario in which a wechat client is pre-loaded in a terminal as an example, the terminal displays a payment control, such as a "no-scan-code-scanning payment control", on a "discovery" page of the wechat client, where the payment control is another original function control independent of the wechat client, and does not affect other functions of the wechat client, such as "scan", "shake", and the like, after a user purchases a commodity, and when payment is needed, the user directly touches the payment control, and then the payment operation is triggered, and the terminal responds to the payment operation, and parses payment information matched with the type of the wechat client from a certificate as to-be-used payment information.
In practical application, a terminal provides a hardware payment control for a user, or provides a software control on an interactive interface of a system of the terminal, wherein the payment control can be in the form of a fingerprint control, a button control, a shortcut icon control and the like; if the payment control is the fingerprint control, the terminal also stores the binding relationship between the fingerprint and the payment client type so as to facilitate the user to start a specific payment client through the specific fingerprint. Moreover, the safety of the quick payment can be further ensured through the form of the fingerprint control, and malicious consumption of other people for replacing users is avoided.
For example, referring to fig. 3, fig. 3 is another schematic diagram of a user triggering a payment operation in an embodiment of the present application, and as shown in fig. 3, a terminal displays a payment control in the form of a shortcut icon on an interactive interface, where the payment control has a binding relationship with a payment client preinstalled on the terminal, and the binding relationship is dynamically updated according to an actual situation of the payment client on the terminal, for example, if only one wechat client is preinstalled on the terminal, the binding relationship is a one-to-one binding relationship between the payment control and the wechat client; then, the user downloads and installs the Payment treasure client, and the terminal updates the binding relationship to be a one-to-many binding relationship between the payment control and the WeChat client and the Payment treasure client; if the user unloads the payment client after using for a period of time, the terminal updates the binding relationship again to be the one-to-one binding relationship between the payment control and the WeChat client; therefore, for the terminal, the binding relationship between the payment control and the payment client needs to be dynamically updated and maintained for the payment control, so that the reliability of quick payment is ensured.
And when the user needs to pay, the shortcut icon is touched, and if the binding relationship is one-to-one, the terminal automatically determines the collection information matched with the payment client type as the collection information to be used according to the binding relationship. If the binding relationship is one-to-many, the terminal displays a payment client selection page for the user according to the binding relationship, as shown in fig. 3, a shortcut icon of a payment client pre-installed on the terminal is displayed on the payment client selection page, so that the user can conveniently select the payment client to be used currently; and the terminal analyzes the collection information matched with the selected payment client type from the certificate according to the selected payment client type as collection information to be used.
In practical application, different users may use different payment clients, so that merchants can provide various types of collection codes, such as WeChat collection codes and Paibao collection codes, in order to meet different payment requirements of the users; by using the optional implementation mode, the terminal can quickly determine the to-be-used collection information which meets the actual requirements of the user according to the actual payment environment.
For example, referring to fig. 4, fig. 4 is a schematic diagram of a user implementing a payment process in an embodiment of the present application; supposing that a user installs a WeChat client and a Paibao client in advance in a terminal, the terminal displays a payment control, such as a code-scanning-free payment control, on an interactive page of a system of the terminal, stores a one-to-many corresponding relation between the payment control and the two Paibao clients, and touches the payment control, the terminal displays shortcut icons of the two Paibao clients bound to the payment control on a payment client selection page, if the user selects the shortcut icon of the Paibao client, the terminal analyzes a certificate, and selects collection information matched with the Paibao payment type as collection information to be used.
In practical applications, a certificate may contain only one type of payment information of one merchant; the terminal responds to the payment operation of the user, analyzes the certificate to obtain the collection information, and directly determines that the collection information is to-be-used collection information.
In practical applications, a certificate may contain multiple types of payment information of a merchant, for example, including payment information of a payer type and payment information of a WeChat type; the terminal responds to the payment operation of the user, and the terminal analyzes the certificate according to the determined payment client type and selects the payment information matched with the determined payment client type from the plurality of types of payment information.
In practical applications, one wireless local area network covers a plurality of merchants, so that collection information of a plurality of collection parties may be built in a certificate; therefore, in the actual payment process, it is necessary to further determine which merchant the user needs to perform the payment transaction with; for the application scenario, the embodiment of the present application further provides an optional implementation manner, specifically, at least two pieces of payment information are received in the certificate; each of the at least two payment information further comprises: payee information; the payee information may include the name or name of the payee, an identification document number, an organization code, etc. that may identify the payee.
The payee information in different payee information is different, namely, the certificate has the payee information of at least two different payees;
step 102 may include:
the terminal responds to payment operation triggered by a user and analyzes the certificate to obtain at least two pieces of collection information;
and the terminal displays the payee information included in each piece of the at least two pieces of the payee information, and determines the corresponding payee information as the payee information to be used according to the selected payee information.
For example, referring to fig. 5, fig. 5 is another schematic diagram of a user triggering a payment operation in an embodiment of the present application; the practical scenario shown in fig. 5 is that there are multiple dining merchants in a mall, the mall deploys a WiFi network, and the WiFi network covers the multiple dining merchants, and the practical scenario includes: mcdonald, kendirk, hamburger, etc., the merchant embeds in advance the payment information of each merchant in the WiFi certificate of the WiFi network, such as: the WiFi certificate comprises money collection information of merchants such as McDonald's, Kendeji and hamburger king, and the money collection information of each merchant at least comprises the following information: collection account information, collection server information, and recipient information, such as merchant name, store name, etc.; supposing that a user holds a mobile phone to enter the mall, the mobile phone accesses a WiFi network through WiFi authentication, when the user enters the McFair shop and needs electronic payment for consumption, the user does not need to scan a two-dimensional code of a merchant, only clicks a payment control through a WeChat client to trigger payment operation, the mobile phone responds to the payment operation of the user, analyzes a WiFi certificate to obtain respective payment information of a plurality of merchants, and feeds back the shop names of the plurality of merchants, namely payee information to the user, as shown in FIG. 5, the mobile phone displays the merchant icon carrying the merchant name to the user, so that the user can conveniently identify and quickly select the merchant, of course, only the shop names can be displayed in practical application, but the embodiment of the application does not absolutely limit specific display forms and contents, and only needs to be convenient for the user to; supposing that the user selects Madao according to actual requirements, the mobile phone takes the money receiving information which accords with the WeChat payment type in the money receiving information corresponding to the Madao as the money receiving information to be used directly according to the selection of the user. With this alternative implementation, the user can participate in the payment process, controlling the implementation of the payment process according to the actual requirements.
For the above application scenario, an embodiment of the present application further provides another optional implementation manner, specifically, the certificate includes at least two pieces of payment information, and each piece of payment information of the at least two pieces of payment information further includes: the geographic location of the payee;
that is, the certificate has at least two pieces of collection information, each piece of collection information includes collection account information, collection server information, and the geographical location of the recipient;
step 201 may include:
responding to payment operation triggered by a user, and analyzing the certificate to obtain at least two pieces of collection information;
and determining one piece of money receiving information matched with the current geographical position of the terminal as the money receiving information to be used according to the geographical position of the money receiving party in each piece of money receiving information in the at least two pieces of money receiving information.
The geographical position of the payee refers to the actual geographical position of the merchant store, the geographical position can refer to the geographical position range of the merchant store, and the fact that the current geographical position of the terminal is matched with the geographical position of the payee means that the current geographical position of the terminal falls within the geographical position range of the merchant store; the geographical position may also be a specific position coordinate point, and the matching between the current geographical position of the terminal and the geographical position of the payee is that the distance between the current geographical position of the terminal and the geographical position of the payee is less than or equal to a preset distance, the preset distance may be determined according to the actual area of the merchant store, and the geographical position coordinate point of the merchant may be the central position of the merchant store.
Through the optional implementation mode, the terminal can quickly determine the collection information to be used according to the actual geographic position of the terminal.
For example, referring to fig. 5, if the user is located in the mcdonald's shop, the mobile phone triggers a payment operation through the wechat client, responds to the payment operation triggered by the user, analyzes the WiFi certificate to obtain the collection information of the multiple merchants, and then searches the collection information matched with the WiFi certificate from the collection information of the multiple merchants according to the current geographic location of the terminal to obtain the collection information to be used.
It should be noted that, in practical applications, one wireless local area network may cover multiple merchants, and one merchant may support multiple types of payment methods, there are collection information of multiple merchants in the certificate, and one merchant corresponds to at least two types of collection information. Therefore, in practical application, a user triggers a payment operation, the terminal responds to the payment operation, and needs to determine which payment client the user wants to use and which merchant to perform payment transaction, so that the terminal can combine the several optional implementation modes according to actual requirements to realize that the terminal selects the payment information of one merchant matched with the payment client as the payment information to be used from a plurality of payment information analyzed from the certificate.
For example, in an alternative implementation, the terminal determines the payment client type in response to a payment operation of the user; and then analyzing the certificate to obtain various types of collection information of a plurality of merchants, and selecting collection information matched with the types of the payment client sides and the current geographical position of the terminal from the collection information according to the current geographical position of the terminal as collection information to be used.
For example, in another alternative implementation, the terminal determines the payment client type in response to a payment operation of the user; and analyzing the certificate to obtain various types of collection information of a plurality of merchants, and selecting collection information matched with the types of the payment client sides and the selected collection information from the collection information as collection information to be used according to the collection information selected by the user.
In addition, another optional implementation manner is further provided in the embodiments of the present application, including:
the terminal responds to payment operation triggered by a user and sends a collection information acquisition request to the wireless access point;
and the terminal receives the to-be-used collection information fed back by the wireless access point, wherein the to-be-used collection information is obtained by the authentication server analyzing the certificate according to the collection information acquisition request.
The collection information obtaining request may include: paying the client type and the current geographic position of the terminal; the receipt information acquisition request may also include: payment client type and selected merchant name; the wireless access point forwards the collection information acquisition request to an authentication server, and the authentication server determines collection information to be used by the terminal according to information carried in the collection information acquisition request. In the optional implementation mode, the authentication server reads the collection information in the certificate from the cloud database, and the cloud database has a large data storage capacity and supports real-time updating; therefore, the method can relieve the data analysis pressure of the terminal side and meet the demand of updating the collection information at any time. Especially in some shopping malls, the merchant may be changed, for example, a new merchant is staying in the shopping mall, an old merchant is removed, the payment information of the merchant is changed, and the like, and therefore, the payment information in the certificate needs to be updated at any time.
And 103, the terminal communicates with a corresponding collection server according to the collection server information and the collection account information in the collection information to be used to realize payment.
In practical application, after the terminal determines the collection information to be used, the collection server information is used for sending the collection account information to the corresponding server, after the collection server receives the collection account information, the account identity validity is verified, the verification information is fed back to the terminal after the verification is passed, the terminal receives the verification information, the payment client is controlled to display a payment page, and the user inputs payment amount, a payment password and the like on the payment page to finish payment.
In practical applications, different payment methods specifically supported by different payment clients, for example, secret-free payment, password payment, fingerprint payment, and the like, are different, and the specific payment method is not limited in the embodiment of the present application.
The method provided by the embodiment of the application is explained above, and the application also provides a terminal corresponding to the method. The terminal is described below with reference to fig. 6.
Referring to fig. 6, fig. 6 illustrates a terminal provided in an embodiment of the present application, where the terminal 600 includes:
the network access module 601 is configured to access a wireless local area network through an authentication manner of a certificate, where the certificate includes at least one piece of collection information, and each piece of collection information in the at least one piece of collection information includes collection account information and collection server information;
a determining module 602, configured to determine, in response to a payment operation triggered by a user, a piece of payment information as payment information to be used according to the certificate;
and the payment module 603 is configured to communicate with a corresponding collection server according to the collection server information and the collection account information in the collection information to be used, so as to implement payment.
Optionally, the terminal further includes:
the control display module is used for displaying a payment control, and the payment control is used for receiving payment operation of a user; the payment control and the payment client have a binding relationship;
the determining module is specifically configured to:
determining the type of a payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
and analyzing a piece of payment information matched with the type of the payment client from the certificate according to the type of the payment client to be used as the payment information to be used.
Optionally, there is a receipt information in the certificate; the determining module is specifically configured to:
and responding to payment operation triggered by a user, analyzing the certificate to obtain collection information, and determining the collection information obtained by analysis as collection information to be used.
Optionally, at least two pieces of payment information in the certificate; each of the at least two payment information further comprises: payee information;
the determining module is specifically configured to:
responding to payment operation triggered by a user, and analyzing the certificate to obtain at least two pieces of collection information;
and displaying the payee information included in each piece of the at least two pieces of payee information, and determining the corresponding payee information as the payee information to be used according to the selected payee information.
Optionally, there are at least two pieces of payment information in the certificate, and each piece of payment information in the at least two pieces of payment information further includes: the geographic location of the payee;
the determining module is specifically configured to:
responding to payment operation triggered by a user, and analyzing the certificate to obtain at least two pieces of collection information;
and determining one piece of money receiving information matched with the current geographical position of the terminal as the money receiving information to be used according to the geographical position of the money receiving party in each piece of money receiving information in the at least two pieces of money receiving information.
Optionally, the determining module is specifically configured to:
sending a collection information acquisition request to the wireless access point in response to payment operation triggered by a user;
and receiving the to-be-used collection information fed back by the wireless access point, wherein the to-be-used collection information is obtained by the authentication server analyzing the certificate according to the collection information acquisition request.
Optionally, the network access module is specifically configured to:
sending an authentication request to the wireless access point through an authentication address in the certificate;
receiving an authentication result fed back by the wireless access point, and accessing the wireless local area network if the authentication result is that the authentication is passed; and the authentication result is obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
In this embodiment, the related functions implemented by the network access module 601, the determination module 602, and the payment module 603 can be understood by referring to the description in the above payment method embodiment, and are not repeated herein.
An embodiment of the present application further provides a terminal, referring to fig. 7, which is a hardware structure diagram of a terminal, as shown in fig. 7, fig. 7 is a block diagram of a part of a structure of a terminal 600 according to an embodiment of the present invention. Referring to fig. 7, the terminal 600 includes: radio Frequency (RF) circuit 710, memory 720, input unit 730, display unit 740, sensor 750, audio circuit 760, wireless communication module 770, processor 780, and power supply 790. Those skilled in the art will appreciate that the terminal structure shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes the various components of the terminal 600 in detail with reference to fig. 7:
RF circuitry 710 may be used to transmit or receive data;
the memory 720 may be used to store software programs and modules, and the processor 1280 performs various functional applications and data processing of the terminal by operating the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 1220 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 volatile solid state storage device.
The input unit 730 may be used to receive an operation instruction of a user and generate a key signal input related to user setting and function control of the terminal 100. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, which may also be referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on or near the touch panel 731 using any suitable object or accessory such as a finger, a stylus, etc.) on or near the touch panel 731, and drive the corresponding connection terminal according to a preset program. Alternatively, the touch panel 731 may include two parts of a touch detection terminal and a touch controller. The touch detection terminal detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing terminal, converts it into touch point coordinates, and then sends the touch point coordinates to the processor 780, and can receive and execute commands sent from the processor 780. In addition, the touch panel 731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. Optionally, the input unit 730 may also include other input devices 732. Other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 740 may be used to display an interface. The Display unit 740 may include a Display panel 741, and optionally, the Display panel 741 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1231 can cover the display panel 741, and when the touch panel 731 detects a touch operation on or near the touch panel 731, the touch operation is transmitted to the processor 780 to determine the type of the touch event, and then the processor 780 provides a corresponding visual output on the display panel 741 according to the type of the touch event. Although the touch panel 731 and the display panel 741 are two independent components in fig. 7 to implement the input and output functions of the terminal, in some embodiments, the touch panel 731 and the display panel 741 may be integrated to implement the input and output functions of the terminal.
The terminal 100 may also include at least one sensor 750.
Audio circuitry 760, speaker 761, and microphone 762 may provide an audio interface between a user and a terminal. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 and output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, processes the audio data by the audio data output processor 780, and transmits the processed audio data to, for example, another terminal via the RF circuit 710, or outputs the audio data to the memory 720 for further processing.
The wireless communication module 770 may be used for communication. The wireless communication module may specifically be a WiFi module.
The processor 780 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the terminal. Optionally, processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780. Optionally, the processor 780 may further include a function module such as display control.
The terminal 600 also includes a power supply 790 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 780 via a power management system that may be used to manage charging, discharging, and power consumption.
Although not shown, the terminal 600 may further include a camera, a bluetooth module, and the like, which will not be described herein.
In this embodiment of the present invention, the processor 780 included in the terminal further has the following functions:
accessing to a wireless local area network through an authentication mode of a certificate, wherein the certificate comprises at least one piece of collection information, and each piece of collection information in the at least one piece of collection information comprises collection account information and collection server information;
responding to a payment request triggered by a user, and determining a piece of payment information as the payment information to be used according to the certificate;
and communicating with the corresponding collection server according to the collection server information and the collection account information in the collection information to be used, so as to realize payment.
Optionally, the processor is further configured to: displaying a payment control, wherein the payment control is used for receiving payment operation of a user; the payment control and the payment client have a binding relationship;
the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
determining the type of a payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
and analyzing a piece of payment information matched with the type of the payment client from the certificate according to the type of the payment client to be used as the payment information to be used.
Optionally, there is a receipt information in the certificate;
responding to payment operation triggered by a user, determining a piece of collection information as collection information to be used according to the certificate, and comprising the following steps:
and responding to payment operation triggered by a user, analyzing the certificate to obtain collection information, and determining the collection information obtained by analysis as collection information to be used.
Optionally, at least two pieces of payment information in the certificate; each of the at least two payment information further comprises: payee information;
responding to payment operation triggered by a user, determining a piece of collection information as collection information to be used according to the certificate, and comprising the following steps:
responding to payment operation triggered by a user, and analyzing the certificate to obtain at least two pieces of collection information;
and displaying the payee information included in each piece of the at least two pieces of payee information, and determining the corresponding payee information as the payee information to be used according to the selected payee information.
Optionally, there are at least two pieces of payment information in the certificate, and each piece of payment information in the at least two pieces of payment information further includes: the geographic location of the payee;
responding to payment operation triggered by a user, determining a piece of collection information as collection information to be used according to the certificate, and comprising the following steps:
responding to payment operation triggered by a user, and analyzing the certificate to obtain at least two pieces of collection information;
and determining one piece of money receiving information matched with the current geographical position of the terminal as the money receiving information to be used according to the geographical position of the money receiving party in each piece of money receiving information in the at least two pieces of money receiving information.
Optionally, determining, in response to a payment operation triggered by a user, a piece of payment information as the to-be-used payment information according to the certificate includes:
sending a collection information acquisition request to the wireless access point in response to payment operation triggered by a user;
and receiving the to-be-used collection information fed back by the wireless access point, wherein the to-be-used collection information is obtained by the authentication server analyzing the certificate according to the collection information acquisition request.
Optionally, accessing the wireless local area network through a certificate authentication method includes:
sending an authentication request to the wireless access point through an authentication address in the certificate;
receiving an authentication result fed back by the wireless access point, and accessing the wireless local area network if the authentication result is that the authentication is passed; and the authentication result is obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
With reference to fig. 6 and fig. 7, the network access module 601 in the terminal 600 may be implemented by the radio frequency unit 730 and the processor 780, the determination unit 602 may be implemented by the processor 780, and the payment module 603 may be implemented by the wireless communication module 770 and the processor 780.
In this embodiment, the description of the terminal 600 may be understood by referring to the description in the above payment method embodiment, and the description is not repeated here.
The above description is made on a payment method and a related terminal provided by the application, and based on the same technical idea, the application also provides an unlocking method and a related terminal.
First, a brief description is given to an unlocking method and an application scenario of a related terminal provided by the present application.
With the development of sharing economy, sharing equipment gradually enters the daily life of people, and the work and the life of people are facilitated; the sharing devices are all provided with a coded lock, and a user can use the devices only after the devices are unlocked correctly.
The sharing bicycle is taken as an example for explanation, wherein the sharing bicycle is used for providing bicycle and electric vehicle sharing service in a public area by enterprises; the shared bicycle is provided with the coded lock, when the user uses the coded lock, the two-dimension code of the shared bicycle needs to be scanned, and the user can use the coded lock after the shared bicycle is unlocked. An unlocking method OF a shared bicycle comprises the steps that a user installs a client OF the shared bicycle, such as a Mobai bicycle, OF0 and the like, in advance on a terminal, when the user needs to use the shared bicycle, the user uses the terminal to start the client OF the shared bicycle first, then starts a code scanning function OF the client, scans a two-dimensional code on the shared bicycle, then the terminal communicates with a shared bicycle server, the shared bicycle server verifies relevant information OF the two-dimensional code sent by the terminal, after the verification is passed, the shared bicycle server controls the shared bicycle to be automatically unlocked, or the shared bicycle server feeds back an unlocking password to the terminal, and the user inputs the unlocking password to manually unlock the shared bicycle. The unlocking methods of other sharing type devices are similar to the unlocking method of the sharing type bicycle, and are not listed one by one again.
Based on the above, the embodiment of the application further provides an unlocking method and a related terminal, which are used for providing a quick payment mode without code scanning for a user, so that the safety of the unlocking process is ensured, the unlocking operation of the user is simplified, and the unlocking time is shortened.
An unlocking method provided by the embodiment of the present application is described below with reference to fig. 8.
Referring to fig. 8, fig. 8 is a flowchart of an unlocking method in an embodiment of the present application, where the method is applied to a first terminal, and the first terminal refers to a terminal device supporting bluetooth communication, such as a smart phone, a tablet computer, and a smart watch, as shown in fig. 8, the method includes the following steps:
step 801, a first terminal establishes a bluetooth connection with a second terminal through a bluetooth certificate authentication mode, the second terminal is provided with a coded lock, and a bluetooth certificate of the second terminal comprises an identifier of the second terminal and server information of the second terminal;
in the embodiment of the application, a first terminal starts bluetooth search, actively searches surrounding terminals which start bluetooth, and sequences the searched terminals, selects to send an authentication request to a second terminal, and judges whether a response to the authentication request fed back by the second terminal is received within a specified time, if the first terminal receives the response to the authentication request from the second terminal within the specified time and receives the correctness of an authentication key of the second terminal, that is, the authentication is successful, the first terminal and the second terminal establish bluetooth connection.
Step 802, a first terminal responds to an unlocking operation triggered by a user, sends an acquisition request to a second terminal, and receives an identifier of the second terminal and server information fed back by the second terminal;
optionally, the method further includes:
the first terminal displays a control, and the control is used for receiving unlocking operation of a user.
In an optional implementation manner, a client corresponding to the second terminal is pre-installed in the first terminal, the first terminal displays the control on the interactive page of the client, the user uses the first terminal to start the client, the control is displayed on the interactive page of the client, and the client is subsequently used to realize unlocking control of the second terminal.
In this embodiment of the application, a client corresponding to the second terminal may be pre-installed in the first terminal, for example, the second terminal is a client of a shared bicycle, such as a client of a mobarage bicycle, a client of OFO, and the like, the first terminal provides a control for a user through the client of the second terminal, and the user touches the control, so that the terminal receives an unlocking operation of the user and further responds to the unlocking operation.
In another optional implementation manner, a control is displayed on an interactive page of a system of the first terminal, or a hardware control is set in the first terminal, the control has a binding relationship with a client of a second terminal pre-installed in the first terminal, after a user touches the control, a bluetooth connection is established between the first terminal and the second terminal, the client corresponding to the second terminal is started, and the client is subsequently utilized to realize unlocking control of the second terminal.
For example, a first terminal displays a control on a system interaction page, the hardware control has a binding relationship with respective clients of a plurality of second terminals preinstalled in the first terminal, when a user touches the control, the first terminal determines the client of the second terminal according to the type of the second terminal connected with the bluetooth of the first terminal, and then starts the client of the second terminal, for example, when the first terminal establishes the bluetooth connection with a mokazaki bicycle, the first terminal starts the client of the mokazaki bicycle, and then responds to the unlocking operation of the user.
In this embodiment of the application, the identifier of the second terminal refers to information that can uniquely identify the second terminal, for example, an identifier of a hardware device of the second terminal, an identifier of a bluetooth chip built in the second terminal, and the like. The server information of the second terminal refers to a network address of a server corresponding to a client of the second terminal, the server refers to a service device corresponding to the client, providing data support for the client, and controlling and managing the second terminal, and the server information refers to a communication address of the server. The second terminal is a motor bicycle, the identifier of the second terminal is a bicycle number, and the server information is a network address of a server of the motor bicycle.
And 803, the first terminal communicates with a corresponding server according to the information of the collection server and the identifier of the second terminal to unlock the second terminal.
In the embodiment of the application, as the different types of the second terminals have different types of coded locks, the unlocking modes adopted by the different types of coded locks are different; in an optional implementation manner, the coded lock of the second terminal is an intelligent lock, after the server passes the verification, the server simultaneously sends an unlocking instruction to the first terminal and the second terminal, the unlocking instruction carries an unlocking password, if the second terminal receives the unlocking instruction first, the unlocking instruction is automatically unlocked according to the unlocking password in the unlocking instruction, if the first terminal receives the unlocking instruction first, the first terminal sends the unlocking instruction to the second terminal through bluetooth, and the second terminal unlocks according to the unlocking instruction.
In another optional implementation manner, the coded lock of the second terminal is a mechanical lock, the server sends an unlocking instruction to the first terminal after the server passes the verification, the unlocking instruction carries an unlocking password, the first terminal displays the unlocking password for the user, the user manually unlocks the second device according to the unlocking password, the unlocking password is input into the coded lock of the second terminal, and the second terminal opens the coded lock according to the unlocking password.
According to the unlocking method provided by the embodiment of the application, the identifier of the second terminal and the server information of the second terminal are pre-built in the Bluetooth certificate, when a user needs to unlock, the user does not need to execute code scanning operation to acquire the information of the second terminal, but the first terminal receives the information of the second device through Bluetooth, and the information is used for unlocking the second terminal.
For a user, when the second terminal needs to be unlocked, the two-dimensional code of the second device does not need to be manually scanned, so that the unlocking operation of the user is simplified, and the unlocking time is shortened; for a merchant, a two-dimensional code does not need to be deployed on the second terminal, so that illegal parts are prevented from carrying out illegal covering behaviors; in addition, because the first terminal and the second terminal are connected through the network established in the Bluetooth authentication mode, the first terminal and the second terminal can ensure the safety of the unlocking process through the point-to-point communication mode.
In accordance with the above method, embodiments of the present application provide a first terminal, which is described below with reference to fig. 9.
Referring to fig. 9, fig. 9 is a structural diagram of a first terminal in an embodiment of the present application, and as shown in fig. 9, the first terminal 900 includes:
the bluetooth connection module 901 is configured to establish a bluetooth connection with a second terminal in a bluetooth certificate authentication manner, where the second terminal has a coded lock, and a bluetooth certificate of the second terminal includes a unique identifier of the second terminal and server information of the second terminal;
an information obtaining module 902, configured to send, in response to an unlocking operation triggered by a user, an obtaining request to the second terminal, and receive, from the second terminal, the unique identifier of the second terminal and the server information that are fed back by the second terminal;
and the unlocking module 903 is used for communicating with a corresponding server according to the information of the collection server and the identifier of the second terminal, so as to unlock the second terminal.
Optionally, the first terminal further includes:
the display module is used for displaying a control, and the control is used for receiving the unlocking operation of a user.
In this embodiment, the related functions implemented by the bluetooth connection module 901, the information acquisition module 902, and the unlocking module 903 may all be understood by referring to the description in the above unlocking method embodiment, and are not repeated herein.
In correspondence to the above method, the embodiment of the present application provides a first terminal, referring to fig. 10 illustrating a hardware structure diagram of a terminal, as shown in fig. 10, fig. 10 illustrates a block diagram of a part of a structure of a first terminal 900 provided in the embodiment of the present invention. Referring to fig. 10, the first terminal includes: a Radio Frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless communication module 1070, a processor 1080, a power supply 1090, a bluetooth module 10100, and the like. Those skilled in the art will appreciate that the terminal structure shown in fig. 10 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each constituent element of the first terminal in detail with reference to fig. 10:
RF circuitry 1010 may be used to transmit or receive data;
the memory 1020 may be used to store software programs and modules, and the processor 1280 executes various functional applications and data processing of the terminal by operating the software programs and modules stored in the memory 1020. The memory 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 1220 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 volatile solid state storage device.
The input unit 1030 may be used to receive an operation instruction of a user and generate a key signal input related to user setting and function control of the terminal 100. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, which may also be referred to as a touch screen, may collect touch operations (e.g., operations of a user on or near the touch panel 1031 using any suitable object or attachment such as a finger, a stylus, etc.) by the user in contact with or near the touch panel 1031, and drive the corresponding connection terminal according to a preset program. Alternatively, the touch panel 1031 may include two parts, a touch detection terminal and a touch controller. The touch detection terminal detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection terminal, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1080, and can receive and execute commands sent by the processor 1080. In addition, the touch panel 1031 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. Optionally, the input unit 1030 may further include other input devices 1032. Other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a track ball, a mouse, a joystick, and the like.
The display unit 1040 may be used to display an interface. The Display unit 1040 may include a Display panel 1041, and optionally, the Display panel 1041 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1031 can cover the display panel 1041, and when the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch operation is transmitted to the processor 1080 to determine the type of the touch event, and then the processor 1080 provides a corresponding visual output on the display panel 1041 according to the type of the touch event. Although in fig. 10, touch panel 1031 and display panel 1041 are two separate components to implement the input and output functions of the terminal, in some embodiments, touch panel 1031 and display panel 1041 may be integrated to implement the input and output functions of the terminal.
The terminal 200 may also include at least one sensor 1050.
Audio circuitry 1060, speaker 1061, microphone 1062 may provide an audio interface between the user and the terminal. The audio circuit 1060 can transmit the electrical signal converted from the received audio data to the speaker 1061, and the electrical signal is converted into a sound signal by the speaker 1061 and output; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1060 and converted into audio data, which is then processed by the audio data output processor 1080 and then transmitted to another terminal via the RF circuit 1010, or output to the memory 1020 for further processing.
The processor 1080 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 1020 and calling data stored in the memory 1020, thereby integrally monitoring the terminal. Optionally, processor 780 may include one or more processing units; preferably, the processor 1080 may integrate an application processor, which handles primarily the operating system, user interfaces, applications, etc., and a modem processor, which handles primarily the wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1080. Optionally, the processor 1080 may further include a display control function module.
Terminal 200 also includes a power supply 1090 (e.g., a battery) for powering the various components, which may preferably be logically coupled to processor 1080 via a power management system that may enable managing charging, discharging, and power consumption via the power management system.
Although not shown, the terminal 200 may further include a camera, etc., which will not be described in detail herein.
In the embodiment of the present invention, the processor 1080 included in the terminal further has the following functions:
establishing Bluetooth connection with a second terminal in a Bluetooth certificate authentication mode, wherein the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal is provided with a unique identifier of the second terminal and server information of the second terminal;
responding to an unlocking operation triggered by a user, sending an acquisition request to the second terminal, and receiving the unique identifier of the second terminal and the server information fed back by the second terminal;
and communicating with a corresponding server according to the information of the collection server and the identifier of the second terminal to unlock the second terminal.
Optionally, the processor is further configured to perform the following functions:
and displaying a control, wherein the control is used for receiving the unlocking operation of a user.
With reference to fig. 9 and fig. 10, the bluetooth connection module 901 in the first terminal 200 may be implemented by the bluetooth module 10100 and the processor 1080, the information obtaining unit 902 may be implemented by the bluetooth module 10100 and the processor 1080, and the unlocking module 903 may be implemented by the wireless communication module 1070 and the processor 1080.
In this embodiment, the description about the first terminal 200 may be understood by referring to the description in the foregoing unlocking method embodiment, and will not be repeated herein.
The unlocking method and the related terminal provided by the application are described above, and based on the same technical idea, the application also provides another unlocking method and related terminal.
Referring to fig. 11, fig. 11 is a flowchart of another unlocking method in the embodiment of the present application, which is applied to a second terminal, where the second terminal refers to a terminal device that has a combination lock and supports bluetooth communication, for example, a terminal device that has a bluetooth module and a combination lock, such as a shared bicycle and a shared washing machine, and as shown in fig. 11, the method includes:
step 1101, the second terminal establishes a bluetooth connection with the first terminal through a bluetooth certificate authentication mode; the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal comprises an identifier of the second terminal and server information of the second terminal;
in the embodiment of the application, a second terminal establishes a bluetooth connection with a first terminal in a bluetooth authentication manner, after the second terminal passes the authentication, the second terminal performs point-to-point communication with the first terminal, and the second terminal has an identifier of the second terminal and a network address of a server in a bluetooth certificate of the second terminal. In practical application, the bluetooth module of the second terminal may be built in the combination lock, and the bluetooth certificate may be built in the bluetooth module.
Step 1102, a second terminal receives an unlocking request sent by a first terminal, and feeds back an identifier of the second terminal and server information of the second terminal to the first terminal;
and 1103, the second terminal receives the unlocking password and opens the password lock.
Corresponding to the above method, an embodiment of the present application further provides a second terminal, referring to fig. 12, where fig. 12 is a structural diagram of the second terminal in the embodiment of the present application, and as shown in fig. 12, the second terminal 1200 includes:
a connection establishing module 1201, configured to establish a bluetooth connection with a first terminal through a bluetooth certificate authentication method; the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal comprises the unique identifier of the second terminal and the server information of the second terminal;
an information feedback module 1202, configured to receive an unlocking request sent by the first terminal, and feed back, to the first terminal, the unique identifier of the second terminal and the server information of the second terminal;
and an unlocking module 1203, configured to receive the unlocking password and unlock the combination lock.
Corresponding to the above method, an embodiment of the present application further provides a second terminal, see fig. 13, where fig. 13 is a hardware structure diagram of the second terminal in the embodiment of the present application, and referring to fig. 13, the second terminal 1200 includes: radio Frequency (RF) circuit 1310, memory 1320, input unit 1330, display unit 1340, sensor 1350, audio circuit 1360, wireless communication module 1370, processor 1380, power supply 1390, combination lock 13100, and bluetooth module 13110. Those skilled in the art will appreciate that the terminal structure shown in fig. 13 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each constituent element of the second terminal in detail with reference to fig. 13:
RF circuitry 1310 may be used to transmit or receive data;
the memory 1320 may be used to store software programs and modules, and the processor 1380 performs various functional applications and data processing of the terminal by operating the software programs and modules stored in the memory 1320. The memory 1320 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 1320 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 volatile solid state storage device.
The input unit 1330 may be configured to receive an operation instruction of a user and generate a key signal input related to user setting and function control of the second terminal 12000. Specifically, the input unit 1330 may include a touch panel 1331 and other input devices 1332. Touch panel 1331, which may also be referred to as a touch screen, can collect touch operations (e.g., operations performed by a user on or near touch panel 1331 using any suitable object or accessory such as a finger, a stylus, etc.) by the user in contact or in non-contact with the touch panel 1331, and drive the corresponding connection terminal according to a preset program. Alternatively, the touch panel 1331 may include two portions of a touch detection terminal and a touch controller. The touch detection terminal detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing terminal, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1380, and can receive and execute commands sent from the processor 1380. In addition, the touch panel 1331 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. Optionally, input unit 1330 may also include other input devices 1332. Other input devices 1332 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Display unit 1240 may be used to display an interface. The Display unit 1340 may include a Display panel 1341, and optionally, the Display panel 1341 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, touch panel 1231 can overlay display panel 1341 and, when touch panel 1331 detects a touch operation on or near touch panel 1331, communicate to processor 1380 to determine the type of touch event, and processor 1280 then provides a corresponding visual output on display panel 1341 based on the type of touch event. Although in fig. 13, the touch panel 1331 and the display panel 1341 are implemented as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1331 and the display panel 1341 may be integrated to implement the input and output functions of the terminal.
The terminal 1200 may also include at least one sensor 1350.
An audio circuit 1360, a speaker 1361, and a microphone 132 may provide an audio interface between the user and the terminal. The audio circuit 1260 can transmit the electrical signal converted from the received audio data to the speaker 1361, and the electrical signal is converted into a sound signal by the speaker 1361 and output; on the other hand, the microphone 1362 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 1360, processes the audio data by the audio data output processor 1380, and then transmits the audio data to, for example, another terminal via the RF circuit 1310, or outputs the audio data to the memory 1320 for further processing.
The WiFi module 130 may be used for communication.
The processor 1380 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 1320 and calling data stored in the memory 1320, thereby integrally monitoring the terminal. Optionally, processor 1380 may include one or more processing units; preferably, the processor 1380 may integrate an application processor, which handles primarily operating systems, user interfaces, application programs, etc., and a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1380. Optionally, the processor 1380 may further include a function module such as a display control module.
Terminal 1200 also includes a power supply 1390 (e.g., a battery) to supply power to various components, which may preferably be logically coupled to processor 1380 via a power management system that may provide management of charging, discharging, and power consumption.
Although not shown, the terminal 1200 may further include a camera, etc., which will not be described in detail herein.
In the embodiment of the present invention, the processor 1380 included in the terminal further has the following functions:
in the embodiment of the present invention, the processor 1380 included in the second terminal further has the following functions:
establishing Bluetooth connection with a first terminal in a Bluetooth certificate authentication mode; the Bluetooth certificate comprises the unique identifier of the second terminal and the server information of the second terminal;
receiving an unlocking request sent by the first terminal, and feeding back the unique identifier of the second terminal and the server information of the second terminal to the first terminal;
and receiving an unlocking password and opening the coded lock.
In this embodiment, the description of the second terminal 1200 may be understood by referring to the description in each embodiment of the unlocking method, and will not be repeated herein.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
That is, in the embodiments of the present application, a computer-readable storage medium is further provided, which includes instructions, and when the computer-readable storage medium is run on a terminal, the terminal may be caused to execute the method for adjusting the interface scrolling speed provided in the embodiments of the present application.
Also provided in embodiments of the present application is a computer program product including instructions, which when run on a terminal, can cause the terminal to perform the method for adjusting interface scrolling speed provided in embodiments of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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 place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should 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 in the embodiments of the present application.

Claims (30)

  1. A payment method, comprising:
    accessing to a wireless local area network through an authentication mode of a certificate, wherein the certificate comprises at least one piece of collection information, and each piece of collection information in the at least one piece of collection information comprises collection account information and collection server information;
    responding to payment operation triggered by a user, and determining a piece of collection information as collection information to be used according to the certificate;
    and communicating with the corresponding collection server according to the collection server information and the collection account information in the collection information to be used, so as to realize payment.
  2. The method of claim 1, further comprising:
    displaying a payment control, wherein the payment control is used for receiving payment operation of a user; the payment control and the payment client have a binding relationship;
    the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
    determining the type of a payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
    and acquiring a piece of payment information matched with the payment client type from the certificate according to the payment client type to be used as the payment information to be used.
  3. The method of claim 1, wherein there is a receipt information in the certificate;
    the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
    and responding to the payment operation triggered by the user, acquiring the collection information, and determining the collection information as the collection information to be used.
  4. The method of claim 1, wherein at least two collections of information in the certificate;
    each of the at least two payment information further comprises: payee information;
    the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
    responding to payment operation triggered by a user, and acquiring at least two pieces of money receiving information;
    and displaying the payee information included in each piece of the at least two pieces of payee information, and determining the corresponding payee information as the payee information to be used according to the selected payee information.
  5. The method of claim 1, wherein there are at least two collections of information in the certificate, and wherein each of the at least two collections of information further comprises: the geographic location of the payee;
    the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
    responding to payment operation triggered by a user, and acquiring at least two pieces of money receiving information;
    and determining one piece of money receiving information matched with the current geographical position of the terminal as the money receiving information to be used according to the geographical position of the money receiving party in each piece of money receiving information in the at least two pieces of money receiving information.
  6. The method of claim 1, wherein determining a collection of information as the collection of information to be used based on the credential in response to the user-triggered payment operation comprises:
    sending a collection information acquisition request to the wireless access point in response to payment operation triggered by a user;
    and receiving the to-be-used collection information fed back by the wireless access point, wherein the to-be-used collection information is obtained by the authentication server analyzing the certificate according to the collection information acquisition request.
  7. The method according to claim 1, wherein the accessing to the wireless local area network by the certificate authentication method includes:
    sending an authentication request to the wireless access point through an authentication address in the certificate;
    receiving an authentication result fed back by the wireless access point, and accessing the wireless local area network if the authentication result is that the authentication is passed; and the authentication result is obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
  8. A terminal, comprising:
    the system comprises a network access module, a wireless local area network access module and a receiving server module, wherein the network access module is used for accessing a wireless local area network through an authentication mode of a certificate, the certificate comprises at least one piece of receiving information, and each piece of receiving information in the at least one piece of receiving information comprises receiving account information and receiving server information;
    the determining module is used for responding to payment operation triggered by a user and determining a piece of money receiving information as the money receiving information to be used according to the certificate;
    and the payment module is used for communicating with the corresponding collection server according to the collection server information and the collection account information in the collection information to be used so as to realize payment.
  9. The terminal of claim 8, wherein the terminal further comprises:
    the control display module is used for displaying a payment control, and the payment control is used for receiving payment operation of a user; the payment control and the payment client have a binding relationship;
    the determining module is specifically configured to:
    determining the type of a payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
    and acquiring a piece of payment information matched with the payment client type from the certificate according to the payment client type to be used as the payment information to be used.
  10. The terminal of claim 8, wherein there is a receipt information in the certificate; the determining module is specifically configured to:
    and responding to payment operation triggered by a user, acquiring collection information, and determining the acquired collection information as collection information to be used.
  11. The terminal of claim 8, wherein at least two pieces of payment information are received in the certificate; each of the at least two payment information further comprises: payee information;
    the determining module is specifically configured to:
    responding to payment operation triggered by a user, and acquiring at least two pieces of money receiving information;
    and displaying the payee information included in each piece of the at least two pieces of payee information, and determining the corresponding payee information as the payee information to be used according to the selected payee information.
  12. The terminal of claim 8, wherein there are at least two payment information in the certificate, and wherein each of the at least two payment information further comprises: the geographic location of the payee;
    the determining module is specifically configured to:
    responding to payment operation triggered by a user, and acquiring at least two pieces of money receiving information;
    and determining one piece of money receiving information matched with the current geographical position of the terminal as the money receiving information to be used according to the geographical position of the money receiving party in each piece of money receiving information in the at least two pieces of money receiving information.
  13. The terminal of claim 8, wherein the determining module is specifically configured to:
    sending a collection information acquisition request to the wireless access point in response to payment operation triggered by a user;
    and receiving the to-be-used collection information fed back by the wireless access point, wherein the to-be-used collection information is obtained by the authentication server analyzing the certificate according to the collection information acquisition request.
  14. The terminal of claim 8, wherein the network access module is specifically configured to:
    sending an authentication request to the wireless access point through an authentication address in the certificate;
    receiving an authentication result fed back by the wireless access point, and accessing the wireless local area network if the authentication result is that the authentication is passed; and the authentication result is obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
  15. A terminal, comprising:
    a processor and a memory;
    the memory for storing computer instructions, wherein the processor is configured to perform the following steps when the computer instructions in the memory are executed:
    accessing to a wireless local area network through an authentication mode of a certificate, wherein the certificate comprises at least one piece of collection information, and each piece of collection information in the at least one piece of collection information comprises collection account information and collection server information;
    responding to a payment request triggered by a user, and determining a piece of payment information as the payment information to be used according to the certificate;
    and communicating with the corresponding collection server according to the collection server information and the collection account information in the collection information to be used, so as to realize payment.
  16. The terminal of claim 15, wherein the processor is further configured to: controlling a display to display a payment control, wherein the payment control is used for receiving payment operation of a user; the payment control and the payment client have a binding relationship;
    the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
    determining the type of a payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
    and acquiring a piece of payment information matched with the payment client type from the certificate according to the payment client type to be used as the payment information to be used.
  17. The terminal of claim 15, wherein the certificate includes a receipt;
    the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
    and responding to payment operation triggered by a user, acquiring payment information, and determining the acquired payment information as the payment information to be used.
  18. The terminal of claim 15, wherein at least two pieces of payment information are received in the certificate; each of the at least two payment information further comprises: payee information;
    the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
    responding to payment operation triggered by a user, and acquiring at least two pieces of money receiving information;
    and displaying the payee information included in each piece of the at least two pieces of payee information, and determining the corresponding payee information as the payee information to be used according to the selected payee information.
  19. The terminal of claim 15, wherein there are at least two payment information in the certificate, and wherein each of the at least two payment information further comprises: the geographic location of the payee;
    the responding to the payment operation triggered by the user, determining a piece of collection information as the collection information to be used according to the certificate, and the method comprises the following steps:
    responding to payment operation triggered by a user, and acquiring the certificate to obtain at least two pieces of collection information;
    and determining one piece of money receiving information matched with the current geographical position of the terminal as the money receiving information to be used according to the geographical position of the money receiving party in each piece of money receiving information in the at least two pieces of money receiving information.
  20. The terminal of claim 15, wherein the determining a collection of information as the collection of information to be used based on the certificate in response to the payment triggered by the user comprises:
    sending a collection information acquisition request to the wireless access point in response to payment operation triggered by a user;
    and receiving the to-be-used collection information fed back by the wireless access point, wherein the to-be-used collection information is obtained by the authentication server analyzing the certificate according to the collection information acquisition request.
  21. The terminal according to claim 15, wherein the accessing to the wireless local area network by the certificate authentication method comprises:
    sending an authentication request to the wireless access point through an authentication address in the certificate;
    receiving an authentication result fed back by the wireless access point, and accessing the wireless local area network if the authentication result is that the authentication is passed; and the authentication result is obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
  22. An unlocking method is applied to a first terminal and comprises the following steps:
    establishing Bluetooth connection with a second terminal in a Bluetooth certificate authentication mode, wherein the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal comprises an identifier of the second terminal and server information of the second terminal;
    responding to an unlocking operation triggered by a user, sending an acquisition request to the second terminal, and receiving the identifier of the second terminal and the server information fed back by the second terminal;
    and communicating with a corresponding server according to the server information and the identifier of the second terminal to unlock the second terminal.
  23. The method of claim 22, further comprising:
    and displaying a control, wherein the control is used for receiving the unlocking operation of a user.
  24. A first terminal, comprising:
    the Bluetooth connection module is used for establishing Bluetooth connection with a second terminal in a Bluetooth certificate authentication mode, the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal comprises the unique identifier of the second terminal and the server information of the second terminal;
    the information acquisition module is used for responding to unlocking operation triggered by a user, sending an acquisition request to the second terminal, and receiving the unique identifier of the second terminal and the server information fed back by the second terminal;
    and the unlocking module is used for realizing the unlocking of the second terminal according to the communication between the information of the collection server and the identifier of the second terminal and the corresponding server.
  25. The first terminal of claim 24, wherein the first terminal further comprises:
    the display module is used for displaying a control, and the control is used for receiving the unlocking operation of a user.
  26. A first terminal, comprising:
    a processor and a memory; the memory stores computer instructions, wherein the processor is configured to perform the following steps when the computer instructions in the memory are executed:
    establishing Bluetooth connection with a second terminal in a Bluetooth certificate authentication mode, wherein the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal is provided with a unique identifier of the second terminal and server information of the second terminal;
    responding to an unlocking operation triggered by a user, sending an acquisition request to the second terminal, and receiving the unique identifier of the second terminal and the server information fed back by the second terminal;
    and communicating with a corresponding server according to the information of the collection server and the identifier of the second terminal to unlock the second terminal.
  27. The first terminal of claim 26, wherein the processor is further configured to perform the steps of:
    and displaying a control, wherein the control is used for receiving the unlocking operation of a user.
  28. An unlocking method is applied to a second terminal and comprises the following steps:
    establishing Bluetooth connection with a first terminal in a Bluetooth certificate authentication mode; the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal comprises the unique identifier of the second terminal and the server information of the second terminal;
    receiving an unlocking request sent by the first terminal, and feeding back the unique identifier of the second terminal and the server information of the second terminal to the first terminal;
    and receiving an unlocking password and opening the coded lock.
  29. A second terminal, comprising:
    the connection establishing module is used for establishing Bluetooth connection with the first terminal in a Bluetooth certificate authentication mode; the second terminal is provided with a coded lock, and the Bluetooth certificate of the second terminal comprises the unique identifier of the second terminal and the server information of the second terminal;
    the information feedback module is used for receiving an unlocking request sent by the first terminal and feeding back the unique identifier of the second terminal and the server information of the second terminal to the first terminal;
    and the unlocking module is used for receiving the unlocking password and unlocking the coded lock.
  30. A second terminal, comprising:
    a processor and a memory; the memory stores computer instructions, wherein the processor is configured to perform the following steps when the computer instructions in the memory are executed:
    establishing Bluetooth connection with a first terminal in a Bluetooth certificate authentication mode; the Bluetooth certificate comprises the unique identifier of the second terminal and the server information of the second terminal;
    receiving an unlocking request sent by the first terminal, and feeding back the unique identifier of the second terminal and the server information of the second terminal to the first terminal;
    and receiving an unlocking password and opening the coded lock.
CN201880065550.8A 2017-10-09 2018-06-05 Payment method, unlocking method and related terminal Active CN111213167B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN2017109316338 2017-10-09
CN201710931633 2017-10-09
PCT/CN2018/090003 WO2019071969A1 (en) 2017-10-09 2018-06-05 Payment method, unlocking method, and related terminal

Publications (2)

Publication Number Publication Date
CN111213167A true CN111213167A (en) 2020-05-29
CN111213167B CN111213167B (en) 2023-11-03

Family

ID=66101243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880065550.8A Active CN111213167B (en) 2017-10-09 2018-06-05 Payment method, unlocking method and related terminal

Country Status (2)

Country Link
CN (1) CN111213167B (en)
WO (1) WO2019071969A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434845A (en) * 2021-07-08 2021-09-24 建信金融科技有限责任公司 Business handling method and device, electronic equipment and computer readable storage medium
CN116596013A (en) * 2023-07-18 2023-08-15 立臻科技(昆山)有限公司 Bar code providing method, device, electronic equipment and readable storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120074497A (en) * 2010-12-28 2012-07-06 주식회사 티모넷 System for paying credit card of mobile security click using smart phone and method therefor
CN103279865A (en) * 2012-01-12 2013-09-04 乐金信世股份有限公司 Payment method and payment gateway server, time certificate issuing server and mobile terminal
CN103745347A (en) * 2013-12-27 2014-04-23 厦门盛华电子科技有限公司 Mobile payment method between two mobile terminals on basis of digital certificate SIM (Subscriber Identity Module) cards
US20150278795A1 (en) * 2014-03-26 2015-10-01 Google Inc. Secure offline payment system
CN105024980A (en) * 2014-04-29 2015-11-04 孙银海 On-line near-field payment system and method based on cell phone number
US20160006739A1 (en) * 2014-07-01 2016-01-07 Google Inc. Wireless local area network access
CN105346502A (en) * 2015-10-22 2016-02-24 科世达(上海)管理有限公司 Keyless entry method and system of vehicle
US20160110706A1 (en) * 2013-02-06 2016-04-21 Xiamen Elite Electric Co., Ltd. Mobile phone subscriber identity card based on multichannel digital authentication of mobile payment
KR20160054445A (en) * 2016-04-28 2016-05-16 주식회사 비즈모델라인 Method for Processing Payment based on Application by using Mobile Device
CN105678549A (en) * 2016-02-23 2016-06-15 北京小米移动软件有限公司 Payment method and device
CN106296169A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of method of payment based on NFC and device
CN106447324A (en) * 2016-08-26 2017-02-22 维沃移动通信有限公司 Presentation method of payment methods and mobile terminal
WO2017044677A1 (en) * 2015-09-11 2017-03-16 Alibaba Group Holding Limited Method and apparatus for facilitating electronic payments using a wearable device
CN106600381A (en) * 2016-12-28 2017-04-26 深圳市无电通科技有限公司 Shared vehicle rental system and application thereof
CN106779677A (en) * 2016-11-21 2017-05-31 深圳付贝科技有限公司 A kind of method of payment and its device, electronic equipment and payment system
CN107231603A (en) * 2017-05-11 2017-10-03 新智数字科技有限公司 A kind of intelligent terminal and the method for opening smart bluetooth card online

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060167823A1 (en) * 2004-12-31 2006-07-27 William York Secure wireless commerce
CN105608563A (en) * 2016-02-29 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Payment processing method, related equipment and payment processing system

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120074497A (en) * 2010-12-28 2012-07-06 주식회사 티모넷 System for paying credit card of mobile security click using smart phone and method therefor
CN103279865A (en) * 2012-01-12 2013-09-04 乐金信世股份有限公司 Payment method and payment gateway server, time certificate issuing server and mobile terminal
US20160110706A1 (en) * 2013-02-06 2016-04-21 Xiamen Elite Electric Co., Ltd. Mobile phone subscriber identity card based on multichannel digital authentication of mobile payment
CN103745347A (en) * 2013-12-27 2014-04-23 厦门盛华电子科技有限公司 Mobile payment method between two mobile terminals on basis of digital certificate SIM (Subscriber Identity Module) cards
US20150278795A1 (en) * 2014-03-26 2015-10-01 Google Inc. Secure offline payment system
CN105024980A (en) * 2014-04-29 2015-11-04 孙银海 On-line near-field payment system and method based on cell phone number
US20160006739A1 (en) * 2014-07-01 2016-01-07 Google Inc. Wireless local area network access
WO2017044677A1 (en) * 2015-09-11 2017-03-16 Alibaba Group Holding Limited Method and apparatus for facilitating electronic payments using a wearable device
CN105346502A (en) * 2015-10-22 2016-02-24 科世达(上海)管理有限公司 Keyless entry method and system of vehicle
CN105678549A (en) * 2016-02-23 2016-06-15 北京小米移动软件有限公司 Payment method and device
KR20160054445A (en) * 2016-04-28 2016-05-16 주식회사 비즈모델라인 Method for Processing Payment based on Application by using Mobile Device
CN106296169A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of method of payment based on NFC and device
CN106447324A (en) * 2016-08-26 2017-02-22 维沃移动通信有限公司 Presentation method of payment methods and mobile terminal
CN106779677A (en) * 2016-11-21 2017-05-31 深圳付贝科技有限公司 A kind of method of payment and its device, electronic equipment and payment system
CN106600381A (en) * 2016-12-28 2017-04-26 深圳市无电通科技有限公司 Shared vehicle rental system and application thereof
CN107231603A (en) * 2017-05-11 2017-10-03 新智数字科技有限公司 A kind of intelligent terminal and the method for opening smart bluetooth card online

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434845A (en) * 2021-07-08 2021-09-24 建信金融科技有限责任公司 Business handling method and device, electronic equipment and computer readable storage medium
CN113434845B (en) * 2021-07-08 2022-08-02 建信金融科技有限责任公司 Business handling method and device, electronic equipment and computer readable storage medium
CN116596013A (en) * 2023-07-18 2023-08-15 立臻科技(昆山)有限公司 Bar code providing method, device, electronic equipment and readable storage medium
CN116596013B (en) * 2023-07-18 2023-11-03 立臻科技(昆山)有限公司 Bar code providing method, device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN111213167B (en) 2023-11-03
WO2019071969A1 (en) 2019-04-18

Similar Documents

Publication Publication Date Title
CN112118227B (en) Card binding method and terminal
US20220330029A1 (en) Method for mutual recognition or mutual trust between bluetooth devices
US20180343123A1 (en) Authentication method, system and equipment
CN109905318B (en) Equipment control method, device and storage medium
CN108293181B (en) Processing method for binding communication identifier and terminal
WO2017185711A1 (en) Method, apparatus and system for controlling smart device, and storage medium
US20150350200A1 (en) Biometric framework allowing independent application control
WO2017020630A1 (en) Method, apparatus and system for processing order information
CN112600977A (en) Method and terminal for quickly opening application or application function
US11075895B2 (en) Cloud operation interface sharing method, related device, and system
CN104992091A (en) Method and apparatus for accessing terminal end
WO2016183937A1 (en) Identity authentication method, device and system, and user terminal
CN107944853B (en) IoT (Internet of things) equipment payment method, IoT equipment, IoT server and intelligent terminal
CN110809775A (en) Payment method, device and terminal based on face recognition
CN108234124B (en) Identity verification method, device and system
CN109863504B (en) Password verification method, password setting method and mobile terminal
CN109886670B (en) Payment method, device, system, mobile terminal, payment machine and server
US20150016694A1 (en) Electronic device providing downloading of enrollment finger biometric data via short-range wireless communication
CN107748991A (en) Account safety management method and device
CN111213167B (en) Payment method, unlocking method and related terminal
CN110958234B (en) Application login control method and device and storage medium
CN108234113B (en) Identity verification method, device and system
CN108234412B (en) Identity verification method and device
WO2017166976A1 (en) Method, device, and system for distributing and verifying application service
CN108234409B (en) Identity verification method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant