Electronic transaction method and terminal

文档序号:1832494 发布日期:2021-11-12 浏览:25次 中文

阅读说明:本技术 一种电子交易的方法及终端 (Electronic transaction method and terminal ) 是由 袁非凡 于 2018-01-05 设计创作,主要内容包括:本申请提供的一种电子交易的方法及终端,涉及通信技术领域,可以使得移动终端根据电子设备的类型信息,进而自动选择该电子设备的类型信息对应的交易账户,使用该交易账户与电子设备进行交易,简化了用户的操作,提升了用户体验。方案具体包括:移动终端包括至少两个不同类型的交易账户信息,移动终端与电子设备建立近距离通信连接,终端接收电子设备通过近距离通信发送的请求消息,该请求消息中包括该电子设备的类型信息;移动终端从该请求消息中获取该电子设备的类型信息,并据此从至少两个不同类型的交易账户信息中确定与该类型信息对应的交易账户。(The application provides a method and a terminal for electronic transaction, relates to the technical field of communication, and can enable a mobile terminal to automatically select a transaction account corresponding to type information of electronic equipment according to the type information of the electronic equipment, so that the transaction account and the electronic equipment can be used for transaction, operation of a user is simplified, and user experience is improved. The scheme specifically comprises the following steps: the mobile terminal comprises at least two transaction account information of different types, the mobile terminal is in close range communication connection with the electronic equipment, the terminal receives a request message sent by the electronic equipment through close range communication, and the request message comprises the type information of the electronic equipment; the mobile terminal acquires the type information of the electronic equipment from the request message, and determines a transaction account corresponding to the type information from at least two different types of transaction account information according to the type information.)

1. A method for electronic transaction is characterized in that the method is applied to a mobile terminal, at least two transaction account information of different types are included on the mobile terminal, the transaction accounts comprise a transportation card transaction account and a bank card transaction account, and the method comprises the following steps:

the mobile terminal is in a screen turning-off state, the mobile terminal is in close-range communication connection with first electronic equipment, and the first electronic equipment can be transacted with the traffic card transaction account;

the mobile terminal receives a request message sent by the first electronic device through near field communication, wherein the request message comprises type information of the first electronic device;

the mobile terminal determines the traffic card transaction account corresponding to the type information of the first electronic device from the at least two different types of transaction accounts according to the type information of the first electronic device;

and the mobile terminal uses the transportation card transaction account to perform transaction with the first electronic equipment through near field communication.

2. The method of claim 1, wherein after the mobile terminal conducts a transaction with the first electronic device via close-range communication using the determined transportation card transaction account, the method further comprises: the mobile terminal displays a first interface, and the first interface comprises a traffic card thumbnail and transaction success prompt information.

3. The method of claim 2, wherein the first interface further comprises a balance of the transit card transaction account.

4. The method of claim 1, wherein the transaction account further comprises an access card account.

5. The method of claim 2, wherein the first interface further comprises an amount of the transaction.

6. The method of claim 2, wherein the first interface further comprises a thumbnail of a bank card.

7. The method of claim 1, further comprising:

and the mobile terminal activates the determined transaction account corresponding to the transaction account information.

8. The method of claim 1, further comprising: the mobile terminal establishes close-range communication connection with second electronic equipment, wherein the second electronic equipment can be transacted with the bank card transaction account;

and the mobile terminal authenticates the identity of the user, and when the identity authentication is successful, the mobile terminal uses the bank card transaction account to perform transaction with the second electronic equipment through near field communication.

9. The method according to claim 8, wherein the mobile terminal authenticates the user, in particular, the terminal authenticates the user by means of a fingerprint.

10. The method according to claim 9, wherein the identity authentication of the user by the mobile terminal specifically comprises:

the mobile terminal receives verification information input by the user;

and the mobile terminal verifies the verification information and the verification is successful.

11. The method of claim 10, wherein the bank card transaction account is a default transaction account.

12. The method of any one of claims 1-11, wherein the first electronic device is a gate device and the second electronic device is a bank POS.

13. A mobile terminal, comprising: a processor, a memory and a touch screen, the memory, the touch screen coupled with the processor, the memory for storing computer program code, the computer program code comprising computer instructions, the mobile terminal performing the method of electronic transaction according to any of claims 1-12 when the processor executes the computer instructions stored by the memory.

14. A computer storage medium comprising computer instructions which, when run on a mobile terminal, cause the mobile terminal to perform a method of electronic transaction according to any of claims 1-12.

15. A computer program product, which, when run on a computer, causes the computer to perform a method of electronic trading according to any one of claims 1-12.

Technical Field

The present application relates to the field of communications technologies, and in particular, to a method and a terminal for electronic transaction.

Background

With the development of Near Field Communication (NFC) technology, electronic wallets on mobile phones are widely applied to the fields of banks, public transportation, rail transit, and the like due to the characteristics of safety, portability and wear resistance. Thus, a user's electronic wallet will typically have multiple types of cards, such as: transportation cards, bank cards, and the like. However, in actual practice, the user may generally select the corresponding card and then conduct the transaction. Or, the default card is used for transaction, and when the transaction fails, the user selects the correct card for transaction. The transaction mode brings inconvenience to the user and influences the user experience.

Disclosure of Invention

