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

Payment method, unlocking method, and related terminal Download PDF

Info

Publication number
WO2019071969A1
WO2019071969A1 PCT/CN2018/090003 CN2018090003W WO2019071969A1 WO 2019071969 A1 WO2019071969 A1 WO 2019071969A1 CN 2018090003 W CN2018090003 W CN 2018090003W WO 2019071969 A1 WO2019071969 A1 WO 2019071969A1
Authority
WO
WIPO (PCT)
Prior art keywords
payment
terminal
information
payment information
certificate
Prior art date
Application number
PCT/CN2018/090003
Other languages
French (fr)
Chinese (zh)
Inventor
罗毅
彭峰
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201880065550.8A priority Critical patent/CN111213167B/en
Publication of WO2019071969A1 publication Critical patent/WO2019071969A1/en

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]

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a payment method, an unlocking method, and related terminals.
  • the embodiment of the present application provides a payment method and related terminal, which is used to provide a fast payment method without scanning code, which not only ensures the security of the payment process, but also simplifies the payment operation of the user and shortens the payment. time.
  • the embodiment of the present application further provides an unlocking method and a related terminal, which are used to provide a quick payment method for the user without scanning code, which not only ensures the security of the unlocking process, but also simplifies the unlocking operation of the user and shortens the unlocking time.
  • a payment method including:
  • the certificate has at least one payment information, wherein each of the at least one payment information includes the collection account information and the collection server information;
  • the payment is realized by communicating with the corresponding collection server according to the payment server information and the payment account information in the payment information to be used.
  • the method further includes:
  • the payment control is configured to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
  • determining a payment information as the payment information to be used according to the certificate including:
  • the certificate has a receipt information
  • determining a payment information as the payment information to be used according to the certificate including:
  • each of the at least two pieces of payment information further includes: payee information
  • the payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
  • the certificate includes at least two payment information, and each of the at least two payment information further includes: a geographic location of the payee position;
  • determining a payment information as the payment information to be used according to the certificate including:
  • the responding to the user-triggered payment operation determining a payment information as the payment information to be used according to the certificate, includes:
  • the accessing the wireless local area network by using a certificate authentication manner includes:
  • the wireless access point Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
  • a terminal including:
  • a network access module configured to access a wireless local area network by using a certificate, wherein the certificate has at least one payment information, wherein each of the at least one payment information includes a collection account information and Collection server information;
  • a determining module configured to respond to the user-triggered payment operation, and determine a payment information as the payment information to be used according to the certificate;
  • a payment module configured to communicate with the corresponding collection server according to the collection server information and the payment account information in the payment information to be used, to implement payment.
  • the device further includes:
  • a payment control display module configured to display a payment control, the payment control is configured to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
  • the determining module is specifically configured to:
  • the control display module is configured to display a payment control, and the payment control is configured to receive a payment operation of the user.
  • the certificate has a receipt information; the determining module is specifically configured to:
  • each of the at least two pieces of payment information further includes: payee information
  • the determining module is specifically configured to:
  • the payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
  • the certificate includes at least two payment information, and each of the at least two payment information further includes: a geographic location of the payee position;
  • the determining module is specifically configured to:
  • the determining module is specifically configured to:
  • the network access module is specifically configured to:
  • the wireless access point Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
  • a terminal including:
  • the antenna is configured to receive a certificate
  • the memory stores computer instructions, wherein when the computer instructions in the memory are executed, the processor is configured to perform the following steps:
  • the certificate has at least one payment information, wherein each of the at least one payment information includes the collection account information and the collection server information;
  • the payment is realized by communicating with the corresponding collection server according to the payment server information and the payment account information in the payment information to be used.
  • the processor is further configured to:
  • the payment control is configured to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
  • determining a payment information as the payment information to be used according to the certificate including:
  • the certificate has a receipt information
  • determining a payment information as the payment information to be used according to the certificate including:
  • each of the at least two pieces of payment information further includes: payee information
  • determining a payment information as the payment information to be used according to the certificate including:
  • the payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
  • the certificate includes at least two payment information, and each of the at least two payment information further includes: a geographic location of the payee position;
  • determining a payment information as the payment information to be used according to the certificate including:
  • the responding to the user-triggered payment operation determining a payment information as the payment information to be used according to the certificate, includes:
  • the accessing the wireless local area network by using a certificate authentication manner includes:
  • the wireless access point Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
  • a payment method and related terminal pre-built payment information in a certificate of a wireless local area network, and the terminal ensures network security of accessing the wireless local area network by means of certificate authentication, in the wireless local area network, if the user
  • the user does not need to scan the merchant's payment QR code, but only initiates the payment process by triggering the payment operation; when the user triggers the payment operation through the terminal, the terminal determines the current payment to be used according to the payment information carried in the certificate.
  • the information further interacts with the payment server according to the payment information to be used to implement the payment service.
  • the merchant there is no need to queue the merchant to scan the payment code to complete the payment, thereby eliminating the need to queue the code scanning link and saving the user's payment time; for the merchant, it is not necessary to display the payment code to prevent the illegal elements from performing illegal covering behavior.
  • the security of the payment information is ensured.
  • the process of accessing the wireless local area network by the terminal needs to be authenticated by the certificate, the network security of the terminal in the payment process can be ensured, and the network intrusion of the illegal elements can be prevented.
  • a fourth aspect of the present application provides an unlocking method, which is applied to a first terminal, and includes:
  • the Bluetooth certificate of the second terminal includes a unique identifier of the second terminal and server information of the second terminal;
  • the method further includes:
  • a display control for receiving a user's unlocking operation is provided.
  • a first terminal is provided in the fifth aspect of the present application, including:
  • a Bluetooth connection module configured to establish a Bluetooth connection with the second terminal by using a Bluetooth certificate authentication manner, the second terminal has a password lock, and the Bluetooth certificate of the second terminal has a unique identifier of the second terminal and the Server information of the second terminal;
  • the information acquiring module is configured to send an acquisition request to the second terminal, and receive the unique identifier of the second terminal and the server information that are fed back by the second terminal, in response to the unlocking operation triggered by the user;
  • the unlocking module is configured to implement unlocking of the second terminal by communicating with the corresponding server according to the collection server information and the identifier of the second terminal.
  • the terminal further includes:
  • a display module is configured to display a control for receiving an unlocking operation of the user.
  • a first terminal is provided in the fifth aspect of the present application, including:
  • processor and a memory; the memory storing computer instructions, wherein when the computer instructions in the memory are executed, the processor is configured to perform the following steps:
  • the Bluetooth certificate of the second terminal includes a unique identifier of the second terminal and server information of the second terminal;
  • the processor is further configured to perform the following steps:
  • a display control for receiving a user's unlocking operation is provided.
  • a sixth aspect of the present application provides an unlocking method, which is applied to a second terminal, and includes:
  • the second terminal has a password lock, and the Bluetooth certificate of the second terminal has a unique identifier of the second terminal and server information of the second terminal;
  • a second terminal is provided in the seventh aspect of the present application, including:
  • Establishing a connection module configured to establish a Bluetooth connection with the first terminal by using a Bluetooth certificate authentication manner; the second terminal has a password lock, and the Bluetooth certificate of the second terminal has a unique identifier of the second terminal and the first Server information of the second terminal;
  • An information feedback module configured to receive an unlock request sent by the first terminal, and feed back, to the first terminal, a unique identifier of the second terminal and server information of the second terminal;
  • the unlocking module is configured to receive an unlocking password and open the password lock.
  • a second terminal including:
  • processor and a memory; the memory storing computer instructions, wherein when the computer instructions in the memory are executed, the processor is configured to perform the following steps:
  • the Bluetooth certificate has a unique identifier of the second terminal and server information of the second terminal;
  • An unlocking method and related device provided by the embodiment of the present application, the unique identifier of the second terminal and the server information of the second terminal are pre-built in the Bluetooth certificate, and the user does not need to perform a scan code operation to obtain the second terminal when the user needs to be unlocked.
  • the above information is used to receive the above information of the second device by using the first terminal, and the information is used to unlock the second terminal.
  • the second terminal when the second terminal needs to be unlocked, it is not necessary to manually scan the two-dimensional code of the second device, thereby simplifying the unlocking operation of the user and shortening the unlocking time; for the merchant, there is no need to deploy on the second terminal
  • the two-dimensional code prevents the illegal person from performing the illegal covering behavior; in addition, because the first terminal and the second terminal establish a network connection established by the Bluetooth authentication method, the first terminal and the second terminal can ensure the unlocking through the point-to-point communication mode. Process security.
  • FIG. 2 is a diagram showing an example 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 present application.
  • FIG. 5 is another schematic diagram of a user triggering a payment operation in the embodiment of the present application.
  • FIG. 6 is a structural diagram of a terminal in an embodiment of the present application.
  • FIG. 7 is a hardware structural diagram of a terminal in an embodiment of the present application.
  • FIG. 9 is a structural diagram of a first terminal in an embodiment of the present application.
  • FIG. 10 is a hardware structural diagram of a first terminal in an embodiment of the present application.
  • FIG. 12 is a structural diagram of a second terminal in the embodiment of the present application.
  • FIG. 13 is a hardware structural diagram of a second terminal in the embodiment of the present application.
  • the payment method provided by the embodiment of the present application and the application scenario of the related terminal are introduced first.
  • the user is selected to access the network provided by the merchant, and the payment is quickly completed by the electronic payment method; for example, the user uses the terminal to enable a payment client pre-installed on the terminal, such as a WeChat client, Alipay
  • the client such as the client that can implement the payment function; taking the WeChat client as an example, the user clicks to start the WeChat client, and then clicks the sweep function, and then obtains the payment information of the merchant by aligning the QR code provided by 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 the payment.
  • the QR code covers the merchant's collection QR code, which the consumer cannot identify. It is easy to cause property damage by scanning the code.
  • the embodiment of the present application provides a payment method, which provides a user with a payment method that does not need to scan the code, can ensure the security of the payment process, simplify the user payment operation, and improve the payment efficiency.
  • a payment method provided in the embodiment of the present application can be applied to a terminal, and the terminal can be a smart phone, a tablet computer, a smart watch, etc., and can load a device that implements electronic payment by the payment client.
  • the payment client refers to a client for implementing an electronic payment function, such as a WeChat client, an Alipay client, etc., and the payment client can be loaded into the terminal in the form of an application (Application, APP), or The web form exists.
  • FIG. 1 a flowchart of a payment method provided in an embodiment of the present application is shown. The method is applied to a terminal, and the method includes the following steps:
  • Step 101 The terminal accesses the wireless local area network by using a certificate authentication manner, where the certificate has at least one payment information, wherein each of the at least one payment information includes the collection account information and the collection server. information;
  • Wireless Local Area Networks is a local area network that uses wireless technology to transmit data over the air.
  • WLAN can easily and quickly accept newly added terminals.
  • Wireless LAN supports a variety of different network protocols. The following is an example of a WiFi network.
  • the WLAN includes a wireless access point and an authentication server, and provides a network access service for the terminal through the wireless access point.
  • the wireless access point sends an access prompt to the terminal, prompting the user.
  • the WiFi certificate is installed, and the WiFi certificate not only carries the authentication related information, but also has built-in collection information, wherein the payment information refers to the payment information of the payee, and the receipt information includes at least the collection account information and the collection server information. .
  • the payment account information refers to the bank account information of the payee, and at least includes: an account number, or information that can identify the user account; of course, the account name, the account opening, and the like may also be included; the payment server information may include The network address (IP address, MAC address, etc.) of the receiving server, domain name, name, or other information that can identify the server.
  • IP address IP address
  • MAC address MAC address
  • the terminal may access the wireless local area network by using the following manners, where the manner includes:
  • the wireless access point Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
  • the user can install a certificate management client on the terminal in advance.
  • the certificate management client is used to automatically download, update, and manage the certificate of the wireless local area network, such as a WiFi certificate, when the terminal accesses the WiFi network.
  • the terminal uses the certificate management client to automatically download the WiFi certificate.
  • the terminal searches for the WiFi network and passes the WiFi authentication. After the authentication is passed, the WiFi network allows the terminal to access.
  • the authentication method is not limited in this embodiment. To facilitate understanding of the implementation of the embodiment of the present application, An optional implementation is given below:
  • the terminal uses the authentication URL in the WiFi certificate to connect to the WiFi through the SSID and initiates the 802.1x authentication, and sends a WiFi authentication request to the wireless access point, so that the authentication server completes the WiFi authentication feedback authentication result; the terminal receives the authentication result fed back by the wireless access point.
  • the authentication result is that when the authentication is passed, the terminal accesses the WiFi network.
  • Step 102 Determine, according to the payment operation triggered by the user, a receipt information as the payment information to be used according to the certificate;
  • the terminal provides the user with a quick payment method that does not need to scan the code.
  • the user triggers the payment operation, and the terminal responds to the payment operation, and determines the current payment information required by the user according to the WiFi certificate, as the to-be-used information. Collection information.
  • the terminal displays a payment control, where the payment control is used to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
  • step 102 specifically includes:
  • the terminal can display the payment control on the pre-installed payment client page by means of a plug-in.
  • the terminal parses a payment information matching the payment client type from the certificate as the to-be-used information. Collection information.
  • FIG. 2 is a schematic diagram of a user triggering a payment operation in the embodiment of the present application.
  • FIG. 2 is a scenario in which a terminal is preloaded with a WeChat client, and the terminal displays a type on the “Discovery” page of the WeChat client.
  • Payment control such as "free scan code payment control”
  • the payment control is independent of the other original function control of the WeChat client, which does not affect the WeChat client "sweep", "shake” and other functions, the user
  • the payment control is directly touched, and the payment operation is triggered, and the terminal responds to the payment operation, and the payment information matching the “WeChat client” type is parsed from the certificate as the to-be-used Billing message.
  • the terminal provides a hardware payment control for the user, or provides a software control on the interaction interface of the system, and the payment control can be in the form of a fingerprint control, a button control, a shortcut icon control, etc.;
  • the payment control is a fingerprint control, and the terminal also saves the binding relationship between the fingerprint and the payment client type, so that the user can start a specific payment client through a specific fingerprint.
  • the security of such fast payment can be further ensured by the form of the fingerprint control, and the other person can be prevented from replacing the malicious consumption of the user.
  • FIG. 3 is another schematic diagram of a user triggering a payment operation in the embodiment of the present application.
  • the terminal displays a shortcut icon type payment control on the interaction interface, and the payment control
  • the binding relationship is pre-installed with the payment client, and the binding relationship is dynamically updated according to the actual situation of the payment client on the terminal. For example, if only one WeChat client is pre-installed on the terminal, the binding is The relationship is a one-to-one binding relationship between the payment control and the WeChat client; subsequently, the user downloads and installs the Alipay client, and the terminal updates the binding relationship to the payment control and the WeChat client and the Alipay client.
  • the terminal updates the binding relationship again as a one-to-one binding relationship between the payment control and the WeChat client;
  • the payment control needs to be dynamically updated to maintain the binding relationship between the payment control client and the payment client, thereby ensuring the reliability of fast payment.
  • the shortcut icon is touched. If the binding relationship is one-to-one, the terminal automatically determines the payment information matching the payment client type as the payment information to be used according to the binding relationship. If the binding relationship is one-to-many, the terminal displays the payment client selection page for the user according to the binding relationship. As shown in FIG. 3, the shortcut icon of the payment client pre-installed on the terminal is displayed on the payment client selection page.
  • the terminal conveniently selects the payment client to be used currently; the terminal parses the payment information matching the selected payment client type from the certificate according to the selected payment client type, as the payment information to be used.
  • the merchants provide multiple types of payment codes, such as WeChat collection codes and Alipay collection codes, in order to meet different payment requirements of the users;
  • the terminal can quickly determine the payment information to be used according to the actual needs of the user according to the actual payment environment.
  • FIG. 4 is a schematic diagram of a user implementing a payment process in the embodiment of the present application; assuming that a user pre-installs a WeChat client and an Alipay client in the terminal, the terminal displays a payment control on an interactive page of the system. If the name is the scan-free code payment control, and save the one-to-many correspondence between the payment control and the two payment clients, the user touches the payment control, and the terminal displays and pays on the payment client selection page.
  • the control has a shortcut icon of the two payment clients of the binding relationship. If the user selects the shortcut icon of the Alipay client, the terminal parses the certificate, and selects the payment information matching the payment type of the Alipay as the payment information to be used.
  • a certificate may only contain one type of payment information of one merchant; then, in response to the user's payment operation, the terminal parses the certificate to obtain the payment information, and directly determines that the payment information is the payment to be used. information.
  • a certificate may contain multiple types of payment information of a merchant, for example, including a merchant's Alipay type of payment information and a WeChat type of payment information; then the terminal responds to the user's payment operation, the terminal According to determining the payment client type, the parsing certificate selects the payment information matching the determined payment client type from the plurality of types of payment information.
  • the embodiment of the present application further provides an optional implementation manner, specifically, at least two payment information in the certificate; and each of the at least two payment information
  • the information further includes: payee information; the payee information may include the name of the payee, the ID number, the organization code, and the like, which may identify the payee.
  • the payee information in different payment information is different, that is, the receipt information of at least two different payees in the certificate;
  • Step 102 which may include:
  • the terminal displays the payee information included in each of the at least two payment information, and determines the corresponding payment information as the payment information to be used according to the selected payee information.
  • FIG. 5 is another schematic diagram of a user triggering a payment operation in the embodiment of the present application; the actual scenario shown in FIG. 5 is that a shopping mall has a plurality of catering businesses, and the shopping mall deploys a WiFi network.
  • WiFi network covers a number of catering businesses, including: McDonald's, KFC, Burger King, etc., merchants in the WiFi network WiFi certificate pre-built the collection information of various businesses, such as: WiFi certificate with McDonald's, KFC, Burger King, and other businesses
  • the payment information of each merchant includes at least: collection account information, collection server information, and payee information, such as business name, store name, etc.; assume that the user enters the mall with a mobile phone, and the mobile phone passes WiFi.
  • Authentication access to the WiFi network when the user enters the McDonald's store to consume electronic payment, the user does not need to scan the merchant QR code, only the WeChat client clicks the payment control to trigger the payment operation, the mobile phone responds to the user's payment operation, and the WiFi certificate is obtained multiple times.
  • the merchant's respective payment information feedback to the user the store name of the multiple merchants, that is, the payment
  • the mobile phone displays the merchant icon to the user to carry the merchant name, which is convenient for the user to identify for quick selection.
  • the store name may be displayed in the actual application, but the embodiment of the present application does not make the specific display form and content.
  • the mobile phone directly treats the payment information of the McDonald's corresponding payment information in accordance with the WeChat payment type according to the user's choice. Collection information used.
  • the user can participate in the payment process and control the implementation of the payment process based on actual needs.
  • the embodiment of the present application further provides another optional implementation manner.
  • the certificate has at least two payment information, and each of the at least two payment information is collected.
  • the information also includes: the geographic location of the payee;
  • the certificate has at least two payment information, and each of the payment information includes the collection account information, the collection server information, and the geographical location of the payee;
  • Step 201 which may include:
  • the geographic location of the payee refers to the actual geographic location of the merchant store, and the geographic location may refer to the geographic location range of the merchant store, and the current geographic location of the terminal matches the geographic location of the payee, which refers to the current geographic location of the terminal. Falling into the geographic location of the merchant's store; the geographic location may also be a specific location coordinate point, and the current geographic location of the terminal matches the geographic location of the payee is the current geographic location of the terminal and the geographic location of the payee.
  • the distance between the two is less than or equal to the preset distance, and the preset distance may be determined according to the actual area of the merchant store, and the geographic location coordinate point of the merchant may be the central location of the merchant store.
  • the terminal can quickly determine the payment information to be used according to its actual geographic location.
  • the payment operation is triggered by the WeChat client, and the mobile phone responds to the user-triggered payment operation, parses the WiFi certificate to obtain the payment information of multiple merchants, and then according to the current geographic location of the terminal. Find the matching payment information in the collection information of multiple merchants as the payment information to be used.
  • a wireless local area network will cover multiple merchants, and one merchant will support multiple types of payment methods, and there are multiple merchants' payment information in the certificate, and one merchant correspondingly has At least two types of payment information. Therefore, in an actual application, the user triggers a payment operation, and the terminal responds to the payment operation, and needs to determine which payment client the user wants to use, and which merchant to perform the payment transaction. Therefore, the terminal may select the above-mentioned several types according to actual needs. The selected implementation manner is combined to realize that the terminal selects the payment information of a merchant matching the payment client as the payment information to be used among the plurality of payment information parsed by the terminal from the certificate.
  • the terminal determines the payment client type in response to the user's payment operation, and then parses the certificate to obtain multiple types of payment information of multiple merchants, and collects information according to the current geographic location of the terminal.
  • the payment information matching the payment client type and the current geographic location of the terminal is selected as the payment information to be used.
  • the terminal determines the payment client type in response to the user's payment operation; and re-analyzes the certificate to obtain multiple types of payment information of the plurality of merchants, according to the user-selected payee information.
  • the payment information matching the payment client type and the selected payee information is selected from the payment information as the payment information to be used.
  • embodiment of the present application further provides another optional implementation manner, including:
  • the terminal sends a payment information acquisition request to the wireless access point in response to the user-triggered payment operation;
  • the payment information obtaining request may include: a payment client type and a current geographic location of the terminal; the payment information obtaining request may also include: a payment client type and a selected merchant name; the payment information is received by the wireless access point.
  • the obtaining request is forwarded to the authentication server, and the authentication server determines the payment information to be used by the terminal according to the information carried in the payment information acquisition request.
  • the authentication server reads the payment information in the certificate from the cloud database, and the data storage amount of the cloud database is relatively large, and supports real-time update; therefore, the method can alleviate the terminal side.
  • the data analysis pressure can meet the demand for receiving information at any time. Especially in some shopping malls, businesses will change, for example, new merchants enter the mall, old merchants are demolished, merchants receive information changes, etc. Based on this, the receipt information in the certificate needs to be updated at any time.
  • Step 103 The terminal communicates with the corresponding collection server according to the collection server information and the collection account information in the payment information to be used to implement payment.
  • the terminal after determining the payment information to be used, the terminal sends the payment account information to the corresponding server by using the payment server information, and after receiving the payment account information, the payment server performs verification of the account identity legality and verification. After the feedback information is fed back to the terminal, the terminal receives the confirmation information, controls the payment client to display the payment page, and the user inputs the payment amount, the payment password, and the like on the payment page to complete the payment.
  • different payment methods are specifically supported by different payment clients, for example, a secret payment, a password payment, a fingerprint payment, and the like.
  • the specific payment method is not limited in the embodiment of the present application.
  • the present application further provides a terminal.
  • the terminal will be described below with reference to FIG. 6.
  • FIG. 6 shows a terminal provided by an embodiment of the present application, where the terminal 600 includes:
  • the network access module 601 is configured to access the wireless local area network by using a certificate authentication manner, where the certificate has at least one payment information, wherein each of the at least one payment information includes the collection account information And collection server information;
  • the determining module 602 is configured to determine, according to the payment operation triggered by the user, a payment information as the payment information to be used according to the certificate;
  • the payment module 603 is configured to implement payment according to the payment server information and the payment account information in the payment information to be used, and the corresponding payment server.
  • the terminal further includes:
  • control display module configured to display a payment control, where the payment control is used to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
  • the determining module is specifically configured to:
  • the certificate has a payment information; the determining module is specifically configured to:
  • each of the at least two payment information further includes: a payee information
  • the determining module is specifically configured to:
  • the payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
  • the certificate has at least two payment information, and each of the at least two payment information further includes: a geographical location of the payee;
  • the determining module is specifically configured to:
  • the determining module is specifically configured to:
  • the network access module is specifically configured to:
  • the wireless access point Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
  • the related functions implemented by the network access module 601, the determining module 602, and the payment module 603 can be understood by referring to the description in the foregoing payment method embodiment, and details are not repeatedly described herein.
  • FIG. 7 shows a partial structure of a terminal 600 according to an embodiment of the present invention.
  • the terminal 600 includes: a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless communication module 770, a processor 780, and a power supply 790.
  • RF radio frequency
  • the terminal structure shown in FIG. 7 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the components of the terminal 600 are specifically described below with reference to FIG. 7:
  • the RF circuit 710 can be used to transmit or receive data
  • the memory 720 can be used to store software programs and modules, and the processor 1280 executes various functional applications and data processing of the terminals by running software programs and modules stored in the memory 720.
  • the memory 720 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the terminal (such as audio data, phone book, etc.).
  • memory 1220 can include high speed random access memory, and can 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 is operable to receive an operation instruction of the user and generate a key signal input related to user setting and function control of the terminal 100.
  • 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 contact or non-contact operation touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 731 or on any suitable object or accessory.
  • the operation near the touch panel 731) drives the corresponding connection terminal according to a preset program.
  • the touch panel 731 can include two parts: a touch detection terminal and a touch controller.
  • the touch detection terminal detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection terminal, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 780 is provided and can receive commands from the processor 780 and execute them.
  • the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • 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 (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 740 can be used to display the interface.
  • the display unit 740 can include a display panel 741.
  • the display panel 741 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 1231 may cover the display panel 741.
  • the touch panel 731 detects a touch operation on or near the touch panel 731, it transmits to the processor 780 to determine the type of the touch event, and then the processor 780 according to the touch event.
  • the type provides a corresponding visual output on display panel 741.
  • the touch panel 731 and the display panel 741 are two independent components to implement the input and input functions of the terminal, in some embodiments, the touch panel 731 and the display panel 741 can be integrated. And realize the input and output functions of the terminal.
  • Terminal 100 can also include at least one type of sensor 750.
  • An audio circuit 760, a speaker 761, and a microphone 762 can provide an audio interface between the user and the terminal.
  • the audio circuit 760 can transmit the converted electrical data of the received audio data to the speaker 761 for conversion to the sound signal output by the speaker 761; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal by the audio circuit 760. After receiving, it is converted into audio data, and then processed by the audio data output processor 780, transmitted to the terminal, for example, via the RF circuit 710, or the audio data is output to the memory 720 for further processing.
  • the wireless communication module 770 can be used for communication.
  • the wireless communication module may specifically be a WiFi module.
  • the processor 780 is the control center of the terminal, and connects various parts of the entire terminal using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 720, and calling data stored in the memory 720, executing The terminal's various functions and processing data, so as to monitor the terminal as a whole.
  • the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 780.
  • the processor 780 may further include a function module such as display control.
  • the terminal 600 also includes a power source 790 (such as a battery) for powering various components.
  • a power source 790 such as a battery
  • the power source can be logically coupled to the processor 780 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the terminal 600 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the processor 780 included in the terminal further has the following functions:
  • the certificate has at least one payment information, wherein each of the at least one payment information includes the collection account information and the collection server information;
  • the payment is realized by communicating with the corresponding collection server according to the payment server information and the payment account information in the payment information to be used.
  • the processor is further configured to: display a payment control, where the payment control is used to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
  • determining a payment information as the payment information to be used according to the certificate including:
  • determining a payment information as the payment information to be used according to the certificate including:
  • each of the at least two payment information further includes: a payee information
  • determining a payment information as the payment information to be used according to the certificate including:
  • the payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
  • the certificate has at least two payment information, and each of the at least two payment information further includes: a geographical location of the payee;
  • determining a payment information as the payment information to be used according to the certificate including:
  • determining, according to the certificate, a payment information as the payment information to be used including:
  • accessing the WLAN through the authentication mode of the certificate includes:
  • the wireless access point Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
  • the network access module 601 in the terminal 600 can be implemented by the radio unit 730 and the processor 780
  • the determining unit 602 can be implemented by the processor 780
  • the payment module 603 can be implemented by the wireless communication module 770 and the processing 780.
  • the related descriptions of the terminal 600 can be understood by referring to the description in the foregoing payment method embodiment, and details are not repeatedly described herein.
  • the present application further provides an unlocking method and related terminal.
  • the following describes an unlocking method and an application scenario of the related terminal provided by the present application.
  • shared devices gradually enter people's daily lives, facilitating people's work and life; shared devices all have password locks, and users can use the devices only after they are properly unlocked.
  • the shared bicycle is provided by the enterprise to provide bicycle and electric vehicle sharing services in the public area; the shared bicycle has a password lock, and the user needs to scan the shared bicycle QR code when the user is in use, and the user can only after the shared bicycle is unlocked. use.
  • One method of unlocking a shared bicycle is that the user pre-installs a client sharing a bicycle on the terminal, such as a motorcycle, OF0, etc., when the user needs to use the shared bicycle, the user starts the client sharing the bicycle first. The scanning function of the client is started, the QR code on the shared bicycle is scanned, and then the terminal communicates with the shared bicycle server, and the shared bicycle server verifies the QR code related information sent by the terminal.
  • the shared bicycle server controls sharing.
  • the bicycle is automatically unlocked, or the shared bicycle server feeds back the unlock password to the terminal, and the user inputs the unlock password to manually unlock.
  • the unlocking method of other shared devices is similar to the unlocking method of shared bicycles, and will not be enumerated again.
  • the embodiment of the present application further provides an unlocking method and related terminal, which is used to provide a fast payment method that does not need to scan code, thereby ensuring the security of the unlocking process, simplifying the unlocking operation of the user, and shortening the unlocking. time.
  • FIG. 8 is a flowchart of an unlocking method according to an embodiment of the present application.
  • the method is applied to a first terminal, where the first terminal refers to a terminal device that supports Bluetooth communication, such as a smart phone, a tablet computer, or a smart watch.
  • the method includes the following steps:
  • Step 801 The first terminal establishes a Bluetooth connection with the second terminal by using a Bluetooth certificate authentication manner, the second terminal has a password lock, and the Bluetooth certificate of the second terminal includes the identifier of the second terminal and the second terminal. Server information of the terminal;
  • the first terminal initiates a Bluetooth search, actively searches for a terminal that has started Bluetooth, and sorts the found terminal, and selects to send an authentication request to the second terminal to determine whether the second terminal is received within a specified time.
  • the response to the authentication request if the first terminal receives the response of the second terminal to the authentication request within a specified time, and receives the authentication key of the second terminal, that is, the authentication succeeds, the first The terminal establishes a Bluetooth connection with the second terminal.
  • Step 802 The first terminal sends an acquisition request to the second terminal in response to the unlocking operation triggered by the user, and receives the identifier of the second terminal and the server information that are fed back by the second terminal.
  • the method further includes:
  • the first terminal displays a control for receiving an unlocking operation of the user.
  • the client corresponding to the second terminal is pre-installed in the first terminal, and the first terminal displays the control on the interaction page of the client, and the user uses the first terminal to enable the client. And displaying the control on the interaction page of the client, and subsequently using the client to implement unlocking control on the second terminal.
  • the client corresponding to the second terminal may be pre-installed in the first terminal, for example, the second terminal is a client sharing a bicycle, such as a client of a motorcycle, an OFO client, and the like.
  • the first terminal provides a control for the user through the client of the second terminal, and the user touches the control, and the terminal receives the unlocking operation of the user, and then responds to the unlocking operation, which needs to be described in the first embodiment of the present application.
  • the terminal may display the control on the interactive page of the client of the second terminal in the form of a plug-in, but the control does not affect other functions of the client of the second terminal.
  • the control is displayed on the interaction page of the first terminal's own system, or the hardware control is set in the first terminal, and the control is connected with the client of the second terminal pre-installed in the first terminal.
  • the terminal has a binding relationship. After the user touches the control, the first terminal establishes a Bluetooth connection with the second terminal, and starts a client corresponding to the second terminal, and subsequently uses the client to implement unlocking control on the second terminal.
  • the first terminal displays a control on the system interaction page, and the hardware control has a binding relationship with each client of the second terminal pre-installed in the first terminal, when the user touches the control, the first terminal
  • the terminal determines the client of the second terminal according to the type of the second terminal connected to the Bluetooth, and then starts the client of the second terminal.
  • the first terminal establishes a Bluetooth connection with the Mobike, and the first terminal starts the Mobai.
  • the client of the bicycle responds to the user's unlock operation.
  • the identifier of the second terminal refers to information that can uniquely identify the second terminal, such as the hardware device identifier of the second terminal, the identifier of the Bluetooth chip embedded in the second terminal, and the like.
  • the server information of the second terminal refers to the network address of the server corresponding to the client of the second terminal, and the server refers to the service device corresponding to the client, provides data support for the client, and is used for controlling and managing the second terminal.
  • the server information refers to the communication address of the server.
  • the second terminal is a Mobike bicycle.
  • the identifier of the second terminal is a bicycle number
  • the server information is a network address of a Mobike server.
  • Step 803 The first terminal communicates with the corresponding server according to the collection server information and the identifier of the second terminal, so as to unlock the second terminal.
  • the unlocking manners used by different types of password locks are also different; in an optional implementation manner, the passwords of the second terminal are different.
  • the lock is a smart lock, and after the server passes the verification, the server sends an unlocking command to the first terminal and the second terminal, and the unlocking command carries the unlocking password. If the second terminal receives the unlocking command first, according to the unlocking instruction, The unlocking password is automatically unlocked. If the first terminal receives the unlocking command, the first terminal sends the unlocking command to the second terminal through the Bluetooth, and the second terminal unlocks according to the unlocking command.
  • the password lock of the second terminal is a mechanical lock
  • the server sends an unlocking command to the first terminal, where the unlocking command carries the unlocking password
  • the first terminal displays the If the password is unlocked, the user manually unlocks the second device according to the unlock password, and enters the unlock password in the password lock of the second terminal, and the second terminal opens the password lock according to the unlock password.
  • An unlocking method is provided in the embodiment of the present application.
  • the identifier of the second terminal and the server information of the second terminal are pre-built in the Bluetooth certificate.
  • the user When the user needs to unlock, the user does not need to perform a scan operation to obtain the foregoing information of the second terminal. Rather, the first terminal receives the above information of the second device through Bluetooth, and uses the information to implement unlocking of the second terminal.
  • the second terminal when the second terminal needs to be unlocked, it is not necessary to manually scan the two-dimensional code of the second device, thereby simplifying the unlocking operation of the user and shortening the unlocking time; for the merchant, there is no need to deploy on the second terminal
  • the two-dimensional code prevents the illegal person from performing the illegal covering behavior; in addition, because the first terminal and the second terminal establish a network connection established by the Bluetooth authentication method, the first terminal and the second terminal can ensure the unlocking through the point-to-point communication mode. Process security.
  • the embodiment of the present application provides a first terminal, which is introduced below with reference to FIG. 9.
  • FIG. 9 is a structural diagram of a first terminal in the embodiment of the present application.
  • the first terminal 900 includes:
  • a Bluetooth connection module 901 configured to establish a Bluetooth connection with the second terminal by using a Bluetooth certificate authentication manner, the second terminal has a password lock, and the Bluetooth certificate of the second terminal has a unique identifier of the second terminal and the Server information of the second terminal;
  • the information obtaining module 902 is configured to send an acquisition request to the second terminal in response to the unlocking operation triggered by the user, and receive the unique identifier of the second terminal and the server information that are fed back by the second terminal;
  • the unlocking module 903 is configured to implement unlocking of the second terminal by communicating with the corresponding server according to the collection server information and the identifier of the second terminal.
  • the first terminal further includes:
  • a display module is configured to display a control for receiving an unlocking operation of the user.
  • the related functions of the Bluetooth connection module 901, the information acquisition module 902, and the unlocking module 903 can be understood by referring to the description in the foregoing unlocking method embodiment, and details are not repeatedly described herein.
  • the embodiment of the present application provides a first terminal, and the hardware structure diagram of a terminal shown in FIG. 10 is shown in FIG. 10, and FIG. 10 shows an embodiment of the present invention.
  • a block diagram of a portion of the structure of the first terminal 900 is provided.
  • 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, and a Bluetooth.
  • RF radio frequency
  • the terminal structure shown in FIG. 10 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or combine some components, or different component arrangements.
  • the RF circuit 1010 can be used to transmit or receive data
  • the memory 1020 can be used to store software programs and modules, and the processor 1280 executes various functional applications and data processing of the terminals by running 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 required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the terminal (such as audio data, phone book, etc.).
  • memory 1220 can include high speed random access memory, and can 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 can be configured to receive an operation instruction of the user, and generate a key signal input related to user setting and function control of the terminal 100.
  • 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 contact or non-contact operation touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 1031 or The operation in the vicinity of the touch panel 1031) drives the corresponding connection terminal according to a preset program.
  • the touch panel 1031 may include two parts: a touch detection terminal and a touch controller.
  • the touch detection terminal detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection terminal, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1080 is provided and can receive commands from the processor 1080 and execute them.
  • the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • 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 (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 1040 can be used to display the interface.
  • the display unit 1040 may include a display panel 1041.
  • 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.
  • the touch panel 1031 may cover the display panel 1041, and when the touch panel 1031 detects a touch operation thereon or nearby, the touch panel 1031 transmits to the processor 1080 to determine the type of the touch event, and then the processor 1080 according to the touch event.
  • the type provides a corresponding visual output on display panel 1041.
  • the touch panel 1031 and the display panel 1041 are two independent components to implement the input and input functions of the terminal, in some embodiments, the touch panel 1031 and the display panel 1041 may be integrated. And realize the input and output functions of the terminal.
  • Terminal 200 can also include at least one type of sensor 1050.
  • Audio circuit 1060, speaker 1061, and microphone 1062 can provide an audio interface between the user and the terminal.
  • the audio circuit 1060 can transmit the converted electrical data of the received audio data to the speaker 1061, and convert it into a sound signal output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, by the audio circuit 1060. After receiving, it is converted into audio data, and then processed by the audio data output processor 1080, sent to, for example, another terminal via the RF radio circuit 1010, or outputted to the memory 1020 for further processing.
  • the processor 1080 is the control center of the terminal, which connects various parts of the entire terminal using various interfaces and lines, and executes by executing or executing software programs and/or modules stored in the memory 1020, and calling data stored in the memory 1020.
  • the processor 780 may include one or more processing units; preferably, the processor 1080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1080.
  • the processor 1080 may further include a function module such as display control.
  • the terminal 200 also includes a power source 1090 (such as a battery) for powering various components.
  • a power source 1090 such as a battery
  • the power source can be logically coupled to the processor 1080 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the terminal 200 may further include a camera or the like, and details are not described herein again.
  • the processor 1080 included in the terminal further has the following functions:
  • the Bluetooth certificate of the second terminal includes a unique identifier of the second terminal and server information of the second terminal;
  • the processor is also used to perform the following functions:
  • a display control for receiving a user's unlocking operation is provided.
  • the Bluetooth connection module 901 in the first terminal 200 can be implemented by the Bluetooth module 10100 and the processor 1080
  • the information acquisition unit 902 can be implemented by the Bluetooth module 10100 and the processor 1080
  • the unlocking module 903 can be wirelessly communicated.
  • Module 1070 and process 1080 are implemented.
  • the related descriptions of the first terminal 200 can be understood by referring to the description in the foregoing unlocking method embodiment, and details are not repeatedly described herein.
  • An unlocking method and related terminal provided by the present application are described above. Based on the same technical idea, the present application further provides another unlocking method and related terminal.
  • FIG. 11 is a flowchart of another unlocking method in the embodiment of the present application.
  • the method is applied to a second terminal, where the second terminal refers to a terminal device with a password lock and supports Bluetooth communication, for example, sharing.
  • Step 1101 The second terminal establishes a Bluetooth connection with the first terminal by using a Bluetooth certificate authentication manner; the second terminal has a password lock, and the Bluetooth certificate of the second terminal includes the identifier of the second terminal and the second terminal. Server information of the terminal;
  • the second terminal establishes a Bluetooth connection with the first terminal through the Bluetooth authentication mode, and after the second terminal passes the authentication, performs peer-to-peer communication with the first terminal, and the second terminal has the second in the Bluetooth certificate of the second terminal.
  • the Bluetooth module of the second terminal can be built in the password lock, and the Bluetooth certificate can be built in the Bluetooth module.
  • Step 1102 The second terminal receives the unlocking request sent by the first terminal, and feeds back the identifier of the second terminal and the server information of the second terminal to the first terminal.
  • Step 1103 The second terminal receives the unlock password and opens the password lock.
  • FIG. 12 is a structural diagram of a second terminal according to an embodiment of the present application.
  • the second terminal 1200 includes:
  • the information feedback module 1202 is configured to receive an unlock request sent by the first terminal, and feed back, to the first terminal, a unique identifier of the second terminal and server information of the second terminal;
  • the unlocking module 1203 is configured to receive an unlock password and open the password lock.
  • FIG. 13 is a hardware structure diagram of a second terminal according to an embodiment of the present application.
  • 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, password lock 13100, and Bluetooth module 13110. And other components.
  • RF radio frequency
  • the terminal structure shown in FIG. 13 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the RF circuit 1310 can be used to transmit or receive data
  • the memory 1320 can be used to store software programs and modules, and the processor 1380 executes various functional applications and data processing of the terminals by running 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 required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the terminal (such as audio data, phone book, etc.).
  • memory 1320 can include high speed random access memory, and can 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 is operable to receive an operation instruction of the user and generate a key signal input related to user setting and function control of the second terminal 12000.
  • the input unit 1330 may include a touch panel 1331 and other input devices 1332.
  • the touch panel 1331 which may also be referred to as a touch screen, may collect contact or non-contact operation touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 1331 or at any suitable object or accessory.
  • the operation near the touch panel 1331) drives the corresponding connection terminal according to a preset program.
  • the touch panel 1331 may include two parts: a touch detection terminal and a touch controller.
  • the touch detection terminal detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection terminal, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1380 is provided and can receive commands from the processor 1380 and execute them.
  • the touch panel 1331 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1330 may further 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 (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 1240 can be used to display the interface.
  • the display unit 1340 can include a display panel 1341.
  • the display panel 1341 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 1231 may cover the display panel 1341. After the touch panel 1331 detects a touch operation thereon or nearby, the touch panel 1331 transmits to the processor 1380 to determine the type of the touch event, and then the processor 1280 according to the touch event. The type provides a corresponding visual output on the display panel 1341.
  • the touch panel 1331 and the display panel 1341 are used as two independent components to implement the input and input functions of the terminal, in some embodiments, the touch panel 1331 and the display panel 1341 may be integrated. And realize the input and output functions of the terminal.
  • Terminal 1200 can also include at least one type of sensor 1350.
  • An audio circuit 1360, a speaker 1361, and a microphone 132 can provide an audio interface between the user and the terminal.
  • the audio circuit 1260 can transmit the converted electrical data of the received audio data to the speaker 1361, and convert it into a sound signal output by the speaker 1361; on the other hand, the microphone 1362 converts the collected sound signal into an electrical signal, and the audio circuit 1360 After receiving, it is converted into audio data, and then processed by the audio data output processor 1380, sent to, for example, another terminal via the RF circuit 1310, or outputted to the memory 1320 for further processing.
  • the WiFi module 130 can be used for communication.
  • the processor 1380 is the control center of the terminal, and connects various parts of the entire terminal using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 1320, and calling data stored in the memory 1320, The terminal's various functions and processing data, so as to monitor the terminal as a whole.
  • the processor 1380 may include one or more processing units; preferably, the processor 1380 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1380.
  • the processor 1380 may further include a function module such as display control.
  • the terminal 1200 also includes a power source 1390 (such as a battery) for powering various components.
  • a power source 1390 such as a battery
  • the power source can be logically coupled to the processor 1380 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the terminal 1200 may further include a camera or the like, and details are not described herein again.
  • the processor 1380 included in the terminal further has the following functions:
  • the processor 1380 included in the second terminal further has the following functions:
  • the Bluetooth certificate has a unique identifier of the second terminal and server information of the second terminal;
  • the related descriptions of the second terminal 1200 can be understood by referring to the description in the foregoing embodiments of the unlocking method, and details are not repeatedly described herein.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • wire eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
  • the embodiment of the present application further provides a computer readable storage medium, including instructions, when the terminal is running on the terminal, the terminal can be configured to perform the method for adjusting the scrolling speed of the interface provided in the embodiment of the present application.
  • a computer program product including instructions is provided in the embodiment of the present application.
  • the terminal When the terminal is running on the terminal, the terminal can be configured to perform the method for adjusting the scrolling speed of the interface provided in the embodiment of the present application.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the 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 standalone product, may be stored in a computer readable storage medium.
  • a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

Provided in embodiments of the present application are a payment method and a related terminal, used to enable a user to perform fast payment without code scanning. The method guarantees a secure payment process and simplifies user operation to improve payment efficiency. The embodiments of the present application also provide an unlocking method and a related terminal, used to enable fast unlocking without code scanning. The method ensures a secure unlocking process and simplifies user operation to save time when unlocking a device.

Description

一种支付方法、一种解锁方法及相关终端Payment method, unlocking method and related terminal 技术领域Technical field
本发明涉及终端技术领域,尤其涉及一种支付方法、一种解锁方法及相关终端。The present invention relates to the field of terminal technologies, and in particular, to a payment method, an unlocking method, and related terminals.
背景技术Background technique
随着移动互联网技术的快速发展,二维码在人们生活中出现的频率越来越高,极大方便了人们生活;然而,由于二维码制作门槛较低,不法分子可轻易的将病毒、木马程序、扣费软件等植入二维码中,让消费者上当受骗;由于二维码是一种用肉眼无法识别的信息技术,一些不法份子采用粘贴的方式,将自制的二维码遮盖商家的二维码,消费者根本无从识别,很容易造成财产损失。With the rapid development of mobile Internet technology, the frequency of two-dimensional codes appearing in people's lives is getting higher and higher, which greatly facilitates people's lives. However, due to the low threshold of two-dimensional code production, criminals can easily use viruses, Trojan horse programs, deduction software, etc. are embedded in the two-dimensional code, so that consumers are deceived; because the QR code is an information technology that is invisible to the naked eye, some illegal elements use the paste method to cover the homemade QR code. The QR code of the merchant, the consumer has no way to identify, it is easy to cause property damage.
发明内容Summary of the invention
有鉴于此,本申请实施例提供了一种支付方法及相关终端,用于为用户提供一种无需扫码的快捷支付方式,既保证支付过程的安全性,又简化用户的支付操作,缩短支付时间。In view of this, the embodiment of the present application provides a payment method and related terminal, which is used to provide a fast payment method without scanning code, which not only ensures the security of the payment process, but also simplifies the payment operation of the user and shortens the payment. time.
本申请实施例还提供了一种解锁方法及相关终端,用于为用户提供一种无需扫码的快捷支付方式,既保证解锁过程的安全性,又简化用户的解锁操作,缩短解锁时间。The embodiment of the present application further provides an unlocking method and a related terminal, which are used to provide a quick payment method for the user without scanning code, which not only ensures the security of the unlocking process, but also simplifies the unlocking operation of the user and shortens the unlocking time.
在本申请第一方面提供一种支付方法,包括:In a first aspect of the application, a payment method is provided, including:
通过证书的认证方式接入无线局域网,所述证书中有至少一个收款信息,其中,所述至少一个收款信息中的每个收款信息包括收款账户信息和收款服务器信息;Accessing the wireless local area network by means of a certificate authentication manner, wherein the certificate has at least one payment information, wherein each of the at least one payment information includes the collection account information and the collection server information;
响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息;Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate;
根据所述待使用的收款信息中的收款服务器信息和收款账户信息与对应的收款服务器通信,实现支付。The payment is realized by communicating with the corresponding collection server according to the payment server information and the payment account information in the payment information to be used.
结合第一方面,在第一种可能的实现方式中,所述方法还包括:In conjunction with the first aspect, in a first possible implementation, the method further includes:
显示支付控件,所述支付控件用于接收用户的支付操作;所述支付控件与支付客户端之间具有绑定关系;Displaying a payment control, the payment control is configured to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
根据被用户触控的支付控件与支付客户端之间的绑定关系,确定待使用的支付客户端类型;Determining the type of payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
根据所述待使用的支付客户端类型从所述证书中解析出与所述支付客户端类型匹配的一个收款信息作为待使用的收款信息。And according to the payment client type to be used, parsing one payment information matching the payment client type from the certificate as the payment information to be used.
结合第一方面,在第二种可能的实现方式中,所述证书中有一个收款信息;In combination with the first aspect, in a second possible implementation, the certificate has a receipt information;
所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
响应用户触发的支付操作,解析所述证书得到一个收款信息,将所述解析得到的一个收款信息确定为待使用的收款信息。Responding to the payment operation triggered by the user, parsing the certificate to obtain a payment information, and determining a payment information obtained by the parsing as the payment 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; each of the at least two pieces of payment information further includes: payee information;
所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信 息,包括:And responding to the user-triggered payment operation, determining, according to the certificate, a payment information as the payment information to be used, including:
响应用户触发的支付操作,解析所述证书得到至少两个收款信息;Responding to the user-triggered payment operation, parsing the certificate to obtain at least two payment information;
显示所述至少两个收款信息中每个收款信息包括的收款方信息,根据被选择的收款方信息确定对应的收款信息作为待使用的收款信息。The payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
结合第一方面,在第四种可能的实现方式中,所述证书中有至少两个收款信息,所述至少两个收款信息中的每个收款信息还包括:收款方的地理位置;With reference to the first aspect, in a fourth possible implementation, the certificate includes at least two payment information, and each of the at least two payment information further includes: a geographic location of the payee position;
所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
响应用户触发的支付操作,解析所述证书得到至少两个收款信息;Responding to the user-triggered payment operation, parsing the certificate to obtain at least two payment information;
根据所述至少两个收款信息中每个收款信息中收款方的地理位置,确定与终端当前地理位置相匹配的一个收款信息作为待使用的收款信息。And determining, according to the geographic location of the payee in each of the at least two payment information, a payment information that matches the current geographic location of the terminal as the payment information to be used.
结合第一方面,在第五种可能的实现方式中,所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:With reference to the first aspect, in a fifth possible implementation, the responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, includes:
响应用户触发的支付操作,向无线接入点发送收款信息获取请求;Sending a payment information acquisition request to the wireless access point in response to the user-triggered payment operation;
接收所述无线接入点反馈的待使用的收款信息,所述待使用的收款信息是认证服务器根据所述收款信息获取请求解析所述证书得到的。And receiving the payment information to be used fed back by the wireless access point, where the payment information to be used is obtained by the authentication server parsing the certificate according to the payment information acquisition request.
结合第一方面,在第六种可能的实现方式中,所述通过证书的认证方式接入无线局域网,包括:With reference to the first aspect, in a sixth possible implementation, the accessing the wireless local area network by using a certificate authentication manner includes:
通过证书中的认证地址向无线接入点发送认证请求;Sending an authentication request to the wireless access point through the authentication address in the certificate;
接收无线接入点反馈的认证结果,若认证结果为认证通过时,则接入无线局域网;其中认证结果是认证服务器根据所述无线接入点转发的所述认证请求进行身份认证得到的结果。Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result 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, a terminal is provided, including:
网络接入模块,用于通过证书的认证方式接入无线局域网,所述证书中有至少一个收款信息,其中,所述至少一个收款信息中的每个收款信息包括收款账户信息和收款服务器信息;a network access module, configured to access a wireless local area network by using a certificate, wherein the certificate has at least one payment information, wherein each of the at least one payment information includes a collection account information and Collection server information;
确定模块,用于响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息;a determining module, configured to respond to the user-triggered payment operation, and determine a payment information as the payment information to be used according to the certificate;
支付模块,用于根据所述待使用的收款信息中的收款服务器信息和收款账户信息与对应的收款服务器通信,实现支付。And a payment module, configured to communicate with the corresponding collection server according to the collection server information and the payment account information in the payment information to be used, to implement payment.
结合第二方面,在第一种可能的实现方式中,所述装置还包括:With reference to the second aspect, in a first possible implementation, the device further includes:
支付控件显示模块,用于显示支付控件,所述支付控件用于接收用户的支付操作;所述支付控件与支付客户端之间具有绑定关系;a payment control display module, configured to display a payment control, the payment control is configured to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
所述确定模块具体用于:The determining module is specifically configured to:
根据被用户触控的支付控件与支付客户端之间的绑定关系,确定待使用的支付客户端类型;Determining the type of payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
根据所述待使用的支付客户端类型从所述证书中解析出与所述支付客户端类型匹配的一个收款信息作为待使用的收款信息。And according to the payment client type to be used, parsing one payment information matching the payment client type from the certificate as the payment information to be used.
控件显示模块,用于显示支付控件,所述支付控件用于接收用户的支付操作。The control display module is configured to display a payment control, and the payment control is configured to receive a payment operation of the user.
结合第二方面,在第二种可能的实现方式中,所述证书中有一个收款信息;所述确定模块具体用于:With reference to the second aspect, in a second possible implementation, the certificate has a receipt information; the determining module is specifically configured to:
响应用户触发的支付操作,解析所述证书得到一个收款信息,将所述解析得到的一个收款信息确定为待使用的收款信息。Responding to the payment operation triggered by the user, parsing the certificate to obtain a payment information, and determining a payment information obtained by the parsing as the payment 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; each of the at least two pieces of payment information further includes: payee information;
所述确定模块具体用于:The determining module is specifically configured to:
响应用户触发的支付操作,解析所述证书得到至少两个收款信息;Responding to the user-triggered payment operation, parsing the certificate to obtain at least two payment information;
显示所述至少两个收款信息中每个收款信息包括的收款方信息,根据被选择的收款方信息确定对应的收款信息作为待使用的收款信息。The payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
结合第二方面,在第四种可能的实现方式中,所述证书中有至少两个收款信息,所述至少两个收款信息中的每个收款信息还包括:收款方的地理位置;With reference to the second aspect, in a fourth possible implementation, the certificate includes at least two payment information, and each of the at least two payment information further includes: a geographic location of the payee position;
所述确定模块具体用于:The determining module is specifically configured to:
响应用户触发的支付操作,解析所述证书得到至少两个收款信息;Responding to the user-triggered payment operation, parsing the certificate to obtain at least two payment information;
根据所述至少两个收款信息中每个收款信息中收款方的地理位置,确定与终端当前地理位置相匹配的一个收款信息作为待使用的收款信息。And determining, according to the geographic location of the payee in each of the at least two payment information, a payment information that matches the current geographic location of the terminal as the payment information to be used.
结合第二方面,在第五种可能的实现方式中,所述确定模块具体用于:With reference to the second aspect, in a fifth possible implementation, the determining module is specifically configured to:
响应用户触发的支付操作,向无线接入点发送收款信息获取请求;Sending a payment information acquisition request to the wireless access point in response to the user-triggered payment operation;
接收所述无线接入点反馈的待使用的收款信息,所述待使用的收款信息是认证服务器根据所述收款信息获取请求解析所述证书得到的。And receiving the payment information to be used fed back by the wireless access point, where the payment information to be used is obtained by the authentication server parsing the certificate according to the payment information acquisition request.
结合第二方面,在第六种可能的实现方式中,所述网络接入模块具体用于:With reference to the second aspect, in a sixth possible implementation, the network access module is specifically configured to:
通过证书中的认证地址向无线接入点发送认证请求;Sending an authentication request to the wireless access point through the authentication address in the certificate;
接收无线接入点反馈的认证结果,若认证结果为认证通过时,则接入无线局域网;其中认证结果是认证服务器根据所述无线接入点转发的所述认证请求进行身份认证得到的结果。Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result 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, a terminal is provided, including:
处理器以及存储器;Processor and memory;
所述天线用于接收证书;The antenna is configured to receive a certificate;
所述存储器存储有计算机指令,其中当所述存储器中的计算机指令执行时,所述处理器用于执行以下步骤:The memory stores computer instructions, wherein when the computer instructions in the memory are executed, the processor is configured to perform the following steps:
通过证书的认证方式接入无线局域网,所述证书中有至少一个收款信息,其中,所述至少一个收款信息中的每个收款信息包括收款账户信息和收款服务器信息;Accessing the wireless local area network by means of a certificate authentication manner, wherein the certificate has at least one payment information, wherein each of the at least one payment information includes the collection account information and the collection server information;
响应于用户触发的支付请求,根据所述证书确定一个收款信息作为待使用的收款信息;Responding to the user-triggered payment request, determining a payment information as the payment information to be used according to the certificate;
根据所述待使用的收款信息中的收款服务器信息和收款账户信息与对应的收款服务器通信,实现支付。The payment is realized by communicating with the corresponding collection server according to the payment server information and the payment account information in the payment information to be used.
结合第三方面,在第一种可能的实现方式中,所述处理器还用于:In conjunction with the third aspect, in a first possible implementation, the processor is further configured to:
显示支付控件,所述支付控件用于接收用户的支付操作;所述支付控件与支付客户端之间具有绑定关系;Displaying a payment control, the payment control is configured to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
根据被用户触控的支付控件与支付客户端之间的绑定关系,确定待使用的支付客户端类型;Determining the type of payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
根据所述待使用的支付客户端类型从所述证书中解析出与所述支付客户端类型匹配的一个收款信息作为待使用的收款信息。And according to the payment client type to be used, parsing one payment information matching the payment client type from the certificate as the payment information to be used.
结合第三方面,在第二种可能的实现方式中,所述证书中有一个收款信息;In conjunction with the third aspect, in a second possible implementation, the certificate has a receipt information;
所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
响应用户触发的支付操作,解析所述证书得到一个收款信息,将所述解析得到的一个收款信息确定为待使用的收款信息。Responding to the payment operation triggered by the user, parsing the certificate to obtain a payment information, and determining a payment information obtained by the parsing as the payment 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; each of the at least two pieces of payment information further includes: payee information;
所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
响应用户触发的支付操作,解析所述证书得到至少两个收款信息;Responding to the user-triggered payment operation, parsing the certificate to obtain at least two payment information;
显示所述至少两个收款信息中每个收款信息包括的收款方信息,根据被选择的收款方信息确定对应的收款信息作为待使用的收款信息。The payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
结合第三方面,在第四种可能的实现方式中,所述证书中有至少两个收款信息,所述至少两个收款信息中的每个收款信息还包括:收款方的地理位置;In conjunction with the third aspect, in a fourth possible implementation, the certificate includes at least two payment information, and each of the at least two payment information further includes: a geographic location of the payee position;
所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
响应用户触发的支付操作,解析所述证书得到至少两个收款信息;Responding to the user-triggered payment operation, parsing the certificate to obtain at least two payment information;
根据所述至少两个收款信息中每个收款信息中收款方的地理位置,确定与终端当前地理位置相匹配的一个收款信息作为待使用的收款信息。And determining, according to the geographic location of the payee in each of the at least two payment information, a payment information that matches the current geographic location of the terminal as the payment information to be used.
结合第三方面,在第五种可能的实现方式中,所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:With reference to the third aspect, in a fifth possible implementation, the responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, includes:
响应用户触发的支付操作,向无线接入点发送收款信息获取请求;Sending a payment information acquisition request to the wireless access point in response to the user-triggered payment operation;
接收所述无线接入点反馈的待使用的收款信息,所述待使用的收款信息是认证服务器根据所述收款信息获取请求解析所述证书得到的。And receiving the payment information to be used fed back by the wireless access point, where the payment information to be used is obtained by the authentication server parsing the certificate according to the payment information acquisition request.
结合第三方面,在第六种可能的实现方式中,所述通过证书的认证方式接入无线局域网,包括:With reference to the third aspect, in a sixth possible implementation manner, the accessing the wireless local area network by using a certificate authentication manner includes:
通过证书中的认证地址向无线接入点发送认证请求;Sending an authentication request to the wireless access point through the authentication address in the certificate;
接收无线接入点反馈的认证结果,若认证结果为认证通过时,则接入无线局域网;其中认证结果是认证服务器根据所述无线接入点转发的所述认证请求进行身份认证得到的结果。Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result 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 first aspect, the second aspect and the third aspect of the present application have the following advantages:
本申请实施例提供的一种支付方法及相关终端,在无线局域网的证书中预先内置收款信息,终端通过证书认证的方式确保接入无线局域网的网络安全性,在该无线局域网中,若用户无需扫描商家的收款二维码,而仅仅是通过触发支付操作的方式来启动支付过程;用户通过终端触发支付操作,则终端根据证书中携带的收款信息,确定出当前待使用的收款信息,进而根据该待使用的收款信息与收款服务器交互以实现支付业务。A payment method and related terminal provided by the embodiment of the present application pre-built payment information in a certificate of a wireless local area network, and the terminal ensures network security of accessing the wireless local area network by means of certificate authentication, in the wireless local area network, if the user The user does not need to scan the merchant's payment QR code, but only initiates the payment process by triggering the payment operation; when the user triggers the payment operation through the terminal, the terminal determines the current payment to be used according to the payment information carried in the certificate. The information further interacts with the payment server according to the payment information to be used to implement the payment service.
对于用户而言,无需在商家排队扫描收款码来完成支付,从而免去排队扫码环节,节省用户支付时间;对于商家而言,无需对外显示收款码,防止非法份子实施非法遮盖行为,保证了收款信息的安全性;另外,由于终端接入无线局域网的过程是需要经过证书认证的,因此,能够保证终端在实现支付过程中网络安全性,防止非法份子的网络入侵。For the user, there is no need to queue the merchant to scan the payment code to complete the payment, thereby eliminating the need to queue the code scanning link and saving the user's payment time; for the merchant, it is not necessary to display the payment code to prevent the illegal elements from performing illegal covering behavior. The security of the payment information is ensured. In addition, since the process of accessing the wireless local area network by the terminal needs to be authenticated by the certificate, the network security of the terminal in the payment process can be ensured, and the network intrusion of the illegal elements can be prevented.
在本申请第四方面提供一种解锁方法,应用于第一终端,包括:A fourth aspect of the present application provides an unlocking method, which is applied to a first terminal, and includes:
通过蓝牙证书认证方式与第二终端建立蓝牙连接,所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;Establishing a Bluetooth connection with the second terminal by using a Bluetooth certificate authentication manner, the second terminal has a password lock, and the Bluetooth certificate of the second terminal includes a unique identifier of the second terminal and server information of the second terminal;
响应用户触发的解锁操作,向所述第二终端发送获取请求,接收所述第二终端反馈的所述第二终端的唯一标识和所述服务器信息;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, in response to the unlocking operation triggered by the user;
根据所述收款服务器信息和所述第二终端的标识与对应的服务器通信,实现对第二终端的解锁。And unlocking the second terminal by communicating with the corresponding server according to the collection server information and the identifier of the second terminal.
结合第四方面,在第一种可能的实现方式中,所述方法还包括:With reference to the fourth aspect, in a first possible implementation, the method further includes:
显示控件,所述控件用于接收用户的解锁操作。A display control for receiving a user's unlocking operation.
在本申请第五方面提供一种第一终端,包括:A first terminal is provided in the fifth aspect of the present application, including:
蓝牙连接模块,用于通过蓝牙证书认证方式与第二终端建立蓝牙连接,所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;a Bluetooth connection module, configured to establish a Bluetooth connection with the second terminal by using a Bluetooth certificate authentication manner, the second terminal has a password lock, and the Bluetooth certificate of the second terminal has a unique identifier of the second terminal and the Server information of the second terminal;
信息获取模块,用于响应用户触发的解锁操作,向所述第二终端发送获取请求,接收所述第二终端反馈的所述第二终端的唯一标识和所述服务器信息;The information acquiring module is configured to send an acquisition request to the second terminal, and receive the unique identifier of the second terminal and the server information that are fed back by the second terminal, in response to the unlocking operation triggered by the user;
解锁模块,用于根据所述收款服务器信息和所述第二终端的标识与对应的服务器通信,实现对第二终端的解锁。The unlocking module is configured to implement unlocking of the second terminal by communicating with the corresponding server according to the collection server information and the identifier of the second terminal.
结合第四方面,在第一种可能的实现方式中,所述终端还包括:With reference to the fourth aspect, in a first possible implementation, the terminal further includes:
显示模块,用于显示控件,所述控件用于接收用户的解锁操作。A display module is configured to display a control for receiving an unlocking operation of the user.
在本申请第五方面提供一种第一终端,包括:A first terminal is provided in the fifth aspect of the present application, including:
处理器以及存储器;所述存储器存储有计算机指令,其中当所述存储器中的计算机指令执行时,所述处理器用于执行以下步骤:a processor and a memory; the memory storing computer instructions, wherein when the computer instructions in the memory are executed, the processor is configured to perform the following steps:
通过蓝牙证书认证方式与第二终端建立蓝牙连接,所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;Establishing a Bluetooth connection with the second terminal by using a Bluetooth certificate authentication manner, the second terminal has a password lock, and the Bluetooth certificate of the second terminal includes a unique identifier of the second terminal and server information of the second terminal;
响应用户触发的解锁操作,向所述第二终端发送获取请求,接收所述第二终端反馈的所述第二终端的唯一标识和所述服务器信息;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, in response to the unlocking operation triggered by the user;
根据所述收款服务器信息和所述第二终端的标识与对应的服务器通信,实现对第二终 端的解锁。And unlocking the second terminal according to the collection server information and the identifier of the second terminal communicating with the corresponding server.
结合第五方面,在第一种可能的实现方式中,所述处理器还用于执行以下步骤:In conjunction with the fifth aspect, in a first possible implementation, the processor is further configured to perform the following steps:
显示控件,所述控件用于接收用户的解锁操作。A display control for receiving a user's unlocking operation.
在本申请第六方面提供一种解锁方法,应用于第二终端,包括:A sixth aspect of the present application provides an unlocking method, which is applied to a second terminal, and includes:
通过蓝牙证书认证方式与第一终端建立蓝牙连接;所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;Establishing a Bluetooth connection with the first terminal by using a Bluetooth certificate authentication method; the second terminal has a password lock, and the Bluetooth certificate of the second terminal has a unique identifier of the second terminal and server information of the second terminal;
接收所述第一终端发送的解锁请求,向所述第一终端反馈所述第二终端的唯一标识和所述第二终端的服务器信息;Receiving an unlock request sent by the first terminal, and feeding back, to the first terminal, a unique identifier of the second terminal and server information of the second terminal;
接收解锁密码,打开所述密码锁。Receive the unlock password and open the password lock.
在本申请第七方面提供一种第二终端,包括:A second terminal is provided in the seventh aspect of the present application, including:
建立连接模块,用于通过蓝牙证书认证方式与第一终端建立蓝牙连接;所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;Establishing a connection module, configured to establish a Bluetooth connection with the first terminal by using a Bluetooth certificate authentication manner; the second terminal has a password lock, and the Bluetooth certificate of the second terminal has a unique identifier of the second terminal and the first Server information of the second terminal;
信息反馈模块,用于接收所述第一终端发送的解锁请求,向所述第一终端反馈所述第二终端的唯一标识和所述第二终端的服务器信息;An information feedback module, configured to receive an unlock request sent by the first terminal, and feed back, to the first terminal, a unique identifier of the second terminal and server information of the second terminal;
解锁模块,用于接收解锁密码,打开所述密码锁。The unlocking module is configured to receive an unlocking password and open the password lock.
在本申请第八方面提供一种第二终端,包括:In a eighth aspect of the present application, a second terminal is provided, including:
处理器以及存储器;所述存储器存储有计算机指令,其中当所述存储器中的计算机指令执行时,所述处理器用于执行以下步骤:a processor and a memory; the memory storing computer instructions, wherein when the computer instructions in the memory are executed, the processor is configured to perform the following steps:
通过蓝牙证书认证方式与第一终端建立蓝牙连接;所述蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;Establishing a Bluetooth connection with the first terminal by using a Bluetooth certificate authentication method; the Bluetooth certificate has a unique identifier of the second terminal and server information of the second terminal;
接收所述第一终端发送的解锁请求,向所述第一终端反馈所述第二终端的唯一标识和所述第二终端的服务器信息;Receiving an unlock request sent by the first terminal, and feeding back, to the first terminal, a unique identifier of the second terminal and server information of the second terminal;
接收解锁密码,打开密码锁。Receive the unlock password and open the password lock.
与现有技术相比,本申请以上第四方面、第五方面以及第六方面的技术方案具有以下优点:Compared with the prior art, the technical solutions of the fourth, fifth and sixth aspects of the present application have the following advantages:
本申请实施例提供的一种解锁方法及相关设备,在蓝牙证书中预先内置第二终端的唯一标识和第二终端的服务器信息,用户在需要解锁时,无需执行扫码操作去获取第二终端的上述信息,而是利用第一终端通过蓝牙接收第二设备的上述信息,利用这些信息实现对第二终端的解锁。An unlocking method and related device provided by the embodiment of the present application, the unique identifier of the second terminal and the server information of the second terminal are pre-built in the Bluetooth certificate, and the user does not need to perform a scan code operation to obtain the second terminal when the user needs to be unlocked. The above information is used to receive the above information of the second device by using the first terminal, and the information is used to unlock the second terminal.
对于用户而言,在需要对第二终端进行解锁时,无需手动扫描第二设备的二维码,从而简化了用户的解锁操作,缩短解锁时间;对于商家而言,无需在第二终端上部署二维码,防止非法份子实施非法遮盖行为;另外,由于第一终端与第二终端之间通过蓝牙认证方式建立的网络连接,因此,第一终端与第二终端通过点对点通信方式,能够确保解锁过程的安全性。For the user, when the second terminal needs to be unlocked, it is not necessary to manually scan the two-dimensional code of the second device, thereby simplifying the unlocking operation of the user and shortening the unlocking time; for the merchant, there is no need to deploy on the second terminal The two-dimensional code prevents the illegal person from performing the illegal covering behavior; in addition, because the first terminal and the second terminal establish a network connection established by the Bluetooth authentication method, the first terminal and the second terminal can ensure the unlocking through the point-to-point communication mode. Process security.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1是本申请实施例中一种支付方法的流程图;1 is a flowchart of a payment method in an embodiment of the present application;
图2是本申请实施例中支付控件的示例图;2 is a diagram showing an example of a payment control in an embodiment of the present application;
图3是本申请实施例中支付控件的另一示例图;3 is another exemplary diagram of a payment control in an embodiment of the present application;
图4是本申请实施例中用户触发支付操作的示意图;4 is a schematic diagram of a user triggering a payment operation in an embodiment of the present application;
图5是本申请实施例中用户触发支付操作的另一示意图;FIG. 5 is another schematic diagram of a user triggering a payment operation in the embodiment of the present application; FIG.
图6是本申请实施例中一种终端的结构图;6 is a structural diagram of a terminal in an embodiment of the present application;
图7是本申请实施例中一种终端的硬件结构图;7 is a hardware structural diagram of a terminal in an embodiment of the present application;
图8是本申请实施例中一种解锁方法的流程图;8 is a flowchart of an unlocking method in an embodiment of the present application;
图9是本申请实施例中一种第一终端的结构图;9 is a structural diagram of a first terminal in an embodiment of the present application;
图10是本申请实施例中一种第一终端的硬件结构图;10 is a hardware structural diagram of a first terminal in an embodiment of the present application;
图11是本申请实施例中另一种解锁方法的流程图;11 is a flowchart of another unlocking method in the embodiment of the present application;
图12是本申请实施例中一种第二终端的结构图;FIG. 12 is a structural diagram of a second terminal in the embodiment of the present application;
图13是本申请实施例中一种第二终端的硬件结构图。FIG. 13 is a hardware structural diagram of a second terminal in the embodiment of the present application.
具体实施方式Detailed ways
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, the features and the advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. The described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
先对本申请实施例提供的支付方法及其相关终端的应用场景作介绍。The payment method provided by the embodiment of the present application and the application scenario of the related terminal are introduced first.
用户在商家消费后,为了节省流量一般选择接入商家提供的网络,通过电子支付方式快速完成支付;例如,用户使用终端,启用终端上预安装的一种支付客户端,如微信客户端,支付宝客户端,等能够实现支付功能的客户端;以微信客户端为例,用户点击启动微信客户端,然后点击扫一扫功能,再对准商家提供的收款二维码获得商家的收款信息,支付客户端显示支付页面,用户在支付页面上输入支付金额,点击支付控件完成一次支付。After the user consumes the business, in order to save traffic, the user is selected to access the network provided by the merchant, and the payment is quickly completed by the electronic payment method; for example, the user uses the terminal to enable a payment client pre-installed on the terminal, such as a WeChat client, Alipay The client, such as the client that can implement the payment function; taking the WeChat client as an example, the user clicks to start the WeChat client, and then clicks the sweep function, and then obtains the payment information of the merchant by aligning the QR code provided by 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 the payment.
但有时,商家提供的网络容易被不法分子攻击,消费者可能会加入不法份子的网络导致被网络攻击,其电子支付过程不安全,容易造成财产损失;另外,不法分子会采用粘贴方式,将自制的二维码遮盖商家的收款二维码,消费者本人无法识别,通过扫码实现支付容易造成财产损失。But sometimes, the network provided by the merchant is easily attacked by criminals. Consumers may join the network of unscrupulous agents and be attacked by the network. The electronic payment process is unsafe and easily causes property damage. In addition, the criminals will use the paste method to make the self-made. The QR code covers the merchant's collection QR code, which the consumer cannot identify. It is easy to cause property damage by scanning the code.
基于此,本申请实施例提供了一种支付方法,为用户提供一种无需扫码的支付方式,能够保证支付过程的安全性,简化用户支付操作,提高支付效率。Based on this, the embodiment of the present application provides a payment method, which provides a user with a payment method that does not need to scan the code, can ensure the security of the payment process, simplify the user payment operation, and improve the payment efficiency.
本申请实施例中提供的一种支付方法,可以应用于终端中,该终端具体可以为智能手机、平板电脑、智能手表等,能够装载支付客户端实现电子支付的设备。其中,支付客户端是指用于实现电子支付功能的客户端,例如微信客户端、支付宝客户端,等等,支付客户端可以以应用程序(Application,APP)形式装载于终端中,也可以以网页形式存在。A payment method provided in the embodiment of the present application can be applied to a terminal, and the terminal can be a smart phone, a tablet computer, a smart watch, etc., and can load a device that implements electronic payment by the payment client. The payment client refers to a client for implementing an electronic payment function, such as a WeChat client, an Alipay client, etc., and the payment client can be loaded into the terminal in the form of an application (Application, APP), or The web form exists.
参见图1所示,示出了本申请实施例中提供的一种支付方法的流程图,该方法应用于终端,该方法包括以下步骤:Referring to FIG. 1 , a flowchart of a payment method provided in an embodiment of the present application is shown. The method is applied to a terminal, and the method includes the following steps:
步骤101,终端通过证书的认证方式接入无线局域网,所述证书中有至少一个收款信息,其中,所述至少一个收款信息中的每个收款信息包括收款账户信息和收款服务器信息;Step 101: The terminal accesses the wireless local area network by using a certificate authentication manner, where the certificate has at least one payment information, wherein each of the at least one payment information includes the collection account information and the collection server. information;
其中,无线局域网(Wireless Local Area Networks,WLAN)是利用无线技术在空中传输数据的局域网络,WLAN可以便捷、迅速地接纳新加入的终端。无线局域网支持多种不同网络协议,下面仅以WiFi网络为例进行介绍。Among them, Wireless Local Area Networks (WLAN) is a local area network that uses wireless technology to transmit data over the air. WLAN can easily and quickly accept newly added terminals. Wireless LAN supports a variety of different network protocols. The following is an example of a WiFi network.
无线局域网在实际部署时,包括无线接入点和认证服务器,通过无线接入点为终端提供网络接入服务,终端首次搜索到无线局域网时,无线接入点向终端发送接入提示,提示用户安装WiFi证书,该WiFi证书中不仅携带认证相关信息,还内置有收款信息,其中收款信息是指收款方的收款信息,一个收款信息至少包括收款账户信息和收款服务器信息。In actual deployment, the WLAN includes a wireless access point and an authentication server, and provides a network access service for the terminal through the wireless access point. When the terminal searches for the wireless local area network for the first time, the wireless access point sends an access prompt to the terminal, prompting the user. The WiFi certificate is installed, and the WiFi certificate not only carries the authentication related information, but also has built-in collection information, wherein the payment information refers to the payment information of the payee, and the receipt information includes at least the collection account information and the collection server information. .
其中,收款账户信息是指收款方的银行账户信息,至少包括:账户号码,或能标识用户账户的信息;当然,也可以包括账户名称、开户行等相关信息;收款服务器信息可以包括收款服务器的网络地址(IP地址、MAC地址等)、域名、名称或者其他可以标识该服务器的信息。The payment account information refers to the bank account information of the payee, and at least includes: an account number, or information that can identify the user account; of course, the account name, the account opening, and the like may also be included; the payment server information may include The network address (IP address, MAC address, etc.) of the receiving server, domain name, name, or other information that can identify the server.
在本申请实施例中,终端可以通过以下方式接入无线局域网,该方式包括:In the embodiment of the present application, the terminal may access the wireless local area network by using the following manners, where the manner includes:
通过证书中的认证地址向无线接入点发送认证请求;Sending an authentication request to the wireless access point through the authentication address in the certificate;
接收无线接入点反馈的认证结果,若认证结果为认证通过时,则接入无线局域网;其中认证结果是认证服务器根据所述无线接入点转发的所述认证请求进行身份认证得到的结果。Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
在实际应用中,用户可以预先在终端上安装一种证书管理客户端,这种证书管理客户端用于自动下载、更新、管理无线局域网的证书,如WiFi证书,在终端接入WiFi网络时,终端利用这种证书管理客户端自动下载WiFi证书。In practical applications, the user can install a certificate management client on the terminal in advance. The certificate management client is used to automatically download, update, and manage the certificate of the wireless local area network, such as a WiFi certificate, when the terminal accesses the WiFi network. The terminal uses the certificate management client to automatically download the WiFi certificate.
在本申请实施例中,终端搜索到WiFi网络,经过WiFi认证,认证通过后,WiFi网络才允许终端接入;本申请实施例对认证方法不作具体限定,为了便于理解本申请实施例的实现,下面给出一种可选的实现方式:In the embodiment of the present application, the terminal searches for the WiFi network and passes the WiFi authentication. After the authentication is passed, the WiFi network allows the terminal to access. The authentication method is not limited in this embodiment. To facilitate understanding of the implementation of the embodiment of the present application, An optional implementation is given below:
终端利用WiFi证书中的认证URL,通过SSID连接WiFi并启动802.1x认证,向无线接入点发送WiFi认证请求,以使认证服务器完成WiFi认证反馈认证结果;终端接收无线接入点反馈的认证结果,认证结果为认证通过时,终端接入WiFi网络。The terminal uses the authentication URL in the WiFi certificate to connect to the WiFi through the SSID and initiates the 802.1x authentication, and sends a WiFi authentication request to the wireless access point, so that the authentication server completes the WiFi authentication feedback authentication result; the terminal receives the authentication result fed back by the wireless access point. The authentication result is that when the authentication is passed, the terminal accesses the WiFi network.
步骤102,响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息;Step 102: Determine, according to the payment operation triggered by the user, a receipt information as the payment information to be used according to the certificate;
在本申请实施例中,终端为用户提供了一种无需扫码的快捷支付方式,用户触发支付操作,终端响应该支付操作,根据WiFi证书确定出用户当前所需要的收款信息,作为待使用的收款信息。In the embodiment of the present application, the terminal provides the user with a quick payment method that does not need to scan the code. The user triggers the payment operation, and the terminal responds to the payment operation, and determines the current payment information required by the user according to the WiFi certificate, as the to-be-used information. Collection information.
在一种可选的实现方式中,终端显示支付控件,所述支付控件用于接收用户的支付操作;所述支付控件与支付客户端之间具有绑定关系;In an optional implementation manner, the terminal displays a payment control, where the payment control is used to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
则步骤102具体包括:Then step 102 specifically includes:
根据被用户触控的支付控件与支付客户端之间的绑定关系,确定待使用的支付客户端 类型;Determining the type of payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
根据所述待使用的支付客户端类型从所述证书中解析出与所述支付客户端类型匹配的一个收款信息作为待使用的收款信息。And according to the payment client type to be used, parsing one payment information matching the payment client type from the certificate as the payment information to be used.
在实际应用中,终端可以利用插件的方式在预安装的支付客户端的页面上显示支付控件。则用户触控该支付控件,终端响应支付操作,根据该支付控件与对应的支付客户端之间的绑定关系,终端从证书中解析与该支付客户端类型匹配的一个收款信息作为待使用的收款信息。In practical applications, the terminal can display the payment control on the pre-installed payment client page by means of a plug-in. The user touches the payment control, and the terminal responds to the payment operation. According to the binding relationship between the payment control and the corresponding payment client, the terminal parses a payment information matching the payment client type from the certificate as the to-be-used information. Collection information.
举例说明,参见图2,图2是本申请实施例中用户触发支付操作的示意图,图2以终端中预先装载有微信客户端的场景为例,终端在微信客户端的“发现”页面上显示一种支付控件,如“免扫码支付控件”,该支付控件是独立于微信客户端的其他原有功能控件,其并不影响微信客户端“扫一扫”、“摇一摇”等其他功能,用户购买商品后,在需要支付时,则直接触控该支付控件,就触发了支付操作,终端响应该支付操作,从证书中解析出与“微信客户端”类型匹配的收款信息作为待使用的收款信息。For example, referring to FIG. 2, FIG. 2 is a schematic diagram of a user triggering a payment operation in the embodiment of the present application. FIG. 2 is a scenario in which a terminal is preloaded with a WeChat client, and the terminal displays a type on the “Discovery” page of the WeChat client. Payment control, such as "free scan code payment control", the payment control is independent of the other original function control of the WeChat client, which does not affect the WeChat client "sweep", "shake" and other functions, the user After the purchase of the product, when the payment is required, the payment control is directly touched, and the payment operation is triggered, and the terminal responds to the payment operation, and the payment information matching the “WeChat client” type is parsed from the certificate as the to-be-used Billing message.
在实际应用中,终端为用户提供一个硬件支付控件,或者在自身系统的交互界面上提供一个软件控件,该支付控件的形式可以是指纹控件、按钮控件、快捷图标式控件等等;如果,该支付控件为指纹控件是,终端还保存指纹与支付客户端类型之间的绑定关系,以方便用户通过特定指纹启动特定的支付客户端。再者,通过指纹控件的形式能够进一步保证这种快捷支付的安全性,避免他人替代用户恶意消费。In practical applications, the terminal provides a hardware payment control for the user, or provides a software control on the interaction interface of the system, and the payment control can be in the form of a fingerprint control, a button control, a shortcut icon control, etc.; The payment control is a fingerprint control, and the terminal also saves the binding relationship between the fingerprint and the payment client type, so that the user can start a specific payment client through a specific fingerprint. Moreover, the security of such fast payment can be further ensured by the form of the fingerprint control, and the other person can be prevented from replacing the malicious consumption of the user.
举例说明,参见图3,参见图3,图3是本申请实施例中用户触发支付操作的另一示意图,如图3所示,终端在交互界面上显示快捷图标式的支付控件,该支付控件与终端上预安装的支付客户端之间具有绑定关系,该绑定关系随着终端上支付客户端的实际情况而动态更新,例如,终端上仅预安装了一个微信客户端,则该绑定关系为支付控件与该微信客户端之间的一对一绑定关系;随后,用户又下载安装了支付宝客户端,则终端更新该绑定关系为该支付控件与微信客户端和支付宝客户端之间的一对多绑定关系;若用户在使用一段时间后,又卸载了支付宝客户端,则终端再次更新该绑定关系为支付控件与微信客户端之间的一对一绑定关系;因此,对于终端而言,需要针对该支付控件,动态更新维护其与支付客户端之间的绑定关系,从而保证快捷支付的可靠性。For example, referring to FIG. 3, referring to FIG. 3, FIG. 3 is another schematic diagram of a user triggering a payment operation in the embodiment of the present application. As shown in FIG. 3, the terminal displays a shortcut icon type payment control on the interaction interface, and the payment control The binding relationship is pre-installed with the payment client, and the binding relationship is dynamically updated according to the actual situation of the payment client on the terminal. For example, if only one WeChat client is pre-installed on the terminal, the binding is The relationship is a one-to-one binding relationship between the payment control and the WeChat client; subsequently, the user downloads and installs the Alipay client, and the terminal updates the binding relationship to the payment control and the WeChat client and the Alipay client. One-to-many binding relationship; if the user uninstalls the Alipay client after using for a period of time, the terminal updates the binding relationship again as a one-to-one binding relationship between the payment control and the WeChat client; For the terminal, the payment control needs to be dynamically updated to maintain the binding relationship between the payment control client and the payment client, thereby ensuring the reliability of fast payment. .
用户需要支付时,触控该快捷图标,如果绑定关系为一对一,则终端根据该绑定关系自动确定出与支付客户端类型匹配的收款信息作为待使用的收款信息。如果绑定关系为一对多,则终端根据该绑定关系为用户显示支付客户端选择页面,如图3所示,在支付客户端选择页面上显示终端上预安装的支付客户端的快捷图标,方便用户选择当前要使用的支付客户端;终端根据被选中的支付客户端类型,从证书中解析出与被选中的支付客户端类型匹配的收款信息,作为待使用的收款信息。When the user needs to pay, the shortcut icon is touched. If the binding relationship is one-to-one, the terminal automatically determines the payment information matching the payment client type as the payment information to be used according to the binding relationship. If the binding relationship is one-to-many, the terminal displays the payment client selection page for the user according to the binding relationship. As shown in FIG. 3, the shortcut icon of the payment client pre-installed on the terminal is displayed on the payment client selection page. The user conveniently selects the payment client to be used currently; the terminal parses the payment information matching the selected payment client type from the certificate according to the selected payment client type, as the payment information to be used.
由于在实际应用中,不同用户可能会使用不同的支付客户端,因此,商家为了满足用户不同的支付需求,会提供多种类型的收款码,如微信收款码,支付宝收款码等;利用上述可选的实现方式,终端能够快速根据实际支付环境,确定出符合用户实际需求的待使用的收款信息。Since in different applications, different users may use different payment clients, the merchants provide multiple types of payment codes, such as WeChat collection codes and Alipay collection codes, in order to meet different payment requirements of the users; With the above optional implementation manner, the terminal can quickly determine the payment information to be used according to the actual needs of the user according to the actual payment environment.
举例说明,参见图4,图4是本申请实施例中用户实现支付过程的示意图;假设,用 户在终端中预先安装有微信客户端和支付宝客户端,终端在自身系统的交互页面上显示支付控件,如名称为免扫码支付控件,并保存该支付控件与这两个支付客户端之间的一对多对应关系,用户触控该支付控件,则终端在支付客户端选择页面上显示与支付控件具有绑关系的这两个支付客户端的快捷图标,若用户选择了支付宝客户端的快捷图标,终端解析证书,选择与支付宝支付类型匹配的收款信息作为待使用的收款信息。For example, referring to FIG. 4, FIG. 4 is a schematic diagram of a user implementing a payment process in the embodiment of the present application; assuming that a user pre-installs a WeChat client and an Alipay client in the terminal, the terminal displays a payment control on an interactive page of the system. If the name is the scan-free code payment control, and save the one-to-many correspondence between the payment control and the two payment clients, the user touches the payment control, and the terminal displays and pays on the payment client selection page. The control has a shortcut icon of the two payment clients of the binding relationship. If the user selects the shortcut icon of the Alipay client, the terminal parses the certificate, and selects the payment information matching the payment type of the Alipay as the payment information to be used.
在实际应用中,一个证书可能仅包含一个商家的一种类型的收款信息;则终端响应于用户的支付操作,解析证书得到该收款信息,直接确定该收款信息为待使用的收款信息。In a practical application, a certificate may only contain one type of payment information of one merchant; then, in response to the user's payment operation, the terminal parses the certificate to obtain the payment information, and directly determines that the payment information is the payment to be used. information.
在实际应用中,一个证书可能包含一个商家的多种类型的收款信息,例如,包括一个商家的支付宝类型的收款信息和微信类型的收款信息;则终端响应于用户的支付操作,终端根据确定支付客户端类型,解析证书从多种类型的收款信息中,选择与所确定的支付客户端类型匹配的收款信息。In practical applications, a certificate may contain multiple types of payment information of a merchant, for example, including a merchant's Alipay type of payment information and a WeChat type of payment information; then the terminal responds to the user's payment operation, the terminal According to determining the payment client type, the parsing certificate selects the payment information matching the determined payment client type from the plurality of types of payment information.
在实际应用中,一个无线局域网会覆盖多个商家,因此,在证书中可能内置有多个收款方的收款信息;因此,在实际支付过程中,需要进一步确定用户需要与哪一个商家进行支付交易;针对此应用场景,本申请实施例还提供了一种可选的实现方式,具体的,在证书中至少两个收款信息;所述至少两个收款信息中的每个收款信息还包括:收款方信息;所述收款方信息可以包括收款方的姓名或名称、身份证件号码、组织机构代码等可以标识收款方的信息。In practical applications, a wireless local area network will cover multiple merchants. Therefore, there may be multiple payment information of the payee built in the certificate; therefore, in the actual payment process, it is necessary to further determine which merchant the user needs to perform. For the application scenario, the embodiment of the present application further provides an optional implementation manner, specifically, at least two payment information in the certificate; and each of the at least two payment information The information further includes: payee information; the payee information may include the name of the payee, the ID number, the organization code, and the like, which may identify the payee.
不同的收款信息中的收款方信息不同,即,证书中有至少两个不同收款方的收款信息;The payee information in different payment information is different, that is, the receipt information of at least two different payees in the certificate;
步骤102,可以包括: Step 102, which may include:
终端响应用户触发的支付操作,解析所述证书得到至少两个收款信息;Responding to the user-triggered payment operation, parsing the certificate to obtain at least two payment information;
终端显示所述至少两个收款信息中每个收款信息包括的收款方信息,根据被选择的收款方信息确定对应的收款信息作为待使用的收款信息。The terminal displays the payee information included in each of the at least two payment information, and determines the corresponding payment information as the payment information to be used according to the selected payee information.
举例说明,参见图5,图5是本申请实施例中用户触发支付操作的另一示意图;图5所示的实际场景是,一个商场中有多家餐饮商家,该商场部署一个WiFi网络,该WiFi网络覆盖多家餐饮商家,包括:麦当劳、肯德基、汉堡王,等等,商家在WiFi网络的WiFi证书中预先内置各个商家的收款信息,比如:WiFi证书中有麦当劳、肯德基、汉堡王,等商家的收款信息,每个商家的收款信息至少包括:收款账户信息、收款服务器信息以及收款方信息,如商家名称,店铺名称等;假设,用户持手机进入该商场,手机通过WiFi认证接入WiFi网络,用户进入麦当劳店铺消费需要电子支付时,用户无需扫商家二维码,仅通过微信客户端点击支付控件以触发支付操作,手机响应用户的支付操作,解析WiFi证书得到多个商家各自的收款信息,向用户反馈这多个商家的店铺名称,即收款方信息,如图5所示,手机向用户显示商户图标携带商户名称,方便用户识别以快速选择,当然,在实际应用中也可仅显示店铺名称,但本申请实施例对具体显示形式和内容不作绝对限制,只要能够便于用户选择具体收款方即可;假设用户根据实际需求选择麦当劳,则手机直接根据用户的选择,将麦当劳对应的收款信息中的符合微信支付类型的收款信息作为待使用的收款信息。利用这种可选的实现方式,用户能够参与支付过程,根据实际需求控制支付过程的实现。For example, referring to FIG. 5, FIG. 5 is another schematic diagram of a user triggering a payment operation in the embodiment of the present application; the actual scenario shown in FIG. 5 is that a shopping mall has a plurality of catering businesses, and the shopping mall deploys a WiFi network. WiFi network covers a number of catering businesses, including: McDonald's, KFC, Burger King, etc., merchants in the WiFi network WiFi certificate pre-built the collection information of various businesses, such as: WiFi certificate with McDonald's, KFC, Burger King, and other businesses The payment information of each merchant includes at least: collection account information, collection server information, and payee information, such as business name, store name, etc.; assume that the user enters the mall with a mobile phone, and the mobile phone passes WiFi. Authentication access to the WiFi network, when the user enters the McDonald's store to consume electronic payment, the user does not need to scan the merchant QR code, only the WeChat client clicks the payment control to trigger the payment operation, the mobile phone responds to the user's payment operation, and the WiFi certificate is obtained multiple times. The merchant's respective payment information, feedback to the user the store name of the multiple merchants, that is, the payment As shown in FIG. 5, the mobile phone displays the merchant icon to the user to carry the merchant name, which is convenient for the user to identify for quick selection. Of course, only the store name may be displayed in the actual application, but the embodiment of the present application does not make the specific display form and content. Absolute restrictions, as long as the user can select the specific payee; if the user chooses McDonald's according to the actual demand, the mobile phone directly treats the payment information of the McDonald's corresponding payment information in accordance with the WeChat payment type according to the user's choice. Collection information used. With this optional implementation, the user can participate in the payment process and control the implementation of the payment process based on actual needs.
针对上述应用场景,本申请实施例还提供了另一种可选的实现方式,具体的,所述证 书中有至少两个收款信息,所述至少两个收款信息中的每个收款信息还包括:收款方的地理位置;For the above application scenario, the embodiment of the present application further provides another optional implementation manner. Specifically, the certificate has at least two payment information, and each of the at least two payment information is collected. The information also includes: the geographic location of the payee;
即,所述证书中有至少两个收款信息,每个收款信息包括收款账户信息、收款服务器信息和收款方的地理位置;That is, the certificate has at least two payment information, and each of the payment information includes the collection account information, the collection server information, and the geographical location of the payee;
步骤201,可以包括:Step 201, which may include:
响应用户触发的支付操作,解析所述证书得到至少两个收款信息;Responding to the user-triggered payment operation, parsing the certificate to obtain at least two payment information;
根据所述至少两个收款信息中每个收款信息中收款方的地理位置,确定与终端当前地理位置相匹配的一个收款信息作为待使用的收款信息。And determining, according to the geographic location of the payee in each of the at least two payment information, a payment information that matches the current geographic location of the terminal as the payment information to be used.
其中,收款方的地理位置是指商家店铺的实际地理位置,该地理位置可以是指商家店铺的地理位置范围,则终端当前地理位置与收款方的地理位置相匹配是指终端当前地理位置落入商家店铺的地理位置范围之内;该地理位置也可以是具体的位置坐标点,则终端当前地理位置与收款方的地理位置相匹配是终端当前地理位置与收款方的地理位置之间的距离小于或者等于预设距离,该预设距离可以根据商家店铺的实际面积而定,商家的地理位置坐标点可以是商家店铺的中心位置。The geographic location of the payee refers to the actual geographic location of the merchant store, and the geographic location may refer to the geographic location range of the merchant store, and the current geographic location of the terminal matches the geographic location of the payee, which refers to the current geographic location of the terminal. Falling into the geographic location of the merchant's store; the geographic location may also be a specific location coordinate point, and the current geographic location of the terminal matches the geographic location of the payee is the current geographic location of the terminal and the geographic location of the payee The distance between the two is less than or equal to the preset distance, and the preset distance may be determined according to the actual area of the merchant store, and the geographic location coordinate point of the merchant may be the central location of the merchant store.
通过上述可选的实现方式,终端根据自身实际地理位置能够快速确定出待使用的收款信息。Through the above optional implementation manner, the terminal can quickly determine the payment information to be used according to its actual geographic location.
举例说明,仍旧参见图5,如果用户位于麦当劳店铺内,通过微信客户端触发支付操作,手机响应用户触发的支付操作,解析WiFi证书得到多个商家的收款信息,再根据终端当前地理位置从多个商家的收款信息中查找与相匹配的收款信息,作为待使用的收款信息。For example, still refer to FIG. 5. If the user is located in the McDonald's store, the payment operation is triggered by the WeChat client, and the mobile phone responds to the user-triggered payment operation, parses the WiFi certificate to obtain the payment information of multiple merchants, and then according to the current geographic location of the terminal. Find the matching payment information in the collection information of multiple merchants as the payment information to be used.
这里需要说明的是,在实际应用中,一个无线局域网会覆盖多个商家,并且一个商家会支持多种类型的支付方式,则在证书中有多个商家的收款信息,且一个商家对应有至少两个类型的收款信息。因此,在实际应用中,用户触发一次支付操作,终端响应该支付操作,需要确定出用户要使用哪种支付客户端,与哪个商家进行支付交易,因此,终端可根据实际需求将上述几种可选的实现方式相结合,以实现终端从证书中解析出的多个收款信息中,选择与支付客户端匹配的一个商家的收款信息,作为待使用的收款信息。It should be noted here that in practical applications, a wireless local area network will cover multiple merchants, and one merchant will support multiple types of payment methods, and there are multiple merchants' payment information in the certificate, and one merchant correspondingly has At least two types of payment information. Therefore, in an actual application, the user triggers a payment operation, and the terminal responds to the payment operation, and needs to determine which payment client the user wants to use, and which merchant to perform the payment transaction. Therefore, the terminal may select the above-mentioned several types according to actual needs. The selected implementation manner is combined to realize that the terminal selects the payment information of a merchant matching the payment client as the payment information to be used among the plurality of payment information parsed by the terminal from the certificate.
例如,在一种可选的实现方式中,终端响应用户的支付操作,确定支付客户端类型;再解析证书得到多个商家的多种类型的收款信息,根据终端当前地理位置从收款信息中选择与所述支付客户端类型和终端当前地理位置相匹配的收款信息,作为待使用的收款信息。For example, in an optional implementation manner, the terminal determines the payment client type in response to the user's payment operation, and then parses the certificate to obtain multiple types of payment information of multiple merchants, and collects information according to the current geographic location of the terminal. The payment information matching the payment client type and the current geographic location of the terminal is selected as the payment information to be used.
例如,在另一种可选的实现方式中,终端响应用户的支付操作,确定支付客户端类型;再解析证书得到多个商家的多种类型的收款信息,根据用户选择的收款方信息,从收款信息中选择与所述支付客户端类型和被选中的收款方信息相匹配的收款信息,作为待使用的收款信息。For example, in another optional implementation manner, the terminal determines the payment client type in response to the user's payment operation; and re-analyzes the certificate to obtain multiple types of payment information of the plurality of merchants, according to the user-selected payee information. The payment information matching the payment client type and the selected payee information is selected from the payment information as the payment information to be used.
另外,本申请实施例还提供了另一种可选的实现方式,包括:In addition, the embodiment of the present application further provides another optional implementation manner, including:
终端响应用户触发的支付操作,向无线接入点发送收款信息获取请求;The terminal sends a payment information acquisition request to the wireless access point in response to the user-triggered payment operation;
终端接收所述无线接入点反馈的待使用的收款信息,所述待使用的收款信息是认证服务器根据所述收款信息获取请求解析所述证书得到的。Receiving, by the terminal, the payment information to be used fed back by the wireless access point, where the payment information to be used is obtained by the authentication server parsing the certificate according to the payment information acquisition request.
其中,收款信息获取请求可以包括:支付客户端类型和终端当前地理位置;收款信息获取请求也可以包括:支付客户端类型和被选中的商家名称;由无线接入点将该收款信息获取请求转发给认证服务器,认证服务器根据收款信息获取请求中携带的信息,确定终端待使用的收款信息。在这种可选的实现方式中,认证服务器从云端数据库中读取证书中的收款信息,由云端数据库其数据存储量比较大,且支持实时更新;因此,这种方式既能够缓解终端侧的数据解析压力,又能够满足收款信息随时更新需求。尤其是在一些商场中,商家会发生变迁,例如,新商家入驻商场,老商家被拆除,商家的收款信息变更等等,基于此,证书中的收款信息就需要随时被更新。The payment information obtaining request may include: a payment client type and a current geographic location of the terminal; the payment information obtaining request may also include: a payment client type and a selected merchant name; the payment information is received by the wireless access point. The obtaining request is forwarded to the authentication server, and the authentication server determines the payment information to be used by the terminal according to the information carried in the payment information acquisition request. In this optional implementation manner, the authentication server reads the payment information in the certificate from the cloud database, and the data storage amount of the cloud database is relatively large, and supports real-time update; therefore, the method can alleviate the terminal side. The data analysis pressure can meet the demand for receiving information at any time. Especially in some shopping malls, businesses will change, for example, new merchants enter the mall, old merchants are demolished, merchants receive information changes, etc. Based on this, the receipt information in the certificate needs to be updated at any time.
步骤103,终端根据所述待使用的收款信息中的收款服务器信息和收款账户信息与对应的收款服务器通信,实现支付。Step 103: The terminal communicates with the corresponding collection server according to the collection server information and the collection account information in the payment information to be used to implement payment.
在实际应用中,终端确定待使用的收款信息之后,利用收款服务器信息向对应的服务器发送该收款账户信息,收款服务器接收到收款账户信息之后,进行账户身份合法性验证,验证通过后向终端反馈确认信息,终端接收到确认信息,控制支付客户端显示支付页面,用户在支付页面上输入支付金额、支付密码等,以完成支付。In the actual application, after determining the payment information to be used, the terminal sends the payment account information to the corresponding server by using the payment server information, and after receiving the payment account information, the payment server performs verification of the account identity legality and verification. After the feedback information is fed back to the terminal, the terminal receives the confirmation information, controls the payment client to display the payment page, and the user inputs the payment amount, the payment password, and the like on the payment page to complete the payment.
在实际应用中,不同支付客户端具体支持的支付方式不同,例如,免密支付、口令支付、指纹支付等等,本申请实施例对具体支付方式不作限定。In a practical application, different payment methods are specifically supported by different payment clients, for example, a secret payment, a password payment, a fingerprint payment, and the like. The specific payment method is not limited in the embodiment of the present application.
以上对本申请实施例提供的方法进行说明,与上述方法相对应的,本申请还提供了一种终端。下面结合图6对该终端进行介绍。The method provided by the embodiment of the present application is described above. Corresponding to the foregoing method, the present application further provides a terminal. The terminal will be described below with reference to FIG. 6.
参见图6,图6示出了本申请实施例提供的一种终端,终端600包括:Referring to FIG. 6, FIG. 6 shows a terminal provided by an embodiment of the present application, where the terminal 600 includes:
网络接入模块601,用于通过证书的认证方式接入无线局域网,所述证书中有至少一个收款信息,其中,所述至少一个收款信息中的每个收款信息包括收款账户信息和收款服务器信息;The network access module 601 is configured to access the wireless local area network by using a certificate authentication manner, where the certificate has at least one payment information, wherein each of the at least one payment information includes the collection account information And collection server information;
确定模块602,用于响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息;The determining module 602 is configured to determine, according to the payment operation triggered by the user, a payment information as the payment information to be used according to the certificate;
支付模块603,用于根据所述待使用的收款信息中的收款服务器信息和收款账户信息与对应的收款服务器通信,实现支付。The payment module 603 is configured to implement payment according to the payment server information and the payment account information in the payment information to be used, and the corresponding payment server.
可选的,终端还包括:Optionally, the terminal further includes:
控件显示模块,用于显示支付控件,所述支付控件用于接收用户的支付操作;所述支付控件与支付客户端之间具有绑定关系;a control display module, configured to display a payment control, where the payment control is used to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
则所述确定模块具体用于:The determining module is specifically configured to:
根据被用户触控的支付控件与支付客户端之间的绑定关系,确定待使用的支付客户端类型;Determining the type of payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
根据所述待使用的支付客户端类型从所述证书中解析出与所述支付客户端类型匹配的一个收款信息作为待使用的收款信息。And according to the payment client type to be used, parsing one payment information matching the payment client type from the certificate as the payment information to be used.
可选的,证书中有一个收款信息;所述确定模块具体用于:Optionally, the certificate has a payment information; the determining module is specifically configured to:
响应用户触发的支付操作,解析所述证书得到一个收款信息,将所述解析得到的一个收款信息确定为待使用的收款信息。Responding to the payment operation triggered by the user, parsing the certificate to obtain a payment information, and determining a payment information obtained by the parsing as the payment information to be used.
可选的,证书中至少两个收款信息;所述至少两个收款信息中的每个收款信息还包括: 收款方信息;Optionally, at least two payment information in the certificate; each of the at least two payment information further includes: a payee information;
所述确定模块具体用于:The determining module is specifically configured to:
响应用户触发的支付操作,解析所述证书得到至少两个收款信息;Responding to the user-triggered payment operation, parsing the certificate to obtain at least two payment information;
显示所述至少两个收款信息中每个收款信息包括的收款方信息,根据被选择的收款方信息确定对应的收款信息作为待使用的收款信息。The payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
可选的,证书中有至少两个收款信息,所述至少两个收款信息中的每个收款信息还包括:收款方的地理位置;Optionally, the certificate has at least two payment information, and each of the at least two payment information further includes: a geographical location of the payee;
所述确定模块具体用于:The determining module is specifically configured to:
响应用户触发的支付操作,解析所述证书得到至少两个收款信息;Responding to the user-triggered payment operation, parsing the certificate to obtain at least two payment information;
根据所述至少两个收款信息中每个收款信息中收款方的地理位置,确定与终端当前地理位置相匹配的一个收款信息作为待使用的收款信息。And determining, according to the geographic location of the payee in each of the at least two payment information, a payment information that matches the current geographic location of the terminal as the payment information to be used.
可选的,确定模块具体用于:Optionally, the determining module is specifically configured to:
响应用户触发的支付操作,向无线接入点发送收款信息获取请求;Sending a payment information acquisition request to the wireless access point in response to the user-triggered payment operation;
接收所述无线接入点反馈的待使用的收款信息,所述待使用的收款信息是认证服务器根据所述收款信息获取请求解析所述证书得到的。And receiving the payment information to be used fed back by the wireless access point, where the payment information to be used is obtained by the authentication server parsing the certificate according to the payment information acquisition request.
可选的,网络接入模块具体用于:Optionally, the network access module is specifically configured to:
通过证书中的认证地址向无线接入点发送认证请求;Sending an authentication request to the wireless access point through the authentication address in the certificate;
接收无线接入点反馈的认证结果,若认证结果为认证通过时,则接入无线局域网;其中认证结果是认证服务器根据所述无线接入点转发的所述认证请求进行身份认证得到的结果。Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
在本实施例中,网络接入模块601、确定模块602、支付模块603实现的相关功能均可以参见上述支付方法实施例中的描述进行理解,本处不再重复赘述。In this embodiment, the related functions implemented by the network access module 601, the determining module 602, and the payment module 603 can be understood by referring to the description in the foregoing payment method embodiment, and details are not repeatedly described herein.
本申请实施例还提供一种终端,参见图7示出的一种终端的硬件结构图,如图7所示,图7示出的是与本发明实施例提供的一种终端600的部分结构的框图。参考图7,终端600包括:射频(Radio Frequency,RF)电路710、存储器720、输入单元730、显示单元740、传感器750、音频电路760、无线通信模块770、处理器780、以及电源790等部件。本领域技术人员可以理解,图7中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The embodiment of the present application further provides a terminal. Referring to FIG. 7, a hardware structure diagram of a terminal is shown in FIG. 7. FIG. 7 shows a partial structure of a terminal 600 according to an embodiment of the present invention. Block diagram. Referring to FIG. 7, the terminal 600 includes: a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless communication module 770, a processor 780, and a power supply 790. . It will be understood by those skilled in the art that the terminal structure shown in FIG. 7 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
下面结合图7对终端600的各个构成部件进行具体的介绍:The components of the terminal 600 are specifically described below with reference to FIG. 7:
RF电路710可用于发射或接收数据;The RF circuit 710 can be used to transmit or receive data;
存储器720可用于存储软件程序以及模块,处理器1280通过运行存储在存储器720的软件程序以及模块,从而执行终端的各种功能应用以及数据处理。存储器720可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 720 can be used to store software programs and modules, and the processor 1280 executes various functional applications and data processing of the terminals by running software programs and modules stored in the memory 720. The memory 720 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the terminal (such as audio data, phone book, etc.). Moreover, memory 1220 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元730可用于接收用户的操作指令,以及产生与终端100的用户设置以及功能 控制有关的键信号输入。具体地,输入单元730可包括触控面板731以及其他输入设备732。触控面板731,也可称为触摸屏,可收集用户在其上或附近的接触或者非接触操作触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板731上或在触控面板731附近的操作),并根据预先设定的程式驱动相应的连接终端。可选的,触控面板731可包括触摸检测终端和触摸控制器两个部分。其中,触摸检测终端检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测终端上接收触摸信息,并将它转换成触点坐标,再送给处理器780,并能接收处理器780发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板731。可选的,输入单元730还可以包括其他输入设备732。其他输入设备732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 730 is operable to receive an operation instruction of the 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 contact or non-contact operation touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 731 or on any suitable object or accessory. The operation near the touch panel 731) drives the corresponding connection terminal according to a preset program. Optionally, the touch panel 731 can include two parts: a touch detection terminal and a touch controller. Wherein, the touch detection terminal detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection terminal, converts the touch information into contact coordinates, and sends the touch information. The processor 780 is provided and can receive commands from the processor 780 and execute them. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. Alternatively, 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 (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元740可用于显示界面。显示单元740可包括显示面板741,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板741。进一步的,触控面板1231可覆盖显示面板741,当触控面板731检测到在其上或附近的触摸操作后,传送给处理器780以确定触摸事件的类型,随后处理器780根据触摸事件的类型在显示面板741上提供相应的视觉输出。虽然在图7中,触控面板731与显示面板741是作为两个独立的部件来实现终端的输入和输入功能,但是在某些实施例中,可以将触控面板731与显示面板741可以集成而实现终端的输入和输出功能。 Display unit 740 can be used to display the interface. The display unit 740 can include a display panel 741. Alternatively, the display panel 741 can 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 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near the touch panel 731, it transmits to the processor 780 to determine the type of the touch event, and then the processor 780 according to the touch event. The type provides a corresponding visual output on display panel 741. Although in FIG. 7, the touch panel 731 and the display panel 741 are two independent components to implement the input and input functions of the terminal, in some embodiments, the touch panel 731 and the display panel 741 can be integrated. And realize the input and output functions of the terminal.
终端100还可包括至少一种传感器750。Terminal 100 can also include at least one type of sensor 750.
音频电路760、扬声器761,传声器762可提供用户与终端之间的音频接口。音频电路760可将接收到的音频数据转换后的电信号,传输到扬声器761,由扬声器761转换为声音信号输出;另一方面,传声器762将收集的声音信号转换为电信号,由音频电路760接收后转换为音频数据,再将音频数据输出处理器780处理后,经RF电路710以发送给比如另一终端,或者将音频数据输出至存储器720以便进一步处理。An audio circuit 760, a speaker 761, and a microphone 762 can provide an audio interface between the user and the terminal. The audio circuit 760 can transmit the converted electrical data of the received audio data to the speaker 761 for conversion to the sound signal output by the speaker 761; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal by the audio circuit 760. After receiving, it is converted into audio data, and then processed by the audio data output processor 780, transmitted to the terminal, for example, via the RF circuit 710, or the audio data is output to the memory 720 for further processing.
无线通信模块770可以用于通信。该无线通信模块具体可以为WiFi模块。The wireless communication module 770 can be used for communication. The wireless communication module may specifically be a WiFi module.
处理器780是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器720内的软件程序和/或模块,以及调用存储在存储器720内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。可选的,处理器780可包括一个或多个处理单元;优选的,处理器780可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器780中。可选的,处理器780还可以包括显示控制等功能模块。The processor 780 is the control center of the terminal, and connects various parts of the entire terminal using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 720, and calling data stored in the memory 720, executing The terminal's various functions and processing data, so as to monitor the terminal as a whole. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 780. Optionally, the processor 780 may further include a function module such as display control.
终端600还包括给各个部件供电的电源790(比如电池),优选的,电源可以通过电源管理系统与处理器780逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 600 also includes a power source 790 (such as a battery) for powering various components. Preferably, the power source can be logically coupled to the processor 780 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
尽管未示出,终端600还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the terminal 600 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
在本发明实施例中,该终端所包括的处理器780还具有以下功能:In the embodiment of the present invention, the processor 780 included in the terminal further has the following functions:
通过证书的认证方式接入无线局域网,所述证书中有至少一个收款信息,其中,所述至少一个收款信息中的每个收款信息包括收款账户信息和收款服务器信息;Accessing the wireless local area network by means of a certificate authentication manner, wherein the certificate has at least one payment information, wherein each of the at least one payment information includes the collection account information and the collection server information;
响应于用户触发的支付请求,根据所述证书确定一个收款信息作为待使用的收款信息;Responding to the user-triggered payment request, determining a payment information as the payment information to be used according to the certificate;
根据所述待使用的收款信息中的收款服务器信息和收款账户信息与对应的收款服务器通信,实现支付。The payment is realized by communicating with the corresponding collection server according to the payment server information and the payment account information in the payment information to be used.
可选的,所述处理器还用于:显示支付控件,所述支付控件用于接收用户的支付操作;所述支付控件与支付客户端之间具有绑定关系;Optionally, the processor is further configured to: display a payment control, where the payment control is used to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
根据被用户触控的支付控件与支付客户端之间的绑定关系,确定待使用的支付客户端类型;Determining the type of payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
根据所述待使用的支付客户端类型从所述证书中解析出与所述支付客户端类型匹配的一个收款信息作为待使用的收款信息。And according to the payment client type to be used, parsing one payment information matching the payment client type from the certificate as the payment information to be used.
可选的,证书中有一个收款信息;Optionally, there is a receipt information in the certificate;
响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
响应用户触发的支付操作,解析所述证书得到一个收款信息,将所述解析得到的一个收款信息确定为待使用的收款信息。Responding to the payment operation triggered by the user, parsing the certificate to obtain a payment information, and determining a payment information obtained by the parsing as the payment information to be used.
可选的,证书中至少两个收款信息;所述至少两个收款信息中的每个收款信息还包括:收款方信息;Optionally, at least two payment information in the certificate; each of the at least two payment information further includes: a payee information;
响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
响应用户触发的支付操作,解析所述证书得到至少两个收款信息;Responding to the user-triggered payment operation, parsing the certificate to obtain at least two payment information;
显示所述至少两个收款信息中每个收款信息包括的收款方信息,根据被选择的收款方信息确定对应的收款信息作为待使用的收款信息。The payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
可选的,证书中有至少两个收款信息,所述至少两个收款信息中的每个收款信息还包括:收款方的地理位置;Optionally, the certificate has at least two payment information, and each of the at least two payment information further includes: a geographical location of the payee;
响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
响应用户触发的支付操作,解析所述证书得到至少两个收款信息;Responding to the user-triggered payment operation, parsing the certificate to obtain at least two payment information;
根据所述至少两个收款信息中每个收款信息中收款方的地理位置,确定与终端当前地理位置相匹配的一个收款信息作为待使用的收款信息。And determining, according to the geographic location of the payee in each of the at least two payment information, a payment information that matches the current geographic location of the terminal as the payment information to be used.
可选的,响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Optionally, in response to the user-triggered payment operation, determining, according to the certificate, a payment information as the payment information to be used, including:
响应用户触发的支付操作,向无线接入点发送收款信息获取请求;Sending a payment information acquisition request to the wireless access point in response to the user-triggered payment operation;
接收所述无线接入点反馈的待使用的收款信息,所述待使用的收款信息是认证服务器根据所述收款信息获取请求解析所述证书得到的。And receiving the payment information to be used fed back by the wireless access point, where the payment information to be used is obtained by the authentication server parsing the certificate according to the payment information acquisition request.
可选的,通过证书的认证方式接入无线局域网,包括:Optionally, accessing the WLAN through the authentication mode of the certificate includes:
通过证书中的认证地址向无线接入点发送认证请求;Sending an authentication request to the wireless access point through the authentication address in the certificate;
接收无线接入点反馈的认证结果,若认证结果为认证通过时,则接入无线局域网;其中认证结果是认证服务器根据所述无线接入点转发的所述认证请求进行身份认证得到的结果。Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
结合图6以及图7,终端600中的网络接入模块601可以由射频单元730和处理器780实现,确定单元602可以由处理器780实现,支付模块603可以由无线通信模块770和处理780实现。6 and FIG. 7, the network access module 601 in the terminal 600 can be implemented by the radio unit 730 and the processor 780, the determining unit 602 can be implemented by the processor 780, and the payment module 603 can be implemented by the wireless communication module 770 and the processing 780. .
在本实施例中,关于终端600的相关描述均可以参见上述支付方法实施例中的描述进行理解,本处不再重复赘述。In this embodiment, the related descriptions of the terminal 600 can be understood by referring to the description in the foregoing payment method embodiment, and details are not repeatedly described herein.
以上对本申请提供的一种支付方法及相关终端进行了描述,基于相同的技术思路,本申请还提供了一种解锁方法及相关终端。The foregoing describes a payment method and related terminal provided by the present application. Based on the same technical idea, the present application further provides an unlocking method and related terminal.
下面先对本申请提供的一种解锁方法及相关终端的应用场景进行简单说明。The following describes an unlocking method and an application scenario of the related terminal provided by the present application.
随着共享经济的发展,共享类设备逐渐进入人们的日常生活中,便利人们的工作和生活;共享类设备均具有密码锁,用户只有在正确解锁之后才能够使用设备。With the development of the sharing economy, shared devices gradually enter people's daily lives, facilitating people's work and life; shared devices all have password locks, and users can use the devices only after they are properly unlocked.
以共享单车为例进行说明,共享单车是企业在公共区域提供自行车、电动车共享服务;共享单车具有密码锁,用户在使用时,需要扫描共享单车二维码,共享单车解锁后,用户才可使用。共享单车的一种解锁方法是,用户在终端上预先安装共享单车的客户端,如摩拜单车、OF0,等等,用户在需要使用共享单车时,用户使用终端先启动共享单车的客户端,再启动该客户端的扫码功能,扫描共享单车上的二维码,然后终端与共享单车服务器通信,共享单车服务器对终端发送的二维码相关信息进行验证,验证通过后,共享单车服务器控制共享单车自动解锁,或者,共享单车服务器向终端反馈解锁密码,用户输入解锁密码手动开锁。其他共享类设备的解锁方法与共享类单车的解锁方法相类似,再次不一一列举。Taking the shared bicycle as an example, the shared bicycle is provided by the enterprise to provide bicycle and electric vehicle sharing services in the public area; the shared bicycle has a password lock, and the user needs to scan the shared bicycle QR code when the user is in use, and the user can only after the shared bicycle is unlocked. use. One method of unlocking a shared bicycle is that the user pre-installs a client sharing a bicycle on the terminal, such as a motorcycle, OF0, etc., when the user needs to use the shared bicycle, the user starts the client sharing the bicycle first. The scanning function of the client is started, the QR code on the shared bicycle is scanned, and then the terminal communicates with the shared bicycle server, and the shared bicycle server verifies the QR code related information sent by the terminal. After the verification is passed, the shared bicycle server controls sharing. The bicycle is automatically unlocked, or the shared bicycle server feeds back the unlock password to the terminal, and the user inputs the unlock password to manually unlock. The unlocking method of other shared devices is similar to the unlocking method of shared bicycles, and will not be enumerated again.
基于此,本申请实施例还提供了一种解锁方法及相关终端,用于为用户提供一种无需扫码的快捷支付方式,既保证解锁过程的安全性,又简化用户的解锁操作,缩短解锁时间。Based on this, the embodiment of the present application further provides an unlocking method and related terminal, which is used to provide a fast payment method that does not need to scan code, thereby ensuring the security of the unlocking process, simplifying the unlocking operation of the user, and shortening the unlocking. time.
下面结合图8对本申请实施例提供的一种解锁方法进行介绍。An unlocking method provided by an embodiment of the present application is described below with reference to FIG.
参见图8,图8为本申请实施例中的一种解锁方法的流程图,该方法应用于第一终端,该第一终端是指智能手机、平板电脑、智能手表等支持蓝牙通信的终端设备,如图8所示,该方法包括以下步骤:Referring to FIG. 8, FIG. 8 is a flowchart of an unlocking method according to an embodiment of the present application. The method is applied to a first terminal, where the first terminal refers to a terminal device that supports Bluetooth communication, such as a smart phone, a tablet computer, or a smart watch. As shown in FIG. 8, the method includes the following steps:
步骤801,第一终端通过蓝牙证书认证方式与第二终端建立蓝牙连接,所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的标识和所述第二终端的服务器信息;Step 801: The first terminal establishes a Bluetooth connection with the second terminal by using a Bluetooth certificate authentication manner, the second terminal has a password lock, and the Bluetooth certificate of the second terminal includes the identifier of the second terminal and the second terminal. Server information of the terminal;
在本申请实施例中,第一终端启动蓝牙搜索,主动查找周围已启动蓝牙的终端,并排序查找到的终端,选择向第二终端发送认证请求,判断是否在指定时间内接收到第二终端反馈的对认证请求的响应,如果,第一终端在指定时间内接收到该第二终端对该认证请求的响应,并且接收到第二终端的认证秘钥正确,即,认证成功,则第一终端与第二终端建立蓝牙连接。In the embodiment of the present application, the first terminal initiates a Bluetooth search, actively searches for a terminal that has started Bluetooth, and sorts the found terminal, and selects to send an authentication request to the second terminal to determine whether the second terminal is received within a specified time. The response to the authentication request, if the first terminal receives the response of the second terminal to the authentication request within a specified time, and receives the authentication key of the second terminal, that is, the authentication succeeds, the first The terminal establishes a Bluetooth connection with the second terminal.
步骤802,第一终端响应用户触发的解锁操作,向所述第二终端发送获取请求,接收所述第二终端反馈的所述第二终端的标识和所述服务器信息;Step 802: The first terminal sends an acquisition request to the second terminal in response to the unlocking operation triggered by the user, and receives the identifier of the second terminal and the server information that are fed back by the second terminal.
可选的,所述方法还包括:Optionally, the method further includes:
第一终端显示控件,所述控件用于接收用户的解锁操作。The first terminal displays a control for receiving an unlocking operation of the user.
在一种可选的实现方式中,在第一终端中预先安装有第二终端对应的客户端,则第一终端在该客户端的交互页面上显示该控件,用户使用第一终端,启用该客户端,在该客户端的交互页面上显示该控件,后续利用该客户端实现对第二终端的解锁控制。In an optional implementation manner, the client corresponding to the second terminal is pre-installed in the first terminal, and the first terminal displays the control on the interaction page of the client, and the user uses the first terminal to enable the client. And displaying the control on the interaction page of the client, and subsequently using the client to implement unlocking control on the second terminal.
在本申请实施例中,第一终端中可以预先安装有第二终端对应的客户端,例如,第二终端是共享单车的客户端,如摩拜单车的客户端,OFO的客户端,等等,第一终端通过第二终端的客户端为用户提供控件,用户触控该控件,则终端接收到用户的解锁操作,进而响应该解锁操作,需要说明的是,本申请实施例中,第一终端可以以插件形式在第二终端的客户端的交互页面上显示该控件,但该控件并不影响第二终端的客户端的其他功能。In the embodiment of the present application, the client corresponding to the second terminal may be pre-installed in the first terminal, for example, the second terminal is a client sharing a bicycle, such as a client of a motorcycle, an OFO client, and the like. The first terminal provides a control for the user through the client of the second terminal, and the user touches the control, and the terminal receives the unlocking operation of the user, and then responds to the unlocking operation, which needs to be described in the first embodiment of the present application. The terminal may display the control on the interactive page of the client of the second terminal in the form of a plug-in, but the control does not affect other functions of the client of the second terminal.
在另一种可选的实现方式中,在第一终端自身系统的交互页面上显示控件,或者,在第一终端中设置硬件控件,该控件与第一终端中预安装的第二终端的客户端具有绑定关系,当用户触控该控件后,第一终端与第二终端建立有蓝牙连接,启动与第二终端对应的客户端,后续利用该客户端实现对第二终端的解锁控制。In another optional implementation manner, the control is displayed on the interaction page of the first terminal's own system, or the hardware control is set in the first terminal, and the control is connected with the client of the second terminal pre-installed in the first terminal. The terminal has a binding relationship. After the user touches the control, the first terminal establishes a Bluetooth connection with the second terminal, and starts a client corresponding to the second terminal, and subsequently uses the client to implement unlocking control on the second terminal.
举例说明,第一终端在系统交互页面上显示控件,该硬件控件与第一终端内预安装多个第二终端各自的客户端之间具有绑定关系,则当用户触控该控件时,第一终端根据与其蓝牙连接的第二终端的类型,确定第二终端的客户端,进而启动第二终端的客户端,例如,第一终端与摩拜单车建立蓝牙连接,则第一终端启动摩拜单车的客户端,再响应用户的解锁操作。For example, the first terminal displays a control on the system interaction page, and the hardware control has a binding relationship with each client of the second terminal pre-installed in the first terminal, when the user touches the control, the first terminal The terminal determines the client of the second terminal according to the type of the second terminal connected to the Bluetooth, and then starts the client of the second terminal. For example, the first terminal establishes a Bluetooth connection with the Mobike, and the first terminal starts the Mobai. The client of the bicycle responds to the user's unlock operation.
在本申请实施例中,第二终端的标识是指能够唯一标识第二终端的信息,例如第二终端的硬件设备标识,第二终端内置蓝牙芯片的标识,等等。第二终端的服务器信息是指与第二终端的客户端对应的服务器的网络地址,该服务器是指与客户端对应的,为客户端提供数据支持,并用于控制和管理第二终端的服务设备,服务器信息是指服务器的通信地址。以第二终端是摩拜单车为例进行说明,该第二终端的标识为单车编号,服务器信息为摩拜单车的服务器的网络地址。In the embodiment of the present application, the identifier of the second terminal refers to information that can uniquely identify the second terminal, such as the hardware device identifier of the second terminal, the identifier of the Bluetooth chip embedded in the second terminal, and the like. The server information of the second terminal refers to the network address of the server corresponding to the client of the second terminal, and the server refers to the service device corresponding to the client, provides data support for the client, and is used for controlling and managing the second terminal. The server information refers to the communication address of the server. The second terminal is a Mobike bicycle. The identifier of the second terminal is a bicycle number, and the server information is a network address of a Mobike server.
步骤803,第一终端根据所述收款服务器信息和所述第二终端的标识与对应的服务器通信,实现对第二终端的解锁。Step 803: The first terminal communicates with the corresponding server according to the collection server information and the identifier of the second terminal, so as to unlock the second terminal.
在本申请实施例中,由于不同类型的第二终端具有不同类型的密码锁,不同类型的密码锁其采用的解锁方式也不相同;在一种可选的实现方式中,第二终端的密码锁为智能锁,则服务器在验证通过后,同时向第一终端和第二终端发送解锁指令,该解锁指令中携带解锁密码,如果第二终端先接收到该解锁指令,则根据该解锁指令中的解锁密码自动解锁,如果第一终端先接收到该解锁指令,则第一终端再通过蓝牙将该解锁指令发送给第二终端,第二终端再根据该解锁指令进行解锁。In the embodiment of the present application, since different types of second terminals have different types of password locks, the unlocking manners used by different types of password locks are also different; in an optional implementation manner, the passwords of the second terminal are different. The lock is a smart lock, and after the server passes the verification, the server sends an unlocking command to the first terminal and the second terminal, and the unlocking command carries the unlocking password. If the second terminal receives the unlocking command first, according to the unlocking instruction, The unlocking password is automatically unlocked. If the first terminal receives the unlocking command, the first terminal sends the unlocking command to the second terminal through the Bluetooth, and the second terminal unlocks according to the unlocking command.
在另一种可选的实现方式中,第二终端的密码锁是机械锁,服务器在验证通过后,向第一终端发送解锁指令,该解锁指令中携带解锁密码,第一终端为用户显示该解锁密码,则用户根据该解锁密码手动对第二设备进行解锁,在第二终端的密码锁中输入该解锁密 码,则第二终端根据该解锁密码打开密码锁。In another optional implementation manner, the password lock of the second terminal is a mechanical lock, and after the server passes the verification, the server sends an unlocking command to the first terminal, where the unlocking command carries the unlocking password, and the first terminal displays the If the password is unlocked, the user manually unlocks the second device according to the unlock password, and enters the unlock password in the password lock of the second terminal, and the second terminal opens the password lock according to the unlock password.
本申请实施例提供的一种解锁方法,在蓝牙证书中预先内置第二终端的标识和第二终端的服务器信息,用户在需要解锁时,无需执行扫码操作去获取第二终端的上述信息,而是利用第一终端通过蓝牙接收第二设备的上述信息,利用这些信息实现对第二终端的解锁。An unlocking method is provided in the embodiment of the present application. The identifier of the second terminal and the server information of the second terminal are pre-built in the Bluetooth certificate. When the user needs to unlock, the user does not need to perform a scan operation to obtain the foregoing information of the second terminal. Rather, the first terminal receives the above information of the second device through Bluetooth, and uses the information to implement unlocking of the second terminal.
对于用户而言,在需要对第二终端进行解锁时,无需手动扫描第二设备的二维码,从而简化了用户的解锁操作,缩短解锁时间;对于商家而言,无需在第二终端上部署二维码,防止非法份子实施非法遮盖行为;另外,由于第一终端与第二终端之间通过蓝牙认证方式建立的网络连接,因此,第一终端与第二终端通过点对点通信方式,能够确保解锁过程的安全性。For the user, when the second terminal needs to be unlocked, it is not necessary to manually scan the two-dimensional code of the second device, thereby simplifying the unlocking operation of the user and shortening the unlocking time; for the merchant, there is no need to deploy on the second terminal The two-dimensional code prevents the illegal person from performing the illegal covering behavior; in addition, because the first terminal and the second terminal establish a network connection established by the Bluetooth authentication method, the first terminal and the second terminal can ensure the unlocking through the point-to-point communication mode. Process security.
与上述方法相对应的,本申请实施例提供了一种第一终端,下面结合图9对该第一终端进行介绍。Corresponding to the above method, the embodiment of the present application provides a first terminal, which is introduced below with reference to FIG. 9.
参见图9,图9是本申请实施例中的一种第一终端的结构图,如图9所示,该第一终端900包括:Referring to FIG. 9, FIG. 9 is a structural diagram of a first terminal in the embodiment of the present application. As shown in FIG. 9, the first terminal 900 includes:
蓝牙连接模块901,用于通过蓝牙证书认证方式与第二终端建立蓝牙连接,所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;a Bluetooth connection module 901, configured to establish a Bluetooth connection with the second terminal by using a Bluetooth certificate authentication manner, the second terminal has a password lock, and the Bluetooth certificate of the second terminal has a unique identifier of the second terminal and the Server information of the second terminal;
信息获取模块902,用于响应用户触发的解锁操作,向所述第二终端发送获取请求,接收所述第二终端反馈的所述第二终端的唯一标识和所述服务器信息;The information obtaining module 902 is configured to send an acquisition request to the second terminal in response to the unlocking operation triggered by the user, and receive the unique identifier of the second terminal and the server information that are fed back by the second terminal;
解锁模块903,用于根据所述收款服务器信息和所述第二终端的标识与对应的服务器通信,实现对第二终端的解锁。The unlocking module 903 is configured to implement unlocking of the second terminal by communicating with the corresponding server according to the collection server information and the identifier of the second terminal.
可选的,所述第一终端还包括:Optionally, the first terminal further includes:
显示模块,用于显示控件,所述控件用于接收用户的解锁操作。A display module is configured to display a control for receiving an unlocking operation of the user.
在本实施例中,蓝牙连接模块901、信息获取模块902、解锁模块903实现的相关功能均可以参见上述解锁方法实施例中的描述进行理解,本处不再重复赘述。In this embodiment, the related functions of the Bluetooth connection module 901, the information acquisition module 902, and the unlocking module 903 can be understood by referring to the description in the foregoing unlocking method embodiment, and details are not repeatedly described herein.
与上述方法相对应的,本申请实施例提供了一种第一终端,参见图10示出的一种终端的硬件结构图,如图10所示,图10示出的是与本发明实施例提供的一种第一终端900的部分结构的框图。参考图10,第一终端包括:射频(Radio Frequency,RF)电路1010、存储器1020、输入单元1030、显示单元1040、传感器1050、音频电路1060、无线通信模块1070、处理器1080、电源1090、蓝牙模块10100等部件。本领域技术人员可以理解,图10中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Corresponding to the above method, the embodiment of the present application provides a first terminal, and the hardware structure diagram of a terminal shown in FIG. 10 is shown in FIG. 10, and FIG. 10 shows an embodiment of the present invention. A block diagram of a portion of the structure of the first terminal 900 is provided. 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, and a Bluetooth. Module 10100 and other components. It will be understood by those skilled in the art that the terminal structure shown in FIG. 10 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or combine some components, or different component arrangements.
下面结合图10对第一终端的各个构成部件进行具体的介绍:The specific components of the first terminal will be specifically described below with reference to FIG. 10:
RF电路1010可用于发射或接收数据;The RF circuit 1010 can be used to transmit or receive data;
存储器1020可用于存储软件程序以及模块,处理器1280通过运行存储在存储器1020的软件程序以及模块,从而执行终端的各种功能应用以及数据处理。存储器1020可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端的使用 所创建的数据(比如音频数据、电话本等)等。此外,存储器1220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1020 can be used to store software programs and modules, and the processor 1280 executes various functional applications and data processing of the terminals by running 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 required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the terminal (such as audio data, phone book, etc.). Moreover, memory 1220 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元1030可用于接收用户的操作指令,以及产生与终端100的用户设置以及功能控制有关的键信号输入。具体地,输入单元1030可包括触控面板1031以及其他输入设备1032。触控面板1031,也可称为触摸屏,可收集用户在其上或附近的接触或者非接触操作触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1031上或在触控面板1031附近的操作),并根据预先设定的程式驱动相应的连接终端。可选的,触控面板1031可包括触摸检测终端和触摸控制器两个部分。其中,触摸检测终端检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测终端上接收触摸信息,并将它转换成触点坐标,再送给处理器1080,并能接收处理器1080发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1031。可选的,输入单元1030还可以包括其他输入设备1032。其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1030 can be configured to receive an operation instruction of the 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 contact or non-contact operation touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 1031 or The operation in the vicinity of the touch panel 1031) drives the corresponding connection terminal according to a preset program. Optionally, the touch panel 1031 may include two parts: a touch detection terminal and a touch controller. Wherein, the touch detection terminal detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection terminal, converts the touch information into contact coordinates, and sends the touch information. The processor 1080 is provided and can receive commands from the processor 1080 and execute them. In addition, the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. 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 (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元1040可用于显示界面。显示单元1040可包括显示面板1041,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1041。进一步的,触控面板1031可覆盖显示面板1041,当触控面板1031检测到在其上或附近的触摸操作后,传送给处理器1080以确定触摸事件的类型,随后处理器1080根据触摸事件的类型在显示面板1041上提供相应的视觉输出。虽然在图10中,触控面板1031与显示面板1041是作为两个独立的部件来实现终端的输入和输入功能,但是在某些实施例中,可以将触控面板1031与显示面板1041可以集成而实现终端的输入和输出功能。 Display unit 1040 can be used to display the interface. The display unit 1040 may include a display panel 1041. Alternatively, 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 may cover the display panel 1041, and when the touch panel 1031 detects a touch operation thereon or nearby, the touch panel 1031 transmits to the processor 1080 to determine the type of the touch event, and then the processor 1080 according to the touch event. The type provides a corresponding visual output on display panel 1041. Although in FIG. 10, the touch panel 1031 and the display panel 1041 are two independent components to implement the input and input functions of the terminal, in some embodiments, the touch panel 1031 and the display panel 1041 may be integrated. And realize the input and output functions of the terminal.
终端200还可包括至少一种传感器1050。Terminal 200 can also include at least one type of sensor 1050.
音频电路1060、扬声器1061,传声器1062可提供用户与终端之间的音频接口。音频电路1060可将接收到的音频数据转换后的电信号,传输到扬声器1061,由扬声器1061转换为声音信号输出;另一方面,传声器1062将收集的声音信号转换为电信号,由音频电路1060接收后转换为音频数据,再将音频数据输出处理器1080处理后,经RF射频电路1010以发送给比如另一终端,或者将音频数据输出至存储器1020以便进一步处理。 Audio circuit 1060, speaker 1061, and microphone 1062 can provide an audio interface between the user and the terminal. The audio circuit 1060 can transmit the converted electrical data of the received audio data to the speaker 1061, and convert it into a sound signal output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, by the audio circuit 1060. After receiving, it is converted into audio data, and then processed by the audio data output processor 1080, sent to, for example, another terminal via the RF radio circuit 1010, or outputted to the memory 1020 for further processing.
处理器1080是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器1020内的软件程序和/或模块,以及调用存储在存储器1020内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。可选的,处理器780可包括一个或多个处理单元;优选的,处理器1080可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1080中。可选的,处理器1080还可以包括显示控制等功能模块。The processor 1080 is the control center of the terminal, which connects various parts of the entire terminal using various interfaces and lines, and executes by executing or executing software programs and/or modules stored in the memory 1020, and calling data stored in the memory 1020. The terminal's various functions and processing data, so as to monitor the terminal as a whole. Optionally, the processor 780 may include one or more processing units; preferably, the processor 1080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1080. Optionally, the processor 1080 may further include a function module such as display control.
终端200还包括给各个部件供电的电源1090(比如电池),优选的,电源可以通过电源管理系统与处理器1080逻辑相连,从而通过电源管理系统实现管理充电、放电、以及 功耗管理等功能。The terminal 200 also includes a power source 1090 (such as a battery) for powering various components. Preferably, the power source can be logically coupled to the processor 1080 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
尽管未示出,终端200还可以包括摄像头等,在此不再赘述。Although not shown, the terminal 200 may further include a camera or the like, and details are not described herein again.
在本发明实施例中,该终端所包括的处理器1080还具有以下功能:In the embodiment of the present invention, the processor 1080 included in the terminal further has the following functions:
通过蓝牙证书认证方式与第二终端建立蓝牙连接,所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;Establishing a Bluetooth connection with the second terminal by using a Bluetooth certificate authentication manner, the second terminal has a password lock, and the Bluetooth certificate of the second terminal includes a unique identifier of the second terminal and server information of the second terminal;
响应用户触发的解锁操作,向所述第二终端发送获取请求,接收所述第二终端反馈的所述第二终端的唯一标识和所述服务器信息;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, in response to the unlocking operation triggered by the user;
根据所述收款服务器信息和所述第二终端的标识与对应的服务器通信,实现对第二终端的解锁。And unlocking the second terminal by communicating with the corresponding server according to the collection server information and the identifier of the second terminal.
可选的,处理器还用于执行以下功能:Optionally, the processor is also used to perform the following functions:
显示控件,所述控件用于接收用户的解锁操作。A display control for receiving a user's unlocking operation.
结合图9以及图10,第一终端200中的蓝牙连接模块901可以由蓝牙模块10100和处理器1080实现,信息获取单元902可以由蓝牙模块10100和处理器1080实现,解锁模块903可以由无线通信模块1070和处理1080实现。9 and 10, the Bluetooth connection module 901 in the first terminal 200 can be implemented by the Bluetooth module 10100 and the processor 1080, the information acquisition unit 902 can be implemented by the Bluetooth module 10100 and the processor 1080, and the unlocking module 903 can be wirelessly communicated. Module 1070 and process 1080 are implemented.
在本实施例中,关于第一终端200的相关描述均可以参见上述解锁方法实施例中的描述进行理解,本处不再重复赘述。In this embodiment, the related descriptions of the first terminal 200 can be understood by referring to the description in the foregoing unlocking method embodiment, and details are not repeatedly described herein.
以上对本申请提供的一种解锁方法及相关终端进行了描述,基于相同的技术思路,本申请还提供了另一种解锁方法及相关终端。An unlocking method and related terminal provided by the present application are described above. Based on the same technical idea, the present application further provides another unlocking method and related terminal.
参见图11,图11是本申请实施例中的另一种解锁方法的流程图,该方法应用于第二终端,该第二终端是指具有密码锁,支持蓝牙通信的终端设备,例如,共享单车、共享洗衣机等具有蓝牙模块和密码锁的终端设备,如图11所示,该方法包括:Referring to FIG. 11, FIG. 11 is a flowchart of another unlocking method in the embodiment of the present application. The method is applied to a second terminal, where the second terminal refers to a terminal device with a password lock and supports Bluetooth communication, for example, sharing. A terminal device having a Bluetooth module and a password lock, such as a bicycle and a shared washing machine, as shown in FIG. 11, the method includes:
步骤1101,第二终端通过蓝牙证书认证方式与第一终端建立蓝牙连接;所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的标识和所述第二终端的服务器信息;Step 1101: The second terminal establishes a Bluetooth connection with the first terminal by using a Bluetooth certificate authentication manner; the second terminal has a password lock, and the Bluetooth certificate of the second terminal includes the identifier of the second terminal and the second terminal. Server information of the terminal;
在本申请实施例中,第二终端与第一终端通过蓝牙认证方式建立蓝牙连接,第二终端认证通过后,与第一终端进行点对点通信,第二终端在自身的蓝牙证书中有该第二终端的标识和服务器的网络地址。在实际应用中,第二终端的蓝牙模块可以内置在密码锁中,蓝牙证书可以内置在蓝牙模块中。In the embodiment of the present application, the second terminal establishes a Bluetooth connection with the first terminal through the Bluetooth authentication mode, and after the second terminal passes the authentication, performs peer-to-peer communication with the first terminal, and the second terminal has the second in the Bluetooth certificate of the second terminal. The identity of the terminal and the network address of the server. In practical applications, the Bluetooth module of the second terminal can be built in the password lock, and the Bluetooth certificate can be built in the Bluetooth module.
步骤1102,第二终端接收所述第一终端发送的解锁请求,向所述第一终端反馈所述第二终端的标识和所述第二终端的服务器信息;Step 1102: The second terminal receives the unlocking request sent by the first terminal, and feeds back the identifier of the second terminal and the server information of the second terminal to the first terminal.
步骤1103,第二终端接收解锁密码,打开所述密码锁。Step 1103: The second terminal receives the unlock password and opens the password lock.
与上述方法相对应的,本申请实施例还提供了一种第二终端,参见图12,图12为本申请实施例中的一种第二终端的结构图,如图12所示,该第二终端1200包括:Corresponding to the above method, the embodiment of the present application further provides a second terminal. Referring to FIG. 12, FIG. 12 is a structural diagram of a second terminal according to an embodiment of the present application. The second terminal 1200 includes:
建立连接模块1201,用于通过蓝牙证书认证方式与第一终端建立蓝牙连接;所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;Establishing a connection module 1201, configured to establish a Bluetooth connection with the first terminal by using a Bluetooth certificate authentication manner; the second terminal has a password lock, and the Bluetooth certificate of the second terminal has a unique identifier of the second terminal and the Server information of the second terminal;
信息反馈模块1202,用于接收所述第一终端发送的解锁请求,向所述第一终端反馈所述第二终端的唯一标识和所述第二终端的服务器信息;The information feedback module 1202 is configured to receive an unlock request sent by the first terminal, and feed back, to the first terminal, a unique identifier of the second terminal and server information of the second terminal;
解锁模块1203,用于接收解锁密码,打开所述密码锁。The unlocking module 1203 is configured to receive an unlock password and open the password lock.
与上述方法相对应的,本申请实施例还提供了一种第二终端,参见图13,图13为本申请实施例中的一种第二终端的硬件结构图,参考图13,第二终端1200包括:射频(Radio Frequency,RF)电路1310、存储器1320、输入单元1330、显示单元1340、传感器1350、音频电路1360、无线通信模块1370、处理器1380、电源1390、密码锁13100以及蓝牙模块13110等部件。本领域技术人员可以理解,图13中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Corresponding to the above method, the embodiment of the present application further provides a second terminal. Referring to FIG. 13, FIG. 13 is a hardware structure diagram of a second terminal according to an embodiment of the present application. 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, password lock 13100, and Bluetooth module 13110. And other components. It will be understood by those skilled in the art that the terminal structure shown in FIG. 13 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
下面结合图13对第二终端的各个构成部件进行具体的介绍:The specific components of the second terminal will be specifically described below with reference to FIG. 13:
RF电路1310可用于发射或接收数据;The RF circuit 1310 can be used to transmit or receive data;
存储器1320可用于存储软件程序以及模块,处理器1380通过运行存储在存储器1320的软件程序以及模块,从而执行终端的各种功能应用以及数据处理。存储器1320可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1320可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1320 can be used to store software programs and modules, and the processor 1380 executes various functional applications and data processing of the terminals by running 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 required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the terminal (such as audio data, phone book, etc.). Moreover, memory 1320 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元1330可用于接收用户的操作指令,以及产生与第二终端12000的用户设置以及功能控制有关的键信号输入。具体地,输入单元1330可包括触控面板1331以及其他输入设备1332。触控面板1331,也可称为触摸屏,可收集用户在其上或附近的接触或者非接触操作触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1331上或在触控面板1331附近的操作),并根据预先设定的程式驱动相应的连接终端。可选的,触控面板1331可包括触摸检测终端和触摸控制器两个部分。其中,触摸检测终端检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测终端上接收触摸信息,并将它转换成触点坐标,再送给处理器1380,并能接收处理器1380发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1331。可选的,输入单元1330还可以包括其他输入设备1332。其他输入设备1332可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1330 is operable to receive an operation instruction of the 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. The touch panel 1331, which may also be referred to as a touch screen, may collect contact or non-contact operation touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 1331 or at any suitable object or accessory. The operation near the touch panel 1331) drives the corresponding connection terminal according to a preset program. Optionally, the touch panel 1331 may include two parts: a touch detection terminal and a touch controller. Wherein, the touch detection terminal detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection terminal, converts the touch information into contact coordinates, and sends the touch information. The processor 1380 is provided and can receive commands from the processor 1380 and execute them. In addition, the touch panel 1331 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. Optionally, the input unit 1330 may further 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 (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元1240可用于显示界面。显示单元1340可包括显示面板1341,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1341。进一步的,触控面板1231可覆盖显示面板1341,当触控面板1331检测到在其上或附近的触摸操作后,传送给处理器1380以确定触摸事件的类型,随后处理器1280根据触摸事件的类型在显示面板1341上提供相应的视觉输出。虽然在图13中,触控面板1331与显示面板1341是作为两个独立的部件来实现终端的输入和输入功能,但是在某些实施例中,可以将触控面板1331与显示面板1341可以集成而实现终端的输入和输出功能。Display unit 1240 can be used to display the interface. The display unit 1340 can include a display panel 1341. Alternatively, the display panel 1341 can 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 may cover the display panel 1341. After the touch panel 1331 detects a touch operation thereon or nearby, the touch panel 1331 transmits to the processor 1380 to determine the type of the touch event, and then the processor 1280 according to the touch event. The type provides a corresponding visual output on the display panel 1341. Although in FIG. 13 , the touch panel 1331 and the display panel 1341 are used as two independent components to implement the input and input functions of the terminal, in some embodiments, the touch panel 1331 and the display panel 1341 may be integrated. And realize the input and output functions of the terminal.
终端1200还可包括至少一种传感器1350。Terminal 1200 can also include at least one type of sensor 1350.
音频电路1360、扬声器1361,传声器132可提供用户与终端之间的音频接口。音频 电路1260可将接收到的音频数据转换后的电信号,传输到扬声器1361,由扬声器1361转换为声音信号输出;另一方面,传声器1362将收集的声音信号转换为电信号,由音频电路1360接收后转换为音频数据,再将音频数据输出处理器1380处理后,经RF电路1310以发送给比如另一终端,或者将音频数据输出至存储器1320以便进一步处理。An audio circuit 1360, a speaker 1361, and a microphone 132 can provide an audio interface between the user and the terminal. The audio circuit 1260 can transmit the converted electrical data of the received audio data to the speaker 1361, and convert it into a sound signal output by the speaker 1361; on the other hand, the microphone 1362 converts the collected sound signal into an electrical signal, and the audio circuit 1360 After receiving, it is converted into audio data, and then processed by the audio data output processor 1380, sent to, for example, another terminal via the RF circuit 1310, or outputted to the memory 1320 for further processing.
WiFi模块130可以用于通信。The WiFi module 130 can be used for communication.
处理器1380是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器1320内的软件程序和/或模块,以及调用存储在存储器1320内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。可选的,处理器1380可包括一个或多个处理单元;优选的,处理器1380可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1380中。可选的,处理器1380还可以包括显示控制等功能模块。The processor 1380 is the control center of the terminal, and connects various parts of the entire terminal using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 1320, and calling data stored in the memory 1320, The terminal's various functions and processing data, so as to monitor the terminal as a whole. Optionally, the processor 1380 may include one or more processing units; preferably, the processor 1380 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1380. Optionally, the processor 1380 may further include a function module such as display control.
终端1200还包括给各个部件供电的电源1390(比如电池),优选的,电源可以通过电源管理系统与处理器1380逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 1200 also includes a power source 1390 (such as a battery) for powering various components. Preferably, the power source can be logically coupled to the processor 1380 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
尽管未示出,终端1200还可以包括摄像头等,在此不再赘述。Although not shown, the terminal 1200 may further include a camera or the like, and details are not described herein again.
在本发明实施例中,该终端所包括的处理器1380还具有以下功能:In the embodiment of the present invention, the processor 1380 included in the terminal further has the following functions:
在本发明实施例中,该第二终端所包括的处理器1380还具有以下功能:In the embodiment of the present invention, the processor 1380 included in the second terminal further has the following functions:
通过蓝牙证书认证方式与第一终端建立蓝牙连接;所述蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;Establishing a Bluetooth connection with the first terminal by using a Bluetooth certificate authentication method; the Bluetooth certificate has a unique identifier of the second terminal and server information of the second terminal;
接收所述第一终端发送的解锁请求,向所述第一终端反馈所述第二终端的唯一标识和所述第二终端的服务器信息;Receiving an unlock request sent by the first terminal, and feeding back, to the first terminal, a unique identifier of the second terminal and server information of the second terminal;
接收解锁密码,打开所述密码锁。Receive the unlock password and open the password lock.
在本实施例中,关于第二终端1200的相关描述均可以参见上述解锁方法各个实施例中的描述进行理解,本处不再重复赘述。In this embodiment, the related descriptions of the second terminal 1200 can be understood by referring to the description in the foregoing embodiments of the unlocking method, and details are not repeatedly described herein.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
即本申请实施例中还提供一种计算机可读存储介质,包括指令,当其在终端上运 行时,可以使得终端执行本申请实施例中提供的调节界面滚动速度的方法。That is, the embodiment of the present application further provides a computer readable storage medium, including instructions, when the terminal is running on the terminal, the terminal can be configured to perform the method for adjusting the scrolling speed of the interface provided in the embodiment of the present application.
本申请实施例中还提供一种包括指令的计算机程序产品,当其在终端上运行时,可以使得终端执行本申请实施例中提供的调节界面滚动速度的方法。A computer program product including instructions is provided in the embodiment of the present application. When the terminal is running on the terminal, the terminal can be configured to perform the method for adjusting the scrolling speed of the interface provided in the embodiment of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still The technical solutions are described as being modified, or equivalents are replaced by some of the technical features; and such modifications or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (30)

  1. 一种支付方法,其特征在于,包括:A payment method, comprising:
    通过证书的认证方式接入无线局域网,所述证书中有至少一个收款信息,其中,所述至少一个收款信息中的每个收款信息包括收款账户信息和收款服务器信息;Accessing the wireless local area network by means of a certificate authentication manner, wherein the certificate has at least one payment information, wherein each of the at least one payment information includes the collection account information and the collection server information;
    响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息;Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate;
    根据所述待使用的收款信息中的收款服务器信息和收款账户信息与对应的收款服务器通信,实现支付。The payment is realized by communicating with the corresponding collection server according to the payment server information and the payment account information in the payment information to be used.
  2. 根据权利要求1所述方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    显示支付控件,所述支付控件用于接收用户的支付操作;所述支付控件与支付客户端之间具有绑定关系;Displaying a payment control, the payment control is configured to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
    所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
    根据被用户触控的支付控件与支付客户端之间的绑定关系,确定待使用的支付客户端类型;Determining the type of payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
    根据所述待使用的支付客户端类型从所述证书中获取与所述支付客户端类型匹配的一个收款信息作为待使用的收款信息。Obtaining, according to the payment client type to be used, a payment information matching the payment client type as the payment information to be used.
  3. 根据权利要求1所述方法,其特征在于,所述证书中有一个收款信息;The method of claim 1 wherein said certificate has a receipt information;
    所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
    响应用户触发的支付操作,获取所述一个收款信息,将所述一个收款信息确定为待使用的收款信息。And responding to the payment operation triggered by the user, acquiring the one payment information, and determining the one payment information as the payment information to be used.
  4. 根据权利要求1所述方法,其特征在于,所述证书中至少两个收款信息;The method of claim 1 wherein at least two of the receipt information are included in the certificate;
    所述至少两个收款信息中的每个收款信息还包括:收款方信息;Each of the at least two payment information further includes: payee information;
    所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
    响应用户触发的支付操作,获取至少两个收款信息;Acquiring at least two payment information in response to a user-triggered payment operation;
    显示所述至少两个收款信息中每个收款信息包括的收款方信息,根据被选择的收款方信息确定对应的收款信息作为待使用的收款信息。The payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
  5. 根据权利要求1所述方法,其特征在于,所述证书中有至少两个收款信息,所述至少两个收款信息中的每个收款信息还包括:收款方的地理位置;The method according to claim 1, wherein the certificate has at least two payment information, and each of the at least two payment information further comprises: a geographical location of the payee;
    所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
    响应用户触发的支付操作,获取至少两个收款信息;Acquiring at least two payment information in response to a user-triggered payment operation;
    根据所述至少两个收款信息中每个收款信息中收款方的地理位置,确定与终端当前地理位置相匹配的一个收款信息作为待使用的收款信息。And determining, according to the geographic location of the payee in each of the at least two payment information, a payment information that matches the current geographic location of the terminal as the payment information to be used.
  6. 根据权利要求1所述方法,其特征在于,所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:The method according to claim 1, wherein the responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate comprises:
    响应用户触发的支付操作,向无线接入点发送收款信息获取请求;Sending a payment information acquisition request to the wireless access point in response to the user-triggered payment operation;
    接收所述无线接入点反馈的待使用的收款信息,所述待使用的收款信息是认证服务器根据所述收款信息获取请求解析所述证书得到的。And receiving the payment information to be used fed back by the wireless access point, where the payment information to be used is obtained by the authentication server parsing the certificate according to the payment information acquisition request.
  7. 根据权利要求1所述方法,其特征在于,所述通过证书的认证方式接入无线局域网,包括:The method according to claim 1, wherein the accessing the wireless local area network by means of a certificate authentication manner comprises:
    通过证书中的认证地址向无线接入点发送认证请求;Sending an authentication request to the wireless access point through the authentication address in the certificate;
    接收无线接入点反馈的认证结果,若认证结果为认证通过时,则接入无线局域网;其中认证结果是认证服务器根据所述无线接入点转发的所述认证请求进行身份认证得到的结果。Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
  8. 一种终端,其特征在于,包括:A terminal, comprising:
    网络接入模块,用于通过证书的认证方式接入无线局域网,所述证书中有至少一个收款信息,其中,所述至少一个收款信息中的每个收款信息包括收款账户信息和收款服务器信息;a network access module, configured to access a wireless local area network by using a certificate, wherein the certificate has at least one payment information, wherein each of the at least one payment information includes a collection account information and Collection server information;
    确定模块,用于响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息;a determining module, configured to respond to the user-triggered payment operation, and determine a payment information as the payment information to be used according to the certificate;
    支付模块,用于根据所述待使用的收款信息中的收款服务器信息和收款账户信息与对应的收款服务器通信,实现支付。And a payment module, configured to communicate with the corresponding collection server according to the collection server information and the payment account information in the payment information to be used, to implement payment.
  9. 根据权利要求8所述终端,其特征在于,所述终端还包括:The terminal according to claim 8, wherein the terminal further comprises:
    控件显示模块,用于显示支付控件,所述支付控件用于接收用户的支付操作;所述支付控件与支付客户端之间具有绑定关系;a control display module, configured to display a payment control, where the payment control is used to receive a payment operation of the user; and the payment control has a binding relationship with the payment client;
    则所述确定模块具体用于:The determining module is specifically configured to:
    根据被用户触控的支付控件与支付客户端之间的绑定关系,确定待使用的支付客户端类型;Determining the type of payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
    根据所述待使用的支付客户端类型从所述证书中获取与所述支付客户端类型匹配的一个收款信息作为待使用的收款信息。Obtaining, according to the payment client type to be used, a payment information matching the payment client type as the payment information to be used.
  10. 根据权利要求8所述终端,其特征在于,所述证书中有一个收款信息;所述确定模块具体用于:The terminal according to claim 8, wherein the certificate has a payment information; the determining module is specifically configured to:
    响应用户触发的支付操作,获取一个收款信息,将所述获取到的一个收款信息确定为待使用的收款信息。Responding to the payment operation triggered by the user, acquiring a payment information, and determining the acquired payment information as the payment information to be used.
  11. 根据权利要求8所述终端,其特征在于,所述证书中至少两个收款信息;所述至少两个收款信息中的每个收款信息还包括:收款方信息;The terminal according to claim 8, wherein at least two payment information in the certificate; each of the at least two payment information further comprises: payee information;
    所述确定模块具体用于:The determining module is specifically configured to:
    响应用户触发的支付操作,获取至少两个收款信息;Acquiring at least two payment information in response to a user-triggered payment operation;
    显示所述至少两个收款信息中每个收款信息包括的收款方信息,根据被选择的收款方信息确定对应的收款信息作为待使用的收款信息。The payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
  12. 根据权利要求8所述终端,其特征在于,所述证书中有至少两个收款信息,所述至少两个收款信息中的每个收款信息还包括:收款方的地理位置;The terminal according to claim 8, wherein the certificate has at least two payment information, and each of the at least two payment information further includes: a geographical location of the payee;
    所述确定模块具体用于:The determining module is specifically configured to:
    响应用户触发的支付操作,获取至少两个收款信息;Acquiring at least two payment information in response to a user-triggered payment operation;
    根据所述至少两个收款信息中每个收款信息中收款方的地理位置,确定与终端当前地理位置相匹配的一个收款信息作为待使用的收款信息。And determining, according to the geographic location of the payee in each of the at least two payment information, a payment information that matches the current geographic location of the terminal as the payment information to be used.
  13. 根据权利要求8所述终端,其特征在于,所述确定模块具体用于:The terminal according to claim 8, wherein the determining module is specifically configured to:
    响应用户触发的支付操作,向无线接入点发送收款信息获取请求;Sending a payment information acquisition request to the wireless access point in response to the user-triggered payment operation;
    接收所述无线接入点反馈的待使用的收款信息,所述待使用的收款信息是认证服务器根据所述收款信息获取请求解析所述证书得到的。And receiving the payment information to be used fed back by the wireless access point, where the payment information to be used is obtained by the authentication server parsing the certificate according to the payment information acquisition request.
  14. 根据权利要求8所述终端,其特征在于,所述网络接入模块具体用于:The terminal according to claim 8, wherein the network access module is specifically configured to:
    通过证书中的认证地址向无线接入点发送认证请求;Sending an authentication request to the wireless access point through the authentication address in the certificate;
    接收无线接入点反馈的认证结果,若认证结果为认证通过时,则接入无线局域网;其中认证结果是认证服务器根据所述无线接入点转发的所述认证请求进行身份认证得到的结果。Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result obtained by the authentication server performing identity authentication according to the authentication request forwarded by the wireless access point.
  15. 一种终端,其特征在于,包括:A terminal, comprising:
    处理器以及存储器;Processor and memory;
    所述存储器,用于存储有计算机指令,其中当所述存储器中的计算机指令执行时,所述处理器用于执行以下步骤:The memory is configured to store computer instructions, wherein when the computer instructions in the memory are executed, the processor is configured to perform the following steps:
    通过证书的认证方式接入无线局域网,所述证书中有至少一个收款信息,其中,所述至少一个收款信息中的每个收款信息包括收款账户信息和收款服务器信息;Accessing the wireless local area network by means of a certificate authentication manner, wherein the certificate has at least one payment information, wherein each of the at least one payment information includes the collection account information and the collection server information;
    响应于用户触发的支付请求,根据所述证书确定一个收款信息作为待使用的收款信息;Responding to the user-triggered payment request, determining a payment information as the payment information to be used according to the certificate;
    根据所述待使用的收款信息中的收款服务器信息和收款账户信息与对应的收款服务器通信,实现支付。The payment is realized by communicating with the corresponding collection server according to the payment server information and the payment account information in the payment information to be used.
  16. 根据权利要求15所述终端,其特征在于,所述处理器还用于:控制显示器显示支付控件,所述支付控件用于接收用户的支付操作;所述支付控件与支付客户端之间具有绑定关系;The terminal according to claim 15, wherein the processor is further configured to: control a display to display a payment control, the payment control is configured to receive a payment operation of the user; and the payment control is tied to the payment client Relationship
    所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
    根据被用户触控的支付控件与支付客户端之间的绑定关系,确定待使用的支付客户端类型;Determining the type of payment client to be used according to the binding relationship between the payment control touched by the user and the payment client;
    根据所述待使用的支付客户端类型从所述证书中获取与所述支付客户端类型匹配的一个收款信息作为待使用的收款信息。Obtaining, according to the payment client type to be used, a payment information matching the payment client type as the payment information to be used.
  17. 根据权利要求15所述终端,其特征在于,所述证书中有一个收款信息;The terminal according to claim 15, wherein said certificate has a receipt information;
    所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
    响应用户触发的支付操作,获取一个收款信息,将所述获取的一个收款信息确定为待使用的收款信息。Responding to the user-triggered payment operation, acquiring a payment information, and determining the acquired payment information as the payment information to be used.
  18. 根据权利要求15所述终端,其特征在于,所述证书中至少两个收款信息;所述至少两个收款信息中的每个收款信息还包括:收款方信息;The terminal according to claim 15, wherein at least two of the receipt information are included in the certificate; and each of the at least two payment information further comprises: payee information;
    所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信 息,包括:And responding to the user-triggered payment operation, determining, according to the certificate, a payment information as the payment information to be used, including:
    响应用户触发的支付操作,获取至少两个收款信息;Acquiring at least two payment information in response to a user-triggered payment operation;
    显示所述至少两个收款信息中每个收款信息包括的收款方信息,根据被选择的收款方信息确定对应的收款信息作为待使用的收款信息。The payee information included in each of the at least two payment information is displayed, and the corresponding payment information is determined as the payment information to be used according to the selected payee information.
  19. 根据权利要求15所述终端,其特征在于,所述证书中有至少两个收款信息,所述至少两个收款信息中的每个收款信息还包括:收款方的地理位置;The terminal according to claim 15, wherein the certificate has at least two payment information, and each of the at least two payment information further includes: a geographical location of the payee;
    所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:Responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate, including:
    响应用户触发的支付操作,获取所述证书得到至少两个收款信息;Responding to a user-triggered payment operation, obtaining the certificate to obtain at least two payment information;
    根据所述至少两个收款信息中每个收款信息中收款方的地理位置,确定与终端当前地理位置相匹配的一个收款信息作为待使用的收款信息。And determining, according to the geographic location of the payee in each of the at least two payment information, a payment information that matches the current geographic location of the terminal as the payment information to be used.
  20. 根据权利要求15所述终端,其特征在于,所述响应用户触发的支付操作,根据所述证书确定一个收款信息作为待使用的收款信息,包括:The terminal according to claim 15, wherein the responding to the user-triggered payment operation, determining a payment information as the payment information to be used according to the certificate comprises:
    响应用户触发的支付操作,向无线接入点发送收款信息获取请求;Sending a payment information acquisition request to the wireless access point in response to the user-triggered payment operation;
    接收所述无线接入点反馈的待使用的收款信息,所述待使用的收款信息是认证服务器根据所述收款信息获取请求解析所述证书得到的。And receiving the payment information to be used fed back by the wireless access point, where the payment information to be used is obtained by the authentication server parsing the certificate according to the payment information acquisition request.
  21. 根据权利要求15所述终端,其特征在于,所述通过证书的认证方式接入无线局域网,包括:The terminal according to claim 15, wherein the accessing the wireless local area network by using a certificate authentication manner comprises:
    通过证书中的认证地址向无线接入点发送认证请求;Sending an authentication request to the wireless access point through the authentication address in the certificate;
    接收无线接入点反馈的认证结果,若认证结果为认证通过时,则接入无线局域网;其中认证结果是认证服务器根据所述无线接入点转发的所述认证请求进行身份认证得到的结果。Receiving the authentication result fed back by the wireless access point, if the authentication result is the authentication pass, accessing the wireless local area network; wherein the authentication result is a result 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 the first terminal, including:
    通过蓝牙证书认证方式与第二终端建立蓝牙连接,所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的标识和所述第二终端的服务器信息;Establishing a Bluetooth connection with the second terminal by using a Bluetooth certificate authentication manner, the second terminal has a password lock, and the Bluetooth certificate of the second terminal includes an identifier of the second terminal and server information of the second terminal;
    响应用户触发的解锁操作,向所述第二终端发送获取请求,接收所述第二终端反馈的所述第二终端的标识和所述服务器信息;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, in response to the unlocking operation triggered by the user;
    根据所述服务器信息和所述第二终端的标识与对应的服务器通信,实现对第二终端的解锁。And unlocking the second terminal by communicating with the corresponding server according to the server information and the identifier of the second terminal.
  23. 根据权利要求22所述的方法,其特征在于,所述方法还包括:The method of claim 22, wherein the method further comprises:
    显示控件,所述控件用于接收用户的解锁操作。A display control for receiving a user's unlocking operation.
  24. 一种第一终端,其特征在于,包括:A first terminal, comprising:
    蓝牙连接模块,用于通过蓝牙证书认证方式与第二终端建立蓝牙连接,所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;a Bluetooth connection module, configured to establish a Bluetooth connection with the second terminal by using a Bluetooth certificate authentication manner, the second terminal has a password lock, and the Bluetooth certificate of the second terminal has a unique identifier of the second terminal and the Server information of the second terminal;
    信息获取模块,用于响应用户触发的解锁操作,向所述第二终端发送获取请求,接收所述第二终端反馈的所述第二终端的唯一标识和所述服务器信息;The information acquiring module is configured to send an acquisition request to the second terminal, and receive the unique identifier of the second terminal and the server information that are fed back by the second terminal, in response to the unlocking operation triggered by the user;
    解锁模块,用于根据所述收款服务器信息和所述第二终端的标识与对应的服务器通 信,实现对第二终端的解锁。The unlocking module is configured to implement unlocking of the second terminal according to the collection server information and the identifier of the second terminal and the corresponding server communication.
  25. 根据权利要求24所述第一终端,其特征在于,所述第一终端还包括:The first terminal according to claim 24, wherein the first terminal further comprises:
    显示模块,用于显示控件,所述控件用于接收用户的解锁操作。A display module is configured to display a control for receiving an unlocking operation of the user.
  26. 一种第一终端,其特征在于,包括:A first terminal, comprising:
    处理器以及存储器;所述存储器存储有计算机指令,其中当所述存储器中的计算机指令执行时,所述处理器用于执行以下步骤:a processor and a memory; the memory storing computer instructions, wherein when the computer instructions in the memory are executed, the processor is configured to perform the following steps:
    通过蓝牙证书认证方式与第二终端建立蓝牙连接,所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;Establishing a Bluetooth connection with the second terminal by using a Bluetooth certificate authentication manner, the second terminal has a password lock, and the Bluetooth certificate of the second terminal includes a unique identifier of the second terminal and server information of the second terminal;
    响应用户触发的解锁操作,向所述第二终端发送获取请求,接收所述第二终端反馈的所述第二终端的唯一标识和所述服务器信息;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, in response to the unlocking operation triggered by the user;
    根据所述收款服务器信息和所述第二终端的标识与对应的服务器通信,实现对第二终端的解锁。And unlocking the second terminal by communicating with the corresponding server according to the collection server information and the identifier of the second terminal.
  27. 根据权利要求26所述第一终端,其特征在于,所述处理器还用于执行以下步骤:The first terminal according to claim 26, wherein the processor is further configured to perform the following steps:
    显示控件,所述控件用于接收用户的解锁操作。A display control for receiving a user's unlocking operation.
  28. 一种解锁方法,其特征在于,应用于第二终端,包括:An unlocking method is applied to the second terminal, including:
    通过蓝牙证书认证方式与第一终端建立蓝牙连接;所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;Establishing a Bluetooth connection with the first terminal by using a Bluetooth certificate authentication method; the second terminal has a password lock, and the Bluetooth certificate of the second terminal has a unique identifier of the second terminal and server information of the second terminal;
    接收所述第一终端发送的解锁请求,向所述第一终端反馈所述第二终端的唯一标识和所述第二终端的服务器信息;Receiving an unlock request sent by the first terminal, and feeding back, to the first terminal, a unique identifier of the second terminal and server information of the second terminal;
    接收解锁密码,打开所述密码锁。Receive the unlock password and open the password lock.
  29. 一种第二终端,其特征在于,包括:A second terminal, comprising:
    建立连接模块,用于通过蓝牙证书认证方式与第一终端建立蓝牙连接;所述第二终端具有密码锁,所述第二终端的蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;Establishing a connection module, configured to establish a Bluetooth connection with the first terminal by using a Bluetooth certificate authentication manner; the second terminal has a password lock, and the Bluetooth certificate of the second terminal has a unique identifier of the second terminal and the first Server information of the second terminal;
    信息反馈模块,用于接收所述第一终端发送的解锁请求,向所述第一终端反馈所述第二终端的唯一标识和所述第二终端的服务器信息;An information feedback module, configured to receive an unlock request sent by the first terminal, and feed back, to the first terminal, a unique identifier of the second terminal and server information of the second terminal;
    解锁模块,用于接收解锁密码,打开所述密码锁。The unlocking module is configured to receive an unlocking password and open the password lock.
  30. 一种第二终端,其特征在于,包括:A second terminal, comprising:
    处理器以及存储器;所述存储器存储有计算机指令,其中当所述存储器中的计算机指令执行时,所述处理器用于执行以下步骤:a processor and a memory; the memory storing computer instructions, wherein when the computer instructions in the memory are executed, the processor is configured to perform the following steps:
    通过蓝牙证书认证方式与第一终端建立蓝牙连接;所述蓝牙证书中有所述第二终端的唯一标识和所述第二终端的服务器信息;Establishing a Bluetooth connection with the first terminal by using a Bluetooth certificate authentication method; the Bluetooth certificate has a unique identifier of the second terminal and server information of the second terminal;
    接收所述第一终端发送的解锁请求,向所述第一终端反馈所述第二终端的唯一标识和所述第二终端的服务器信息;Receiving an unlock request sent by the first terminal, and feeding back, to the first terminal, a unique identifier of the second terminal and server information of the second terminal;
    接收解锁密码,打开所述密码锁。Receive the unlock password and open the password lock.
PCT/CN2018/090003 2017-10-09 2018-06-05 Payment method, unlocking method, and related terminal WO2019071969A1 (en)

Priority Applications (1)

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

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710931633.8 2017-10-09
CN201710931633 2017-10-09

Publications (1)

Publication Number Publication Date
WO2019071969A1 true WO2019071969A1 (en) 2019-04-18

Family

ID=66101243

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/090003 WO2019071969A1 (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)

Families Citing this family (2)

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

Citations (5)

* 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
CN105024980A (en) * 2014-04-29 2015-11-04 孙银海 On-line near-field payment system and method based on cell phone number
CN105608563A (en) * 2016-02-29 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Payment processing method, related equipment and payment processing system
CN105678549A (en) * 2016-02-23 2016-06-15 北京小米移动软件有限公司 Payment method and device
CN106600381A (en) * 2016-12-28 2017-04-26 深圳市无电通科技有限公司 Shared vehicle rental system and application thereof

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101236959B1 (en) * 2010-12-28 2013-03-06 주식회사 티모넷 System for paying credit card of mobile security click using smart phone and method therefor
KR101236544B1 (en) * 2012-01-12 2013-03-15 주식회사 엘지씨엔에스 Payment method and payment gateway, mobile terminal and time certificate issuing server associated with the same
CN103164738B (en) * 2013-02-06 2015-09-30 厦门盛华电子科技有限公司 A kind of cellphone subscriber's identification card based on the certification of mobile payment multi-channel digital
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
US9742775B2 (en) * 2014-07-01 2017-08-22 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
CN105346502B (en) * 2015-10-22 2018-10-12 科世达(上海)管理有限公司 A kind of vehicle key-free access method and system
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
CN107231603B (en) * 2017-05-11 2023-03-24 新智数字科技有限公司 Intelligent terminal and method for opening intelligent Bluetooth card online

Patent Citations (5)

* 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
CN105024980A (en) * 2014-04-29 2015-11-04 孙银海 On-line near-field payment system and method based on cell phone number
CN105678549A (en) * 2016-02-23 2016-06-15 北京小米移动软件有限公司 Payment method and device
CN105608563A (en) * 2016-02-29 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Payment processing method, related equipment and payment processing system
CN106600381A (en) * 2016-12-28 2017-04-26 深圳市无电通科技有限公司 Shared vehicle rental system and application thereof

Also Published As

Publication number Publication date
CN111213167B (en) 2023-11-03
CN111213167A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
US20220330029A1 (en) Method for mutual recognition or mutual trust between bluetooth devices
US10637668B2 (en) Authentication method, system and equipment
WO2017185711A1 (en) Method, apparatus and system for controlling smart device, and storage medium
WO2017020630A1 (en) Method, apparatus and system for processing order information
CN109905318B (en) Equipment control method, device and storage medium
JP7055901B2 (en) Profile transmission method, related devices, and storage media
AU2018421189B2 (en) Method for quickly opening application or application function, and terminal
WO2015101273A1 (en) Security verification method, and related device and system
WO2018098941A1 (en) Processing method for communication identifier binding and terminal
US11075895B2 (en) Cloud operation interface sharing method, related device, and system
KR20140124304A (en) Controlling Method for Communication and Electronic Device supporting the same
WO2018045487A1 (en) Data sharing method and terminal
CN108234124B (en) Identity verification method, device and system
WO2018000370A1 (en) Mobile terminal authentication method and mobile terminal
CN109274635B (en) Security management method, client device, server, communication system, and storage medium
WO2020024929A1 (en) Method for upgrading service application range of electronic identity card, and terminal device
WO2019061219A1 (en) Screen unlocking method and terminal
WO2017206833A1 (en) Payment method, payment apparatus, and payment server
WO2016078504A1 (en) Identity authentication method and device
CN108475304A (en) A kind of method, apparatus and mobile terminal of affiliate application and biological characteristic
WO2019071969A1 (en) Payment method, unlocking method, and related terminal
CN108234412B (en) Identity verification method and device
WO2017166976A1 (en) Method, device, and system for distributing and verifying application service
CN108234113B (en) Identity verification method, device and system
WO2022143130A1 (en) Application program login method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18866431

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18866431

Country of ref document: EP

Kind code of ref document: A1