Electronic device and payment method using same

By integrating the communication module and processor in the electronic device, it manages the payment process and controls the non-tradable state, solving the payment difficulties and security issues of the existing payment system in offline situations, and achieving the security and integrity of offline payments.

CN118613818APending Publication Date: 2024-09-06SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280067767.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-03-29
Filing Date
2022-08-30
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing payment systems require at least one electronic device to be connected to the network at all times to make payments, making it impossible to make payments offline and unable to prevent double spending and forged transactions.

Method used

Design an electronic device, including a communication module, a display and a processor, to manage the payment process by sending a request authentication signal, a payment signal and a completion signal after user input and authentication, and to control the external device to become disabled when unable to respond. Transaction status to ensure payment integrity and security.

Benefits of technology

It realizes the completion of transactions offline, prevents double spending and forged transactions, ensures the integrity and security of the payment process, and can even complete transactions normally when the terminal is disconnected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118613818A_ABST
    Figure CN118613818A_ABST
Patent Text Reader

Abstract

An electronic device according to various embodiments includes: a communication module that enables communication with an external device; a display; a memory; and a processor operably connected to the communication module. The processor may: display, on the display, at least one image and / or text associated with payment information in response, at least in part, to a user's input; determining whether to start a payment process using the electronic device in accordance with the authentication of the user being confirmed; transmitting a first signal for requesting authentication to the external device in accordance with the external device being confirmed to have approached within the predetermined distance from the electronic device; transmitting a second signal associated with the payment process by means of the communication module in accordance with the authentication of the external device being confirmed; determining whether a payment process using the electronic device has been completed in accordance with confirming the response of the external device to the second signal; in accordance with a determination that the payment process has been completed, transmitting a third signal to the external device by means of the communication module indicating that the payment process has been completed; and controlling the external device to be in a non-transactable state in accordance with a response of the external device to the third signal being not confirmed within a predetermined time after the third signal is transmitted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to electronic devices and may include a payment transfer method between electronic devices. Specifically, the present disclosure relates to a method and apparatus in which an electronic device transmits payment information and non-payment information being provided through various wallet applications to another external device. Background Art

[0002] With the popularization of various electronic devices such as smart phones, tablet PCs, portable multimedia players (PMPs), personal digital assistants (PDAs), laptop personal computers (laptop PCs), and wearable devices, interest in technologies for performing simple payments using various electronic devices has been increasing.

[0003] For example, a technology has been developed to perform simple payment by communicating with a payment terminal (point of sale (POS)) through a near field communication module included in an electronic device. In addition, a technology has also been developed to perform simple payment in a manner in which an electronic device outputs a magnetic stripe transmission (MST) signal, which is a magnetic field signal generated during swiping of a payment card (e.g., a credit card, a debit card, or a check card) as an existing payment means in a payment terminal, and the payment terminal recognizes the outputted magnetic field.

[0004] In case of a technology in which an electronic device outputs a magnetic field signal which is the same as a magnetic field signal generated during swiping a payment card on a payment terminal, it can be used in existing payment terminals even without additional devices and has thus been widely promoted. Summary of the invention

[0005] Technical issues

[0006] Existing payment systems have limitations in that payment is possible only if at least one electronic device (eg, a point of sale (POS) device) is always connected to a network, and thus payment is not possible if both electronic devices involved in the payment are offline.

[0007] Solution to the problem

[0008] An electronic device according to various embodiments may include: a communication module that can communicate with an external device; a display; a memory; and a processor. The processor may be configured to: display at least one image and / or text related to payment information on the display in response to at least a portion of a user input; determine whether to start a payment process using the electronic device in response to recognition of user authentication; send a first signal for requesting authentication to the external device in response to recognition that the external device is approaching within a predetermined distance from the electronic device, and send a second signal related to the payment process using the communication module in response to recognition of the authentication of the external device; determine whether the payment process is completed using the electronic device in response to recognition of a response of the external device to the second signal, and send a third signal to the external device using the communication module in response to determination of completion of the payment process; and control the external device to a non-tradable state in response to a situation where the external device's response to the third signal cannot be recognized within a predetermined time after the third signal is sent.

[0009] A payment method using an electronic device according to various embodiments may include: in response to at least a portion of a user input, displaying at least one image and / or text related to payment information on a display; in response to recognition of user authentication, determining whether to use the electronic device to start a payment process; in response to recognition that an external device is approaching within a predetermined distance from the electronic device, using a communication module to send a first signal for requesting authentication to the external device; in response to recognizing the authentication of the external device, using the communication module to send a second signal related to the payment process; in response to recognizing a response of the external device to the second signal, determining whether the payment process is completed using the electronic device, and in response to determining that the payment process is completed, using the communication module to send a third signal to the external device to indicate that the payment process has been completed; and in response to a situation where the external device's response to the third signal cannot be recognized within a predetermined time after the third signal is sent, controlling the external device to be in a non-tradable state.

[0010] Beneficial Effects

[0011] According to various embodiments, the electronic device is able to complete the transaction between the two parties even in an offline state when participating in the payment.

[0012] In addition, the electronic device can prevent double spending even in an offline state, and can prevent counterfeiting of another party's transaction. The electronic device can prevent the occurrence of counterfeit banknotes that may occur due to differences between transaction information of any one side and transaction information of the other side.

[0013] According to various embodiments, the electronic device can control to perform payment under mutual trust by designing a payment system so that the transaction can be completed normally even if the payment is not completed due to any detachment of the terminal during payment. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 is a block diagram of an electronic device in a network environment according to various embodiments.

[0015] Figure 2 is a configuration diagram of an electronic device according to various embodiments.

[0016] Figure 3 is a block diagram showing a configuration of an electronic device according to various embodiments.

[0017] Figure 4 An internal structure of a wallet applet of an electronic device according to various embodiments is shown.

[0018] Figure 5a An offline money transfer process of an electronic device according to various embodiments is shown. Figure 5b An offline payment process of an electronic device according to various embodiments is illustrated.

[0019] Figure 6a and Figure 6b A general transaction process when the electronic device is offline according to various embodiments is shown.

[0020] Figure 6c and Figure 6d A UI displayed on a screen of an electronic device according to various embodiments is shown.

[0021] Figure 6e is a diagram illustrating a situation in which an electronic device and an external device approach each other according to various embodiments. Figure 6f A UI displayed on a screen of an electronic device according to various embodiments is shown.

[0022] Figures 7a to 7e Transaction processes and error scenarios when the electronic device is offline are illustrated according to various embodiments.

[0023] Figure 8a and Figure 8b A process of reconfirming payment when payment is stopped due to an error situation of an electronic device according to various embodiments is shown.

[0024] Fig. 9 is a flowchart illustrating a payment method of an electronic device according to various embodiments. DETAILED DESCRIPTION

[0025] Figure 1 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments. Figure 1 , the electronic device 101 in the network environment 100 may communicate with the electronic device 102 via the first network 198 (e.g., a short-range wireless communication network), or communicate with at least one of the electronic device 104 or the server 108 via the second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input module 150, a sound output module 155, a display module 160, an audio module 170, a sensor module 176, an interface 177, a connection terminal 178, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a user identification module (SIM) 196, or an antenna module 197. In some embodiments, at least one of the above components (e.g., the connection terminal 178) may be omitted from the electronic device 101, or one or more other components may be added to the electronic device 101. In some embodiments, some of the above-described components (eg, sensor module 176, camera module 180, or antenna module 197) may be implemented as a single integrated component (eg, display module 160).

[0026] The processor 120 may run, for example, software (e.g., program 140) to control at least one other component (e.g., hardware component or software component) of the electronic device 101 connected to the processor 120, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, the processor 120 may store a command or data received from another component (e.g., sensor module 176 or communication module 190) in the volatile memory 132, process the command or data stored in the volatile memory 132, and store the resultant data in the non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)) or an auxiliary processor 123 (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is operationally independent or combined with the main processor 121. For example, when the electronic device 101 includes a main processor 121 and an auxiliary processor 123, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or adapted to be dedicated to a specific function. The auxiliary processor 123 may be implemented separately from the main processor 121, or as part of the main processor 121.

[0027] When the main processor 121 is in an inactive (e.g., sleep) state, the auxiliary processor 123 (rather than the main processor 121) may control at least some of the functions or states related to at least one component among the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190), or when the main processor 121 is in an active state (e.g., running an application), the auxiliary processor 123 may control at least some of the functions or states related to at least one component among the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) together with the main processor 121. According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., a camera module 180 or a communication module 190) that is functionally related to the auxiliary processor 123. According to an embodiment, the auxiliary processor 123 (e.g., a neural processing unit) may include a hardware structure dedicated to artificial intelligence model processing. The artificial intelligence model may be generated by machine learning. For example, such learning may be performed by the electronic device 101 where the artificial intelligence is executed or via a separate server (e.g., server 108). The learning algorithm may include, but is not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, for example. The artificial intelligence model may include multiple artificial neural network layers. The artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), or a deep Q network or a combination of two or more thereof, but is not limited thereto. Additionally or alternatively, the artificial intelligence model may include a software structure in addition to a hardware structure.

[0028] The memory 130 may store various data used by at least one component of the electronic device 101 (e.g., the processor 120 or the sensor module 176). The various data may include, for example, software (e.g., the program 140) and input data or output data for commands related thereto. The memory 130 may include a volatile memory 132 or a nonvolatile memory 134.

[0029] The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system (OS) 142 , middleware 144 , or applications 146 .

[0030] The input module 150 may receive commands or data to be used by other components (e.g., the processor 120) of the electronic device 101 from outside (e.g., a user) of the electronic device 101. The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus).

[0031] The sound output module 155 can output sound signals to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as playing multimedia or playing records. The receiver can be used to receive incoming calls. Depending on the embodiment, the receiver can be implemented as a separate part from the speaker, or as part of the speaker.

[0032] The display module 160 may visually provide information to the outside of the electronic device 101 (e.g., a user). The display device 160 may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding one of the display, the holographic device, and the projector. According to an embodiment, the display module 160 may include a touch sensor adapted to detect a touch or a pressure sensor adapted to measure the strength of a force caused by a touch.

[0033] The audio module 170 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 170 may obtain sound via the input module 150, or output sound via the sound output module 155 or an earphone of an external electronic device (e.g., electronic device 102) directly (e.g., wired) or wirelessly connected to the electronic device 101.

[0034] The sensor module 176 may detect an operating state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) outside the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.

[0035] The interface 177 may support one or more specific protocols to be used to connect the electronic device 101 directly (e.g., wired) or wirelessly to an external electronic device (e.g., the electronic device 102). According to an embodiment, the interface 177 may include, for example, a high-definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.