The application provides a method and a terminal for electronic transaction, which are applied to a mobile terminal, wherein the mobile terminal comprises at least two transaction account information of different types, so that the mobile terminal can automatically select a transaction account corresponding to the type information of electronic equipment according to the type information of the electronic equipment, and the transaction account is used for transaction with the electronic equipment, thereby simplifying the operation of a user and improving the user experience.

In a first aspect, the present application provides a method of electronic transaction, including: the method comprises the steps that a mobile terminal and electronic equipment are connected in a near field communication mode, the mobile terminal receives a request message sent by the electronic equipment through the near field communication, and the request message comprises type information of the electronic equipment; the mobile terminal acquires the type information of the electronic equipment from the request message, and determines transaction account information corresponding to the type information from a plurality of different types of transaction account information in the mobile according to the type information of the electronic equipment.

The electronic device may be a transportation POS machine or a bank POS machine. The communication protocol that the mobile terminal can adopt for the near field communication connection with the electronic equipment includes but is not limited to Near Field Communication (NFC) protocol, or Bluetooth, or multiple spanning tree protocol (MST), etc.

The Request message may be a Request Command (REQA) of Type a in the NFC protocol, and the REQA is used to carry its Type identifier. In particular, the present application may use different codes in REQA to also distinguish between electronic devices in different industries.

The type information of the electronic device may also be referred to as type information of the POS, where the type information includes a type identifier of the electronic device, and is used to indicate an industry to which the electronic device belongs, and the industry to which the electronic device belongs includes, but is not limited to, transportation, banking, merchant member, medicine, government, entrance guard, and the like. The identifier of the electronic device may also be referred to as a type identifier of the POS machine, an industry identifier of the electronic device, an industry identifier of the POS machine, or the like. The embodiments of the present application are not limited.

Therefore, by the method for electronic wallet transaction, the user does not need to manually select the transaction account, the mobile phone can acquire the type information of the electronic equipment according to the request message sent by the electronic equipment, and further automatically select the corresponding transaction account for transaction according to the type information, so that the process of electronic transaction by using the electronic wallet application through the mobile terminal is simplified, and the user experience is improved.

In one possible design, the transaction account information includes bank account information or traffic account information, or online payment information.

In one possible design, the mobile terminal obtains type information of the electronic device from the request message, and determining transaction account information corresponding to the type information from at least two different types of transaction account information according to the type information of the electronic device includes: and the mobile terminal acquires the identification of the transaction account corresponding to the type information of the electronic equipment and determines the transaction account information corresponding to the identification of the transaction account.

In one possible design, the mobile terminal activates the transaction account corresponding to the determined transaction account information.

In some embodiments, the mobile terminal may turn on the mobile terminal card emulation before activating the transaction account. Wherein the card emulation function is an operation mode in the NFC communication function. After the mode is started, the mobile terminal can simulate an entity card to carry out transaction with the POS machine. Namely, after the NFC starts the card simulation function, the POS machine can directly carry out electronic transaction with the embedded safety unit.

In one possible design, before the mobile terminal activates the transaction account corresponding to the determined transaction account information, the method further includes: the mobile terminal judges whether the transaction account corresponding to the determined transaction account information is a bank account; and if so, prompting the user to input verification information.

In one possible design, after the mobile terminal prompts the user for the verification information, before the mobile terminal activates the transaction account corresponding to the determined transaction account information, the method further includes: the mobile terminal receives verification information input by the user; and the mobile terminal verifies the verification information and the verification is successful.

In some embodiments, the mobile terminal prompts the user for a fingerprint prior to activating the bank transaction account. After receiving a fingerprint input by a user, the mobile terminal verifies the fingerprint. If the verification is successful, the user can use the bank transaction account of the mobile terminal to conduct card swiping transaction. And if the verification fails, the user is not authorized to use the bank transaction account of the mobile terminal to conduct transaction.

In one possible design, the mobile terminal uses the determined transaction account information to conduct a transaction with the electronic device through close-range communication.

In a second aspect, the present application provides a mobile terminal including at least two different types of transaction account information, the mobile terminal further including: the communication unit is used for establishing close-range communication connection with the electronic equipment; the communication unit is also used for receiving a request message sent by the electronic equipment through near field communication, wherein the request message comprises the type information of the electronic equipment; and the processing unit is used for acquiring the type information of the electronic equipment from the request message received by the communication unit, and determining the transaction account information corresponding to the type information from at least two different types of transaction account information according to the type information of the electronic equipment.

In one possible design, the transaction account information includes bank account information or traffic account information, or online payment information.

In a possible design, the processing unit is further configured to obtain an identifier of the transaction account corresponding to the type information of the electronic device, and determine transaction account information corresponding to the identifier of the transaction account.

In a possible design, the processing unit is further configured to activate a transaction account corresponding to the determined transaction account information.

In one possible design, the mobile terminal is further configured to determine whether a transaction account corresponding to the determined transaction account information is a bank account; and if so, prompting the user to input verification information.

In one possible design, the communication unit is further configured to receive authentication information input by a user; and the communication unit is also used for verifying the verification information, and the verification is successful.

In one possible design, the communication unit is further configured to perform a transaction with the electronic device through near field communication using the determined transaction account information.

In a third aspect, the present application provides a mobile terminal, including: a processor, a memory and a touch screen, the memory and the touch screen being coupled to the processor, the memory being adapted to store computer program code comprising computer instructions which, when executed by the processor, cause the mobile terminal to perform the method of electronic transaction as in any of the possible implementations of the first aspect.

