Foldable electronic device, non-transitory computer-readable storage medium, and method for performing payment
The foldable electronic device uses sensors to manage payment mode transitions based on state changes and time thresholds, improving user experience and power efficiency.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- SAMSUNG ELECTRONICS CO LTD
- Filing Date
- 2025-10-31
- Publication Date
- 2026-07-02
AI Technical Summary
Existing foldable electronic devices face challenges in maintaining a payment mode seamlessly as they transition between unfolded and folded states, leading to potential disruptions or unwanted power consumption.
The device includes sensors to identify state changes and maintains or terminates the payment mode based on predefined time thresholds during transitions, ensuring smooth operation and efficient power management.
This approach enhances user experience by maintaining payment functionality during state changes and reduces power consumption, preventing unintended transactions.
Smart Images

Figure KR2025017714_02072026_PF_FP_ABST
Abstract
Description
Foldable electronic device for performing payment, non-transient computer-readable storage medium, and method
[0001] The following descriptions relate to a foldable electronic device for performing payment, a non-transient computer-readable storage medium, and a method.
[0002] The electronic device can transmit a signal to an external electronic device to perform a payment while performing the payment mode. For example, the electronic device can perform the payment mode based on user input to enter the payment mode.
[0003] The information described above may be provided as related art for the purpose of aiding understanding of the present disclosure. No claim or determination is made as to whether any of the foregoing may be applied as prior art related to the present disclosure.
[0004] A foldable electronic device is provided. The foldable electronic device may include a housing comprising a first housing part and a second housing part rotatably coupled to the first housing part, at least one sensor for identifying an unfolded state or a folded state of the foldable electronic device, at least one processor comprising a processing circuit, and a memory comprising one or more storage media for storing instructions. When the instructions are executed individually or collectively by the at least one processor, the foldable electronic device may be caused to receive an input for entering a payment mode through the foldable electronic device while the foldable electronic device is in the unfolded state. When the instructions are executed individually or collectively by the at least one processor, the foldable electronic device may be caused to enter the payment mode from a normal mode based on the input. The above instructions may cause the foldable electronic device to identify, through the at least one sensor, that the state of the foldable electronic device changes from the unfolded state to the folded state while the payment mode is being performed, when executed individually or collectively by the at least one processor. The above instructions may cause the foldable electronic device to maintain the performance of the payment mode based on identifying that the state of the foldable electronic device changes from the unfolded state to the folded state before a reference time elapses after the input is received, when executed individually or collectively by the at least one processor.The above instructions, when executed individually or collectively by the at least one processor, can cause the foldable electronic device to enter the general mode from the payment mode, based on identifying that the state of the foldable electronic device changes from the unfolded state to the folding state after the reference time has elapsed following the reception of the input.
[0005] A non-transient computer-readable storage medium is provided. The non-transient computer-readable storage medium may store one or more programs. The one or more programs may include instructions that cause the foldable electronic device to receive an input to enter a payment mode through the foldable electronic device while the foldable electronic device is in the unfolded state when executed by the foldable electronic device. The one or more programs may include instructions that cause the foldable electronic device to enter the payment mode from a normal state based on the input when executed by the foldable electronic device. The one or more programs may include instructions that cause the foldable electronic device to identify, through the at least one sensor, that the state of the foldable electronic device changes from the unfolded state to the folded state while the payment mode is being performed when executed by the foldable electronic device. The above one or more programs may include instructions that cause the foldable electronic device to maintain the payment mode being performed, based on identifying that, when executed by the foldable electronic device, the state of the foldable electronic device changes from the unfolded state to the folding state before a reference time elapses after the input is received. The above one or more programs may include instructions that cause the foldable electronic device to enter the normal mode from the payment mode, based on identifying that, when executed by the foldable electronic device, the state of the foldable electronic device changes from the unfolded state to the folding state after the reference time elapses after the input is received.
[0006] A method is provided. The method may be performed by a foldable electronic device. The method may include an operation of receiving an input to enter a payment mode through the foldable electronic device while the foldable electronic device is in an unfolded state. The method may include an operation of entering the payment mode from a normal state based on the input. The method may include an operation of identifying that the state of the foldable electronic device changes from the unfolded state to the folding state while the payment mode is being performed. The method may include an operation of maintaining the payment mode being performed based on identifying that the state of the foldable electronic device changes from the unfolded state to the folding state before a reference time elapses after the input is received. The method may include an operation of entering the normal mode from the payment mode based on identifying that the state of the foldable electronic device changes from the unfolded state to the folding state after the reference time has elapsed after the input is received.
[0007] Figure 1 is a schematic view of an exemplary foldable electronic device.
[0008] FIGS. 2A and 2B illustrate examples of states of a foldable electronic device according to one embodiment of the present disclosure.
[0009] FIGS. 3a and 3b illustrate examples of states of a foldable electronic device according to one embodiment of the present disclosure.
[0010] FIG. 4 illustrates an example of the state of a foldable electronic device according to one embodiment of the present disclosure.
[0011] FIG. 5 is a flowchart illustrating a method for determining whether to maintain the performance of a payment mode based on the state of a foldable electronic device changing from an unfolded state to a folded state while the payment mode is being performed.
[0012] FIG. 6 is a diagram illustrating an example of an operation performed in relation to a payment mode while the state of a foldable electronic device changes from an unfolded state to a folded state.
[0013] FIG. 7 is a diagram illustrating an example of how the external contact of a foldable electronic device changes in relation to a payment mode.
[0014] FIGS. 8A and FIGS. 8B are drawings for illustrating an example of an operation performed in relation to a payment mode while the state of a foldable electronic device changes from an unfolded state to a multi-folding state.
[0015] FIG. 9 is a flowchart illustrating a method for determining whether to maintain the execution of a payment mode based on the state of a foldable electronic device changing from a folded state to an unfolded state while the payment mode is being executed.
[0016] FIG. 10 is a diagram illustrating an example of an operation performed in relation to a payment mode while the state of a foldable electronic device changes from a folding state to an unfolding state.
[0017] FIGS. 11a and FIGS. 11b are drawings for illustrating an example of an operation performed in relation to a scan code while the state of a foldable electronic device changes from an unfolded state to a folded state.
[0018] FIG. 12 is a block diagram of an electronic device in a network environment according to various embodiments.
[0019] Figure 1 is a schematic view of an exemplary foldable electronic device.
[0020] Referring to FIG. 1, the foldable electronic device (101) may include at least one processor (110), memory (120), flexible display (130), display (131), communication circuit (140), at least one coil (150), at least one first sensor (160), and at least one second sensor (170). The foldable electronic device (101) may include at least a part of the electronic device (1201) of FIG. 12 or correspond to at least a part of the electronic device (1201) of FIG. 12.
[0021] At least one processor (110) may include a processing circuit. At least one processor (110) may include a single processor or multiple processors. At least one processor (110) may control the memory (120) and / or one or more components (flexible display (130), display (131), communication circuit (140), at least one first sensor (160), and at least one second sensor (170)) of the foldable electronic device (101). For example, at least one processor (110) may include at least a part of the processor (1220) of FIG. 12 or correspond to at least a part of the processor (1220) of FIG. 12.
[0022] Memory (120) may store one or more programs configured to be executed individually and / or collectively by at least one processor (110). The one or more programs may include instructions. The instructions may cause the foldable electronic device (101) to perform operations described with reference to FIGS. 2a through FIGS. 11b. Memory (120) may include one or more storage media. At least some of the one or more programs may be available to manage, control, and / or execute a payment mode described below. For example, memory (120) may include at least some of the memory (1230) of FIG. 12 or correspond to at least some of the memory (1230) of FIG. 12.
[0023] A flexible display (130) can visually provide information to the outside (e.g., a user) of a foldable electronic device (101). For example, the flexible display (130) may be positioned within the housing parts so as to face the front side of each of two or more housing parts of the foldable electronic device (101) which are rotatably joined to each other. For example, the flexible display (130) may include a display panel, a touch sensor, and / or a processing circuit. For example, the display panel may be used to display visual information (e.g., an image, a screen, an object, a UI (user interface), a GUI (graphic user interface), and / or a visual object). For example, the display panel may have a display area capable of receiving touch input. For example, the display area may include two or more display areas corresponding to each of the housing parts. For example, the touch sensor may be used to obtain data about an external object located on the display panel. For example, the touch sensor may be located within or on the display panel to provide an area of the display panel capable of receiving the touch input. For example, the touch sensor may be configured to acquire data for contact points on at least a portion of the area. For example, the processing circuit may control the touch sensor. For example, the processing circuit may process signals or data acquired (or received) through the touch sensor. The flexible display (130) may include at least a portion of the display module (1260) of FIG. 12 or correspond to at least a portion of the display module (1260) of FIG. 12.
[0024] A display (131) can visually provide information to an outside (e.g., a user) of a foldable electronic device (101). For example, the display (131) may be positioned within one of two or more housing parts of a foldable electronic device (101) that are rotatably coupled to one another, so as to face the rear side of said housing part. For example, the display (131) may include a display panel, a touch sensor, and / or a processing circuit. For example, the display panel may be used to display visual information (e.g., an image, a screen, an object, a UI (user interface), a GUI (graphic user interface), and / or a visual object). For example, the display panel may have a display area capable of receiving touch input. For example, the touch sensor may be used to obtain data about an external object located on the display panel. For example, the touch sensor may be located within or on the display panel to provide an area of the display panel capable of receiving the touch input. For example, the touch sensor may be configured to acquire data for contact points on at least some of the area. For example, the processing circuit may control the touch sensor. For example, the processing circuit may process signals or data acquired (or received) through the touch sensor. For example, the display (131) may include at least a part of the display module (1260) of FIG. 12 or correspond to at least a part of the display module (1260) of FIG. 12.
[0025] A communication circuit (140) may be electrically connected to at least one coil (150). For example, at least one coil (150) may be positioned within one housing part so as to face the rear side of one of the two or more housing parts of the foldable electronic device (101). For example, the communication circuit (140) and at least one coil (150) may be available for communication between the foldable electronic device (101) and an external electronic device. For example, the communication circuit (140) may transmit data to the external electronic device by radiating a signal to communicate with the external electronic device through at least one coil (150). For example, the communication circuit (140) may communicate with the external electronic device based on near-field wireless communication (e.g., NFC (near-field communication) and / or MST (magnetic secure transmission)) using at least one coil (150). For example, the communication circuit (140) can exchange information for payment with an external electronic device (e.g., an NFC reader) based on near-field bidirectional wireless communication (e.g., NFC) using the electromagnetic field of at least one coil (150). For example, the communication circuit (140) can transmit information for payment to an external electronic device (e.g., an NFC reader) by radiating a signal for payment through at least one coil (150). For example, the communication circuit (140) can receive a signal indicating that a payment has been made from the external electronic device (e.g., an NFC reader) through at least one coil (150).For example, the communication circuit (140) can transmit information for the payment to an external electronic device (e.g., a magnetic card reader) by radiating a signal for the payment based on short-range unidirectional wireless communication (e.g., magnetic secure transmission (MST)) using the magnetic field of at least one coil (150). The communication circuit (140) can be controlled by at least one processor (110). For example, the communication circuit (140) may include at least a part of the communication module (1290) of FIG. 12 or correspond to at least a part of the communication module (1290) of FIG. 12.
[0026] At least one first sensor (160) may be used to identify the state of a foldable electronic device (101) according to the folding angle between two housing parts of a foldable electronic device (101) that are rotatably coupled to each other. For example, the folding angle may correspond to the angle between the direction in which the front side of one of the two housing parts faces and the direction in which the front side of the other of the two housing parts faces. For example, the folding angle may be an angle obtained by subtracting the angle between the two directions from 180°. For example, the state of the foldable electronic device (101) may be identified as a folded state or an unfolded state. For example, the folding state may be described as a state in which the folding angle is within a first reference range. For example, the unfolded state may be described as a state in which the folding angle is within a second reference range that is higher than the first reference range. Each of the above-mentioned first reference range and second reference range may be set in various ways according to the embodiment. For example, the first reference range may be a range greater than or equal to 0° and less than or equal to a reference angle (x°). For example, the second reference range may be a range greater than the reference angle (x°) and less than or equal to 180°. ('x' may be a number between 0 and 180.)
[0027] For example, at least one first sensor (160) may include one or more first sensors for identifying the state of the foldable electronic device (101). For example, the one or more first sensors may include a Hall sensor for identifying the folding angle based on a magnetic field. For example, the Hall sensor may be included in the other housing part to form a pair with a magnet in the one housing part. For example, the Hall sensor may be included in the one housing part to form a pair with a magnet in the other housing part. For example, the one or more first sensors may include accelerometer sensors and / or gyroscope sensors available for identifying the folding angle. For example, the first accelerometer sensor among the accelerometer sensors may be included in the one housing part, and the second accelerometer sensor among the accelerometer sensors may be included in the other housing part. For example, the first gyro sensor among the above gyro sensors may be included in the one housing part, and the second gyro sensor among the above gyro sensors may be included in the other housing part. For example, at least one first sensor (160) may include at least a part of the sensor module (1276) of FIG. 12 or correspond to at least a part of the sensor module (1276) of FIG. 12.
[0028] At least one second sensor (170) may be used to identify external contact of the foldable electronic device (101) (e.g., contact by a user's hand). For example, the external contact may be related to the location and / or pressure of an area of the foldable electronic device (101) that is contacted by the user. For example, at least one second sensor (170) may include one or more second sensors for identifying the external contact of the foldable electronic device (101). For example, one or more second sensors may include a touch sensor that detects contact by a user's finger and / or a grip sensor (or pressure sensor) that detects pressure caused by contact by the user. For example, at least one second sensor (170) may include at least a part of the sensor module (1276) of FIG. 12 or correspond to at least a part of the sensor module (1276) of FIG. 12.
[0029] FIGS. 2A and 2B illustrate examples of states of a foldable electronic device according to one embodiment of the present disclosure.
[0030] Referring to FIGS. 2a and 2b, a first state (200) of a foldable electronic device (101), a second state (250) of a foldable electronic device (101), a third state (260) of a foldable electronic device (101), and a fourth state (270) of a foldable electronic device (101) are illustrated. The foldable electronic device (101) may include a housing structure (205) and a flexible display (130). The housing structure (205) may include a first housing part (210), a second housing part (220), and a third housing part (265). The first housing part (210) may be rotatably coupled to the second housing part (220) with respect to a folding axis (290) by a hinge structure of the third housing part (265). In the present disclosure, the housing structure (205) may be referred to as a housing and / or a foldable housing. A flexible display (130) may be disposed within the first housing part (210) and the second housing part (220) so as to face the front side of the first housing part (210) and the front side of the second housing part (220), respectively. The flexible display (130) may include a first display area (211) corresponding to the first housing part (210) and a second display area (221) corresponding to the second housing part (220). A first direction (201) may be a direction facing the front side of the first housing part (210). A second direction (202) may be a direction facing the front side of the second housing part (220). Although not illustrated in FIGS. 2a and 2b, the foldable electronic device (101) may include a display (131) that is distinct from a flexible display (130) placed within the rear side of the second housing part (220).
[0031] Referring to FIG. 2a, the foldable electronic device (101) may be in a first state (200) in which the first housing part (210) and the second housing part (220) are fully folded out by a hinge structure within the third housing part (265) shown in FIG. 2b. For example, the first state (200) may correspond to a fully unfolded state. For example, the first state (200) may be described as a state in which the first direction (201) facing the front side of the first housing part (210) corresponds to the second direction (202) facing the front side of the second housing part (220). For example, the first state (200) may be a state in which the first direction (201) and the second direction (202) are parallel. For example, the first state (200) may be a state in which the first direction (201) and the second direction (202) are the same. For example, the first display area (211) and the second display area (221) may substantially form a single flat surface within the first state (200). For example, the angle between the first direction (201) and the second direction (202) may be substantially 0° within the first state (200). For example, the angle between the first direction (201) and the second direction (202) may correspond to the folding angle (203) formed by the first housing part (210) and the second housing part (220) with respect to the folding axis (290). For example, the folding angle (203) may be an angle obtained by subtracting the angle between the first direction (201) and the second direction (202) from 180°. For example, the folding angle (203) may be 180° within the first state (200). For example, the first state (200) may be described as a state in which the entire display area of the flexible display (130) can be provided substantially on a single plane.For example, the flexible display (130) may not include a curved surface within the first state (200). For example, the first state (200) may be referred to as an outspread state or outspreading state.
[0032] Referring to FIG. 2b, the foldable electronic device (101) can provide a second state (250), a third state (260), and a fourth state (270) in which the first housing part (210) and the second housing part (220) are folded in by a hinge structure within the third housing part (265).
[0033] For example, the second state (250) may correspond to a partially folded state. For example, the second state (250) may be a state in which the angle between the first direction (201) and the second direction (202), which are distinct from each other, is 45°. For example, the angle between the first direction (201) and the second direction (202) may correspond to a folding angle (253) formed by the first housing part (210) and the second housing part (220) with respect to the folding axis (290). For example, the folding angle (253) may be an angle obtained by subtracting the angle between the first direction (201) and the second direction (202) from 180°. For example, the folding angle (253) may be 135° within the second state (250).
[0034] For example, the third state (260) may correspond to a partially folded state. For example, the third state (260) may be a state in which the angle between the first direction (201) and the second direction (202), which are distinct from each other, is 90°. For example, the angle between the first direction (201) and the second direction (202) may correspond to the folding angle (263) formed by the first housing part (210) and the second housing part (220) with respect to the folding axis (290). For example, the folding angle (263) may be an angle obtained by subtracting the angle between the first direction (201) and the second direction (202) from 180°. For example, the folding angle (263) may be 90° within the third state (260).
[0035] For example, the fourth state (270) may correspond to a fully folded state. For example, the fourth state (270) may be a state in which the angle between the first direction (201) and the second direction (202), which are distinct from each other, is 180°. For example, the angle between the first direction (201) and the second direction (202) may correspond to a folding angle (273) formed by the first housing part (210) and the second housing part (220) with respect to the folding axis (290). For example, the folding angle (273) may be an angle obtained by subtracting the angle between the first direction (201) and the second direction (202) from 180°. For example, the folding angle (273) may be substantially 0° within the fourth state (270).
[0036] For example, the state of the foldable electronic device (101) may be identified as a folded state or an unfolded state. For example, the folded state may be described as a state in which the folding angle corresponding to the angle between the first direction (201) and the second direction (202) is within a first reference range. For example, the unfolded state may be described as a state in which the folding angle corresponding to the angle between the first direction (201) and the second direction (202) is within a second reference range that is higher than the first reference range. Each of the first reference range and the second reference range may be set in various ways according to the embodiment. For example, the first reference range may be a range greater than or equal to 0° and less than or equal to a reference angle (x°). For example, the second reference range may be a range greater than the reference angle (x°) and less than or equal to 180°. ('x' can be a number between 0 and 180.) As a non-limiting example, if the reference angle (x°) is set to 90°, the foldable electronic device (101) can identify the first state (200) and the second state (250) as the unfolded state and the third state (260) and the fourth state (270) as the folded state through at least one first sensor (160). As a non-limiting example, if the reference angle (x°) is set to 35°, the foldable electronic device (101) can identify the first state (200), the second state (250), and the third state (260) as the unfolded state and the fourth state (270) as the folded state through at least one first sensor (160).
[0037] For example, the foldable electronic device (101) may be another foldable electronic device distinct from the foldable electronic device illustrated in FIGS. 2a and 2b. For example, the foldable electronic device (101), which is the other foldable electronic device, may include another flexible display that can be folded in a direction distinct from the direction in which the flexible display (130) of the foldable electronic device illustrated in FIGS. 2a and 2b can be folded. For example, the foldable electronic device (101) may provide various states through the other flexible display. For example, the foldable electronic device (101) may provide an unfolded state and a folded state.
[0038] FIGS. 3a and 3b illustrate examples of states of a foldable electronic device according to one embodiment of the present disclosure.
[0039] Referring to FIGS. 3a and 3b, a first state (300) of a foldable electronic device (101), a second state (350) of a foldable electronic device (101), a third state (360) of a foldable electronic device (101), and a fourth state (370) of a foldable electronic device (101) are illustrated. The foldable electronic device (101) may include a housing structure (305) and a flexible display (130). The housing structure (305) may include a first housing part (310), a second housing part (320), and a third housing part (365). The first housing part (310) may be rotatably coupled to the second housing part (320) with respect to a folding axis (390) by a hinge structure of the third housing part (365). In the present disclosure, the housing structure (305) may be referred to as a housing and / or a foldable housing. A flexible display (130) may be disposed within the first housing part (310) and the second housing part (320) so as to face the front side of the first housing part (310) and the front side of the second housing part (320), respectively. The flexible display (130) may include a first display area (311) corresponding to the first housing part (310) and a second display area (321) corresponding to the second housing part (320). A first direction (301) may be a direction facing the front side of the first housing part (310). A second direction (302) may be a direction facing the front side of the second housing part (320). The foldable electronic device (101) may include a display (131) that is distinct from the flexible display (130). For example, the display (131) may be described as a display (340) positioned within the first housing part (310) so as to face the rear side of the first housing part (310).
[0040] Referring to FIG. 3a, the foldable electronic device (101) may be in a first state (300) in which the first housing part (310) and the second housing part (320) are fully folded out by a hinge structure within the third housing part (365) shown in FIG. 3b. For example, the first state (300) may correspond to a fully unfolded state. For example, the first state (300) may be described as a state in which the first direction (301) facing the front side of the first housing part (310) corresponds to the second direction (302) facing the front side of the second housing part (320). For example, the first state (300) may be a state in which the first direction (301) and the second direction (302) are parallel. For example, the first state (300) may be a state in which the first direction (301) and the second direction (302) are the same. For example, the first display area (311) and the second display area (321) may substantially form a single flat surface within the first state (300). For example, the angle between the first direction (301) and the second direction (302) may be substantially 0° within the first state (300). For example, the angle between the first direction (301) and the second direction (302) may correspond to the folding angle (303) formed by the first housing part (310) and the second housing part (320) with respect to the folding axis (390). For example, the folding angle (303) may be an angle obtained by subtracting the angle between the first direction (301) and the second direction (302) from 180°. For example, the folding angle (303) may be 180° within the first state (300). For example, the first state (300) may be described as a state in which the entire display area of the flexible display (130) can be provided substantially on a single plane.For example, the flexible display (130) may not include a curved surface within the first state (300). For example, the first state (300) may be referred to as an outspread state or outspreading state.
[0041] Referring to FIG. 3b, the foldable electronic device (101) can provide a second state (350), a third state (360), and a fourth state (370) in which the first housing part (310) and the second housing part (320) are folded in by a hinge structure within the third housing part (365).
[0042] For example, the second state (350) may correspond to a partially folded state. For example, the second state (350) may be a state in which the angle between the first direction (301) and the second direction (302), which are distinct from each other, is 45°. For example, the angle between the first direction (301) and the second direction (302) may correspond to the folding angle (353) formed by the first housing part (310) and the second housing part (320) with respect to the folding axis (390). For example, the folding angle (353) may be an angle obtained by subtracting the angle between the first direction (301) and the second direction (302) from 180°. For example, the folding angle (353) may be 135° within the second state (350).
[0043] For example, the third state (360) may correspond to a partially folded state. For example, the third state (360) may be a state in which the angle between the first direction (301) and the second direction (302), which are distinct from each other, is 90°. For example, the angle between the first direction (301) and the second direction (302) may correspond to the folding angle (363) formed by the first housing part (310) and the second housing part (320) with respect to the folding axis (390). For example, the folding angle (363) may be an angle obtained by subtracting the angle between the first direction (301) and the second direction (302) from 180°. For example, the folding angle (363) may be 90° within the third state (360).
[0044] For example, the fourth state (370) may correspond to a fully folded state. For example, the fourth state (370) may be a state in which the angle between the first direction (301) and the second direction (302), which are distinct from each other, is 180°. For example, the angle between the first direction (301) and the second direction (302) may correspond to the folding angle (373) formed by the first housing part (310) and the second housing part (320) with respect to the folding axis (390). For example, the folding angle (373) may be an angle obtained by subtracting the angle between the first direction (301) and the second direction (302) from 180°. For example, the folding angle (373) may be substantially 0° within the fourth state (370).
[0045] For example, the state of the foldable electronic device (101) may be identified as a folded state or an unfolded state. For example, the folded state may be described as a state in which the folding angle corresponding to the angle between the first direction (301) and the second direction (302) is within a first reference range. For example, the unfolded state may be described as a state in which the folding angle corresponding to the angle between the first direction (301) and the second direction (302) is within a second reference range that is higher than the first reference range. Each of the first reference range and the second reference range may be set differently according to the embodiment. For example, the first reference range may be a range greater than or equal to 0° and less than or equal to a reference angle (x°). For example, the second reference range may be a range greater than the reference angle (x°) and less than or equal to 180°. ('x' can be a number between 0 and 180.) As a non-limiting example, if the reference angle (x°) is set to 90°, the foldable electronic device (101) can identify the first state (300) and the second state (350) as the unfolded state and the third state (360) and the fourth state (370) as the folded state through at least one first sensor (160). As a non-limiting example, if the reference angle (x°) is set to 35°, the foldable electronic device (101) can identify the first state (300), the second state (350), and the third state (360) as the unfolded state and the fourth state (370) as the folded state through at least one first sensor (160).
[0046] For example, the foldable electronic device (101) may be another foldable electronic device distinct from the foldable electronic device illustrated in FIGS. 3a and 3b. For example, the foldable electronic device (101), which is the other foldable electronic device, may include another flexible display that can be folded in a direction distinct from the direction in which the flexible display (130) of the foldable electronic device illustrated in FIGS. 3a and 3b can be folded. For example, the foldable electronic device (101) may provide various states through the other flexible display. For example, the foldable electronic device (101) may provide an unfolded state and a folded state.
[0047] FIG. 4 illustrates an example of the state of a foldable electronic device according to one embodiment of the present disclosure.
[0048] Referring to FIG. 4, the state (400) of a foldable electronic device (101) is illustrated. The foldable electronic device (101) may include a housing structure (405) and a flexible display (130). The housing structure (405) may include a first housing part (410), a second housing part (420), a third housing part (430), a fourth housing part (465), and a fifth housing part (475). The first housing part (410) may be rotatably coupled to the second housing part (420) with respect to the folding axis (492) by means of a hinge structure of the fourth housing part (465). The second housing part (420) may be rotatably coupled to the third housing part (430) with respect to the folding axis (491) by means of a hinge structure of the fifth housing part (475). In the present disclosure, the housing structure (405) may be referred to as a housing, a foldable housing, and / or a multi-foldable housing. For example, the foldable electronic device (101) illustrated in FIG. 4 may be referred to as a multi-foldable electronic device (or trifold device) in terms of including two or more folding axes (e.g., folding axis (491) and folding axis (492)).
[0049] A flexible display (130) may be disposed within the first housing part (410), the second housing part (420), and the third housing part (430) so as to face the front side of the first housing part (410), the front side of the second housing part (320), and the front side of the third housing part (430), respectively. The flexible display (130) may include a first display area (411) corresponding to the first housing part (410), a second display area (421) corresponding to the second housing part (420), and a third display area (431) corresponding to the third housing part (430).
[0050] The first direction (401) may be the direction in which the front side of the first housing part (410) faces. The second direction (402) may be the direction in which the front side of the second housing part (420) faces. The third direction (403) may be the direction in which the front side of the third housing part (430) faces. Although not illustrated in FIG. 4, the foldable electronic device (101) may include a display (131) that is distinct from the flexible display (130) disposed within the rear side of the first housing part (410), the second housing part (420), and / or the third housing part (430). For example, the angle between the first direction (401) and the second direction (402) may correspond to the folding angle (404) formed by the first housing part (410) and the second housing part (420) with respect to the folding axis (492). For example, the folding angle (404) may be an angle obtained by subtracting the angle between the first direction (401) and the second direction (402) from 180°. For example, the angle between the second direction (402) and the third direction (403) may correspond to the folding angle (406) formed by the second housing part (420) and the third housing part (430) with respect to the folding axis (491). For example, the folding angle (406) may be an angle obtained by subtracting the angle between the second direction (402) and the third direction (403) from 180°.
[0051] For example, the state of the foldable electronic device (101) can be identified as a folded state or an unfolded state. For example, the folded state may correspond to a single-folding state or a multi-folding state. For example, the single-folding state may include a state in which the folding angle (404) is within a first reference range and the folding angle (406) is within a second reference range higher than the first reference range. For example, the single-folding state may include a state in which the folding angle (404) is within the second reference range and the folding angle (406) is within the first reference range. For example, the multi-folding state may be described as a state in which both the folding angle (404) and the folding angle (406) are within the first reference range. For example, the unfolded state may be described as a state in which both the folding angle (404) and the folding angle (406) are within the second reference range. Each of the first reference range and the second reference range may be set differently depending on the embodiment. For example, the first reference range may be a range greater than or equal to 0° and less than or equal to the reference angle (x°). For example, the second reference range may be a range greater than the reference angle (x°) and less than or equal to 180°. ('x' may be a number between 0 and 180.)
[0052] For example, the foldable electronic device (101) may be another foldable electronic device distinct from the foldable electronic device illustrated in FIG. 4. For example, the foldable electronic device (101), which is the other foldable electronic device, may include another flexible display that can be folded in a direction distinct from the direction in which the flexible display (130) of the foldable electronic device illustrated in FIG. 4 can be folded. For example, the foldable electronic device (101) may provide various states through the other flexible display. For example, the foldable electronic device (101) may provide an unfolded state, a single-folding state, and a multi-folding state.
[0053] For example, the foldable electronic device (101) may determine whether to maintain the payment mode based on when the state of the foldable electronic device (101) changes while the payment mode is being performed. For example, the payment mode may be described as a mode for transmitting and / or exchanging information for payment with an external electronic device based on near-field wireless communication (e.g., NFC (near-field communication) and / or MST (magnetic secure transmission)). For example, the foldable electronic device (101) may maintain the payment mode based on the state of the foldable electronic device (101) changing before a reference time elapses after an input to enter the payment mode is received. For example, by maintaining the payment mode, the foldable electronic device (101) may enhance the user experience of performing a payment in the payment mode while the state of the foldable electronic device (101) is changed. For example, the foldable electronic device (101) may terminate the payment mode based on the state of the foldable electronic device (101) changing after the reference time has elapsed following the reception of the input for entering the payment mode. For example, by terminating the payment mode, the foldable electronic device (101) may reduce power consumption associated with the payment mode and prevent unwanted payments from being made in the payment mode. An operation method for determining whether to maintain the performance of the payment mode based on the state of the foldable electronic device (101) changing from the unfolded state to the folded state is described with reference to FIGS. 5 to 8b.A method of operation for determining whether to maintain the performance of the payment mode based on the change of the state of the foldable electronic device (101) from the folding state to the unfolding state is described below with reference to FIGS. 9 and FIGS. 10.
[0054] FIG. 5 is a flowchart illustrating a method for determining whether to maintain the performance of a payment mode based on the state of a foldable electronic device changing from an unfolded state to a folded state while the payment mode is being performed.
[0055] Referring to FIG. 5, in operation 501, at least one processor (110) may receive an input to enter a payment mode through the foldable electronic device (101) while the foldable electronic device (101) is in an unfolded state. For example, the payment mode may be described as a mode for transmitting and / or exchanging information for payment with an external electronic device (e.g., NFC reader and / or magnetic card reader) based on near-field wireless communication (e.g., NFC (near-field communication) and / or MST (magnetic secure transmission)). For example, the payment mode may be described as a mode in which a communication circuit (140) by at least one processor (110) radiates a signal to perform payment in the payment mode through at least one coil (150). According to an embodiment, at least one processor (110) may receive the input in various ways. For example, the input may include one or more inputs for entering the payment mode. For example, the one or more inputs may include inputs related to a user interface (UI) object of the application software for executing the payment mode being touched through the flexible display (130) and / or display (131). For example, the one or more inputs may include inputs related to a swipe in a reference direction through the flexible display (130) and / or display (131). For example, the one or more inputs may include inputs related to user authentication information (e.g., fingerprint authentication information, PIN authentication information, and iris authentication information) for performing a payment in the payment mode.For example, at least one processor (110) can obtain user authentication information for performing payment in the payment mode from the input.
[0056] In operation 502, at least one processor (110) may enter the payment mode from a normal mode based on the input for entering the payment mode. For example, the normal mode may be described as a mode distinct (or different) from the payment mode. For example, the normal mode may be described as a mode in which the communication circuit (140) by at least one processor (110) does not radiate a signal to perform a payment through at least one coil (150). For example, the normal mode may be described as a standby or ready mode for radiating the signal to perform a payment. For example, the normal mode may be described as a mode in which current (or power) is not supplied to at least one coil (150) for radiating the signal to perform a payment. For example, at least one processor (110) may visually provide a user interface (UI) indicating that the payment mode is being performed to an outside user (e.g., user) of the foldable electronic device (101) via a flexible display (130) and / or a display (131) based on the input. For example, at least one processor (110) may activate a timer (or down-count timer) set in relation to the payment mode based on the input. For example, the time of the timer may indicate the remaining time to enter the normal mode from the payment mode. For example, the time of the timer may be set to 50 seconds. For example, the time of the timer may decrease over time. For example, the time of the timer may be included in the UI indicating that the payment mode is being performed.
[0057] In operation 503, at least one processor (110) may perform the payment mode based on entering the payment mode. For example, at least one processor (110) may perform the payment mode by having the communication circuit (140) radiate the signal to perform the payment in the payment mode through at least one coil (150) while the timer is active (or before the timer expires).
[0058] In operation 504, at least one processor (110) can identify whether the state of the foldable electronic device (101) changes from the unfolded state to the folded state through at least one first sensor (160) while the payment mode is being performed. For example, at least one first sensor (160) can identify the state of the foldable electronic device (101) as the folded state or the unfolded state. For example, at least one processor (110) can identify a folding angle between a first housing part of a foldable electronic device (101) (e.g., a first housing part (210) shown in FIG. 2a and 2b and a first housing part (310) shown in FIG. 3a and 3b) and a second housing part of the foldable electronic device (101) rotatably coupled to the first housing part (e.g., a second housing part (220) shown in FIG. 2a and 2b and a second housing part (320) shown in FIG. 3a and 3b) through at least one first sensor (160). For example, the folding angle between the first housing part and the second housing part may correspond to an angle between a first direction facing the front side of the first housing part and a second direction facing the front side of the second housing part. For example, the folding angle may be an angle obtained by subtracting the angle between the first direction and the second direction from 180°. For example, at least one processor (110) may identify, through at least one first sensor (160), a state in which the folding angle is within a first reference range as the folding state. For example, at least one processor (110) may identify, through at least one first sensor (160), an unfolded state in which the folding angle is within a second reference range higher than the first reference range. Each of the first reference range and the second reference range may be set in various ways according to the embodiment.For example, the first reference range may be a range greater than or equal to 0° and less than or equal to a reference angle (x°). For example, the second reference range may be a range greater than the reference angle (x°) and less than or equal to 180°. ('x' may be a number between 0 and 180.)
[0059] In operation 505, at least one processor (110) may maintain the payment mode until the timer expires, based on the fact that the state of the foldable electronic device (101) is maintained in the unfolded state while the payment mode is performed. For example, at least one processor (110) may maintain the payment mode by the communication circuit (140) maintaining the radiation of the signal to perform payment in the payment mode through at least one coil (150).
[0060] Although not illustrated in FIG. 5, at least one processor (110) may receive information from an external electronic device (e.g., an NFC reader or a server) indicating that a payment has been made in the payment mode while the payment mode is being performed. For example, the information may be described as NFC tagging information received from the NFC reader and / or an SMS message received from the server. For example, at least one processor (110) may enter the normal mode from the payment mode based on receiving the information. For example, at least one processor (110) may visually provide a user interface (UI) indicating that the normal mode is being performed to an outside of the foldable electronic device (101) (e.g., a user) via a flexible display (130) and / or a display (131) based on entering the normal mode. For example, at least one processor (110) may terminate the communication circuit (140) radiating the signal to perform payment in the payment mode through at least one coil (150) based on entering the general mode.
[0061] In operation 506, at least one processor (110) can identify whether a reference time has elapsed since the input was received, based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the folded state while the payment mode is being performed. For example, the reference time may be described as a time distinct from the time of the timer. For example, the time of the timer may be set to 50 seconds, and the reference time may be set to 10 seconds. For example, the reference time may be set in various ways depending on the embodiment.
[0062] In operation 507, at least one processor (110) may enter the general mode from the payment mode based on the state of the foldable electronic device (101) changing from the unfolded state to the folded state after the input is received and the reference time has elapsed. For example, at least one processor (110) may visually provide a user interface (UI) indicating that the general mode is being performed to the outside of the foldable electronic device (101) (e.g., user) via a flexible display (130) and / or a display (131) based on entering the general mode. For example, at least one processor (110) may terminate the communication circuit (140) radiating the signal to perform payment in the payment mode through at least one coil (150) based on entering the general mode.
[0063] In operation 508, at least one processor (110) can identify whether a portion related to at least one coil (150) is contacted by a user through at least one second sensor (170), based on whether the state of the foldable electronic device (101) changes from the unfolded state to the folded state before the reference time elapses after the input is received. For example, at least one second sensor (170) may include one or more sensors for identifying external contact of the foldable electronic device (101). For example, the portion related to at least one coil (150) may be described as a portion where the signal for performing payment in the payment mode is radiated. For example, the portion relating to at least one coil (150) may be described as a portion of the rear side of a housing part of a foldable electronic device (101) (e.g., a first housing part (210) shown in FIG. 2a and 2b, a first housing part (310) shown in FIG. 3a and 3b, and a first housing part (410) shown in FIG. 4) placed on or over at least one coil (150). For example, at least one coil (150) may be placed within the housing part so as to face the rear side of the housing part. For example, at least one coil (150) may be electrically connected to a communication circuit (140).
[0064] In operation 505, at least one processor (110) may maintain the payment mode until the timer expires, based on identifying that the part associated with at least one coil (150) is not in contact through at least one second sensor (170) (no in operation 508). For example, since the part associated with at least one coil (150) is the part from which a signal for performing a payment in the payment mode is radiated, at least one processor (110) may enhance the user experience of performing a payment in the payment mode by maintaining the payment mode when the part from which the signal is radiated is not in contact by the user. For example, at least one processor (110) may maintain the payment mode by having the communication circuit (140) maintain the radiation of the signal for performing a payment in the payment mode through at least one coil (150). For example, at least one processor (110) may reset the time of the timer based on identifying that the part associated with at least one coil (150) is not in contact through at least one second sensor (170). For example, at least one processor (110) may reset the time of the timer to 50 seconds based on identifying that the part associated with at least one coil (150) is not in contact through at least one second sensor (170).
[0065] In operation 507, at least one processor (110) may enter the general mode from the payment mode based on identifying that the part associated with at least one coil (150) is contacted through at least one second sensor (170) (yes in operation 508). For example, since the part associated with at least one coil (150) is the part that emits a signal to perform a payment in the payment mode, at least one processor (110) may reduce power consumption associated with the payment mode and prevent unwanted payments from being performed in the payment mode by terminating the performance of the payment mode when the part that emits the signal is contacted by a user. For example, based on entering the general mode, at least one processor (110) may visually provide a user interface (UI) indicating that the general mode is being performed to the outside of the foldable electronic device (101) (e.g., user) through a flexible display (130) and / or a display (131). For example, at least one processor (110) may terminate the communication circuit (140) radiating the signal to perform payment in the payment mode through at least one coil (150) based on entering the general mode.
[0066] In one embodiment, unlike operation 508 illustrated in FIG. 5, at least one processor (110) may identify whether the external contact identified by at least one second sensor (170) corresponds to a user pattern based on the identification that the state of the foldable electronic device (101) changes from the unfolded state to the folded state before the reference time elapses after the input is received. For example, the reference time may be described as a time distinct from the time of the timer. For example, the time of the timer may be set to 50 seconds, and the reference time may be set to 10 seconds. For example, at least one processor (110) may identify information indicating a user pattern regarding the external contact for performing a payment in the payment mode based on the input. For example, the user pattern may include a pattern regarding the external contact while the payment mode is being performed and / or a pattern regarding the external contact when entering the payment mode from the general mode. However, the present disclosure is not limited thereto. For example, the user pattern may include a pattern regarding the external contact while the general mode is being performed and / or a pattern regarding the external contact when entering the general mode from the payment mode. For example, the information representing the user pattern may be stored in memory (120). For example, at least one processor (110) may maintain the payment mode until the timer expires in operation 505 based on the identification of the external contact corresponding to the user pattern. For example, at least one processor (110) may enter the general mode from the payment mode in operation 507 based on the identification of the external contact not corresponding to the user pattern.
[0067] In one embodiment, operation 508 illustrated in FIG. 5 may be omitted or skipped. For example, in operation 504, at least one processor (110) may identify whether the state of the foldable electronic device (101) changes from the unfolded state to the folded state. For example, in operation 506, at least one processor (110) may identify whether the reference time has elapsed after the input is received. For example, the reference time may be described as a time distinct from the time of the timer. For example, the time of the timer may be set to 50 seconds, and the reference time may be set to 10 seconds. For example, at least one processor (110) may maintain the payment mode until the timer expires in operation 505, based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the folded state before the reference time has elapsed after the input is received. For example, at least one processor (110) may reset the time of the timer based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the folding state before the reference time elapses after the input is received. For example, at least one processor (110) may identify that the user authentication information obtained in relation to the input is valid in relation to the payment mode based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the folding state before the reference time elapses after the input is received.For example, at least one processor (110) may enter the general mode in the payment mode in operation 507 based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the folding state after the reference time has elapsed since the input was received. For example, at least one processor (110) may identify that the user authentication information obtained in relation to the input is invalid in relation to the payment mode based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the folding state after the reference time has elapsed since the input was received.
[0068] In one embodiment, operation 506 illustrated in FIG. 5 may be performed independently of operation 504. For example, at least one processor (110) may identify whether the reference time has elapsed while the payment mode is performed based on the input in operation 506. For example, the reference time may be described as a time distinct from the time of the timer. For example, the time of the timer may be set to 50 seconds, and the reference time may be set to 10 seconds. For example, at least one processor (110) may maintain the payment mode in operation 505 based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the folded state in operation 504 while identifying that the reference time has not elapsed. For example, at least one processor (110) may enter the normal mode from the payment mode in operation 507 based on identifying that the state of the foldable electronic device (101) in operation 504 has changed from the unfolded state to the folding state after identifying that the reference time has elapsed.
[0069] In one embodiment, the foldable electronic device (101) may be a multi-foldable electronic device that provides the unfolded state, single-folding state, and multi-folding state. For example, the multi-foldable electronic device may be described as a multi-foldable electronic device (e.g., E-type multi-foldable electronic device and G-type multi-foldable electronic device) in which a first housing part is rotatably coupled to a second housing part in a first rotational direction (e.g., clockwise) and a third housing part is rotatably coupled to the second housing part in a second rotational direction (e.g., counterclockwise). In another example, the multi-foldable electronic device may be described as a multi-foldable electronic device (e.g., Z-type multi-foldable electronic device) in which a first housing part is rotatably coupled to a second housing part in the first rotational direction (e.g., clockwise) and a third housing part is rotatably coupled to the second housing part in the first rotational direction (e.g., clockwise).
[0070] In one embodiment, the folding state may be the single-folding state. For example, at least one processor (110) may identify a first folding angle between a first housing part of a foldable electronic device (101) (e.g., the first housing part (410) shown in FIG. 4) and a second housing part of the foldable electronic device (101) rotatably coupled to the first housing part (e.g., the second housing part (420) shown in FIG. 4) through at least one first sensor (160). For example, the first folding angle may correspond to an angle between a first direction facing the front side of the first housing part and a second direction facing the front side of the second housing part. For example, the angle between the first direction and the second direction may be described as the smaller of two angles formed by a straight line in the first direction and a straight line in the second direction. For example, if the straight line of the first direction and the straight line of the second direction are orthogonal, the angle between the first direction and the second direction may be 90°. For example, the first folding angle may be an angle obtained by subtracting the angle between the first direction and the second direction from 180°. For example, at least one processor (110) may identify a second folding angle between the second housing part of the foldable electronic device (101) and the third housing part of the foldable electronic device (101) rotatably coupled to the second housing part (e.g., the third housing part (430) shown in FIG. 4) through at least one first sensor (160). For example, the second folding angle may correspond to the angle between the second direction to which the front side of the second housing part faces and the third direction to which the front side of the third housing part faces. For example, the angle between the second direction and the third direction can be described as the smaller of the two angles formed by the straight line of the second direction and the straight line of the third direction.For example, if the straight line of the second direction and the straight line of the third direction are orthogonal, the angle between the second direction and the third direction may be 90°. For example, the second folding angle may be an angle obtained by subtracting the angle between the second direction and the third direction from 180°.
[0071] For example, at least one processor (110) can identify, through at least one first sensor (160), a single-folding state in which the first folding angle is within a first reference range and the second folding angle is within a second reference range. For example, at least one processor (110) can identify, through at least one first sensor (160), a single-folding state in which the first folding angle is within the second reference range and the second folding angle is within the first reference range. For example, at least one processor (110) can identify, through at least one first sensor (160), a multi-folding state in which the first folding angle and the second folding angle are within the first reference range. For example, at least one processor (110) can identify, through at least one first sensor (160), a state in which the first folding angle and the second folding angle are within the second reference range as the unfolded state. Each of the first reference range and the second reference range may be set differently according to the embodiment. For example, the first reference range may be a range greater than or equal to 0° and less than or equal to a reference angle (x°). For example, the second reference range may be a range greater than the reference angle (x°) and less than or equal to 180°. ('x' may be a number between 0 and 180.)
[0072] For example, at least one processor (110) can identify whether a reference time has elapsed since the input was received, based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the single-folding state while the payment mode is being performed. For example, the reference time may be described as a time distinct from the time of the timer. For example, the time of the timer may be set to 50 seconds, and the reference time may be set to 10 seconds. For example, at least one processor (110) can maintain the payment mode until the timer expires, based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the single-folding state before the reference time has elapsed since the input was received. For example, at least one processor (110) may reset the time of the timer based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the single-folding state before the reference time elapses after the input is received. For example, at least one processor (110) may enter the general mode from the payment mode based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the single-folding state after the reference time elapses after the input is received.
[0073] For example, at least one processor (110) can identify, through at least one first sensor (160), that the state of the foldable electronic device (101) changes from the single-folding state to the multi-folding state while the payment mode is being performed. For example, at least one processor (110) can maintain the payment mode until the timer expires based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the single-folding state and then changes from the single-folding state to the multi-folding state before the reference time has elapsed. For example, at least one processor (110) can reset the time of the timer based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the single-folding state and then changes from the single-folding state to the multi-folding state before the reference time has elapsed. For example, at least one processor (110) can enter the general mode from the payment mode based on identifying that the state of the foldable electronic device (101) changes from the unfolded state to the single-folding state and then, after the reference time has elapsed, the state of the foldable electronic device changes from the single-folding state to the multi-folding state.
[0074] As described above, the foldable electronic device (101) may maintain the payment mode based on the state of the foldable electronic device (101) changing before the reference time elapses after the input for entering the payment mode is received. For example, by maintaining the payment mode, the foldable electronic device (101) may enhance the user experience of making a payment in the payment mode while the state of the foldable electronic device (101) is changed. For example, the foldable electronic device (101) may terminate the payment mode based on the state of the foldable electronic device (101) changing after the reference time elapses after the input for entering the payment mode is received. For example, by terminating the payment mode, the foldable electronic device (101) may reduce power consumption associated with the payment mode and prevent unwanted payments from being made in the payment mode.
[0075] FIG. 6 is a diagram illustrating an example of an operation performed in relation to a payment mode while the state of a foldable electronic device changes from an unfolded state to a folded state.
[0076] Referring to FIG. 6, display states (610), display states (620), display states (630), and display states (640) are shown in relation to payment mode and / or general mode while the state of the foldable electronic device (101) changes from an unfolded state to a folded state.
[0077] The display state (610) is an example of a state in which the foldable electronic device (101) displays the UI (user interface) of the normal mode through the flexible display (130) while the foldable electronic device (101) is in the unfolded state. For example, the normal mode may be described as a mode in which the communication circuit (140) does not radiate a signal to perform payment through at least one coil (150). The foldable electronic device (101) may provide the UI, including visual information (611) indicating a card to be used for payment in the payment mode and visual information (612) guiding input to enter the payment mode in the normal mode, to the user through the flexible display (130).
[0078] The display state (620) is an example of a state in which the UI of the payment mode is displayed through the flexible display (130) based on receiving an input to enter the payment mode while the foldable electronic device (101) is in the unfolded state. The foldable electronic device (101) may provide the UI to the user through the flexible display (130), including visual information (621) indicating a card to be used for payment in the payment mode, visual information (622) guiding actions to perform payment in the payment mode, and visual information (623) indicating the remaining time of a timer (e.g., 48 seconds) for entering the normal mode from the payment mode. The foldable electronic device (101) may radiate a signal (629) for performing payment in the payment mode through at least one coil (150) electrically connected to the communication circuit (140).
[0079] The display state (630) is an example of a state in which the foldable electronic device (101) displays the UI of the payment mode through the display (131) based on the state of the foldable electronic device (101) changing from the unfolded state to the folding state before a reference time elapses after the input is received. The foldable electronic device (101) may provide the UI to the user through the display (131), which includes visual information (631) indicating a card to be used for payment in the payment mode, visual information (632) guiding actions to perform payment in the payment mode, and visual information (633) indicating the remaining time of a timer (e.g., 50 seconds) for entering the normal mode from the payment mode. The visual information (633) may indicate the time of the timer that has been reset based on the state of the foldable electronic device (101) changing from the unfolded state to the folding state before the reference time elapses after the input is received. The foldable electronic device (101) can radiate a signal (639) for performing payment in the payment mode through at least one coil (150) electrically connected to a communication circuit (140).
[0080] The display state (640) is an example of a state in which the foldable electronic device (101) displays the UI of the general mode through the display (131) based on the fact that the state of the foldable electronic device (101) changes from the unfolded state to the folded state after the input is received and the reference time has elapsed. The foldable electronic device (101) can provide the UI to the user through the display (131), which includes visual information (641) indicating a card to be used for payment in the payment mode, and visual information (642) guiding the input to enter the payment mode in the general mode.
[0081] FIG. 7 is a diagram illustrating an example of how the external contact of a foldable electronic device changes in relation to a payment mode.
[0082] Referring to FIG. 7, while a payment mode is performed and the state of the foldable electronic device (101) changes from an unfolded state to a folded state, the grip state (710), grip state (720), and grip state (730) of a user in contact with the foldable electronic device (101) are illustrated. For example, each of the grip state (710), grip state (720), and grip state (730) can be identified through at least one second sensor (170) of the foldable electronic device (101). For example, the at least one second sensor (170) may include a touch sensor that detects contact of the user's finger and / or a grip sensor that detects pressure caused by the user's contact. In an example without limitation, the touch sensor may be placed within the flexible display (130). In an example without limitation, the grip sensor may be placed on or in the housing structure so as to face the side of the housing structure of the foldable electronic device (101).
[0083] A grip state (710) is an example of a user's grip state in contact with a foldable electronic device (101) in the unfolded state, in which a flexible display (130) displays a user interface (UI) of the payment mode and emits a signal (719) for performing a payment in the payment mode. The user's left hand (711) and the user's right hand (712) may be in a grip state (e.g., a full grip) that surrounds the bottom of the foldable electronic device (101) using fingers and palms.
[0084] A grip state (720) is an example of a grip state of a user in contact with a partially folded state of a foldable electronic device (101) in which a display (131) displays the UI of the payment mode and emits a signal (729) for performing a payment in the payment mode. For example, the grip state (720) may be described as a grip state for the user to change from the unfolded state to the folded state. The user's left hand (721) and the user's right hand (722) may be in a grip state (e.g., a full grip) that surrounds the bottom of the foldable electronic device (101) using fingers and palms.
[0085] A grip state (730) is an example of a user's grip state in a fully folded state of a foldable electronic device (101) in which the display (131) displays the UI of the payment mode and emits a signal (739) for performing a payment in the payment mode. For example, the grip state (730) can be described as a grip state for a user to perform a payment in the payment mode while the foldable electronic device (101) is in the folded state. The user's left hand (731) may be in a grip state (e.g., finger grip) in which the user holds the front portion of the foldable electronic device (101) using fingers. As described above, the foldable electronic device (101) may maintain the payment mode being performed based on the fact that the portion (e.g., part of the rear portion of the foldable electronic device (101)) associated with at least one coil (150) that emits a signal for performing a payment in the payment mode is not in contact.
[0086] FIGS. 8A and FIGS. 8B are drawings for illustrating an example of an operation performed in relation to a payment mode while the state of a foldable electronic device changes from an unfolded state to a multi-folding state.
[0087] Referring to FIGS. 8a and 8b, the state of a foldable electronic device (110) having the form of a multi-foldable electronic device (e.g., the foldable electronic device (101) of FIG. 4) is illustrated. FIGS. 8a and 8b illustrate display states (810), display state (820), display state (830), display state (840), and display state (850) that are displayed in relation to payment mode and / or general mode while changing from an unfolded state through a single-folding state to a multi-folding state.
[0088] The display state (810) is an example of a state in which the user interface (UI) of the payment mode is displayed through the entire display area of the flexible display (130) based on receiving an input to enter the payment mode while the foldable electronic device (101) is in the unfolded state. The foldable electronic device (101) may provide the user with the UI through the entire display area of the flexible display (130), which includes visual information (811) indicating a card to be used for payment in the payment mode, visual information (812) guiding actions to perform payment in the payment mode, and visual information (813) indicating the remaining time of a timer (e.g., 48 seconds) for entering the normal mode from the payment mode. The foldable electronic device (101) may radiate a signal (819) for performing payment in the payment mode through at least one coil (150) electrically connected to a communication circuit (140).
[0089] The display state (820) is an example of a state in which the UI of the payment mode is displayed through a portion of the display area of the flexible display (130) based on the fact that the state of the foldable electronic device (101) changes from the unfolded state to the single-folding state before a reference time elapses after the input is received. The foldable electronic device (101) can provide the UI to the user through the portion of the display area of the flexible display (130), including visual information (821) indicating a card to be used for payment in the payment mode, visual information (822) guiding actions to perform payment in the payment mode, and visual information (823) indicating the remaining time of a timer (e.g., 50 seconds) for entering the normal mode from the payment mode. Visual information (823) may indicate the time of the timer, which is reset based on the state of the foldable electronic device (101) changing from the unfolded state to the single-folding state before the reference time elapses after the input is received. The foldable electronic device (101) may radiate a signal (829) for performing a payment in the payment mode through at least one coil (150) electrically connected to the communication circuit (140).
[0090] The display state (830) is an example of a state in which the UI of the payment mode is displayed through the partial display area of the flexible display (130) based on the fact that the state of the foldable electronic device (101) changes from the single-folding state to the multi-folding state before the reference time elapses after the foldable electronic device (101) changes from the unfolded state to the single-folding state. The foldable electronic device (101) can provide the UI to the user through the partial display area of the flexible display (130), which includes visual information (831) indicating a card to be used for payment in the payment mode, visual information (832) guiding actions to perform payment in the payment mode, and visual information (833) indicating the remaining time (e.g., 50 seconds) of a timer for entering the normal mode in the payment mode. Visual information (833) may indicate the time of the timer, which is reset based on the state of the foldable electronic device (101) changing from the single-folding state to the multi-folding state before the reference time elapses after the foldable electronic device (101) changes from the unfolded state to the single-folding state. The foldable electronic device (101) may radiate a signal (839) for performing a payment in the payment mode through at least one coil (150) electrically connected to the communication circuit (140).
[0091] The display state (840) is an example of a state in which the UI of the general mode is displayed through a portion of the display area of the flexible display (130) based on the fact that the state of the foldable electronic device (101) changes from the unfolded state to the single-folding state after the input is received and the reference time has elapsed. For example, the general mode may be described as a mode in which the communication circuit (140) does not radiate a signal to perform payment through at least one coil (150). The foldable electronic device (101) may provide the UI, including visual information (841) indicating a card to be used for payment in the payment mode and visual information (842) guiding an input to enter the payment mode in the general mode, to the user through the portion of the display area of the flexible display (130).
[0092] The display state (850) is an example of a state in which the UI of the general mode is displayed through the partial display area of the flexible display (130) based on the foldable electronic device (101) changing from the single-folding state to the multi-folding state. The foldable electronic device (101) can provide the UI, including visual information (851) indicating a card to be used for payment in the payment mode and visual information (852) guiding input to enter the payment mode in the general mode, to the user through the partial display area of the flexible display (130).
[0093] Unlike as illustrated in FIG. 8a and FIG. 8b, the display state (850) may be a state that changes from the display state (820). For example, the foldable electronic device (101) may change the display state (820) to the display state (850) based on the state of the foldable electronic device (101) changing from the single-folding state to the multi-folding state after the reference time has elapsed since the foldable electronic device (101) changed from the unfolded state to the single-folding state.
[0094] FIG. 9 is a flowchart illustrating a method for determining whether to maintain the execution of a payment mode based on the state of a foldable electronic device changing from a folded state to an unfolded state while the payment mode is being executed.
[0095] Referring to FIG. 9, in operation 901, at least one processor (110) may receive an input to enter a payment mode through the foldable electronic device (101) while the foldable electronic device (101) is in a folded state. For example, the payment mode may be described as a mode for transmitting and / or exchanging information for payment with an external electronic device (e.g., an NFC reader and / or a magnetic card reader) based on near-field wireless communication (e.g., NFC (near-field communication) and / or MST (magnetic secure transmission)). For example, the payment mode may be described as a mode in which a communication circuit (140) by at least one processor (110) radiates a signal to perform a payment in the payment mode through at least one coil (150). According to an embodiment, at least one processor (110) may receive the input in various ways. For example, the input may include one or more inputs for entering the payment mode. For example, the one or more inputs may include inputs related to a user interface (UI) object of application software for executing the payment mode being touched through the flexible display (130) and / or display (131). For example, the one or more inputs may include inputs related to a swipe in a reference direction through the flexible display (130) and / or display (131). For example, the one or more inputs may include inputs related to user authentication information (e.g., fingerprint authentication information, PIN authentication information, and iris authentication information) for performing payment in the payment mode.For example, at least one processor (110) can obtain user authentication information for performing payment in the payment mode from the input.
[0096] In operation 902, at least one processor (110) may enter the payment mode from a normal mode based on the input for entering the payment mode. For example, the normal mode may be described as a mode distinct (or different) from the payment mode. For example, the normal mode may be described as a mode in which the communication circuit (140) by at least one processor (110) does not radiate a signal to perform a payment through at least one coil (150). For example, the normal mode may be described as a standby or ready mode for radiating the signal to perform a payment. For example, the normal mode may be described as a mode in which current (or power) is not supplied to at least one coil (150) for radiating the signal to perform a payment. For example, at least one processor (110) may visually provide a user interface (UI) indicating that the payment mode is being performed to an outside user (e.g., user) of the foldable electronic device (101) via a flexible display (130) and / or a display (131) based on the input. For example, at least one processor (110) may activate a timer (or down-count timer) set in relation to the payment mode based on the input. For example, the time of the timer may indicate the remaining time to enter the normal mode from the payment mode. For example, the time of the timer may be set to 50 seconds. For example, the time of the timer may decrease over time. For example, the time of the timer may be included in the UI indicating that the payment mode is being performed.
[0097] In operation 903, at least one processor (110) may perform the payment mode based on entering the payment mode. For example, at least one processor (110) may perform the payment mode by the communication circuit (140) radiating the signal to perform the payment in the payment mode through at least one coil (150) while the timer is active (or before the timer expires).
[0098] In operation 904, at least one processor (110) can identify whether the state of the foldable electronic device (101) changes from the folded state to the unfolded state through at least one first sensor (160) while the payment mode is being performed. For example, at least one first sensor (160) can identify the state of the foldable electronic device (101) as a folded state or an unfolded state. For example, at least one processor (110) can identify a folding angle between a first housing part of a foldable electronic device (101) (e.g., a first housing part (210) shown in FIG. 2a and 2b and a first housing part (310) shown in FIG. 3a and 3b) and a second housing part of the foldable electronic device (101) rotatably coupled to the first housing part (e.g., a second housing part (220) shown in FIG. 2a and 2b and a second housing part (320) shown in FIG. 3a and 3b) through at least one first sensor (160). For example, the folding angle between the first housing part and the second housing part may correspond to an angle between a first direction facing the front side of the first housing part and a second direction facing the front side of the second housing part. For example, the folding angle may be an angle obtained by subtracting the angle between the first direction and the second direction from 180°. For example, at least one processor (110) may identify, through at least one first sensor (160), a state in which the folding angle is within a first reference range as the folding state. For example, at least one processor (110) may identify, through at least one first sensor (160), an unfolded state in which the folding angle is within a second reference range higher than the first reference range. Each of the first reference range and the second reference range may be set in various ways according to the embodiment.For example, the first reference range may be a range greater than or equal to 0° and less than or equal to a reference angle (x°). For example, the second reference range may be a range greater than the reference angle (x°) and less than or equal to 180°. ('x' may be a number between 0 and 180.)
[0099] In operation 905, at least one processor (110) may maintain the payment mode until the timer expires, based on the fact that the state of the foldable electronic device (101) is maintained in the folded state while the payment mode is performed. For example, at least one processor (110) may maintain the payment mode by the communication circuit (140) maintaining the radiation of the signal to perform payment in the payment mode through at least one coil (150).
[0100] Although not illustrated in FIG. 9, at least one processor (110) may receive information from an external electronic device (e.g., an NFC reader or a server) indicating that a payment has been made in the payment mode while the payment mode is being performed. For example, the information may be described as NFC tagging information received from the NFC reader and / or an SMS message received from the server. For example, at least one processor (110) may enter the normal mode from the payment mode based on receiving the information. For example, at least one processor (110) may visually provide a user interface (UI) indicating that the normal mode is being performed to an outside of the foldable electronic device (101) (e.g., a user) via a flexible display (130) and / or a display (131) based on entering the normal mode. For example, at least one processor (110) may terminate the communication circuit (140) radiating the signal to perform payment in the payment mode through at least one coil (150) based on entering the general mode.
[0101] In operation 906, at least one processor (110) can identify whether a reference time has elapsed since the input was received, based on identifying that the state of the foldable electronic device (101) changes from the folding state to the unfolding state while the payment mode is being performed. For example, the reference time may be described as a time distinct from the time of the timer. For example, the time of the timer may be set to 50 seconds, and the reference time may be set to 10 seconds. For example, the reference time may be set in various ways depending on the embodiment.
[0102] In operation 907, at least one processor (110) may enter the general mode from the payment mode based on the state of the foldable electronic device (101) changing from the folding state to the unfolding state after the input is received and the reference time has elapsed. For example, at least one processor (110) may visually provide a user interface (UI) indicating that the general mode is being performed to the outside of the foldable electronic device (101) (e.g., user) via a flexible display (130) and / or a display (131) based on entering the general mode. For example, at least one processor (110) may terminate the communication circuit (140) radiating the signal to perform payment in the payment mode through at least one coil (150) based on entering the general mode.
[0103] In operation 908, at least one processor (110) can identify whether a portion related to at least one coil (150) is contacted by a user through at least one second sensor (170), based on whether the state of the foldable electronic device (101) changes from the folded state to the unfolded state after the input is received and before the reference time elapses. For example, at least one second sensor (170) may include one or more sensors for identifying external contact of the foldable electronic device (101). For example, the portion related to at least one coil (150) may be described as a portion from which the signal for performing payment in the payment mode is radiated. For example, the portion relating to at least one coil (150) may be described as a portion of the rear side of a housing part of a foldable electronic device (101) (e.g., a first housing part (210) shown in FIG. 2a and 2b, a first housing part (310) shown in FIG. 3a and 3b, and a first housing part (410) shown in FIG. 4) placed on or over at least one coil (150). For example, at least one coil (150) may be placed within the housing part so as to face the rear side of the housing part. For example, at least one coil (150) may be electrically connected to a communication circuit (140).
[0104] In operation 905, at least one processor (110) may maintain the payment mode until the timer expires, based on identifying that the part associated with at least one coil (150) is not in contact through at least one second sensor (170) (no in operation 908). For example, since the part associated with at least one coil (150) is the part from which a signal for performing a payment in the payment mode is radiated, at least one processor (110) may enhance the user experience of performing a payment in the payment mode by maintaining the payment mode when the part from which the signal is radiated is not in contact by the user. For example, at least one processor (110) may maintain the payment mode by having the communication circuit (140) maintain the radiation of the signal for performing a payment in the payment mode through at least one coil (150). For example, at least one processor (110) may display a user interface (UI) object for resetting the time of the timer through a flexible display (130) based on identifying that the part associated with at least one coil (150) is not in contact through at least one second sensor (170). For example, at least one processor (110) may reset the time of the timer to 50 seconds based on a touch input to the UI object.
[0105] In operation 907, at least one processor (110) may enter the general mode from the payment mode based on identifying that the part associated with at least one coil (150) is contacted through at least one second sensor (170) (yes in operation 908). For example, since the part associated with at least one coil (150) is the part that emits a signal to perform a payment in the payment mode, at least one processor (110) may reduce power consumption associated with the payment mode and prevent unwanted payments from being performed in the payment mode by terminating the performance of the payment mode when the part that emits the signal is contacted by a user. For example, based on entering the general mode, at least one processor (110) may visually provide a user interface (UI) indicating that the general mode is being performed to the outside of the foldable electronic device (101) (e.g., user) through a flexible display (130) and / or a display (131). For example, at least one processor (110) may terminate the communication circuit (140) radiating the signal to perform payment in the payment mode through at least one coil (150) based on entering the general mode.
[0106] In one embodiment, unlike operation 908 illustrated in FIG. 9, at least one processor (110) may identify whether the external contact identified by at least one second sensor (170) corresponds to a user pattern based on the identification that the state of the foldable electronic device (101) changes from the folding state to the unfolding state before the reference time elapses after the input is received. For example, the reference time may be described as a time distinct from the time of the timer. For example, the time of the timer may be set to 50 seconds, and the reference time may be set to 10 seconds. For example, at least one processor (110) may identify information indicating a user pattern regarding the external contact for performing a payment in the payment mode based on the input. For example, the user pattern may include a pattern regarding the external contact while the payment mode is being performed and / or a pattern regarding the external contact when entering the payment mode from the general mode. However, the present disclosure is not limited thereto. For example, the user pattern may include a pattern regarding the external contact while the general mode is being performed and / or a pattern regarding the external contact when entering the general mode from the payment mode. For example, the information representing the user pattern may be stored in memory (120). For example, at least one processor (110) may maintain the payment mode until the timer expires in operation 905 based on the identification of the external contact corresponding to the user pattern. For example, at least one processor (110) may enter the general mode from the payment mode in operation 907 based on the identification of the external contact not corresponding to the user pattern.
[0107] In one embodiment, operation 908 illustrated in FIG. 9 may be omitted or skipped. For example, in operation 904, at least one processor (110) may identify whether the state of the foldable electronic device (101) changes from the folding state to the unfolding state. For example, in operation 906, at least one processor (110) may identify whether the reference time has elapsed after the input is received. For example, the reference time may be described as a time distinct from the time of the timer. For example, the time of the timer may be set to 50 seconds, and the reference time may be set to 10 seconds. For example, at least one processor (110) may maintain the payment mode until the timer expires in operation 905, based on identifying that the state of the foldable electronic device (101) changes from the folding state to the unfolding state before the reference time has elapsed after the input is received. For example, at least one processor (110) may display a user interface (UI) object for resetting the time of the timer through a flexible display (130) based on identifying that the state of the foldable electronic device (101) changes from the folding state to the unfolding state before the reference time elapses after the input is received. For example, at least one processor (110) may reset the time of the timer based on a touch input to the UI object.For example, at least one processor (110) can identify that the user authentication information obtained in relation to the input is valid in relation to the payment mode based on identifying that the state of the foldable electronic device (101) changes from the folding state to the unfolding state before the reference time elapses after the input is received. For example, at least one processor (110) can enter the general mode from the payment mode in operation 907 based on identifying that the state of the foldable electronic device (101) changes from the folding state to the unfolding state after the reference time elapses after the input is received. For example, at least one processor (110) can identify that the user authentication information obtained in relation to the input is invalid in relation to the payment mode based on identifying that the state of the foldable electronic device (101) changes from the folding state to the unfolding state after the reference time elapses after the input is received.
[0108] In one embodiment, operation 906 illustrated in FIG. 9 may be performed independently of operation 904. For example, at least one processor (110) may identify whether the reference time has elapsed while the payment mode is performed based on the input in operation 906. For example, the reference time may be described as a time distinct from the time of the timer. For example, the time of the timer may be set to 50 seconds, and the reference time may be set to 10 seconds. For example, at least one processor (110) may maintain the payment mode in operation 905 based on identifying that the state of the foldable electronic device (101) changes from the folding state to the unfolding state in operation 904 while identifying that the reference time has not elapsed. For example, at least one processor (110) may enter the normal mode from the payment mode in operation 907 based on identifying that the state of the foldable electronic device (101) in operation 904 has changed from the folding state to the unfolding state after identifying that the reference time has elapsed.
[0109] FIG. 10 is a diagram illustrating an example of an operation performed in relation to a payment mode while the state of a foldable electronic device changes from a folding state to an unfolding state.
[0110] Referring to FIG. 10, display states (1010), display state (1020), display state (1030), and display state (1040) are shown in relation to payment mode and / or general mode while the state of the foldable electronic device (101) changes from a folding state to an unfolding state.
[0111] The display state (1010) is an example of a state in which the foldable electronic device (101) displays the UI (user interface) of the normal mode through the display (131) while the device is in the folding state. For example, the normal mode may be described as a mode in which the communication circuit (140) does not radiate a signal to perform payment through at least one coil (150). The foldable electronic device (101) may provide the UI to the user through the display (131), which includes visual information (1011) indicating a card to be used for payment in the payment mode and visual information (1012) guiding input to enter the payment mode in the normal mode.
[0112] The display state (1020) is an example of a state in which the UI of the payment mode is displayed through the display (131) based on receiving an input to enter the payment mode while the foldable electronic device (101) is in the folding state. The foldable electronic device (101) may provide the UI to the user through the display (131), which includes visual information (1021) indicating a card to be used for payment in the payment mode, visual information (1022) guiding actions to perform payment in the payment mode, and visual information (1023) indicating the remaining time of a timer (e.g., 48 seconds) for entering the normal mode from the payment mode. The foldable electronic device (101) may radiate a signal (1029) for performing payment in the payment mode through at least one coil (150) electrically connected to the communication circuit (140).
[0113] The display state (1030) is an example of a state in which the foldable electronic device (101) changes its state from the folded state to the unfolded state before a reference time elapses after the input is received, and the UI of the payment mode is displayed through the flexible display (130). The foldable electronic device (101) may provide the UI to the user through the flexible display (130), which includes visual information (1031) indicating a card to be used for payment in the payment mode, visual information (1032) guiding actions to perform payment in the payment mode, visual information (1033) indicating the remaining time (e.g., 45 seconds) of a timer for entering the normal mode from the payment mode, and a UI object (1034) for resetting the time of the timer. The foldable electronic device (101) may reset the time of the timer based on a touch input to the UI object (1034). The foldable electronic device (101) can extend the time during which the payment mode is performed according to user input by providing the UI, including the UI object (1034), to the user through the flexible display (130). The foldable electronic device (101) can radiate a signal (1039) for performing a payment in the payment mode through at least one coil (150) electrically connected to the communication circuit (140).
[0114] The display state (1040) is an example of a state in which the foldable electronic device (101) changes its state from the folded state to the unfolded state after the input is received and the reference time has elapsed, and the UI of the general mode is displayed through the flexible display (130). The foldable electronic device (101) can provide the UI to the user through the flexible display (130), including visual information (1041) indicating a card to be used for payment in the payment mode and visual information (1042) guiding an input to enter the payment mode in the general mode.
[0115] As described above, the present disclosure may determine whether to maintain the payment mode depending on when the state of the foldable electronic device (101) changes while the payment mode is being performed. However, the present disclosure is not limited thereto. For example, the present disclosure may be applicable to determining whether the foldable electronic device (101) maintains a defined mode or a defined operation depending on when the state of the foldable electronic device (101) changes. Determining whether the foldable electronic device (101) maintains an operation related to a scan code is described with reference to FIG. 11a and FIG. 11b.
[0116] FIGS. 11a and FIGS. 11b are drawings for illustrating an example of an operation performed in relation to a scan code while the state of a foldable electronic device changes from an unfolded state to a folded state.
[0117] Referring to FIG. 11a, display states (1110a), display states (1120a), display states (1130a), and display states (1140a) are shown in relation to a scan code (QR code) while the state of the foldable electronic device (101) changes from an unfolded state to a folded state.
[0118] The display state (1110a) is an example of a state in which a user interface (UI) regarding information on an airplane boarding pass is displayed through a flexible display (130) while the foldable electronic device (101) is in the unfolded state. The foldable electronic device (101) can provide the UI, which includes visual information (1111a) representing the information on the airplane boarding pass and a UI object (1112a) for displaying the information on the airplane boarding pass as a QR code, to the user through the flexible display (130).
[0119] A display state (1120a) is an example of a state in which a UI including the QR code is displayed through a flexible display (130) based on receiving a touch input to a UI object (1112a) while the foldable electronic device (101) is in the unfolded state. The foldable electronic device (101) can provide the UI, including the QR code (1121a) representing the information of the airplane boarding pass and visual information (1122a) representing the remaining time (e.g., 29 seconds) for the QR code to be displayed, to the user through the flexible display (130).
[0120] The display state (1130a) is an example of a state in which the foldable electronic device (101) changes its state from the unfolded state to the folded state before a reference time elapses after the touch input is received, and displays the UI including the QR code through the display (131). The foldable electronic device (101) can provide the UI, including the QR code (1131a) representing the information of the airplane boarding pass and visual information (1132a) representing the remaining time (e.g., 29 seconds) for the QR code to be displayed, to the user through the display (131).
[0121] The display state (1140a) is an example of a state in which the foldable electronic device (101) changes its state from the unfolded state to the folded state after the touch input is received and the reference time has elapsed, and displays the UI regarding the information of the airplane boarding pass through the display (131). The foldable electronic device (101) can provide the UI, including visual information (1141a) representing the information of the airplane boarding pass and a UI object (1142a) for displaying the information of the airplane boarding pass as a QR code, to the user through the display (131).
[0122] Referring to FIG. 11b, display states (1110b), display states (1120b), display states (1130b), and display states (1140b) are shown in relation to a scan code (barcode) while the state of the foldable electronic device (101) changes from an unfolded state to a folded state.
[0123] The display state (1110b) is an example of a state in which a user interface (UI) regarding a membership card is displayed through a flexible display (130) while the foldable electronic device (101) is in the unfolded state. The foldable electronic device (101) can provide the UI, which includes visual information (1111b) representing the membership card and a UI object (1112b) for displaying the information of the membership card as a barcode, to the user through the flexible display (130).
[0124] The display state (1120b) is an example of a state in which a UI including the barcode is displayed through a flexible display (130) based on receiving a touch input to a UI object (1112b) while the foldable electronic device (101) is in the unfolded state. The foldable electronic device (101) can provide the UI, including the barcode (1121b) representing the information of the membership card and visual information (1122b) representing the remaining time (e.g., 29 seconds) for the barcode to be displayed, to the user through the flexible display (130).
[0125] The display state (1130b) is an example of a state in which the foldable electronic device (101) changes its state from the unfolded state to the folded state before a reference time elapses after the touch input is received, and displays the UI including the barcode through the display (131). The foldable electronic device (101) can provide the UI, including the barcode (1131b) representing the information of the membership card and visual information (1132b) representing the remaining time (e.g., 29 seconds) for the barcode to be displayed, to the user through the display (131).
[0126] The display state (1140b) is an example of a state in which the foldable electronic device (101) changes its state from the unfolded state to the folded state after the touch input is received and the reference time has elapsed, and displays the UI regarding the information of the membership card through the display (131). The foldable electronic device (101) can provide the UI, which includes visual information (1141b) representing the information of the membership card and a UI object (1142b) for displaying the information of the membership card as a barcode, to the user through the display (131).
[0127] The foldable electronic device (101) may correspond to the electronic device (1201) described with reference to FIG. 12 below.
[0128] FIG. 12 is a block diagram of an electronic device in a network environment according to various embodiments.
[0129] Referring to FIG. 12, in a network environment (1200), an electronic device (1201) may communicate with an electronic device (1202) through a first network (1298) (e.g., a short-range wireless communication network) or with at least one of an electronic device (1204) or a server (1208) through a second network (1299) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (1201) may communicate with the electronic device (1204) through a server (1208). According to one embodiment, the electronic device (1201) may include a processor (1220), memory (1230), input module (1250), sound output module (1255), display module (1260), audio module (1270), sensor module (1276), interface (1277), connection terminal (1278), haptic module (1279), camera module (1280), power management module (1288), battery (1289), communication module (1290), subscriber identification module (1296), or antenna module (1297). In some embodiments, at least one of these components (e.g., connection terminal (1278)) may be omitted from the electronic device (1201), or one or more other components may be added. In some embodiments, some of these components (e.g., sensor module (1276), camera module (1280), or antenna module (1297)) may be integrated into a single component (e.g., display module (1260)).
[0130] The processor (1220) can, for example, execute software (e.g., program (1240)) to control at least one other component (e.g., hardware or software component) of the electronic device (1201) connected to the processor (1220) and can perform various data processing or operations. According to one embodiment, as at least part of the data processing or operations, the processor (1220) can store commands or data received from other components (e.g., sensor module (1276) or communication module (1290)) in volatile memory (1232), process the commands or data stored in volatile memory (1232), and store the resulting data in non-volatile memory (1234). According to one embodiment, the processor (1220) may include a main processor (1221) (e.g., a central processing unit or an application processor) or an auxiliary processor (1223) that can operate independently or together with it (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device (1201) includes a main processor (1221) and an auxiliary processor (1223), the auxiliary processor (1223) may be configured to use less power than the main processor (1221) or to be specialized for a designated function. The auxiliary processor (1223) may be implemented separately from the main processor (1221) or as part thereof.
[0131] The auxiliary processor (1223) may control at least some of the functions or states associated with at least one component of the electronic device (1201) (e.g., display module (1260), sensor module (1276), or communication module (1290)) on behalf of the main processor (1221) while the main processor (1221) is in an inactive (e.g., sleep) state, or together with the main processor (1221) while the main processor (1221) is in an active (e.g., application execution) state. According to one embodiment, the auxiliary processor (1223) (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module (1280) or communication module (1290)). According to one embodiment, the auxiliary processor (1223) (e.g., neural network processing unit) may include a hardware structure specialized for processing an artificial intelligence model. The artificial intelligence model may be generated through machine learning. Such learning may be performed, for example, on the electronic device (1201) itself where the artificial intelligence model is executed, or through a separate server (e.g., server (1208)). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model may include a plurality of artificial neural network layers.An 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), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to the hardware structure, the artificial intelligence model may include a software structure, either additionally or substantially.
[0132] The memory (1230) can store various data used by at least one component of the electronic device (1201) (e.g., processor (1220) or sensor module (1276)). The data may include, for example, software (e.g., program (1240)) and input or output data for related commands. The memory (1230) may include volatile memory (1232) or non-volatile memory (1234).
[0133] The program (1240) may be stored as software in memory (1230) and may include, for example, an operating system (1242), middleware (1244), or an application (1246).
[0134] The input module (1250) can receive commands or data to be used for a component of the electronic device (1201) (e.g., processor (1220)) from outside the electronic device (1201) (e.g., user). The input module (1250) may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0135] The sound output module (1255) can output an audio signal to the outside of the electronic device (1201). The sound output module (1255) may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as multimedia playback or recording playback. The receiver may be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part thereof.
[0136] The display module (1260) can visually provide information to an external (e.g., user) of the electronic device (1201). The display module (1260) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling said device. According to one embodiment, the display module (1260) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of the force generated by said touch.
[0137] The audio module (1270) can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module (1270) can acquire sound through an input module (1250) or output sound through an audio output module (1255) or an external electronic device (e.g., electronic device (1202)) (e.g., speaker or headphones) connected directly or wirelessly to the electronic device (1201).
[0138] The sensor module (1276) can detect the operating state of the electronic device (1201) (e.g., power or temperature) or the external environmental state (e.g., user state) and generate an electrical signal or data value corresponding to the detected state. According to one embodiment, the sensor module (1276) may include, for example, a gesture sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an accelerometer sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biosensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0139] The interface (1277) may support one or more specified protocols that can be used for the electronic device (1201) to be connected directly or wirelessly to an external electronic device (e.g., electronic device (1202)). According to one embodiment, the interface (1277) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0140] The connection terminal (1278) may include a connector through which the electronic device (1201) can be physically connected to an external electronic device (e.g., electronic device (1202)). According to one embodiment, the connection terminal (1278) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0141] The haptic module (1279) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that can be perceived by the user through tactile or kinesthetic senses. According to one embodiment, the haptic module (1279) may include, for example, a motor, a piezoelectric element, or an electric stimulation device.
[0142] The camera module (1280) can capture still images and video. According to one embodiment, the camera module (1280) may include one or more lenses, image sensors, image signal processors, or flashes.
[0143] The power management module (1288) can manage power supplied to the electronic device (1201). According to one embodiment, the power management module (1288) may be implemented, for example, as at least part of a power management integrated circuit (PMIC).
[0144] The battery (1289) can supply power to at least one component of the electronic device (1201). According to one embodiment, the battery (1289) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0145] The communication module (1290) can support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between an electronic device (1201) and an external electronic device (e.g., electronic device (1202), electronic device (1204), or server (1208)), and the performance of communication through the established communication channel. The communication module (1290) may include one or more communication processors that operate independently of the processor (1220) (e.g., application processor) and support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (1290) may include a wireless communication module (1292) (e.g., cellular communication module, short-range wireless communication module, or GNSS (global navigation satellite system) communication module) or a wired communication module (1294) (e.g., LAN (local area network) communication module, or power line communication module). The corresponding communication module among these communication modules can communicate with an external electronic device (1204) through a first network (1298) (e.g., a short-range communication network such as Bluetooth, WiFi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network (1299) (e.g., a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (1292) can identify or authenticate the electronic device (1201) within a communication network such as the first network (1298) or the second network (1299) using subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module (1296).
[0146] The wireless communication module (1292) can support 5G networks and next-generation communication technologies following 4G networks, for example, new radio access technology. NR access technology can support high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and connection of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low-latency communications (URLLC)). The wireless communication module (1292) can support a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate, for example. The wireless communication module (1292) can support various technologies for securing performance in the high-frequency band, such as beamforming, massive MIMO (multiple-input and multiple-output), full-dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large-scale antenna. The wireless communication module (1292) can support various requirements specified in the electronic device (1201), external electronic device (e.g., electronic device (1204)), or network system (e.g., second network (1299)). According to one embodiment, the wireless communication module (1292) may support a Peak data rate (e.g., 20 Gbps or more) for eMBB realization, loss coverage (e.g., 164 dB or less) for mMTC realization, or U-plane latency (e.g., downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) for URLLC realization.
[0147] An antenna module (1297) can transmit a signal or power to or from an external source (e.g., an external electronic device). According to one embodiment, the antenna module (1297) may include an antenna comprising a radiator made of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (1297) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as a first network (1298) or a second network (1299), may be selected from the plurality of antennas, for example, by a communication module (1290). A signal or power may be transmitted or received between the communication module (1290) and an external electronic device through the selected at least one antenna. According to some embodiments, in addition to the radiator, other components (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module (1297).
[0148] According to various embodiments, the antenna module (1297) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (e.g., bottom surface) of the printed circuit board and capable of supporting a specified high frequency band (e.g., mmWave band), and a plurality of antennas (e.g., array antennas) disposed on or adjacent to a second surface (e.g., top surface or side surface) of the printed circuit board and capable of transmitting or receiving a signal of the specified high frequency band.
[0149] At least some of the above components can be connected to each other via a communication method between peripheral devices (e.g., bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)) and exchange signals (e.g., commands or data) with each other.
[0150] According to one embodiment, commands or data may be transmitted or received between an electronic device (1201) and an external electronic device (1204) through a server (1208) connected to a second network (1299). Each of the external electronic devices (1202, or 1204) may be the same or a different type of device as the electronic device (1201). According to one embodiment, all or part of the operations performed on the electronic device (1201) may be performed on one or more of the external electronic devices (1202, 1204, or 1208). For example, if the electronic device (1201) needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device (1201) may request one or more external electronic devices to perform at least part of the function or service instead of performing the function or service itself or additionally. One or more external electronic devices that receive the above request may execute at least part of the requested function or service, or additional function or service related to the request, and transmit the result of the execution to the electronic device (1201). The electronic device (1201) may provide the result as is or additionally processed as at least part of the response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device (1201) may provide ultra-low latency services using, for example, distributed computing or mobile edge computing. In one embodiment, the external electronic device (1204) may include an Internet of Things (IoT) device. The server (1208) may be an intelligent server using machine learning and / or neural networks.According to one embodiment, an external electronic device (1204) or server (1208) may be included within the second network (1299). The electronic device (1201) may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0151] The technical problems to be solved in this disclosure are not limited to those mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art to which this disclosure belongs.
[0152] As described above, a foldable electronic device (e.g., foldable electronic device (101)) may include a housing (e.g., housing structure (205); housing structure (405)) comprising a first housing part (e.g., first housing part (210); first housing part (410)) and a second housing part (e.g., second housing part (220); second housing part (420)) rotatably coupled to the first housing part; at least one sensor (e.g., at least one first sensor (160)) for identifying the unfolded state of the foldable electronic device or the folded state of the foldable electronic device; at least one processor (e.g., at least one processor (110)) comprising a processing circuit; and a memory (e.g., memory (120)) that stores instructions and includes one or more storage media. The above instructions, when executed individually or collectively by the at least one processor, may cause the foldable electronic device to: receive an input to enter a payment mode through the foldable electronic device while the foldable electronic device is in the unfolded state; enter the payment mode from a normal mode based on the input; identify that the state of the foldable electronic device changes from the unfolded state to the folding state through the at least one sensor while the payment mode is being performed; maintain the payment mode being performed based on the identification that the state of the foldable electronic device changes from the unfolded state to the folding state before a reference time elapses after the input is received; and cause the foldable electronic device to enter the normal mode from the payment mode based on the identification that the state of the foldable electronic device changes from the unfolded state to the folding state after the reference time elapses after the input is received.
[0153] For example, when the above instructions are executed individually or collectively by the at least one processor: identifying whether the reference time has elapsed while the payment mode is being performed based on the input; maintaining the payment mode being performed based on identifying that the state of the foldable electronic device changes from the unfolded state to the folding state while identifying that the reference time has not elapsed; and causing the foldable electronic device to enter the normal mode from the payment mode based on identifying that the state of the foldable electronic device changes from the unfolded state to the folding state after identifying that the reference time has elapsed.
[0154] For example, when the above instructions are executed individually or collectively by the at least one processor: based on the input, a timer set in relation to the payment mode is activated, and the time of the timer indicates the remaining time for entering the normal mode from the payment mode; and based on the identification that the state of the foldable electronic device changes from the unfolded state to the folded state before the reference time elapses after the input is received, the foldable electronic device may be caused to reset the time of the timer.
[0155] For example, the above input may be a first input. The instructions, when executed individually or collectively by the at least one processor, may cause the foldable electronic device to: receive a second input to enter the payment mode through the foldable electronic device while the foldable electronic device is in the folding state; enter the payment mode from the normal mode based on the second input; identify that the state of the foldable electronic device changes from the folding state to the unfolding state through the at least one sensor while the payment mode is being performed; maintain that the payment mode is being performed based on the identification that the state of the foldable electronic device changes from the folding state to the unfolding state before the reference time elapses after the second input is received; and cause the foldable electronic device to enter the normal mode from the payment mode based on the identification that the state of the foldable electronic device changes from the folding state to the unfolding state after the reference time elapses after the second input is received.
[0156] For example, the foldable electronic device may further include a flexible display (e.g., a flexible display (130)) disposed within the first housing part and the second housing part so as to face the front side of the first housing part and the front side of the second housing part, respectively. The instructions, when executed individually or collectively by the at least one processor, may cause the foldable electronic device to display, through the flexible display, a user interface (UI) object for resetting the time of the timer based on the second input, which is identified as changing the state of the foldable electronic device from the folding state to the unfolding state before the reference time elapses after the second input is received.
[0157] For example, when the above instructions are executed individually or collectively by the at least one processor, the foldable electronic device may be caused to: identify, through the at least one sensor, a state in which the folding angle between the first housing part and the second housing part is within a first reference range as the folding state; and identify, through the at least one sensor, a state in which the folding angle is within a second reference range higher than the first reference range as the unfolding state. The folding angle may correspond to an angle between a first direction in which the front side of the first housing part faces and a second direction in which the front side of the second housing part faces.
[0158] For example, the foldable electronic device may further include at least one coil (e.g., at least one coil (150)) disposed within the first housing part so as to face the rear side of the first housing part; and a communication circuit (e.g., a communication circuit (140)) electrically connected to the at least one coil. When the instructions are executed individually or collectively by the at least one processor: the foldable electronic device may cause to radiate a signal to perform a payment in the payment mode, through the at least one coil and using the communication circuit, while the payment mode is being performed.
[0159] For example, the at least one sensor may be at least one first sensor. The foldable electronic device may further include at least one second sensor (e.g., at least one second sensor (170)) for identifying external contact of the foldable electronic device. When the instructions are executed individually or collectively by the at least one processor: identifying, through the at least one second sensor, whether the rear side portion of the first housing part placed on or over the at least one coil is in contact, based on identifying that the state of the foldable electronic device changes from the unfolded state to the folded state before the reference time elapses after the input is received; maintaining the payment mode being performed based on identifying that the rear side portion of the first housing part is not in contact; and causing the foldable electronic device to enter the normal mode from the payment mode based on identifying that the rear side portion of the first housing part is in contact.
[0160] For example, the at least one sensor may be at least one first sensor. The foldable electronic device may further include at least one second sensor for identifying an external contact of the foldable electronic device. When the instructions are executed individually or collectively by the at least one processor, they may cause the foldable electronic device to: identify information representing a user pattern regarding the external contact for performing a payment in the payment mode based on the input; identify whether the external contact identified by the at least one second sensor corresponds to the user pattern represented by the information based on the identification that the state of the foldable electronic device changes from the unfolded state to the folding state before the reference time elapses after the input is received; maintain the payment mode being performed based on the identification of the external contact corresponding to the user pattern; and cause the foldable electronic device to enter the normal mode from the payment mode based on the identification of the external contact not corresponding to the user pattern.
[0161] For example, when the above instructions are executed individually or collectively by the at least one processor: receiving information from an external electronic device indicating that a payment has been performed in the payment mode while the payment mode is being performed; and, based on receiving said information, causing the foldable electronic device to enter the general mode from the payment mode.
[0162] For example, the above instructions may cause the foldable electronic device to be executed individually or collectively by the at least one processor: to obtain user authentication information for performing payment in the payment mode from the input; to identify that the obtained user authentication information is valid in relation to the payment mode based on identifying that the state of the foldable electronic device changes from the unfolded state to the folding state before the reference time elapses after the input is received; and to identify that the obtained user authentication information is invalid in relation to the payment mode based on identifying that the state of the foldable electronic device changes from the unfolded state to the folding state after the reference time elapses after the input is received.
[0163] For example, the folding state may be a single-folding state. The housing (e.g., housing structure (405)) may further include a third housing part (e.g., third housing part (430)) rotatably coupled to the second housing part (e.g., second housing part (420)).When the above instructions are executed individually or collectively by the at least one processor: identifying, through the at least one sensor, a single-folding state in which a first folding angle between the first housing part (e.g., the first housing part (410)) and the second housing part is within a first reference range and a second folding angle between the second housing part and the third housing part is within a second reference range higher than the first reference range; identifying, through the at least one sensor, a single-folding state in which the first folding angle is within the second reference range and the second folding angle is within the first reference range; identifying, through the at least one sensor, a multi-folding state in which the first folding angle and the second folding angle are within the first reference range; and identifying, through the at least one sensor, an unfolding state in which the first folding angle and the second folding angle are within the second reference range. While the above payment mode is being performed, the state of the foldable electronic device is identified through the at least one sensor as changing from the single-folding state to the multi-folding state; the payment mode is maintained based on the identification that the state of the foldable electronic device changes from the single-folding state to the multi-folding state before the reference time elapses after the state of the foldable electronic device changes from the unfolded state to the single-folding state; and the foldable electronic device may be caused to enter the general mode from the payment mode based on the identification that the state of the foldable electronic device changes from the single-folding state to the multi-folding state after the reference time elapses after the state of the foldable electronic device changes from the unfolded state to the single-folding state.The first folding angle corresponds to an angle between a first direction facing the front side of the first housing part and a second direction facing the front side of the second housing part, and the second folding angle may correspond to an angle between a second direction facing the front side of the second housing part and a third direction facing the front side of the third housing part.
[0164] A non-transient computer-readable storage medium as described above may store one or more programs. The one or more programs may include instructions that, when executed by a foldable electronic device (e.g., foldable electronic device (101)): receive an input to enter a payment mode through the foldable electronic device while the foldable electronic device is in an unfolded state; enter the payment mode from a normal state based on the input; identify that the state of the foldable electronic device changes from the unfolded state to the folded state while the payment mode is being performed; maintain that the payment mode is being performed based on identifying that the state of the foldable electronic device changes from the unfolded state to the folded state before a reference time elapses after the input is received; and cause the foldable electronic device to enter the normal state from the payment mode based on identifying that the state of the foldable electronic device changes from the unfolded state to the folded state after the reference time elapses after the input is received.
[0165] For example, the above one or more programs may include instructions that, when executed by the foldable electronic device: identify whether the reference time has elapsed while the payment mode is being performed based on the input; maintain the payment mode being performed based on identifying that the state of the foldable electronic device changes from the unfolded state to the folding state while identifying that the reference time has not elapsed; and cause the foldable electronic device to enter the normal mode from the payment mode based on identifying that the state of the foldable electronic device changes from the unfolded state to the folding state after identifying that the reference time has elapsed.
[0166] For example, the above one or more programs may include instructions that, when executed by the foldable electronic device: activate a timer set in relation to the payment mode based on the input, and the time of the timer indicates the remaining time for entering the normal mode from the payment mode; and cause the foldable electronic device to reset the time of the timer based on the identification that the state of the foldable electronic device changes from the unfolded state to the folded state before the reference time elapses after the input is received.
[0167] For example, the above input may be a first input. The one or more programs may include instructions that, when executed by the foldable electronic device: receive a second input to enter the payment mode through the foldable electronic device while the foldable electronic device is in the folding state; enter the payment mode from the normal mode based on the second input; identify that the state of the foldable electronic device changes from the folding state to the unfolding state while the payment mode is being performed; maintain that the payment mode is being performed based on identifying that the state of the foldable electronic device changes from the folding state to the unfolding state before the reference time elapses after the second input is received; and cause the foldable electronic device to enter the normal mode from the payment mode based on identifying that the state of the foldable electronic device changes from the folding state to the unfolding state after the reference time elapses after the second input is received.
[0168] For example, the foldable electronic device may include a housing (e.g., housing structure (205); housing structure (405)) comprising a first housing part (e.g., first housing part (210); first housing part (410)) and a second housing part (e.g., second housing part (220); second housing part (420)) rotatably coupled to the first housing part. The one or more programs may include instructions that cause the foldable electronic device to: identify a state in which the folding angle between the first housing part and the second housing part is within a first reference range as the folding state; and identify a state in which the folding angle is within a second reference range higher than the first reference range as the unfolding state. The folding angle may correspond to an angle between a first direction in which the front side of the first housing part faces and a second direction in which the front side of the second housing part faces.
[0169] For example, the foldable electronic device may include a housing comprising a first housing part and a second housing part rotatably coupled to the first housing part; at least one coil (e.g., at least one coil (150)) disposed within the first housing part so as to face the rear side of the first housing part; and a communication circuit (e.g., communication circuit (140)) electrically connected to the at least one coil. The one or more programs may include instructions that cause the foldable electronic device to radiate a signal for performing a payment in the payment mode, using the communication circuit and through the at least one coil, when executed by the foldable electronic device: while the payment mode is being performed.
[0170] For example, the above one or more programs may include instructions that, when executed by the foldable electronic device: identify whether the rear side portion of the first housing part placed on or over the at least one coil is in contact, based on identifying that the state of the foldable electronic device changes from the unfolded state to the folded state before the reference time elapses after the input is received; maintain that the payment mode is performed, based on identifying that the rear side portion of the first housing part is not in contact; and cause the foldable electronic device to enter the normal mode from the payment mode, based on identifying that the rear side portion of the first housing part is in contact.
[0171] The method described above may be performed by a foldable electronic device (e.g., foldable electronic device (101)). The method may include: receiving an input to enter a payment mode through the foldable electronic device while the foldable electronic device is in an unfolded state; entering the payment mode from a normal state based on the input; identifying that the state of the foldable electronic device changes from the unfolded state to the folding state while the payment mode is being performed; maintaining the payment mode being performed based on identifying that the state of the foldable electronic device changes from the unfolded state to the folding state before a reference time elapses after the input is received; and entering the normal mode from the payment mode based on identifying that the state of the foldable electronic device changes from the unfolded state to the folding state after the reference time has elapsed after the input is received.
[0172] The effects obtainable from the present disclosure are not limited to those mentioned above, and other unmentioned effects will be clearly understood by those skilled in the art to which the present disclosure belongs.
[0173] The electronic device according to the various embodiments disclosed in this document may be of various forms. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a consumer electronics device. The electronic device according to the embodiments of this document is not limited to the devices described above.
[0174] The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of said embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of said items unless the relevant context clearly indicates otherwise. In this document, 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 each include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used simply to distinguish said components from other said components and do not limit said components in any other aspect (e.g., importance or order). Where any (e.g., 1st) component is referred to as "coupled" or "connected" to another (e.g., 2nd) component, with or without the terms "functionally" or "communicationly," it means that said any component may be connected to said other component directly (e.g., via a wire), wirelessly, or through a third component.
[0175] The term “module” as used in the various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be a component formed integrally, or a minimum unit of said component or a part thereof that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0176] Various embodiments of the present document may be implemented as software (e.g., program (1240)) comprising one or more instructions stored in a storage medium (e.g., internal memory (1236) or external memory (1238)) readable by a machine (e.g., electronic device (1201)). For example, a processor (e.g., processor (1220)) of the machine (e.g., electronic device (1201)) may call at least one of the one or more instructions stored from the storage medium and execute it. This enables the machine to be operated to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. The storage medium readable by the machine may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' simply means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently and cases where it is stored temporarily.
[0177] According to one embodiment, the method according to the various embodiments disclosed herein may be provided by being included 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 distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or distributed online (e.g., download or upload) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created on a device-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
[0178] According to various embodiments, each component (e.g., module or program) of the components described above may include a singular or multiple entities, and some of the multiple entities may be separated and placed in other components. According to various embodiments, one or more of the components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Generally or additionally, multiple components (e.g., module or program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the multiple components in the same or similar manner as those performed by the corresponding component among the multiple components prior to integration. According to various embodiments, operations performed by the module, program, or other components may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
Claims
1. In a foldable electronic device, A housing comprising a first housing part and a second housing part rotatably coupled to the first housing part; At least one sensor for identifying the unfolded state of the foldable electronic device or the folded state of the foldable electronic device; At least one processor including a processing circuit; and Memory that stores instructions and includes one or more storage media, When the above instructions are executed individually or collectively by the at least one processor: While the foldable electronic device is in the unfolded state, it receives an input to enter a payment mode through the foldable electronic device; Based on the above input, enter the above payment mode from normal mode; While the above payment mode is being performed, the state of the foldable electronic device is identified through the at least one sensor as changing from the unfolded state to the folded state; Based on the identification that the state of the foldable electronic device changes from the unfolded state to the folded state before a reference time elapses after the above input is received, the payment mode is maintained to be performed; and Based on the identification that the state of the foldable electronic device changes from the unfolded state to the folding state after the above input is received and the above reference time has elapsed, to enter the general mode from the payment mode, The above-mentioned foldable electronic device, causing, Foldable electronic device.
2. In Claim 1, When the above instructions are executed individually or collectively by the at least one processor: While the payment mode is being executed based on the above input, identify whether the above reference time has elapsed; Maintaining that the payment mode is performed based on identifying that the state of the foldable electronic device changes from the unfolded state to the folded state while identifying that the above reference time has not elapsed; and Based on identifying that the state of the foldable electronic device changes from the unfolded state to the folded state after identifying that the above reference time has elapsed, to enter the general mode from the payment mode, The above-mentioned foldable electronic device, causing, Foldable electronic device.
3. In Claim 1, When the above instructions are executed individually or collectively by the at least one processor: Based on the above input, a timer set in relation to the payment mode is activated, and the time of the timer indicates the remaining time for entering the normal mode from the payment mode; and Based on the identification that the state of the foldable electronic device changes from the unfolded state to the folded state before the reference time elapses after the above input is received, the time of the timer is reset. The above-mentioned foldable electronic device, causing, Foldable electronic device.
4. In Claim 1, The above input is the first input, and When the above instructions are executed individually or collectively by the at least one processor: While the foldable electronic device is in the folding state, it receives a second input to enter the payment mode through the foldable electronic device; Based on the second input above, enter the payment mode from the general mode; While the above payment mode is being performed, the state of the foldable electronic device is identified through the at least one sensor as changing from the folding state to the unfolding state; Based on the identification that the state of the foldable electronic device changes from the folding state to the unfolding state before the reference time elapses after the second input is received, the payment mode is maintained to be performed; and Based on the identification that the state of the foldable electronic device changes from the folding state to the unfolding state after the reference time has elapsed following the reception of the second input, the device is configured to enter the general mode from the payment mode. The above-mentioned foldable electronic device, causing, Foldable electronic device.
5. In Claim 4, The above-mentioned foldable electronic device is, The apparatus further includes a flexible display disposed within the first housing part and the second housing part so as to face the front side of the first housing part and the front side of the second housing part, respectively. When the above instructions are executed individually or collectively by the at least one processor: Based on the second input above, a timer set in relation to the payment mode is activated, and the time of the timer indicates the remaining time for entering the normal mode from the payment mode; and Based on the identification that the state of the foldable electronic device changes from the folding state to the unfolding state before the reference time elapses after the second input is received, a UI (user interface) object for resetting the time of the timer is displayed through the flexible display. The above-mentioned foldable electronic device, causing, Foldable electronic device.
6. In Claim 1, When the above instructions are executed individually or collectively by the at least one processor: Identifying, through the at least one sensor, a state in which the folding angle between the first housing part and the second housing part is within a first reference range as the folding state; and To identify, through the at least one sensor, a state in which the folding angle is within a second reference range higher than the first reference range as the unfolded state. The above-mentioned foldable electronic device, causing, The above folding angle corresponds to the angle between the first direction in which the front side of the first housing part faces and the second direction in which the front side of the second housing part faces. Foldable electronic device.
7. In Claim 1, The above-mentioned foldable electronic device is, At least one coil disposed within the first housing part so as to face the rear side of the first housing part; and It further includes a communication circuit electrically connected to at least one coil, and When the above instructions are executed individually or collectively by the at least one processor: While the above payment mode is being performed, a signal for performing payment in the above payment mode is to be radiated through the at least one coil using the communication circuit. The above-mentioned foldable electronic device, causing, Foldable electronic device.
8. In Claim 7, The above at least one sensor is at least one first sensor, and The above-mentioned foldable electronic device is, The foldable electronic device further includes at least one second sensor for identifying external contact, and When the above instructions are executed individually or collectively by the at least one processor: Based on the identification that the state of the foldable electronic device changes from the unfolded state to the folding state before the reference time elapses after the above input is received, the method identifies, through the at least one second sensor, whether the rear side portion of the first housing part disposed on or over the at least one coil is in contact; Based on identifying that the portion of the rear side of the first housing part is not in contact, the payment mode is maintained to be performed; and Based on identifying that the portion of the rear side of the first housing part contacts, to enter the general mode from the payment mode, The above-mentioned foldable electronic device, causing, Foldable electronic device.
9. In Claim 1, The above at least one sensor is at least one first sensor, and The above-mentioned foldable electronic device is, The foldable electronic device further includes at least one second sensor for identifying external contact, and When the above instructions are executed individually or collectively by the at least one processor: Based on the above input, identify information representing a user pattern regarding the external contact for performing payment in the above payment mode; Based on the identification that the state of the foldable electronic device changes from the unfolded state to the folding state before the reference time elapses after the above input is received, determining whether the external contact identified according to the at least one second sensor corresponds to the user pattern indicated by the information; Based on the identification of the external contact corresponding to the above user pattern, the payment mode is maintained to be performed; and Based on the identification of the external contact that does not correspond to the above user pattern, to enter the general mode from the payment mode, The above-mentioned foldable electronic device, causing, Foldable electronic device.
10. In Claim 1, When the above instructions are executed individually or collectively by the at least one processor: While the above payment mode is being performed, information indicating that a payment has been performed in the above payment mode is received from an external electronic device; and Based on receiving the above information, to enter the above general mode from the above payment mode, The above-mentioned foldable electronic device, causing, Foldable electronic device.
11. In Claim 1, When the above instructions are executed individually or collectively by the at least one processor: From the above input, obtain user authentication information for performing payment in the above payment mode; Based on the identification that the state of the foldable electronic device changes from the unfolded state to the folding state before the reference time elapses after the above input is received, the acquired user authentication information is identified as valid in relation to the payment mode; and Based on the identification that the state of the foldable electronic device changes from the unfolded state to the folding state after the above input is received and the above reference time has elapsed, to identify that the acquired user authentication information is invalid in relation to the payment mode, The above-mentioned foldable electronic device, causing, Foldable electronic device.
12. In Claim 1, The above folding state is a single-folding state, and The above housing further includes a third housing part rotatably coupled to the second housing part, and When the above instructions are executed individually or collectively by the at least one processor: Identifying, through the at least one sensor, a single-folding state in which the first folding angle between the first housing part and the second housing part is within a first reference range and the second folding angle between the second housing part and the third housing part is within a second reference range higher than the first reference range; Identifying, through the at least one sensor, a state in which the first folding angle is within the second reference range and the second folding angle is within the first reference range as the single-folding state; Identifying a state in which the first folding angle and the second folding angle are within the first reference range as a multi-folding state through the at least one sensor; Identifying, through the at least one sensor, a state in which the first folding angle and the second folding angle are within the second reference range as the unfolded state; While the above payment mode is being performed, the state of the foldable electronic device is identified through the at least one sensor as changing from the single-folding state to the multi-folding state; Based on the identification that the state of the foldable electronic device changes from the unfolded state to the single-folding state and then changes from the single-folding state to the multi-folding state before the reference time elapses, the payment mode is maintained to be performed; and Based on the identification that the state of the foldable electronic device changes from the single-folding state to the multi-folding state after the reference time has elapsed following the change of the state of the foldable electronic device from the unfolded state to the single-folding state, the device is configured to enter the general mode from the payment mode. The above-mentioned foldable electronic device, causing, The first folding angle above corresponds to an angle between a first direction facing the front side of the first housing part and a second direction facing the front side of the second housing part, and The second folding angle above corresponds to the angle between the second direction in which the front side of the second housing part faces and the third direction in which the front side of the third housing part faces, and Foldable electronic device.
13. In a non-transient computer-readable storage medium storing one or more programs, said one or more programs, when executed by a foldable electronic device: While the foldable electronic device is in an unfolded state, it receives an input to enter a payment mode through the foldable electronic device; Based on the above input, enter the above payment mode from normal mode; While the above payment mode is being performed, it identifies that the state of the foldable electronic device changes from the unfolded state to the folded state; Based on the identification that the state of the foldable electronic device changes from the unfolded state to the folded state before a reference time elapses after the above input is received, the payment mode is maintained to be performed; and Based on the identification that the state of the foldable electronic device changes from the unfolded state to the folding state after the above input is received and the above reference time has elapsed, to enter the general mode from the payment mode, Instructions including those that cause the above-mentioned foldable electronic device Non-transient computer-readable storage media.
14. In Claim 13, When one or more of the above programs are executed by the foldable electronic device: While the payment mode is being executed based on the above input, identify whether the above reference time has elapsed; Maintaining that the payment mode is performed based on identifying that the state of the foldable electronic device changes from the unfolded state to the folded state while identifying that the above reference time has not elapsed; and Based on identifying that the state of the foldable electronic device changes from the unfolded state to the folded state after identifying that the above reference time has elapsed, to enter the general mode from the payment mode, Instructions including those that cause the above-mentioned foldable electronic device Non-transient computer-readable storage media.
15. A method performed by a foldable electronic device, The operation of receiving an input to enter a payment mode through the foldable electronic device while the foldable electronic device is in an unfolded state; Based on the above input, the operation of entering the payment mode from the normal mode; An operation to identify when the state of the foldable electronic device changes from the unfolded state to the folded state while the above payment mode is being performed; An operation to maintain the payment mode being performed based on identifying that the state of the foldable electronic device changes from the unfolded state to the folding state before a reference time elapses after the above input is received; and Based on the identification that the state of the foldable electronic device changes from the unfolded state to the folding state after the above input is received and the above reference time has elapsed, the operation of entering the general mode from the payment mode is included. method.