[0036] The connection end 178 may include a connector, wherein the electronic device 101 can be physically connected to an external electronic device (e.g., the electronic device 102) via the connector. According to an embodiment, the connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0037] The haptic module 179 may convert the electrical signal into mechanical stimulation (eg, vibration or motion) or electrical stimulation that can be recognized by the user via his sense of touch or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.

[0038] The camera module 180 may capture still images or moving images. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.

[0039] The power management module 188 may manage power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

[0040] The battery 189 may power at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0041] The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. The communication module 190 may include one or more communication processors capable of operating independently from the processor 120 (e.g., an application processor (AP)) and supporting direct (e.g., wired) communication or wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules can communicate with an external electronic device via a first network 198 (e.g., a short-range communication network such as Bluetooth, Wireless Fidelity (Wi-Fi) Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a traditional cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip), or these various types of communication modules can be implemented as multiple components separated from each other (e.g., multiple chips). The wireless communication module 192 can identify and authenticate the electronic device 101 in a communication network (such as the first network 198 or the second network 199) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.

[0042] The wireless communication module 192 can support 5G networks after 4G networks and next-generation communication technologies (e.g., new radio (NR) access technology). NR access technology can support enhanced mobile broadband (eMBB), massive machine type communication (mMTC), or ultra-reliable low-latency communication (URLLC). The wireless communication module 192 can support high-frequency bands (e.g., millimeter wave bands) to achieve, for example, high data transmission rates. The wireless communication module 192 can support various technologies for ensuring performance on high-frequency bands, such as, for example, beamforming, massive multiple-input multiple-output (massive MIMO), full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. The wireless communication module 192 can support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., a second network 199). According to an embodiment, the wireless communication module 192 may support a peak data rate for implementing eMBB (e.g., 20 Gbps or greater), loss coverage for implementing mMTC (e.g., 164 dB or less), or U-plane delay for implementing URLLC (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or 1 ms or less round trip).

[0043] The antenna module 197 may transmit or receive a signal or power to or from the outside of the electronic device 101 (e.g., an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiating element formed of a conductive material or a conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, the antenna module 197 may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network (such as the first network 198 or the second network 199) may be selected from the plurality of antennas by, for example, the communication module 190 (e.g., the wireless communication module 192). A signal or power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as part of the antenna module 197.

[0044] According to various embodiments, the antenna module 197 may form a millimeter wave antenna module. According to an embodiment, the millimeter wave antenna module may include a printed circuit board, a radio frequency integrated circuit (RFIC), and a plurality of antennas (e.g., array antennas), wherein the RFIC is disposed on a first surface (e.g., bottom surface) of the printed circuit board, or adjacent to the first surface and capable of supporting a specified high frequency band (e.g., millimeter wave band), and the plurality of antennas are disposed on a second surface (e.g., top surface or side surface) of the printed circuit board, or adjacent to the second surface and capable of transmitting or receiving signals of the specified high frequency band.

[0045] At least some of the above components may be connected to each other via an inter-peripheral communication scheme (e.g., a bus, a general purpose input output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)) and communicatively transmit signals (e.g., commands or data) therebetween.

[0046] According to an embodiment, a command or data may be sent or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199. Each of the electronic device 102 or the electronic device 104 may be a device of the same type as the electronic device 101, or a device of a different type from the electronic device 101. According to an embodiment, all or some operations to be executed in the electronic device 101 may be executed in one or more of the external electronic device 102, the external electronic device 104, or the server 108. For example, if the electronic device 101 should automatically execute a function or service or should execute a function or service in response to a request from a user or another device, the electronic device 101 may request the one or more external electronic devices to execute at least part of the function or service instead of executing the function or service, or the electronic device 101 may request the one or more external electronic devices to execute at least part of the function or service in addition to executing the function or service. The one or more external electronic devices receiving the request may execute at least part of the function or service requested, or execute another function or another service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may provide the result as at least a partial reply to the request in the case of further processing the result or in the case of not further processing the result. To this end, cloud computing technology, distributed computing technology, mobile edge computing (MEC) technology or client-server computing technology, for example, may be used. The electronic device 101 may use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In another embodiment, the external electronic device 104 may include an Internet of Things (IoT) device. The server 108 may be an intelligent server using machine learning and / or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199. The electronic device 101 may be applied to intelligent services (e.g., smart homes, smart cities, smart cars or health care) based on 5G communication technology or IoT-related technologies.

[0047] The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to an embodiment of the present disclosure, the electronic device is not limited to those electronic devices described above.

[0048] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, but include various changes, equivalent forms or alternative forms for corresponding embodiments. For the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that the nouns in the singular form corresponding to the term may include one or more things unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "at least one of A, B or C" may include any one or all possible combinations of the items listed together with the corresponding one of the multiple phrases. As used herein, terms such as "1st" and "2nd" or "first" and "second" may be used to simply distinguish the corresponding component from another component, and do not limit the component in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “combined with another element (e.g., the second element)”, “combined to another element (e.g., the second element)”, “connected with another element (e.g., the second element)”, or “connected to another element (e.g., the second element)” when the terms “operably” or “communicatively” are used or when the terms “operably” or “communicatively” are not used, it means that the element may be directly (e.g., wired) connected to the other element, wirelessly connected to the other element, or connected to the other element via a third element.

[0049] As used in connection with various embodiments of the present disclosure, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "portion," or "circuit"). A module may be a single integrated component adapted to perform one or more functions or a minimum unit or portion of the single integrated component. For example, according to an embodiment, a module may be implemented in the form of an application specific integrated circuit (ASIC).

[0050] The various embodiments described herein may be implemented as software (e.g., program 140) including one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). For example, under the control of a processor, a processor (e.g., processor 120) of the machine (e.g., electronic device 101) may call at least one of the one or more instructions stored in the storage medium and execute the at least one instruction with or without the use of one or more other components. This enables the machine to operate to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be run by an interpreter. A machine-readable storage medium may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" only means that the storage medium is a tangible device and does not include a signal (e.g., an electromagnetic wave), but the term does not distinguish between data being semi-permanently stored in a storage medium and data being temporarily stored in a storage medium.

[0051] According to an embodiment, the method according to various embodiments of the present disclosure may be included and provided in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be released in the form of a machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)), or may be downloaded via an application store (e.g., Play Store TM ) The computer program product may be published (e.g., downloaded or uploaded) online, or the computer program product may be distributed (e.g., downloaded or uploaded) directly between two user devices (e.g., smart phones). If published online, at least part of the computer program product may be temporarily generated, or at least part of the computer program product may be at least temporarily stored in a machine-readable storage medium (such as a memory of a manufacturer's server, an application store's server, or a forwarding server).

[0052] According to various embodiments, each component (e.g., module or program) in the above-mentioned components may include a single entity or multiple entities, and some entities in the multiple entities may be separately arranged in different components. According to various embodiments, one or more components in the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., module or program) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform the one or more functions of each component in the multiple components in the same or similar manner as the corresponding one component in the multiple components before integration. According to various embodiments, the operations performed by a module, program or another component may be performed sequentially, in parallel, repeatedly or in a heuristic manner, or one or more operations in the operations may be run or omitted in different orders, or one or more other operations may be added.

[0053] Figure 2 is a diagram of a configuration of an electronic device according to various embodiments.

[0054] Reference Figure 2 , the electronic device 101 may include a communication module 190 as an internal component. By using the communication module 190, the electronic device 101 may transmit or receive data to or from the external device 19A, and may perform a call function, a media function, and the like.