A fourth aspect is a computer storage medium comprising computer instructions which, when run on a mobile terminal, cause the mobile terminal to perform a method of electronic transaction as described in any one of the possible implementations of the first aspect.

A fifth aspect is a computer program product which, when run on a computer, causes the computer to perform a method of electronic trading as described in any one of the possible implementations of the first aspect.

Drawings

Fig. 1 is a schematic structural diagram of a communication network provided in the present application;

fig. 2 is a first schematic structural diagram of a mobile terminal according to the present application;

fig. 3 is a schematic structural diagram of an electronic device provided in the present application;

FIG. 4 is a schematic diagram illustrating a process of a mobile terminal conducting a transaction using a traffic account according to the prior art;

FIG. 5 is a schematic diagram illustrating a process of a mobile terminal conducting a transaction using a traffic account according to the present application;

FIG. 6 is a schematic diagram illustrating a process of a mobile terminal conducting a transaction using a bank account according to the present application;

FIG. 7 is a schematic diagram of an example terminal interface provided herein;

fig. 8 is a schematic structural diagram of a mobile terminal according to the present application;

fig. 9 is a schematic structural diagram of a mobile terminal provided in the present application;

fig. 10 is a schematic structural diagram of a mobile terminal according to the present application.

Detailed Description

As shown in fig. 1, a communication system provided in the embodiment of the present application includes a mobile terminal 100 and an electronic device 200.

The mobile terminal 100 may be a mobile phone, a tablet Computer, a Personal Computer (PC), a Personal Digital Assistant (PDA), a smart watch, a netbook, a wearable electronic device, an Augmented Reality (AR) device, a Virtual Reality (VR) device, and the like, which can install an application program and display an application program icon, and the specific form of the mobile terminal 100 is not particularly limited in the present application.

In the embodiment of the present application, the mobile terminal 100 is installed with an application program of the electronic wallet. Therefore, the user can directly use the mobile phone to realize electronic transaction of a traffic account or a bank account and the like, and the card swiping consumption is realized.

As shown in fig. 2, taking a mobile phone as the mobile terminal 100 for example, the mobile phone may specifically include: a processor 101, a Radio Frequency (RF) circuit 102, a memory 103, a touch screen 104, a bluetooth device 105, one or more sensors 106, a Wireless Fidelity (WiFi) device 107, a positioning device 108, an audio circuit 109, a peripheral interface 110, and a power supply 111. These components may communicate over one or more communication buses or signal lines (not shown in fig. 2). Those skilled in the art will appreciate that the hardware configuration shown in fig. 2 is not intended to be limiting, and that the handset may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

The following describes each component of the mobile phone in detail with reference to fig. 2:

the processor 101 is a control center of the mobile phone, connects various parts of the mobile phone using various interfaces and lines, and performs various functions of the mobile phone and processes data by running or executing an application program stored in the memory 103 and calling data stored in the memory 103. In some embodiments, processor 101 may include one or more processing units; for example, the processor 101 may be an kylin 960 chip manufactured by Huanti technologies, Inc. In some embodiments of the present application, the processor 101 may further include a fingerprint verification chip for verifying the acquired fingerprint.

The rf circuit 102 may be used for receiving and transmitting wireless signals during the transmission and reception of information or calls. In particular, the rf circuit 102 may receive downlink data of the base station and then process the received downlink data to the processor 101; in addition, data relating to uplink is transmitted to the base station. Typically, the radio frequency circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency circuitry 102 may also communicate with other devices via wireless communication. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications, general packet radio service, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.

In the embodiment of the present application, the rf circuit 102 is further configured to perform mutual communication with the electronic device 200, and the communication Protocol adopted includes, but is not limited to, an NFC Protocol, or bluetooth, or Multiple Spanning Tree Protocol (MST).

The memory 103 is used for storing application programs and data, and the processor 101 executes various functions and data processing of the mobile phone by running the application programs and data stored in the memory 103. The memory 103 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs (such as a sound playing function and an image playing function) required by at least one function; the storage data area may store data (such as audio data, a phonebook, etc.) created from the use of the handset. In addition, the Memory 103 may include a high-speed Random Access Memory (RAM), and may further include a nonvolatile Memory, such as a magnetic disk storage device, a flash Memory device, or other volatile solid-state storage device. The memory 103 may store various operating systems, such as those developed by apple IncOperating System, developed by GoogleAn operating system, etc. The memory 103 may be independent and connected to the processor 101 through the communication bus; the memory 103 may also be integrated with the processor 101.

The touch screen 104 may specifically include a touch pad 104-1 and a display 104-2.

Wherein the touch pad 104-1 may capture touch events of a user of the cell phone on or near the touch pad 104-1 (e.g., user manipulation of any suitable object on or near the touch pad 104-1 using a finger, a stylus, etc.) and transmit the captured touch information to another device (e.g., the processor 101). Among them, a touch event of a user near the touch pad 104-1 can be called a hover touch; hover touch may refer to a user not having to directly contact the touchpad in order to select, move, or drag a target (e.g., an icon, etc.), but rather only having to be in proximity to the device in order to perform a desired function. In addition, the touch pad 104-1 can be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave.

The display (also referred to as a display screen) 104-2 may be used to display information entered by or provided to the user as well as various menus of the handset. The display 104-2 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The trackpad 104-1 may be overlaid on the display 104-2, and when the trackpad 104-1 detects a touch event thereon or nearby, it is communicated to the processor 101 to determine the type of touch event, and the processor 101 may then provide a corresponding visual output on the display 104-2 based on the type of touch event. Although in FIG. 2, the touch pad 104-1 and the display screen 104-2 are shown as two separate components to implement the input and output functions of the cell phone, in some embodiments, the touch pad 104-1 and the display screen 104-2 may be integrated to implement the input and output functions of the cell phone. It is understood that the touch screen 104 is formed by stacking multiple layers of materials, and only the touch pad (layer) and the display screen (layer) are shown in the embodiment of the present application, and other layers are not described in the embodiment of the present application. In addition, the touch pad 104-1 may be disposed on the front surface of the mobile phone in a full panel manner, and the display screen 104-2 may also be disposed on the front surface of the mobile phone in a full panel manner, so that a frameless structure can be implemented on the front surface of the mobile phone.

In the embodiment of the application, the mobile phone can also have a fingerprint identification function. For example, fingerprint identifier 112 may be disposed on the back of the handset (e.g., below the rear camera), or fingerprint identifier 112 may be disposed on the front of the handset (e.g., below touch screen 104). For another example, the fingerprint acquisition device 112 may be configured in the touch screen 104 to realize the fingerprint identification function, that is, the fingerprint acquisition device 112 may be integrated with the touch screen 104 to realize the fingerprint identification function of a mobile phone. In this case, the fingerprint acquisition device 112 is disposed in the touch screen 104, may be a part of the touch screen 104, and may be disposed in the touch screen 104 in other manners. The main component of the fingerprint acquisition device 112 in the present embodiment is a fingerprint sensor, which may employ any type of sensing technology, including but not limited to optical, capacitive, piezoelectric, or ultrasonic sensing technologies, among others.

In the embodiment of the application, the fingerprint identification function is also used for verifying the identity of the user in the process of using the bank account to carry out transaction.

The handset may also include a bluetooth device 105 for enabling data exchange between the handset and other short-range devices (e.g., a handset, a smart watch, etc.). The bluetooth device in the embodiment of the present application may be an integrated circuit or a bluetooth chip.

The handset may also include at least one sensor 106, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display of the touch screen 104 according to the brightness of ambient light, and a proximity sensor that turns off the power of the display when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.

The WiFi device 107 is used for providing the mobile phone with network access conforming to WiFi related standard protocols, the mobile phone can be accessed to a WiFi access point through the WiFi device 107, and therefore the mobile phone helps a user to send and receive emails, browse webpages, access streaming media and the like, and wireless broadband internet access is provided for the user. In other embodiments, the WiFi device 107 may also be a WiFi wireless access point, which may provide WiFi network access for other devices.

And the positioning device 108 is used for providing the geographic position for the mobile phone. It can be understood that the Positioning device 108 may specifically be a receiver of a Global Positioning System (GPS) or a Positioning System such as the beidou satellite navigation System, russian GLONASS, and the like. After receiving the geographical location transmitted by the positioning system, the positioning device 108 transmits the information to the processor 101 for processing or transmits the information to the memory 103 for storage. In some other embodiments, the Positioning device 108 may also be an Assisted Global Positioning System (AGPS) receiver that assists the Positioning device 108 in performing ranging and Positioning services by acting as an assistance server, in which case the assistance server provides Positioning assistance by communicating with the Positioning device 108 (i.e., GPS receiver) of a device such as a handset over a wireless communication network. In some other embodiments, the positioning device 108 may also be a WiFi access point based positioning technology. Since each WiFi Access point has a globally unique (Media Access Control, MAC) address, the device can scan and collect broadcast signals of surrounding WiFi Access points when the WiFi is turned on, so that the MAC address broadcasted by the WiFi Access point can be acquired; the device sends the data (such as MAC address) capable of identifying the WiFi access points to the location server through the wireless communication network, the location server retrieves the geographical location of each WiFi access point, and calculates the geographical location of the device and sends the geographical location of the device to the positioning device 108 of the device according to the strength of the WiFi broadcast signal.

The audio circuitry 109, speaker 113, microphone 114 may provide an audio interface between the user and the handset. The audio circuit 109 may transmit the electrical signal converted from the received audio data to the speaker 113, and convert the electrical signal into a sound signal by the speaker 113 for output; on the other hand, the microphone 114 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 109, and outputs the audio data to the RF circuit 102 to be transmitted to, for example, another cellular phone, or outputs the audio data to the memory 103 for further processing.

Peripheral interface 110, which is used to provide various interfaces for external input/output devices (e.g., keyboard, mouse, external display, external memory, SIM card, etc.). For example, the mouse is connected through a Universal Serial Bus (USB) interface, and the Subscriber Identity Module (SIM) card provided by a telecom operator is connected through a metal contact on a SIM card slot. Peripheral interface 110 may be used to couple the aforementioned external input/output peripherals to processor 101 and memory 103.

In this embodiment of the application, the mobile phone may communicate with other devices in the device group through the peripheral interface 110, for example, the peripheral interface 110 may receive display data sent by the other devices for displaying, and the like.

The mobile phone may further include a power supply device 111 (such as a battery and a power management chip) for supplying power to each component, and the battery may be logically connected to the processor 101 through the power management chip, so that the power supply device 111 may perform functions of managing charging, discharging, and power consumption.