[0055] The electronic device 101 may transmit the transaction data by using the communication module 190. The transaction data may refer to data stored in a storage module (eg, Figure 1 The storage module may mean a storage space built in the electronic device 101 or connected to the electronic device 101.

[0056] According to an embodiment, the transaction data generated by the data generation module may include security data or payment information. The security data may be data obtained by encrypting the data stored in the storage module. The payment information may include a primary account number (PAN), a device account number (DAN), virtual credit card information, a bank information number (BIN), a card security code (CSC), a card verification value (CVV), or a password stored in the storage module.

[0057] In various embodiments, the electronic device 101 can perform a payment function for the purchase of goods or services by using the communication module 190. The electronic device 101 can send payment information to the external device 19A based on user input. The electronic device 101 can pay for the goods or services by sending the payment information. Even without a separate wallet or credit card, the user can easily proceed with the payment by bringing the electronic device 101 into contact with or close to the external device 19A (e.g., a credit card reader or a payment receiver).

[0058] In an embodiment, the electronic device 101 may provide payment information including at least one of purchasing goods or purchasing services to the external device 19A. The electronic device 101 may perform an authentication process specified in the payment process (e.g., password input or fingerprint recognition). The electronic device 101 may provide payment information to the external device 19A by using a near field communication method (e.g., NFC communication or MST communication), and the external device 19A may perform payment based on the received payment information. Near field communication (NFC) may refer to an encrypted contactless near field communication method. Magnetic secure transmission (MST) communication may refer to a method for sending information by replicating an inherent magnetic field pattern generated by magnetic lines of force.

[0059] According to various embodiments, the communication module 190 may include one or more sub-communication modules capable of performing offline payment. The one or more sub-communication modules may include, for example, the NFC module 127 and the MST module 128.

[0060] For example, the near field communication (NFC) module 127 can support near field communication capable of performing duplex communication for data in a specified frequency band (e.g., 13.56 MHz) between devices equipped with NFC chips. The NFC module 127 can operate in a manual communication mode in which a channel is formed by supplying power through a magnetic field generated by an external device 19A or in an active communication mode in which a channel is formed by directly generating a magnetic field.

[0061] The NFC module 127 can operate according to a predetermined NFC signal cycle. When the NFC module 127 operates in a manual communication mode, the NFC signal cycle can be configured to include only a manual communication segment. When the NFC module 127 operates in an active communication mode, the NFC signal cycle can be configured to include a manual communication segment and an active communication segment.

[0062] For example, the MST module 128 may be a near field communication module that transmits data via near field data magnetic stripe transmission. The MST method may refer to a method of generating pulses in accordance with transaction data and converting these pulses into magnetic field signals. In order for the external device 19A to receive data, a sensor (e.g., an MST reader or header) included in the external device 19A may detect the converted magnetic field signal. The external device 19A may recover the data by converting the detected magnetic field signal into an electrical signal.

[0063] The MST module 128 can receive a control signal and payment information from a control circuit inside the electronic device 101. The MST module 128 can convert the payment information into a magnetic signal to be sent out. For example, the MST module 128 can generate a magnetic signal by swiping the magnetic stripe of a credit card on the external device 19A. The external device 19A can receive a magnetic field signal and payment information corresponding to the magnetic field signal from the MST module 128. In an embodiment, the MST module can provide payment information to the external device 19A through simplex communication. The NFC module 127 and the MST module 128 are merely examples of one or more sub-communication modules, but the sub-communication modules are not limited thereto and may further include other near field communication methods.

[0064] In an embodiment, the electronic device can send multiple magnetic field signals (e.g., NFC signals and MST signals) simultaneously or sequentially by using the communication module 190. The NFC module 127 and the MST module 128 can selectively send payment information to the external device 19A according to a specified schedule or signal cycle (e.g., 0.2 seconds). Since the NFC module 127 and the MST module 128 selectively work in a specified time period, power consumption according to signal transmission can be reduced, and duplicate payments can be prevented. Even if the user does not select a communication method separately, the electronic device 101 can continue to pay only by contacting or approaching a specified payment receiver.

[0065] Figure 3 is a block diagram showing a configuration of an electronic device according to various embodiments.

[0066] According to various embodiments, the electronic device 300 may include a processor 310, a memory 320, a display 330, and a communication module 340, and some of the illustrated configurations may be omitted or replaced. Figure 1 At least some of the configurations and / or functions of the electronic device 101. At least some of the illustrated (or not illustrated) configurations of the electronic device 300 may be operably connected, functionally connected, and / or electrically connected to each other.

[0067] According to various embodiments, the processor 310 may be a configuration capable of performing arithmetic operations or data processing related to control and / or communication of constituent elements of the electronic device 300, and may be composed of one or more processors. The processor 310 may include Figure 1 At least some of the configuration and / or functionality of the processor 120.

[0068] According to various embodiments, although arithmetic operations and data processing functions that the processor 310 can implement in the electronic device 300 may not be limited, features related to the payment process will be described in detail. The operations of the processor 310 may be performed by loading instructions stored in the memory 320.

[0069] According to various embodiments, the electronic device 300 may include one or more memories 320, and the memory 320 may include a main memory and a storage device. The main memory may be composed of a volatile memory such as a dynamic random access memory (DRAM), a static RAM (SRAM), or a synchronous dynamic RAM (SDRAM). In addition, the memory 320 may be a non-volatile memory and may include a mass storage device. The storage device may include at least one of a one-time programmable ROM (OTPROM), a PROM, an EPROM, an EEPROM, a mask ROM, a flash ROM, a flash memory, a hard disk, or a solid state drive (SSD). The memory 320 may store various file data, and the stored file data may be updated according to the operation of the processor 310.

[0070] According to various embodiments, the display 330 may display various images under the control of the processor 310. The display 330 may be implemented by any one of a liquid crystal display (LCD), a light emitting diode (LED) display, or an organic light emitting diode (OLED) display, but the implemented display is not limited thereto. The display 330 may be formed as a touch screen that detects a touch and / or a proximity touch (or hovering) by using a body part of a user (e.g., a fingerprint) or an input device (e.g., a stylus). The display 330 may include Figure 1 At least some of the configuration and / or functions of the display module 160 .

[0071] According to various embodiments, the display 330 may be at least partially flexible and may be implemented as a foldable display or a rollable display.

[0072] According to various embodiments, the communication module 330 may communicate with an external device through a wireless network under the control of the processor 310. The communication module 330 may include a hardware module and a software module for sending or receiving data from a cellular network (e.g., a long term evolution (LTE) network, a 5G network, or a new wireless (NR) network) and a local area network (e.g., Wi-Fi or Bluetooth). The communication module 330 may include Figure 1 At least some of the configuration and / or functionality of the communication module 190 .

[0073] The electronic device 300 may communicate with the communication module 330 by using a communication module (eg, Figure 2 The electronic device 300 may use an NFC module 127 of the external device 302 to communicate with the external device 302. The electronic device 300 may receive information related to the external device 302 from the external device 302 based on the communication.

[0074] The external device 302 may communicate with the electronic device 300 based on communication by driving power. According to various embodiments, the external device 302 may communicate with the electronic device 300 based on the manual communication module 127 that does not require power.

[0075] According to various embodiments, the processor 310 may: display at least one image and / or text related to the payment information on the display 330 in response to at least a portion of the user input; determine whether to start the payment process using the electronic device 300 in response to the recognition of user authentication; send a first signal for requesting authentication to the external device 302 in response to recognizing that the external device 302 is approaching within a predetermined distance from the electronic device 300, and send a second signal related to the payment process by using the communication module 340 in response to recognizing the authentication of the external device 302; determine whether to complete the payment process using the electronic device 300 in response to recognizing the response of the external device 302 to the second signal, and send a third signal to the external device 302 indicating that the payment process has been completed by using the communication module 340 in response to determining that the payment process is completed; and control the external device to be in a non-tradable state in response to the situation where the response of the external device 302 to the third signal cannot be recognized within a predetermined time after the third signal is sent.

[0076] According to an embodiment, the processor 310 may: in response to identifying the storage of data related to a payment process in an uncompleted state, output information indicating the existence of a transaction stored in an uncompleted state on the display 330; and output transaction information stored in an uncompleted state on the display 330 in response to user input.

[0077] Figure 4 A communication scenario between a wallet applet and a wallet application of an electronic device according to various embodiments is shown.

[0078] According to various embodiments, an electronic device (e.g., Figure 3 The electronic device 300 may include a wallet applet. The electronic device 300 may perform offline payments by using the wallet applet. In addition, the electronic device 300 may include a wallet driven in the form of an application on a separate secure processor rather than in the form of an applet. The applet may refer to at least one application inside the embedded secure element (eSE) 401. Regardless of the medium (e.g., terminal (phone), wearable device, and IC card), the applet standard may be the same. However, the IC card may not include an application processor (AP) 403, and may be operated without the operation of an application by using an NFC module (e.g., Figure 2 The NFC module 127) works based on the command received.

[0079] According to an embodiment, the wallet applet may include at least one of a wallet state 410 , a transaction process 412 , an internal buffer 414 , a phase log 416 , a transaction log 418 , a wallet key 420 , and a balance 422 .

[0080] The electronic device 300 can manage the process state of the wallet by using the wallet state 410. For example, if there is a transaction currently in progress, the electronic device 300 can prevent the progress of a new transaction by using the wallet state 410. The electronic device 300 can recognize that the transaction currently in progress has ended by using the wallet state 410, and can control to continue the new transaction. The electronic device 300 can execute the requested transaction by using the transaction process 412. The electronic device 300 can temporarily store in the internal buffer 414 the payment process to the external device (e.g., Figure 3 external device 302) or from an external device (e.g., Figure 3 The electronic device 300 may store data received from an external device 302 of the electronic device 300, and after the payment process with the external device 302 is completed, the electronic device 300 may initialize the internal buffer 414. The electronic device 300 may store a log of ongoing transactions on the stage log 416. The log of ongoing transactions may include at least one of the transaction status, the wallet public keys of the sender and the receiver, the wallet identifiers of the sender and the receiver, the transaction identifier (ID) between the sender and the receiver, the signature message of the sender and the receiver, and the transaction amount. The electronic device 300 is able to prevent duplicate spending in the transaction situation between the sender and the receiver by using the transaction identifier (ID) between the sender and the receiver. Duplicate spending may mean a situation in which, after paying the value stored in the original file, payment is made to another entity again by copying the corresponding file that has been paid.

[0081] The electronic device 300 may store a log that the transaction has been completed on the transaction log 418. The log of the completed transaction may include at least one of the transaction status, the wallet public keys of the sender and the receiver, the wallet identifiers of the sender and the receiver, the transaction identifier (ID) between the sender and the receiver, the signature message of the sender and the receiver, and the balance after the transaction. The electronic device 300 may send a certificate to the external device 302 or receive a certificate from the external device 302 by using the wallet key 420 when the transaction starts the operation. The wallet key 420 may include a public key and a certificate for verifying the wallet during the payment process. The electronic device 300 may store the balance of the wallet in the balance 422.

[0082] According to an embodiment, the application processor (AP) 403 may transmit payment information about the wallet applet to the wallet application 405. In this process, the application processor (AP) 403 may transmit events occurring during contactless communication (e.g., communication) to the wallet application 405 by using the host controller interface (HCI) 407.

[0083] Figure 5a An offline money transfer process of an electronic device according to various embodiments is shown. Figure 5b An offline payment process of an electronic device according to various embodiments is illustrated.

[0084] according to Figure 5a , the electronic device 500 may include Figure 3 At least some of the configurations and functions of the electronic device 300. The electronic device 500 can operate as a sender of a transfer during a payment process with an external device (e.g., the external device 302). For example, the external device 302 may include at least one of a shape 502a of a wearable device, a shape 502b of an IC card, and a shape 502c of a mobile terminal. The external device 302 can operate as a receiver of the payment during the payment process. In this case, the electronic device 500 can be maintained in a proximity coupling device (PCD) mode or a reader mode in which it operates as a reader device. Relevant standards for the proximity coupling device (PCD) mode or the reader mode may include ETSI 102 622. The external device 302 can be maintained in a proximity integrated circuit card (PICC) mode or a card mode in which it operates as a card.

[0085] according to Figure 5b ,and Figure 5a In contrast, the electronic device 500 can function as a POS device in the payment process with the external device 302. Like a POS device, the electronic device 500 can record payment history and continue to make payments by receiving payment information from multiple external devices. Figure 5aIn the example, the electronic device 500 may not be able to make a new payment with another external device 302 while making a payment once. For example, if it is assumed that the electronic device 500 is performing a payment with the wearable device 502a, it may be difficult for the electronic device 500 to make a new payment with the IC card 502b until the corresponding payment is completed. Figure 5b In the case of, even when making a payment with the wearable device 502a, the electronic device 500 can simultaneously make a new payment with the IC card 502b, or can make a new payment with another mobile terminal 502c. In this case, the electronic device 500 and another external device (e.g., the wearable device 502a, the IC card 502b, or another mobile terminal 502c) can communicate with each other by using a communication module (e.g., Figure 3 The communication type between the electronic device 500 and another external device (eg, a wearable device 502a, an IC card 502b, or another mobile terminal 502c) may include, for example, near field communication (NFC).

[0086] Figure 6a and Figure 6b A general transaction process when the electronic device is offline according to various embodiments is shown.

[0087] according to Figure 6a , the application 612 of the electronic wallet A may receive a first command for remitting a specific amount (e.g., x won) from the user 600 of the electronic wallet A who has performed the user authentication 602a to another external device (e.g., electronic wallet B). The first command may mean a remittance transaction start command. The application 612 of the electronic wallet A may, in response to the first command, transfer the electronic device (e.g., Figure 3 The electronic device 300) changes to a reader mode and may transmit information indicating the start of a money transfer transaction to the electronic wallet applet A 610 in response to recognizing the first command. The electronic wallet applet A 610 may start polling (618a) in response to recognizing the information indicating the start of a money transfer transaction. Polling may be an operation contrasted with an interrupt. Polling may mean an operation of identifying the state of a processor at predetermined intervals. An interrupt may mean an operation of identifying the state of a processor in response to sensing a particular event. An electronic device (e.g., Figure 3 The electronic device 300) can search for an external device (eg, Figure 3 The electronic device 300 may transmit and / or receive data for conducting a transaction with the external device 302 that has been searched according to the polling operation.

[0088] After the polling is completed, the e-wallet applet A 610 may send information indicating that it is ready to work in the reader mode on the application 612 of the e-wallet A (616a). The e-wallet applet A 610 may recognize the contact of the e-wallet applet B 620, and may send a command for selecting the e-wallet applet B 620 to the e-wallet applet B 620 (626a). The e-wallet applet B 620 may receive the command for selecting the e-wallet applet B 620, and may send at least one of information indicating the ID of the e-wallet applet B 620, information indicating the applet version, and restriction information to the e-wallet applet A 610 (628a).

[0089] E-wallet applet A 610 may request an e-wallet certificate (Cert_B) (630a) from e-wallet applet B 620 in response to identifying the ID of e-wallet applet B 620, and e-wallet applet B 620 may send an e-wallet certificate (Cert_B) (632a) to e-wallet applet A 610 in response to the request from e-wallet applet A 610. E-wallet applet A 610 may receive the e-wallet certificate (Cert_B) from e-wallet applet B, and may verify the received certificate (Cert_B). If the verification of the e-wallet certificate (Cert_B) has been successful, the e-wallet applet A 610 may extract the public key (PK_B) of the e-wallet applet B 620 from the e-wallet certificate (Cert_B). The e-wallet applet A 610 may identify that the other party who has sent the message is the user of the e-wallet B by using the extracted public key (PK_B). The electronic wallet applet A 610 can verify the message including the signature of the user of the electronic wallet B by using the extracted public key (PK_B). The electronic wallet applet A 610 can generate a random byte A (Random A) for transaction identification, and can send it to the electronic wallet applet B 620 (636a) together with its own certificate (Cert_B) and the remittance transaction initiation command.

[0090] The electronic wallet applet B 620 can verify the certificate (Cert_A) of the electronic wallet applet A 610, and can extract the public key (PK_A) of the electronic wallet applet A 610. The electronic wallet applet B 620 can generate a random byte B (random B) for transaction identification, and can generate a transaction ID (or transID) together with the received random byte A (random A). The electronic device 300 can use the transaction ID to not only distinguish the IDs of the devices involved in the payment, but also distinguish what kind of transaction is performed. For example, if there is a remittance of 10,000 won and a remittance payment of 20,000 won between electronic devices A and B, the electronic device A can distinguish that the other party of the payment is the electronic device B, and can also distinguish whether the payment is a remittance of 10,000 won or a remittance of 20,000 won. The transaction amount is merely exemplary, and the transaction history can be distinguished not only based on the transaction amount but also based on the transaction date.

[0091] The electronic wallet applet B 620 may generate a message to be signed after defining the transaction ID, and may generate a signed message (sig_B) (638a) by signing with the secret key (SK_B) of the electronic wallet applet B 620. The signed message may include content related to at least one of the transID, transaction amount, ID_A, ID_B, PK_A (or CERT_A), and PK_B (or Cert_B). The electronic wallet applet B 620 may implement the signed message (sig_B) by using the secret key (SK_B). The electronic wallet applet A 610 may read the signed message (sig_B) by using the public key (PK_B).

[0092] Thereafter, the electronic wallet applet B 620 may send a signature message (sig_B) and a random byte B (random B) to the electronic wallet applet A 610 (640a). The electronic wallet applet A 610 may obtain the transaction ID by using the received random byte B (random B), and may generate a signature message identical to the signature message of the electronic wallet applet B 620. The electronic wallet applet A 610 may verify the signature message (sig_B) by using the generated signature message and the public key (PK_B). The electronic wallet applet A 610 may obtain information related to at least one of the transID, the transaction amount, ID_A, ID_B, PK_A (or CERT_A), and PK_B (or Cert_B). If the verification of the signature message (sig_B) has been successful, the electronic wallet applet A 610 may generate a signature message (sig_A) (642a) by using its own signature key (SK_A). The electronic wallet applet B620 may verify the signature message (sig_A) by using the public key (PK_A). The electronic wallet applet B620 may identify whether the electronic wallet applet A610 has performed the transaction based on the result of the verification. The electronic wallet applet B620 may confirm the transaction based on identifying that the electronic wallet applet A610 has performed the transaction.

[0093] according to Figure 6b , the electronic wallet applet A 610 may send a remittance transaction operation command (650b) including sig_A and a transaction ID to the electronic wallet applet B 620. The electronic wallet applet B 620 may ensure the security of the transaction-related information by searching for the ongoing transaction corresponding to the received transaction ID, and may verify the received sig_A by using PK_A. If the verification is successful, the electronic wallet applet B 620 may generate a receipt signature (receiptsig_B) with the secret key SK_B by adding a mark indicating that the transaction is completed to the previously generated signature message. Thereafter, the electronic wallet applet B 620 may wait for the balance to increase by x won as a result of the remittance transaction. Here, the x won increase waiting state of the balance may mean that the corresponding amount is expected to be reflected on the balance, but is in a state that cannot be used before the transaction completion instruction is executed. In addition, the electronic wallet applet B 620 may be controlled not to exert an influence on the balance, or may be controlled not to start a new transaction before the transaction is completed, although the user may see that the balance is reflected (652b).

[0094] Electronic wallet applet B 620 may reply receiptsig_B (654b) to electronic wallet applet A 610 in response to the remittance transaction execution command. Electronic wallet applet A 610 may generate a signature message in the same manner as electronic wallet applet B 620, and may verify the transmitted receiptsig_B by using PK_B. Electronic wallet applet A 610 may identify whether electronic wallet applet B 620 has completed the transaction by verifying receiptsig_B. If the verification is successful, electronic wallet applet A 610 may generate a signature receiptsig_A by using SK_A. Signature receiptsig_A may include information indicating that electronic wallet applet A 610 has completed the transaction and that the balance of wallet A has been reduced by x won. After reducing the balance of wallet A by x won and switching the transaction to the completed state, electronic wallet applet A 610 may generate a signature receiptsig_A and may send the signature receiptsig_A to electronic wallet applet B 620 ( 656b ).

[0095] The electronic wallet applet A 610 may send a remittance transaction completion instruction (658b) including receiptsig_A and transID to the electronic wallet applet B 620. The electronic wallet applet B 620 may ensure the security of transaction-related information by searching for transactions corresponding to transID. The electronic wallet applet B 620 may verify the signature (receiptsig_A) by using PK_A, and if the verification is successful, the electronic wallet applet B 620 may confirm that the balance of wallet B has increased by x won, and may switch to the transaction completion state (660b).

[0096] According to an embodiment, if the device of the electronic wallet applet B 620 supports HCI EVT, the electronic wallet applet B 620 may send a remittance transaction success event to the electronic wallet B application 622, and the electronic wallet B application 622 may obtain the current balance from the electronic wallet applet B 620 by detecting the success event. The electronic wallet B application 622 may display information indicating the success of the transaction to user B (662b), and may display information indicating the balance (674b).

[0097] According to an embodiment, electronic wallet applet B 620 may reply to electronic wallet applet A 610 whether the transaction has been successful in response to the remittance transaction completion command (664b). Electronic wallet applet A 610 may receive whether the remittance transaction has been successful, may send a remittance transaction success event to electronic wallet A application 612 through HCI EVT (666b), and may stop polling (668b). Electronic wallet A application 612 may display to user A at least one of information indicating that the remittance transaction has been successful and information indicating the current balance of electronic wallet A (672b).

[0098] According to an embodiment, the electronic device 300 can separately manage the log of the ongoing transaction (stage log) and the log of the completed transaction (transaction log), and when requesting a new transaction or an ongoing transaction, the electronic device 300 can perform an operation corresponding to the ongoing transaction information. The electronic device 300 can simultaneously support the NFC reader mode and the card mode. In this case, the electronic device 300 can separately store and manage the log records of the reader stage and the log records of the card stage.

[0099] According to an embodiment, in the NFC card mode state, the electronic device 300 can control to manage only one ongoing transaction. If a new transaction is requested in the state where there is a transaction that is unexpectedly stopped during the ongoing process, the electronic device 300 can control to delete the corresponding transaction or complete the existing transaction according to the status of the transaction (to be described below). The electronic device 300 can manage a list of several ongoing transactions in the NFC reader mode, and in the case of NFC contact, the electronic device 300 can control to obtain information based on the tag or the card approaching the electronic device 300 to a predetermined distance, and complete the ongoing transaction according to the transaction status.

[0100] According to an embodiment, the electronic device 300 may manage the status of an ongoing transaction. The status of an ongoing transaction may include: a first state (being executed), in which the transaction is in progress; a second state (finalized), in which the transaction approval of the two participants has been completed, and the balance increase / decrease of the wallet of any of these participants may have been completed; and a third state (completed), i.e., a transaction completion state. In the event that the transaction is unexpectedly stopped due to an NFC off-site situation or power failure, the electronic device 300 may identify whether the corresponding transaction is in the second state. The electronic device 300 may control to complete the transaction in response to identifying that the transaction state is the second state, and if the transaction has not been completed, the electronic device 300 may change the transaction state to a non-tradable state so that a new transaction cannot be performed. The electronic device 300 may move the corresponding transaction history record to the completed transaction log in response to identifying that the transaction state is the third state.

[0101] Figure 6c and Figure 6d A UI displayed on a screen of an electronic device according to various embodiments is shown.

[0102] Figure 6c Shown in Figure 6a Operation 604a of the electronic device 300 is a screen of the electronic device 300 in the operation of requesting user authentication by the electronic device 300. The electronic device 300 may display a screen for requesting user authentication using the display 330. The electronic device 300 may control to verify the content of the user authentication in response to recognizing the user authentication and to continue the remittance when the authentication is completed.

[0103] Figure 6d Shown in Figure 6a Operation 624a is a screen of the electronic device 300 in an operation in which the electronic device 300 requests access to the external device 302. The electronic device 300 may display a screen for requesting access to the external device 302 using the display 330.

[0104] Figure 6e is a diagram illustrating a situation in which an electronic device and an external device approach each other according to various embodiments.

[0105] refer to Figure 6e , external devices (e.g. Figure 3 The external device 302 may be in a state where it is close to the first electronic device (eg, Figure 3 When the external device 302 approaches to the electronic device 300 within a predetermined distance or contacts the electronic device 300, the external device 302 may be connected to the electronic device 300 using a near field communication method. Figure 6e Although the description will be made assuming that the external device 302 is a terminal, the type of the external device 302 that can approach the electronic device 300 is not limited thereto, and may further include Figure 5a Various types of external devices (e.g., wearable device 502a, IC card 502b, and mobile terminal 502a).

[0106] According to various embodiments, the near field communication method may be NFC, and the electronic device 300 may be an electronic device including an NFC tag. The external device 302 may be an electronic device capable of reading an NFC tag.

[0107] According to various embodiments, the external device 302 may send a data transmission request message to the electronic device 300 in response to the near field communication device being connected to the electronic device 300. The electronic device 300 may send a response message in response to receiving the data transmission request message.

[0108] According to various embodiments, the external device 302 may perform authentication of the electronic device 300 by using the response information transmitted by the electronic device 300. The external device 302 may receive content from an external server (not shown) based on the authentication result of the electronic device 300 and may provide the content to a user of the external device 302.

[0109] Figure 6f A UI displayed on a screen of an electronic device according to various embodiments is shown.

[0110] Figure 6f Shown in Figure 6a Operation 636a is a screen of the electronic device 300 in which the electronic device 300 requests to start a remittance transaction. The electronic device 300 may use the display 330 to display information indicating the start of the remittance transaction to the user, and may continue the remittance transaction in response to a user response.

[0111] Figures 7a to 7e Transaction processes and error scenarios when the electronic device is offline are illustrated according to various embodiments.

[0112] according to Figure 7a , the application 712 of the electronic wallet A may receive a first instruction for remitting a specific amount (e.g., x Korean won) from the user 600 of the electronic wallet A who has performed the user authentication 702a to another external device (e.g., electronic wallet B). In response to recognizing the first command, the application 712 of the electronic wallet A may, in operation 706a, transfer the electronic device (e.g., Figure 3 The electronic device 300 of the electronic wallet A is changed to a reader mode, and information indicating the start of the remittance transaction can be transmitted to the electronic wallet applet A710. The electronic wallet applet A710 can identify the balance of the electronic wallet A, and can send information indicating the insufficient balance to the application 712 of the electronic wallet A in response to the insufficient balance. The application 712 of the electronic wallet A can transmit information indicating the insufficient balance to the user (708a). In addition, the electronic wallet applet A710 can send information indicating that the transaction is impossible to the application 712 of the electronic wallet A. The application 712 of the electronic wallet A can display to the user information indicating that the previous transaction was not completed and therefore a new transaction is impossible, and can display to the user information indicating that the previous transaction is to be completed (714a).

[0113] The electronic wallet applet A710 may start polling in response to identifying the information indicating the start of the remittance transaction (716a). The electronic device 300 may search for an external device (e.g., Figure 3The electronic device 300 may transmit and / or receive data for conducting a transaction with the external device 302 that has been searched according to the polling operation.

[0114] After the polling is completed, the e-wallet applet A 710 may send information indicating that it is ready to work in the reader mode on the application 712 of the e-wallet A (718a). The e-wallet applet A 710 may recognize the contact of the e-wallet applet B 720, and may send a command for selecting the e-wallet applet B 720 to the e-wallet applet B 720 (722a). The e-wallet applet B 720 may receive the command for selecting the e-wallet applet B 720, and may send information indicating the ID of the e-wallet applet B 720 to the e-wallet applet A 710 (724a).

[0115] The electronic wallet applet A 710 can identify the transaction being performed by the electronic wallet B by using the information indicating the ID of the electronic wallet applet B 720, and can identify whether there is a transaction consistent with at least one of the transaction amount, transaction date, and transaction subject (726a). The electronic wallet applet A 710 can request the electronic wallet certificate (Cert_B) (728a) from the electronic wallet applet B 720 in response to identifying whether there is a transaction consistent with at least one of the transaction amount, transaction date, and transaction subject. The electronic wallet applet B 720 can send the electronic wallet certificate (Cert_B) (730a) to the electronic wallet applet A710 in response to the request of the electronic wallet applet A710. The electronic wallet applet A710 can receive and verify the electronic wallet certificate (Cert_B) from the electronic wallet applet B 720.

[0116] If the verification of the electronic wallet certificate (Cert_B) has succeeded, the electronic wallet applet A710 can extract the public key (PK_B) of the electronic wallet applet B 720. The electronic wallet applet A710 can generate random bytes A (Random A) (732a) for transaction identification. If the verification of the electronic wallet certificate (Cert_B) has failed, the electronic wallet applet A610 can send information indicating that the certificate verification has failed to the application 712 of the electronic wallet A, and the application 712 of the electronic wallet A can display to the user that the other party is an invalid wallet whose certificate verification has failed, and thus information indicating that the transaction cannot be performed can be displayed to the user. Thereafter, the electronic device 300 can enter a state in which it waits for an external device (e.g., Figure 3 After that, the electronic wallet applet A710 can return to the access mode of the external device 302) (734a). Figure 7aNode 1 of the electronic wallet applet A710, and polling can be started in response to identifying information indicating the start of a remittance transaction (716a). Hereinafter, "turn 1" in the figure may mean that the electronic wallet applet A710 returns to the operation of node 1, and polling can be restarted in response to identifying information indicating the start of a remittance transaction.

[0117] according to Figure 7b , the electronic wallet applet A 710 may send indication information to the electronic wallet applet B 720, the indication information including at least one of transaction information (e.g., transaction amount of x won), random bytes A (random A) for transaction identification, and a remittance transaction start command (702b). The electronic wallet applet B 720 may identify whether there is an ongoing transaction between the electronic wallets A and B in response to receiving the indication information (704b). The electronic wallet applet B 720 may identify that there is an ongoing transaction between the electronic wallets A and B, and may identify the status of the ongoing transaction. The status of the ongoing transaction may include: a first state in which the transaction is in progress; a second state in which the transaction approval of the two participants has been completed and the increase and decrease of the balance of the wallet of any of these participants may have been completed; and a third state, i.e., a transaction completion state.

[0118] The electronic wallet applet B 720 may control to continue the new transaction after the initialization of the ongoing transaction history in response to recognizing that the ongoing transaction state is the first state. The electronic wallet applet B 720 may control to continue the new transaction, may send information indicating that the electronic wallet B is a non-tradable card to the application 722 of the electronic wallet B, and for the new transaction, the ongoing transaction should be completed or canceled in response to recognizing that the ongoing transaction state is the second state (712b). The application 722 of the electronic wallet B may display information indicating that the electronic wallet B is a non-tradable card to the user, and for the new transaction, the ongoing transaction should be completed or canceled.

[0119] In response to recognizing that the status of the ongoing transaction is the second status, the electronic wallet applet B 720 may send information indicating that the electronic wallet B is a non-tradable card to the electronic wallet applet A 710 (706b). Thereafter, the electronic wallet applet A 710 may return to Figure 7aNode 1 of the electronic wallet applet A 710 and may start polling in response to identifying information indicating the start of a remittance transaction. The electronic wallet applet A 710 may send information indicating that the electronic wallet B is a non-tradable card to the application 712 of the electronic wallet A (708b). The application 712 of the electronic wallet A may display information indicating that the electronic wallet B is a non-tradable card to the user and that for a new transaction, the ongoing transaction of the electronic wallet B should be completed or canceled. The electronic device 300 may enter a state in which it is waiting for an external device (e.g., Figure 3 The access mode (710b) of the external device 302).

[0120] According to an embodiment, it may be difficult for electronic wallet B to continue the transaction due to exceeding the holding limit. In this case, electronic wallet applet B 720 may send information indicating that electronic wallet B is a non-tradable card due to exceeding the holding limit to the application 722 of electronic wallet B (714b). Electronic wallet applet A 710 may send information indicating that electronic wallet B is a non-tradable card to the application 712 of electronic wallet A (716b). The application 712 of electronic wallet A may display information indicating that electronic wallet B is a non-tradable card to the user. The electronic device 300 may enter a state in which it waits for an external device (e.g., Figure 3 The access mode (718b) of the external device 302).

[0121] According to an embodiment, due to the failure of the certificate verification of the electronic wallet A, it may be difficult for the electronic wallet B to continue the transaction. In this case, the electronic wallet applet B 720 may send information indicating that the electronic wallet A is a non-tradable card due to the failure of the certificate verification to the application 722 of the electronic wallet B (726b). The electronic wallet applet B 720 may send information indicating that the electronic wallet A is a non-tradable card due to the failure of the certificate verification to the electronic wallet applet A 710 (722b). The electronic wallet applet A 710 may return to Figure 7a Node 1 of the electronic wallet applet A 710 and may start polling in response to identifying information indicating the start of a remittance transaction. The electronic wallet applet A 710 may send information to the electronic wallet A application 712 indicating that the transaction has been rejected due to a verification failure of the certificate (Cert_A) (724b). The electronic wallet A application 712 may display to the user information that the transaction has failed due to an unexpected error caused by the verification failure of the certificate (Cert_A). The electronic device 300 may enter a state in which it waits for an external device (e.g., Figure 3 The external device 302) asks the mode (730b).

[0122] according to Figure 7c, the electronic wallet applet B 720 may generate a message to be signed after defining the transaction ID, and may generate a signed message (sig_B) by signing with the secret key (SK_B) of the electronic wallet applet B 720. The signed message may include content related to at least one of the transID, the transaction amount, ID_A, ID_B, PK_A (or CERT_A), and PK_B (or Cert_B).

[0123] The electronic wallet applet A 710 may receive a random byte B (random B) and a signature message (sig_B) for transaction identification from the electronic wallet applet B 720 (702c). The electronic wallet applet A 710 may recognize that the communication (e.g., NFC session) has ended before the random byte B (random B) and the signature message (sig_B) for transaction identification are received from the electronic wallet applet B 720 after the remittance transaction start command is sent. In this case, the electronic wallet applet A 710 may return to Figure 7a Node 1 of the electronic device 300 and may begin polling in response to identifying information indicating the start of a remittance transaction. If the communication (e.g., NFC session) stops during the transaction, the electronic wallet applet A 710 may send information indicating that the communication has stopped to the application 712 of the electronic wallet A (704c). The application 712 of the electronic wallet A may display information to the user indicating that the transaction has stopped due to the stop of communication. Thereafter, the electronic device 300 may enter a state in which it is waiting for an external device (e.g., Figure 3 The access mode (706c) of the external device 302).

[0124] The electronic wallet applet A 710 may receive a random byte B (random B) and a signature message (sig_B) for transaction identification from the electronic wallet applet B 720 (702c). The electronic wallet applet A 710 may obtain the TransID by using the received random byte B (random B), and may verify the signature message (sig_B) by using the public key (PK_B) (708c). If the verification has failed, the electronic wallet applet A 710 may send information to the application 712 of the electronic wallet A indicating that the signature verification of the electronic wallet B has failed (714c). In this case, the electronic wallet applet A 710 may return to Figure 7a Node 1 of the electronic wallet A and may start polling in response to identifying information indicating the start of a remittance transaction. Application 712 of electronic wallet A may display information to the user indicating that the transaction has been stopped due to the failure of signature verification of electronic wallet B. Thereafter, electronic device 300 may enter a state in which it waits for an external device (e.g., Figure 3 mode (716c) of the external device 302)

[0125] If the verification has succeeded, the e-wallet applet A710 may generate a signature message (sig_A) (720c) by using its own signature key (SK_A). The e-wallet applet A710 may send a remittance transaction execution command including sig_A and transID to the e-wallet applet B 720 (722c). The e-wallet applet B 720 may ensure the security of transaction-related information by searching for the transaction corresponding to the received transID, and may verify the received sig_A by using PK_A. If the ongoing transaction corresponding to the received transID does not exist, or if the transaction is impossible due to exceeding the holding limit of the e-wallet B, the e-wallet applet B 720 may send information to the e-wallet applet A710 indicating that the transaction has failed because the conditions of the e-wallet B are not met (724c). The e-wallet applet A 710 may delete the corresponding transaction record in response to receiving the information indicating that the transaction has failed because the conditions of the e-wallet B are not met (726c). In this case, the e-wallet applet A710 may return to Figure 7a Node 1 of the electronic wallet applet A 710 identifies the information indicating the start of the remittance transaction and starts polling. The electronic wallet applet A 710 may send information indicating that the transaction has ended due to the failure of the condition check of the electronic wallet B (728c) to the application 712 of the electronic wallet A. The application 712 of the electronic wallet A may display to the user information indicating that the transaction has stopped due to the failure of the condition check of the electronic wallet B. Thereafter, the electronic device 300 may enter a state in which it waits for an external device (e.g., Figure 3 mode of access to the external device 302).

[0126] according to Figure 7d, the electronic wallet applet B 720 may switch the state of the corresponding transaction to the first state in response to the state of the transaction corresponding to the transaction ID being the second state (702d). The first state may mean a state in which the transaction is in progress, and the second state may mean a state in which the transaction approval of the two participants has been completed and the balance increase / decrease of the wallet of any of the participants may have been completed. The electronic wallet applet B 720 may verify the signature message (sig_A) (704d) by using the public key (PK_A) after switching the state of the transaction corresponding to the transaction ID to the first state. The electronic wallet applet B 720 may delete the corresponding transaction history record (706d) in response to the failure of the verification of the signature message (sig_A), and may send information indicating that the verification of the signature message (sig_A) has failed to the application 722 of the electronic wallet B (708d). The electronic wallet applet B 720 may send information indicating that the transaction of the electronic wallet A is impossible due to the failure of the verification of the signature message (sig_A) to the electronic wallet applet A710 (714d). The electronic wallet applet A710 can delete the corresponding transaction history (716d) and return to Figure 7a Node 1 of , can identify information indicating the start of the remittance transaction, and can start polling. Electronic wallet applet B 720 can send information indicating that the transaction has been rejected due to the failure of verification of the signature message (sig_A) to the application 712 of electronic wallet A (718d). The application 712 of electronic wallet A can display information to the user, indicating that the transaction has failed due to an unexpected error caused by the failure of verification of the signature message (sig_A). The electronic device 300 can enter a mode in which it waits for access from the external device 302 (720d).

[0127] Electronic wallet applet B 720 can ensure the security of transaction-related information by searching for ongoing transactions corresponding to the received transaction ID, and can verify the received sig_A by using PK_A. If the verification is successful, the electronic wallet applet B 720 can generate a signature (receiptsig_B) by adding a tag indicating that the transaction is completed to the previously generated signature message using the secret key SK_B. Thereafter, the electronic wallet applet B 720 can wait for the balance to increase by x won as a result of the remittance transaction. Here, the balance increase x won waiting state can mean that the corresponding amount is expected to be reflected in the balance immediately, but it is in an unusable state before executing the transaction completion instruction. Electronic wallet applet B 720 can store the transaction status as a second state (722d). Electronic wallet applet B 720 can reply receiptsig_B (724d) to the electronic wallet applet A710 in response to the remittance transaction execution command.

[0128] The electronic wallet applet A710 can generate a signature message in the same manner as the electronic wallet applet B 720, and can verify the transmitted receiptsig_B by using PK_B. If the verification is successful, the electronic wallet applet A710 can generate a receipt signature receiptsig_A by using SK_A. If all these processes have been completed, the electronic wallet applet A710 can switch the transaction to a completed state by reducing the balance of wallet A by x won. The electronic wallet applet A710 can send a remittance transaction completion instruction including receiptsig_A and transID to the electronic wallet applet B 720.

[0129] The electronic wallet applet A 710 may confirm the end of the communication with the external device 302 in the response waiting state after sending the remittance transaction completion command including receiptsig_A and TransID to the electronic wallet applet B 720, and may add the corresponding transaction information to the blacklist (726d). In this case, the electronic wallet applet A 710 may return to Figure 7a Node 1 of the electronic wallet A recognizes the information indicating the start of the remittance transaction and starts polling. If the communication with the electronic wallet A application 712 is stopped and the transaction is stopped, the electronic wallet applet A 710 may send information indicating a retry of communication (728d). The electronic wallet A application 712 may display information to the user indicating that the transaction is stopped due to the stop of communication and that the communication will be retried, and may display a request to access the external device again (e.g., Figure 3 Thereafter, the electronic device 300 may enter a state where it is waiting for the external device (eg, Figure 3 The electronic wallet applet B 720 may send information indicating that the transaction is stopped due to the stop of communication and that communication will be retried to the application 722 of the electronic wallet B (732d).

[0130] The electronic wallet applet A 710 may send a remittance transaction completion instruction including receiptsig_A and transID to the electronic wallet applet B 720. The electronic wallet applet B 720 may make the transaction-related information safe by searching for the transaction corresponding to the transID. The electronic wallet applet B 720 may verify the signature (receiptsig_A) by using PK_A, and if the verification is successful, the electronic wallet applet B 720 may confirm that the balance of wallet B is increased by x won, and may switch to the transaction completion state (660b). If the verification is successful, the electronic wallet applet B 720 may generate a receipt signature (receiptsig_B) using the secret key SK_B by adding a tag indicating that the transaction is completed to the previously generated signature message. Thereafter, the electronic wallet applet B 720 may wait for the balance to increase by x won as a result of the remittance transaction. Here, the balance increase x won waiting state may mean that the corresponding amount is expected to be reflected immediately on the balance, but is in an unusable state before the transaction completion instruction is executed. The electronic wallet applet B 720 may store the transaction status as the third status. The electronic wallet applet B 720 may reply receiptsig_B to the electronic wallet applet A 710 in response to the remittance transaction execution command.

[0131] According to an embodiment, the electronic wallet applet A710 may send information (736d) to the application 712 of the electronic wallet A indicating that the verification of receiptsig_B has failed and it is necessary to retry the verification to complete the transaction. If an unexpected error has occurred due to the failure of the verification of receiptsig_B and the verification has not been completed, the application 712 of the electronic wallet A may display to the user information indicating that the transaction status may be a non-tradable state if the verification is not completed. In addition, the application 712 of the electronic wallet A may display to the user information indicating that it is necessary to access the external device 302 again in order to complete the transaction. Thereafter, the electronic device 300 may enter a state in which it waits for the external device (e.g., Figure 3 In this case, the electronic wallet applet A710 may return to the access mode of the external device 302) (738d). Figure 7a Node 1 recognizes the information indicating the start of the remittance transaction and starts polling.

[0132] According to an embodiment, the e-wallet applet A 710 may cancel the transaction in response to the failure of the verification of receiptsig_B, and may send a transaction cancellation command to the e-wallet applet B 720 indicating that the transaction has failed and the transaction has been finally canceled.

[0133] according to Figure 7e, the electronic wallet applet A710 can generate a receipt signature (receiptsig_A) with SK_A, and can reduce the balance by x won. If the transID exists in the blacklist, the electronic device 300 can delete the transID from the blacklist and can process it as if the transaction is completed (702e). Thereafter, the electronic wallet applet A710 can send the transaction ID and receipt signature (receiptsig_A) to the electronic wallet applet B 720 (704e). The electronic wallet applet B720 can verify the receipt signature (receiptsig_A) by using the public key (PK_A) (706e). The electronic wallet applet B720 can send information to the electronic wallet applet A710 indicating that the verification of the receipt signature (receiptsig_A) has failed and the transaction has not been completed (714e). The electronic wallet applet A 710 may regenerate the receipt signature (receiptsig_A) in response to receiving information indicating that the verification of the receipt signature (receiptsig_A) has failed and the transaction has not been completed (716e). The electronic wallet applet A 710 may send information indicating that the verification of the receipt signature (receiptsig_A) has failed and the transaction has not been completed to the application 712 of the electronic wallet A (718e). The electronic wallet applet A 710 may send the regenerated receipt signature (receiptsig_A) to the electronic wallet applet B 720 (720e). The electronic wallet applet B 720 may verify the regenerated receipt signature (receiptsig_A) again. If the verification of the receipt signature (receiptsig_A) has succeeded, the electronic wallet applet B 720 may confirm that the balance has increased, delete the transaction progress information after the transaction is completed, and classify and store the completion information separately (722e). The electronic wallet applet B 720 may send information indicating that the transaction has been completed to the application 722 of the electronic wallet B (726e). The electronic wallet applet B 720 may send information indicating that the transaction has been completed to the electronic wallet A 710 (724e).

[0134] According to an embodiment, the electronic wallet applet A 710 may recognize that the communication has ended before receiving information indicating that the transaction has been completed from the electronic wallet applet B 720. In this case, the electronic wallet applet A 710 may stop polling (732e), and may send information indicating that the communication has ended and will try the communication connection again to the application 712 of the electronic wallet A (734e). The application 712 of the electronic wallet A may display information indicating that the communication has ended and will try the communication connection again to the user. The electronic wallet applet B 720 may send information indicating that the communication has ended and will try the communication connection again to the application 722 of the electronic wallet B (728e). Thereafter, if the transaction is completed, the electronic wallet applet B 720 may send information indicating that the transaction is completed and information related to the balance of the electronic wallet B to the application 722 of the electronic wallet B in response to the balance query request received from the application 722 of the electronic wallet B (730e).

[0135] According to an embodiment, the electronic wallet applet A 710 may receive information indicating that the transaction has been completed from the electronic wallet applet B 720, and may stop polling (738e). Thereafter, the electronic wallet applet A 710 may send information indicating that the transaction has been completed to the application 712 of the electronic wallet A (740e). The electronic wallet applet A 710 may receive information for requesting confirmation of the balance from the application 712 of the electronic wallet A, and correspondingly, may send information related to the balance of the electronic wallet A to the application 712 of the electronic wallet A (742e). The application 712 of the electronic wallet A may display information indicating that the transaction has been completed and information related to the balance of the electronic wallet A to the user (744e).

[0136] Figure 8a and Figure 8b A process of reconfirming payment when payment is stopped due to an error situation of an electronic device according to various embodiments is shown.

[0137] according to Figure 8a , the application 812 of the electronic wallet A may receive information indicating the progress of the stopped transaction from the user 800 of the electronic wallet A who has performed the user authentication 802a. In response to receiving the information indicating the progress of the stopped transaction, the application 812 of the electronic wallet A may transfer the electronic device (e.g., Figure 3The electronic device 300 of the present invention is changed to the reader mode, and the electronic wallet applet A 810 may be instructed to restart the money transfer transaction. The electronic wallet applet A 810 may start polling (814a) in response to recognizing the information indicating the restart of the money transfer transaction. Polling may refer to an operation in which one device periodically checks another device for the purpose of synchronization between multiple electronic devices, and if a predetermined condition is met, the device continues data processing, such as signal transmission, etc.

[0138] After polling is complete, Wallet Applet A 810 may send information to Wallet A's application 812 indicating that it is ready to operate in reader mode (808a).

[0139] The e-wallet applet A 810 may recognize the contact of the e-wallet applet B 820 and may transmit a command for selecting the e-wallet applet B 820 to the e-wallet applet B 820 (818a). The e-wallet applet B 820 may receive the command for selecting the e-wallet applet B 820 and may transmit information indicating the ID of the e-wallet applet B 820 to the e-wallet applet A 810 (820a).

[0140] Electronic wallet applet A 810 may request a transaction history record of a second state from electronic wallet applet B 820. The second state may mean a state in which the transaction approval of two participants has been completed and the balance increase / decrease of the wallet of any one of these participants has been completed. Electronic wallet applet B 820 may identify the corresponding transaction record (824a) from the stage log in response to the request for the history of electronic wallet applet A 810, and may send relevant transaction record information (826a) to electronic wallet applet A 810. Electronic wallet applet A 810 may receive the relevant transaction record information and may verify the transaction history. Electronic wallet applet A 810 may identify whether the transaction state is the second state, whether the transaction participants are consistent with electronic wallet A and electronic wallet B, and at least one of the information about the transaction history (e.g., signature (sig_A) and receipt signature (receiptsig_B)). If the verification of the transaction history has been successful, electronic wallet applet A 810 may confirm and end the transaction.

[0141] According to an embodiment, the electronic wallet applet A 810 may request the process 816a to 826a from the online server on behalf of the electronic wallet applet B 820. In this case, the electronic wallet applet A 810 may verify the transaction history on behalf of the electronic wallet applet B 820 by receiving relevant transaction record information from the online server.

[0142] according to Figure 8b , the electronic wallet applet A 810 may receive the relevant transaction record information, and may identify whether there is a transID of the corresponding transaction in the blacklist (802b). The electronic wallet applet A 810 may change the transaction to an initial state in response to the presence of the transID of the corresponding transaction in the blacklist (804b). The electronic wallet applet A 810 may send information indicating that the transaction has been initialized to the application 812 of the electronic wallet A (806b). The application 812 of the electronic wallet A may display to the user information indicating that the transaction has been initialized and information indicating that the transaction has been restored to a previous state (808b).

[0143] The electronic wallet applet A810 may send at least one of information indicating that the transaction has been initialized, a transID for notifying the type of the transaction, and a receipt signature (receiptsig_A) (814b). Thereafter, the electronic wallet applet A810 may stop polling (820b). The electronic wallet applet B 820 may receive information indicating that the transaction has been initialized, and may determine the authenticity of the information by verifying the receipt signature (receiptsig_A). If the verification of the receipt signature (receiptsig_A) is successful, the electronic wallet applet B 820 may initialize the corresponding transaction, and may return the balance in the waiting state (e.g., x won) (816b). Thereafter, the electronic wallet applet B 820 may send information indicating that the transaction has been initialized and that the non-tradable state has been released to the application 822 of the electronic wallet B.

[0144] The electronic wallet applet A 810 may change the transaction to a confirmed state in response to the absence of a transID corresponding to the transaction in the blacklist, and may generate a receipt signature (receiptsig_A) (822b). The electronic wallet applet A 810 may send information indicating that the transaction has been confirmed, a TransID for notifying the type of the transaction, and at least one of the receipt signature (receiptsig_A) to the electronic wallet applet B 820 (824b). Thereafter, the electronic wallet applet A 810 may stop polling (828b). The electronic wallet applet A 810 may send information indicating that the transaction has been confirmed to the application 812 of the electronic wallet A (830b). The application 812 of the electronic wallet A may display information indicating that the transaction has been confirmed to the user (832b).

[0145] Electronic wallet applet B 820 may receive at least one of information indicating that the transaction has been confirmed, a transID for notifying the type of transaction, and a receipt signature (receiptsig_A). Electronic wallet applet B 820 may grasp the transaction information by using the received transID, and may verify the receipt signature (receiptsig_A). If the verification of the receipt signature (receiptsig_A) is successful, electronic wallet applet B 820 may confirm the transaction, and may confirm the amount in the waiting state in electronic wallet B (e.g., x won). Electronic wallet applet B 820 may delete the transaction record from the stage log, and may store the transaction record separately in the transaction log (826b). Electronic wallet applet B 820 may send information indicating transaction confirmation to the application 822 of electronic wallet B, and may release the non-tradable state.

[0146] Fig. 9 is a flowchart illustrating a payment method of an electronic device according to various embodiments.

[0147] The method 900 shown can be performed by Figures 1 to 8b The electronic device described (e.g., Figure 3 The electronic device 300) is operated, and the above technical features will be omitted below.

[0148] In operation 902, an electronic device (eg, Figure 3 The electronic device 300 of FIG. 6 may recognize the user input. For example, the application of electronic wallet A (e.g., the application 612 of electronic wallet A of FIG. 6 ) may receive a first instruction for remitting a specific amount (e.g., x won) from a user of electronic wallet A (e.g., the user 600 of electronic wallet A of FIG. 6 ) who has performed user authentication (e.g., 602qa of FIG. 6 ) to another external device (e.g., electronic wallet B). The first command may refer to a remittance transaction start command.

[0149] At operation 904, the electronic device 300 may display the image on a display (eg, Figure 3 The image and / or text related to the first instruction is displayed on the display 330 of the user. The image and / or text related to the first instruction may include instruction information for requesting to deposit or withdraw an amount of money to the user.

[0150] At operation 906, the electronic device 300 may send a signal to an external device (eg, Figure 3The electronic wallet applet A (e.g., the electronic wallet applet A610 of FIG. 6 ) may request an electronic wallet certificate (Cert_B) from the electronic wallet applet B (e.g., the electronic wallet applet B 620), and the electronic wallet applet B may send the electronic wallet certificate (Cert_B) to the electronic wallet applet A610 in response to the request from the electronic wallet applet A610. The electronic wallet applet A610 may receive and verify the electronic wallet certificate (Cert_B) from the electronic wallet applet B 620. If the verification of the electronic wallet certificate (Cert_B) has been successful, the electronic wallet applet A610 may extract the public key (PK_B) of the electronic wallet applet B 620. The electronic wallet applet A 610 may generate a random byte A (Random A) for transaction identification, and may send it to the electronic wallet applet B 620 together with its own certificate (Cert_A) and the remittance transaction start command.

[0151] At operation 910, the electronic device 300 may receive authentication-related information (e.g., an electronic wallet certificate (Cert_B)), and may run authentication for a transaction with the external device 302. At operation 914, the electronic device 300 may output information indicating that authentication of the external device 302 has not been performed and thus payment has been stopped in response to a failure in authentication of the external device 302.

[0152] At operation 912, the electronic device 300 may send a second signal including payment information to the external device 302 in response to successful verification of the external device 302. According to an embodiment, the second signal may include at least one of authentication information of the electronic device 300 or information indicating the execution of the payment process. The electronic wallet applet B 620 may verify the certificate (Cert_A) of the electronic wallet applet A 610, and may extract the public key (PK_A) of the electronic wallet applet A 610. The electronic wallet applet B 620 may generate a random byte B (Random B) for transaction identification, and may generate a transaction ID together with the received random byte A (Random A). The electronic device 300 may use the transaction ID to distinguish not only the IDs of the devices involved in the payment, but also what kind of transaction is performed. For example, if there is a remittance payment of 10,000 won and a remittance payment of 20,000 won between electronic devices A and B, electronic device A can distinguish that the other party of the payment is electronic device B, and can also distinguish whether the payment is a remittance payment of 10,000 won or a remittance payment of 20,000 won. The transaction amount is merely exemplary, and the transaction history can be distinguished not only by the transaction amount but also by the transaction date.

[0153] The electronic wallet applet B 620 may generate a message to be signed after defining the transaction ID, and may generate a signed message (sig_B) by signing with the secret key (SK_B) of the electronic wallet applet B 620. The signed message may include content related to at least one of the transID, the transaction amount, ID_A, ID_B, PK_A (or CERT_A), and PK_B (or Cert_B).

[0154] At operation 920, the electronic device 300 may recognize a response of the external device 302 to the second signal. At operation 924, the electronic device 300 may output information indicating that the external device 302 has not made a response to the payment and that the payment has been stopped in response to the state that the external device's response to the second signal has not been recognized.

[0155] At operation 922, the electronic device 300 may transmit a third signal including information indicating that the payment has been completed to the external device 302 in response to recognizing the response of the external device to the second signal. According to an embodiment, the third signal may include at least one of transaction history information of the payment process or information indicating completion of the payment process.

[0156] At operation 930, the electronic device 300 may identify a response of the external device 302 to the third signal. At operation 934, the electronic device 300 may output information indicating that the external device 302 has not made a response to the payment and the payment has not been completed in response to the state that the response of the external device to the third signal has not been identified. In addition, the electronic device 300 may temporarily store the information indicating that the payment has not been completed in a memory (e.g., Figure 3 In operation 932, the electronic device 300 may complete the payment in response to recognizing the response of the external device to the third signal.

[0157] An electronic device according to various embodiments may include: a communication module capable of communicating with an external device; a display; a memory; and a processor operably connected to the communication module, wherein the processor is configured to: display at least one image and / or text related to payment information on the display in response to at least a portion of a user input; determine whether to start a payment process using the electronic device in response to recognition of user authentication; send a first signal for requesting authentication to the external device in response to recognition of an external device approaching to within a predetermined distance from the electronic device, and send a second signal related to the payment process using the communication module in response to recognition of the authentication of the external device; determine whether the payment process is completed using the electronic device in response to recognition of a response of the external device to the second signal, and send a third signal to the external device using the communication module in response to determination of completion of the payment process; and control the external device to be in a non-tradable state in response to a situation in which the external device's response to the third signal cannot be recognized within a predetermined time after the third signal is sent.

[0158] According to an embodiment, the processor may be configured to: control to temporarily store data related to a payment process in an unfinished state in a memory in response to a situation where a response of the external device to the third signal cannot be identified within a predetermined time after the third signal is sent; and in response to identifying the storage of data related to the payment process in an unfinished state, output information on a display indicating that the external device can be maintained in a non-tradable state if an abnormal operation occurs during the payment process and the external device cannot reapproach within a predetermined distance from the electronic device.

[0159] According to an embodiment, the processor may be configured to: in response to identifying the storage of data related to a payment process in an uncompleted state, output information on a display indicating the existence of a transaction stored in an uncompleted state; and in response to user input, output transaction information stored in an uncompleted state on the display.

[0160] According to an embodiment, the processor can be configured to: control to output on a display information requesting the external device to be brought within a predetermined distance from the electronic device; and control to redo the payment process in response to the approach of the external device, or to completely end the payment process in response to at least a portion of the user input.

[0161] According to an embodiment, the processor may be configured to: cancel the payment process based on a situation where a response of the external device to the third signal cannot be recognized within a predetermined time after the third signal is sent; and output information on the display indicating that the payment process has been canceled.

[0162] According to an embodiment, the processor can be configured to: control not to complete the payment process based on not being able to identify the response of the external device to the second signal within a predetermined time after the second signal is sent; and output information on the display indicating whether the identification (ID) of the external device is stored in a blacklist in the memory.

[0163] According to an embodiment, the processor may be configured to store an identification (ID) of the external device in a blacklist in the memory in response to at least a portion of the user input.

[0164] According to an embodiment, the processor may be configured to: complete the payment process in response to recognizing the response of the external device to the third signal; and output information indicating that the payment process has been completed on the display.

[0165] According to an embodiment, the processor may be configured to: in response to recognizing that an external device performs a marking operation approaching to within a predetermined distance from the electronic device, send a first signal for requesting authentication to the external device; and in response to a situation where the authentication of the external device is not recognized, output information on a display indicating that a transaction with the external device cannot be conducted.

[0166] According to an embodiment, the second signal may include at least one of transaction history information of the payment process, authentication information of the electronic device, or information indicating that the payment process is performed.

[0167] According to an embodiment, the third signal may include at least one of transaction history information of the payment process or information indicating completion of the payment process.

[0168] According to an embodiment, the processor may be configured to: in response to receiving a transaction confirmation request for a payment process in an incomplete state temporarily stored in a memory from a server operably connected to an electronic device and an external device, identify an identification (ID) of the external device in a blacklist in the memory and confirm the transaction of the payment process; and, by using a communication module, send information to the server indicating that the transaction has been confirmed.

[0169] A payment method using an electronic device may include: in response to at least a portion of a user input, displaying at least one image and / or text related to payment information on a display; in response to recognition of user authentication, determining whether to start a payment process using the electronic device; in response to recognition that an external device is approaching within a predetermined distance from the electronic device, sending a first signal for requesting authentication to the external device using a communication module; in response to recognition of the authentication of the external device, sending a second signal related to the payment process using the communication module; in response to recognition of a response of the external device to the second signal, determining whether the payment process is completed using the electronic device, and in response to determining that the payment process is completed, sending a third signal to the external device using the communication module to indicate that the payment process has been completed; and in response to a situation where the external device's response to the third signal cannot be recognized within a predetermined time after the third signal is sent, controlling the external device to be in a non-tradable state.

[0170] According to an embodiment, the payment method using an electronic device may further include: controlling to temporarily store data related to a payment process in an unfinished state in a memory in response to a situation where a response of the external device to a third signal cannot be identified within a predetermined time after the third signal is sent; and in response to identifying the storage of data related to the payment process in an unfinished state, outputting information on a display indicating that the external device can be maintained in a non-tradable state if an abnormal operation occurs during the payment process and the external device cannot re-approach within a predetermined distance from the electronic device.

[0171] According to an embodiment, the payment method using an electronic device may further include: in response to identifying the storage of data related to a payment process in an uncompleted state, outputting information on a display indicating the existence of a transaction stored in an uncompleted state; and in response to user input, outputting information on the display about the transaction stored in an uncompleted state.

[0172] According to an embodiment, the payment method using an electronic device may further include: controlling to output on a display information requesting an external device to be brought within a predetermined distance from the electronic device; and controlling to redo the payment process in response to the approach of the external device, or to completely end the payment process in response to at least a portion of a user input.

[0173] According to an embodiment, the payment method using an electronic device may further include: canceling the payment process based on the situation where the external device cannot recognize the response to the third signal within a predetermined time after the third signal is sent; and outputting information on the display indicating that the payment process has been canceled.

[0174] According to an embodiment, the payment method using the electronic device may further include: in response to recognizing the response of the external device to the third signal, completing the payment process; and outputting information indicating that the payment process has been completed on the display.

[0175] According to an embodiment, in response to recognizing that an external device performs a marking operation to approach within a predetermined distance from the electronic device, sending a first signal to the external device for requesting authentication may further include: in response to a situation where the authentication of the external device is not recognized, outputting information on a display indicating that transactions with the external device cannot be conducted.

[0176] According to an embodiment, the payment method using an electronic device may further include: in response to receiving a transaction confirmation request for a payment process from a server operably connected to the electronic device and an external device, identifying an identification (ID) of the external device in a blacklist in a memory and confirming the transaction of the payment process; and sending information indicating that the transaction has been confirmed to the server by using a communication module.

Claims

1. An electronic device, the electronic device include: A communication module, wherein the communication module can communicate with an external device; monitor; Memory; as well as a processor operatively connected to the communication module, Wherein, the processor is configured to: In response to at least a portion of the user input, displaying at least one image and / or text associated with the payment information on the display; In response to identification of the user authentication, determining whether to initiate a payment process using the electronic device; In response to recognizing that the external device is approaching within a predetermined distance from the electronic device, sending a first signal for requesting authentication to the external device, and in response to recognizing the authentication of the external device, sending a second signal related to the payment process using the communication module; In response to identifying a response of the external device to the second signal, determining whether the payment process is completed using the electronic device, and in response to determining that the payment process is completed, sending a third signal to the external device using the communication module to indicate that the payment process has been completed; and In response to a situation where a response of the external device to the third signal cannot be recognized within a predetermined time after the third signal is sent, the external device is controlled to be in a non-tradable state.

2. The electronic device according to claim 1, in, The processor is further configured to: controlling to temporarily store data related to the payment process in an uncompleted state in the memory in response to a situation where a response of the external device to the third signal cannot be recognized within a predetermined time after the third signal is transmitted; as well as In response to identifying the storage of data related to the payment process in the unfinished state, when an abnormal operation occurs during the payment process and the external device cannot reapproach the electronic device within the predetermined distance, information indicating that the external device can remain in the non-tradable state is output on the display.

3. The electronic device according to claim 2, in, The processor is further configured to: in response to identifying storage of data related to the payment process in the uncompleted state, outputting on the display information indicating the presence of a transaction stored in the uncompleted state; as well as In response to the user input, the transaction information stored in the uncompleted state is output on the display.

4. The electronic device according to claim 2, in, The processor is further configured to: controlling to output, on the display, information for requesting the external device to be brought within the predetermined distance from the electronic device; as well as Control is performed to redo the payment process in response to the approach of the external device, or to completely end the payment process in response to at least a part of the user input.

5. The electronic device according to claim 1, in, The processor is further configured to: canceling the payment process based on a situation where a response of the external device to the third signal cannot be recognized within a predetermined time after the third signal is transmitted; and Information indicating that the payment process has been canceled is output on the display.

6. The electronic device according to claim 1, in, The processor is further configured to: controlling not to complete the payment process based on failure to recognize a response of the external device to the second signal within a predetermined time after the second signal is transmitted; as well as Information indicating whether the identification ID of the external device is stored in the blacklist in the memory is output on the display.

7. The electronic device according to claim 6, in, The processor is further configured to store the identification ID of the external device in the blacklist in the memory in response to at least a portion of the user input.

8. The electronic device according to claim 1, in, The processor is further configured to: In response to identifying a response of the external device to the third signal, completing the payment process; and Information indicating that the payment process has been completed is output on the display.

9. The electronic device according to claim 1, in, The processor is further configured to: In response to recognizing that the external device performs a marking operation approaching to within the predetermined distance from the electronic device, sending the first signal for requesting the authentication to the external device; as well as In response to a situation where the authentication of the external device is not recognized, information indicating that the transaction with the external device cannot be performed is output on the display.

10. The electronic device according to claim 1, in, The second signal includes at least one of transaction history information of the payment process, authentication information of the electronic device, or information indicating execution of the payment process.

11. The electronic device according to claim 1, in, The third signal includes at least one of transaction history information of the payment process or information indicating completion of the payment process.

12. The electronic device according to claim 1, in, The processor is further configured to: in response to receiving a transaction confirmation request for the payment process in an uncompleted state temporarily stored in the memory from a server operatively connected to the electronic device and the external device, identifying the identification ID of the external device in the blacklist in the memory and confirming the transaction of the payment process; as well as Using the communication module, information indicating that the transaction has been confirmed is sent to the server.

13. A payment method using an electronic device, the method include: In response to at least a portion of the user input, displaying at least one image and / or text associated with the payment information on a display of the electronic device; In response to identification of the user authentication, determining whether to initiate a payment process using the electronic device; In response to recognizing that the external device is approaching within a predetermined distance from the electronic device, using a communication module to send a first signal for requesting authentication to the external device; In response to identifying the authentication of the external device, sending a second signal related to the payment process using the communication module; In response to identifying a response of the external device to the second signal, determining whether the payment process is completed using the electronic device, and in response to determining that the payment process is completed, sending a third signal to the external device using the communication module to indicate that the payment process has been completed; as well as In response to a situation where a response of the external device to the third signal cannot be recognized within a predetermined time after the third signal is transmitted, the external device is controlled to be in a non-tradable state.

14. The method according to claim 13, further comprising: include: controlling to temporarily store data related to the payment process in an uncompleted state in a memory of the electronic device in response to a situation where a response of the external device to the third signal cannot be recognized within a predetermined time after the third signal is transmitted; as well as In response to identifying the storage of data related to the payment process in the unfinished state, when an abnormal operation occurs during the payment process and the external device cannot reapproach the electronic device within the predetermined distance, information indicating that the external device can remain in the non-tradable state is output on the display.

15. The method according to claim 14, further comprising: include: in response to identifying storage of data related to the payment process in the uncompleted state, outputting on the display information indicating the presence of the transaction stored in the uncompleted state; as well as In response to the user input, the transaction information stored in the uncompleted state is output on the display.