In the embodiment of the present application, the mobile phone further includes an embedded Secure Element (eSE) 115. The eSE115 is connected to the processor 101 and the rf circuit 102, respectively. The eSE115 is used to directly conduct transaction processing with the electronic device 200 upon selection of a corresponding card by the processor 101. The embedded security unit stores multiple types of transaction account information bound in the electronic wallet by the user, and the transaction accounts corresponding to the transaction account information include but are not limited to bank cards, traffic cards, rail transit cards, rechargeable cards, loyalty cards, membership cards and the like.

Although not shown in fig. 2, the mobile phone may further include a camera (a front camera and/or a rear camera), a flash, a micro-projector, an NFC device, and the like, which are not described in detail herein.

The methods in the following embodiments can be implemented in a mobile phone having the above hardware structure.

The electronic device 200 may be an electronic device that interacts with the NFC function, such as a Point of Sale (POS) of union pay, a gate device of a bus, a subway, a ship, and the like, a member machine of a merchant, and the like.

As shown in fig. 3, which is a hardware structure diagram of an electronic device 200 according to an embodiment of the present disclosure, the electronic device 200 may include at least one processor 210, at least one communication module 220, and a bus 230. Optionally, the terminal 30 may also include at least one memory 240, an input device 250, and an output device 260.

Wherein the processor 210, the memory 240, and the communication module 220 are connected by a bus 230. Processor 210 may be a Central Processing Unit (CPU), microprocessor, Application-Specific Integrated Circuit (ASIC), or one or more ics for controlling the execution of programs in accordance with the teachings of the present disclosure. Processor 301 may also include multiple CPUs, and processor 210 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, or processing cores that process data (e.g., computer program instructions).

The communication module 220 may use any transceiver or other communication Network for communicating with other devices or communication Networks, such as ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.

In the embodiment of the present application, the communication module 220 includes a radio frequency transmitting module 221, configured to send an NFC instruction, perform communication with the mobile terminal 100, and the like.

The Memory 240 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 240 may be self-contained and coupled to the processor 210 via the bus 230. The memory 240 may also be integrated with the processor 210. The memory 240 is used for storing application program codes for executing the scheme of the application, and is controlled by the processor 210 to execute. The processor 210 is configured to execute computer program code stored in the memory 240 to implement the method of electronic wallet transactions described in the embodiments of the present application.

The input device 250 is in communication with the processor 210 and may receive user input in a variety of ways. For example, the input device 250 may be a mouse, a keyboard, a touch screen device, a sensing device, or the like. Output device 260 is in communication with processor 210 and may display information in a variety of ways. For example, the output device 260 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) Display device, a Cathode Ray Tube (CRT) Display device, a projector (projector), or the like.

Generally, when a user uses an electronic wallet application in a mobile terminal to conduct a transaction, the user usually selects a corresponding type of transaction account, such as a bank transaction account (e.g., a bank card) or a transportation transaction account (e.g., a transportation card), and then conducts the transaction. Or, the default transaction account is used for transaction, and when the transaction fails, the user selects the correct transaction account for transaction.

The following description is made with reference to specific application scenarios. The process of the electronic transaction by the user using the mobile terminal is described by taking the example that two different types of transaction accounts (such as a transportation card and a bank card) are bound in the electronic wallet of the user.

In one case, when the user holds the mobile phone close to the transportation POS machine, the mobile phone automatically switches from the screen-rest mode to the screen-on mode, and displays an interface as shown in (1) in fig. 4, where the interface includes a bank card thumbnail 401 and a transportation card thumbnail 402, indicating that account information of the bank card and account information of the transportation card are bound in the electronic wallet application on the mobile phone. In response to the operation of selecting the transportation card by the user, for example, the operation of clicking the transportation card thumbnail 402 can be performed, the mobile phone displays a payment interface of the transportation card, such as an interface shown in (2) in fig. 4, and the interface contains a transportation card thumbnail 403 and prompt information 404. The traffic card thumbnail 403 indicates that the transaction account currently used by the mobile terminal is a traffic card, and the prompt message 404 is used for prompting the user to hold a mobile phone close to a traffic POS machine for transaction. Then, the mobile phone and the traffic POS machine automatically carry out transaction. After the transaction is successful, the mobile phone displays an interface for successful payment, such as the interface shown in (3) in fig. 4, and the interface includes a transportation card thumbnail 403 and payment information 405. The payment information 405 is used to inform the user of the payment information of the transaction, including the time, amount, balance and successful payment icon of the latest transaction.

In another case, assume that the handset is set to default to a bank card. Then, when the user holds the mobile phone to approach the public transportation POS machine, the mobile phone will automatically switch from the screen-saving mode to the screen-lighting mode, and display the payment interface of the bank card, i.e. the interface shown in (1) in fig. 6. However, this transaction was unsuccessful because the card type was wrong. The user may re-enter the interface of (1) in fig. 4, re-select the transportation card, and conduct the transaction again.

As can be seen from the above, when the types of the transaction accounts bound in the electronic wallet application are many, on one hand, the user should remember various types of transaction accounts, and on the other hand, the user should select a corresponding transaction account every transaction, which is poor in user experience. Therefore, the embodiment of the application provides a method for carrying out electronic transaction by using a mobile terminal, a mobile phone can automatically identify the type of a POS machine and automatically select a transaction account corresponding to the POS machine, so that the step of manually selecting the transaction account by a user can be omitted, and the user experience is improved.

Generally speaking, after the technical scheme provided by the application is adopted, when a mobile phone of a user is close to a POS machine, the mobile phone can receive the POS machine and the type information of the POS machine, and the mobile phone can automatically select the corresponding transaction account information according to the type information of the POS machine. Therefore, the mobile phone can directly display the payment interface corresponding to the determined transaction account without displaying an interface for selecting the transaction account information, and the transaction is automatically carried out.

For example, when a user holds a cell phone close to a transportation POS, the cell phone may automatically switch from a rest mode to a bright mode. Since the mobile phone can automatically identify the transportation POS machine and automatically select the account information of the transportation card, the mobile phone directly displays the payment interface of the transportation card, such as the interface shown in (1) in fig. 5. The interface contains a traffic card thumbnail 501 and a prompt message 502. The traffic card thumbnail 501 indicates that the transaction account currently used by the mobile terminal is a traffic card, and the prompt message 502 is used for prompting the user to swipe the card close to the traffic POS machine. Then, the mobile phone and the public transport POS automatically carry out transaction. After the transaction is successful, the mobile phone displays an interface for successful payment, such as the interface shown in (2) in fig. 5, and the interface includes a transportation card thumbnail 501 and payment information 503. The payment information 503 is used to inform the user of the payment information of the transaction, including the time, amount, balance and successful payment icon of the latest transaction.

When the user holds the mobile phone close to the bank POS machine, the mobile phone can be automatically switched from the screen-turning mode to the screen-lighting mode. Since the mobile phone can automatically identify the bank POS machine and automatically select the account information of the bank card, the mobile phone directly displays a payment interface of the bank card, such as an interface shown in (1) in FIG. 6, and the interface includes a bank card thumbnail 601 and prompt information 602. The bank card thumbnail 601 indicates that the transaction account currently used by the mobile terminal is a bank card, and the prompt message 602 is used for prompting the user to input a fingerprint so as to facilitate the mobile phone to verify the identity of the user. After the mobile phone receives the fingerprint input by the user, if the terminal is successfully verified, the mobile phone displays an interface shown in (2) in fig. 6, where the interface includes a bank card thumbnail 601 and prompt information 603. Wherein, the prompt information 603 is used to prompt the user that the fingerprint verification is successful. Then, the mobile phone and the bank POS machine automatically carry out transaction. After the transaction is successful, the mobile phone displays a payment success interface, such as the interface shown in (3) in fig. 6, which includes a bank card thumbnail 601 and payment information 604. The payment information 604 is used to inform the user of the payment information of the transaction, including the time and amount of the latest transaction, and the icon of successful payment.

Therefore, by the method for electronic wallet transaction, a user does not need to manually select the transaction account, and the mobile phone can automatically select the corresponding transaction account for transaction according to the acquired type information of the POS machine, so that the process of electronic wallet transaction is simplified, and the user experience is improved.

The following description will be made in detail by taking the application of the technical solution provided by the present application to a mobile phone as shown in fig. 1 as an example with reference to the accompanying drawings.

In order to enable the mobile phone to realize the transaction between the traffic card and the traffic POS machine and the transaction between the bank card and the bank POS machine, the user binds the traffic card and the bank card in the electronic wallet application on the mobile phone in advance, namely the traffic account information and the bank account information are set in the electronic wallet. Therefore, the mobile phone of the user is in close range communication connection with the traffic POS machine or the bank POS machine, and electronic transaction between the mobile phone and the traffic POS machine or the bank POS machine is further completed. Illustratively, as shown in (1) in fig. 7, in response to the user clicking an "electronic wallet" icon 701 on a main screen interface of the mobile phone, the mobile phone displays an interface of a card package as shown in (2) in fig. 7, in which a bank card thumbnail 702 and a transportation card thumbnail 703 are displayed, indicating that the electronic wallet of the mobile phone has bound account information of the bank card and account information of the transportation card.

The process of the electronic transaction between the mobile phone and the transportation POS machine or the bank POS machine specifically comprises the following steps:

s101, after the mobile terminal is in close-range communication connection with the electronic equipment, when a user holds a mobile phone to be close to the electronic equipment, the mobile phone receives type information of the electronic equipment sent by the electronic equipment.

The electronic device may be a transportation POS machine or a bank POS machine. The communication protocol that the mobile terminal can adopt for the near field communication connection with the electronic equipment includes but is not limited to NFC protocol, or Bluetooth, or MST, etc.

Specifically, the POS with the near field communication function periodically sends a request message when in use, so as to search for surrounding terminals that can interact using near field communication. For example: the transit POS may send the request message periodically at all times during a particular time. And the bank POS machine sends request messages periodically after inputting the amount of the transaction. When the mobile phone approaches to have such a POS machine, the request message sent by the POS machine equipment can be received. Wherein, the request message includes the type information of the POS machine. Then, the terminal acquires the type information of the POS machine according to the request message.

The type information of the electronic device may also be referred to as type information of the POS, where the type information includes a type identifier of the electronic device, and is used to indicate an industry to which the electronic device belongs, and the industry to which the electronic device belongs includes, but is not limited to, transportation, banking, merchant member, medicine, government, entrance guard, and the like. The identifier of the electronic device may also be referred to as a type identifier of the POS machine, an industry identifier of the electronic device, an industry identifier of the POS machine, or the like. The embodiments of the present application are not limited.

For example, the Request message periodically sent by the POS may be a Request Command (REQA) of Type a in the NFC protocol, and the REQA is used to carry its Type identifier. In particular, the present application may use different codes in REQA to also distinguish POS machines of different industries.

In one possible implementation, the identification bits already in REQA may be re-encoded so that different codes correspond to different POS types. Table one gives an example of re-encoding the identification bits already in REQA, as follows:

encoding of table-REQA

Alternatively, embodiments of the present application may also identify the transportation industry type as "26" and then the financial industry type as "27". The POS machine identification method and the POS machine identification system require that POS machines of different types are distinguished, and the content and the mode of specific identification are not limited.

In another possible implementation, the identification bits of REQA may be extended, and different codes may be used in the extended identification bits to correspond to different POS machine types. Table two gives an example of an extended REQA identification as follows:

extended format for table two REQA

Specifically, 8 bits can be extended in REQA from the original 7 bits to 15 bits. Wherein, the original 7-bit content is not changed, and the expanded mark is used for marking the type of the POS machine. The extended 8 bits may be encoded using the encoding rule of Application Family Identifier (AFI) as shown in table three, as follows:

table three AFI coding rule table

Wherein X is from "1" to "F", and Y is from "1" to "F".

Optionally, two extended bits may be used to identify the type of the POS, for example, the 8 th and 9 th identification bits may be used to identify the type of the POS, where "00" represents a transportation industry type, and "01" represents a financial industry type.

Optionally, in the embodiment of the present application, the type of the POS machine may also be identified by using other two or more bits of the 8-bit extension bit, or the type of the POS machine may also be identified by using other encoding manners, and the present application does not limit the identification position, the identification manner, and the identification content of the type of the POS machine.

S102, the mobile phone determines transaction account information corresponding to the type information from a plurality of transaction account information in the mobile phone according to the type information of the electronic equipment.

Exemplarily, the mobile phone further obtains a type identifier of the electronic device from the type information of the electronic device, searches for an identifier of a transaction account corresponding to the type identifier, and determines the transaction account corresponding to the identifier of the transaction account. And then, the terminal activates the determined transaction account, and then the transaction account can be directly used for transaction with the POS machine, so that card swiping consumption is realized.

For example, assume that the POS identifies the type of POS using the REQA code as shown in Table one. Then, the mobile phone may determine the card identifier of the card to be transacted, which needs to be activated, according to the corresponding relationship shown in table four, as follows:

correspondence between codes of table four REQA and card

Specifically, if the user holds the mobile phone and approaches the traffic POS machine, the mobile phone will automatically switch from the screen-off mode to the screen-on mode, and the type information of the POS machine acquired by the mobile phone is a type identifier of the traffic industry, for example: REQA is encoded as "0100111". Then the mobile phone finds out that the transaction account corresponding to the type identification is the traffic card according to the type identification of the traffic industry, the mobile phone activates the traffic card, and then the traffic card is used for carrying out transaction with the POS.

If the user holds the mobile phone to be close to the bank POS machine, the mobile phone can be automatically switched from the screen turning mode to the screen lightening mode, and the type information of the POS machine, which is acquired by the mobile phone, is a type identifier of the financial industry, for example: REQA encodes "0100110". And then the mobile phone finds out that the transaction account corresponding to the type identification is a bank card according to the type identification of the financial industry, activates the bank card, and then carries out transaction with the POS by using the bank card.

Therefore, by the method for electronic wallet transaction, the user does not need to manually select the transaction account, the mobile phone can acquire the type information of the electronic equipment according to the request message sent by the electronic equipment, and further automatically select the corresponding transaction account for transaction according to the type information, so that the process of electronic transaction by using the electronic wallet application through the mobile terminal is simplified, and the user experience is improved.

As shown in fig. 8, a structure of a mobile terminal provided by the present application is shown in the figure. The mobile terminal 100 includes an NFC controller 801, a processor 802, and an embedded Secure Element (eSE) 803.

The NFC controller 801 is configured to receive a radio frequency signal, such as a request message, sent by the POS, and transfer the signal to the processor 802.

The processor 802 is configured to parse the received request message, identify the type of the POS machine carried in the request message, and find a card matching the type in the embedded security unit 803.

The embedded security unit 803 is configured to store transaction account information of each type, activate a corresponding transaction account after receiving an instruction for activating the transaction account sent by the processor 802, and perform a transaction with a POS machine to implement a card swiping consumption.

Further, a method for electronic wallet transaction provided by the present application is described with reference to the mobile terminal shown in fig. 8. The method specifically comprises the following steps:

s201, after the mobile terminal approaches the electronic device, the NFC controller of the mobile terminal receives the type information of the POS machine sent by the electronic device.

The type information of the POS includes a type identifier of the POS, which is used to indicate an industry identifier to which the POS belongs, for example: financial industry, traffic industry, etc.

For example, the POS may periodically send a request message to the mobile terminal, where the request message carries a type identifier, also referred to as an industry identifier, of the POS, and is used to indicate an industry to which the POS belongs. The mobile terminal receives the request message through the NFC controller.

The request message may be REQA, and reference may be made to the description of REQA in step S101, which is not repeated herein.

S202, the NFC controller sends the type information of the POS machine to the processor.

S203, the processor determines a transaction account used in the transaction from the information of the transaction accounts according to the type information of the POS machine.

Specifically, the processor searches a transaction account corresponding to the type identifier according to the type identifier of the POS, and uses the searched transaction account as the transaction account of the current transaction.

For example, if the type information of the POS indicates that the POS is of a bank type, the mobile terminal determines to use a bank transaction account. And if the type information of the POS machine indicates that the POS machine is in a traffic type, the mobile terminal determines to use the traffic transaction account.

S204, the processor requests the embedded security unit to activate the transaction account.

In some embodiments, the mobile terminal prompts the user for a fingerprint prior to activating the bank transaction account. Upon receiving a user-input fingerprint, the processor verifies the fingerprint. If the verification is successful, the user can use the bank transaction account of the mobile terminal to conduct card swiping transaction. And if the verification fails, the user is not authorized to use the bank transaction account of the mobile terminal to conduct transaction.

The instruction carries the identification of the transaction account of the transaction, so that the embedded security unit activates the transaction account after receiving the instruction for activating the transaction account sent by the processor.

S205, the embedded security unit activates the transaction account and notifies the processor.

S206, the processor requests the NFC controller to activate the card simulation function.

Wherein the card emulation function is an operation mode in the NFC communication function. After the mode is started, the mobile terminal can simulate an entity card to carry out transaction with the POS machine. Namely, after the NFC starts the card simulation function, the POS machine can directly carry out electronic transaction with the embedded safety unit.

And S207, the NFC controller informs the POS machine that the transaction account is activated.

For example, the NFC controller may employ a Type a response command (answer to request Type a, ATQA) in the NFC protocol. The mobile terminal is used for informing the POS machine, and the mobile terminal can conduct transaction with the POS machine so that the POS machine can execute the transaction process with the mobile terminal.

And S208, the POS machine and the mobile terminal execute a protocol activation process.

The protocol activation process may also adopt an NFC protocol, and is used for the POS to establish a communication channel with the mobile terminal, including but not limited to negotiating with the mobile terminal about information such as a message format and a length.

S209, the POS machine and the mobile terminal execute a transaction process.

The card swiping transaction process can also adopt an NFC protocol.

It is to be understood that the mobile terminal and the like described above include hardware structures and/or software modules for performing the respective functions in order to implement the functions described above. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.

In the embodiment of the present application, the mobile terminal and the like may be divided into functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.

Fig. 9 shows a possible structure diagram of the mobile terminal according to the above embodiment, in the case of dividing each functional module according to each function. As shown in fig. 9, the mobile terminal 900 includes: a communication unit 901 and a processing unit 902.

Among other things, the communication unit 901 is used for the mobile terminal to interact with other devices, for example, to support the mobile terminal to receive a request message sent by an electronic device, to support the mobile terminal to send a response message to the electronic device, and the like, and to support the mobile terminal to perform a protocol activation procedure and a transaction procedure with the electronic device, and/or other procedures for the techniques described herein. The processing unit 902 is configured to enable the mobile terminal to obtain type information of the electronic device from the received request message, to enable the mobile terminal to confirm transaction account information corresponding to the type information of the electronic device from a plurality of transaction account information, and/or to perform other processes according to the techniques described herein.

All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.

Of course, the mobile terminal 900 may also include a storage unit 903 for storing program codes and data, etc. The mobile terminal 900 further includes a display unit 904 for displaying the above-mentioned respective terminal interfaces. Moreover, the functions that can be specifically implemented by the above-mentioned functional units also include, but are not limited to, the functions corresponding to the method steps described in the above examples, and the detailed description of the corresponding method steps may be referred to for the detailed description of other units of the mobile terminal 900, which is not described herein again in this embodiment of the present application.

In case of an integrated unit, the processing unit 902 may be a processing module of the mobile terminal. The display unit 904 may be a display module such as a touch screen. The communication unit 901 may be a communication module of a mobile terminal, such as an RF circuit, a WiFi module, or a bluetooth module. The storage unit 903 may be a storage module of the mobile terminal.

Fig. 10 shows a schematic diagram of a possible structure of the mobile terminal involved in the above embodiment. The mobile terminal 1000 includes: a processing module 1001, a storage module 1002 and a communication module 1003. The processing module 1001 is used for controlling and managing the actions of the mobile terminal. The storage module 1002 is used for storing program codes and data of the mobile terminal. The communication module 1003 is used for communicating with other mobile terminals. The Processing module 1001 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication module 1003 may be a transceiver, a transceiver circuit or a communication interface, etc. The storage module 1002 may be a memory.

When the processing module 1001 is a processor (such as the processor 101 shown in fig. 2), the communication module 1003 is an RF transceiver circuit (such as the RF circuit 102 shown in fig. 2), and the storage module 1002 is a memory (such as the memory 103 shown in fig. 2), the mobile terminal provided in the embodiment of the present application may be the mobile terminal 100 shown in fig. 2. The communication module 1003 may include not only an RF circuit, but also a WiFi module and a bluetooth module. The communication modules such as the RF circuit, WiFi module, and bluetooth module may be collectively referred to as a communication interface. Wherein the processor, the communication interface, and the memory may be coupled together by a bus.

Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.

In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.

The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

24页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种自动调整可支付金额上限的方法、装置及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!