Simulation card switching method, device, electronic device and storage medium
By displaying the quick card selection interface on the folding screen electronic device, users can directly select the target simulation card on the interface to switch, solving the problem of cumbersome simulation card switching in the existing technology, and improving the speed and user experience of card cutting.
Patent Information
- Application Number
- CN202210912015.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2042-07-29
AI Technical Summary
The existing NFC simulation card switching process is cumbersome, and users need to manually select through multi-level menus, affecting the user experience.
Provides an analog card switching method. By displaying the quick card selection interface on the folding screen electronic device, and displaying at least two simulated cards in a flat or stacked manner, the user can directly select the target simulated card in the quick card selection interface without opening a multi-level menu to switch.
It improves the speed and user experience of simulated card switching, simplifies the card cutting process, and improves card cutting efficiency.
Smart Images

Figure CN115167722B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and more specifically, to an analog card switching method, device, electronic device, and storage medium. Background Art
[0002] Near Field Communication (NFC) technology is a short-range wireless communication technology that has evolved from the integration of contactless radio frequency identification technology and interoperability technology. At present, this technology has been widely used in people's lives, such as common subways, buses, UnionPay QuickPass, access control systems, etc. At present, many electronic devices such as mobile phones and smart wearable devices have NFC functions. These electronic devices with NFC functions bind or activate various simulated cards (such as bus cards, bank cards, and access control cards, etc.) to realize the card swiping function through NFC technology. However, since NFC can only trigger one simulated card at a time, when multiple simulated cards are bound or activated in an electronic device, when you want to switch the card, you need to first enter the NFC card management interface, select the simulated card through the multi-level menu, and then switch the card. The card switching process is slow, which affects the user experience. Summary of the Invention
[0003] In view of the above problems, the present application proposes a simulation card switching method, device, electronic device and storage medium to improve the above problems.
[0004] In the first aspect, an embodiment of the present application provides a simulation card switching method, which is applied to a foldable screen electronic device, and the method includes: displaying a quick card selection interface, wherein the quick card selection interface displays at least two simulation cards in a tiled manner; obtaining a target simulation card selected through the quick card selection interface; and using the target simulation card as the simulation card to be currently activated, so as to complete the corresponding business through the simulation card to be currently activated when the quick card selection interface is displayed.
[0005] In the second aspect, an embodiment of the present application provides a simulation card switching device, which runs on a folding screen electronic device, and the device includes: a display module for displaying a quick card selection interface, wherein the quick card selection interface displays at least two simulation cards in a tiled manner; a content selection module for obtaining a target simulation card selected through the quick card selection interface; and a simulation card switching module for using the target simulation card as the simulation card to be currently activated, so as to complete the corresponding business through the simulation card to be currently activated when the quick card selection interface is displayed.
[0006] In a third aspect, the present application provides an electronic device comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method of the first aspect above.
[0007] In a fourth aspect, the present application provides a computer-readable storage medium, in which program code is stored, wherein the method of the first aspect described above is executed when the program code is run.
[0008] This application provides a method, device, electronic device, and storage medium for switching analog cards. The method displays a quick card selection interface that displays at least two analog cards in a tiled manner; then obtains a target analog card selected through the quick card selection interface; and then uses the target analog card as the currently activated analog card, so that the corresponding service can be completed using the currently activated analog card while the quick card selection interface is displayed. This method allows users to directly select a target analog card from the quick card selection interface to switch analog cards, eliminating the need to open a multi-level menu to select an analog card and then switch cards. This improves the speed of card switching and, in turn, enhances the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 An example diagram of an operation interface for simulating card cutting in the prior art is shown.
[0011] Figure 2 A diagram showing an application scenario applicable to the analog card switching method provided in an embodiment of the present application.
[0012] Figure 3 A method flow chart of a simulated card switching method proposed in an embodiment of the present application is shown.
[0013] Figure 4 An example interface diagram of the quick card selection interface provided in an embodiment of the present application is shown.
[0014] Figure 5 An example interface diagram of the quick card selection interface provided in an embodiment of the present application is shown.
[0015] Figure 6 Another example interface diagram of the quick tab selection interface provided in an embodiment of the present application is shown.
[0016] Figure 7 An example diagram showing prompt information for selecting a target simulation card provided in an embodiment of the present application is shown.
[0017] Figure 8 A method flow chart of a simulated card switching method proposed in another embodiment of the present application is shown.
[0018] Figure 9 A schematic diagram of a foldable screen electronic device provided in an embodiment of the present application is shown.
[0019] Figure 10 A schematic diagram of another form of a foldable screen electronic device provided in an embodiment of the present application is shown.
[0020] Figure 11 An example diagram of displaying a quick card selection interface through the first screen of an electronic device provided in an embodiment of the present application is shown.
[0021] Figure 12 An example diagram of displaying a quick card selection interface through the first screen of an electronic device provided in an embodiment of the present application is shown.
[0022] Figure 13 An example diagram shows a folding angle when the folding state of the folding screen electronic device provided by an embodiment of the present application is not fully unfolded.
[0023] Figure 14 An example diagram of displaying a quick card selection interface through the first screen of an electronic device provided in an embodiment of the present application is shown.
[0024] Figure 15 An example diagram of displaying a quick card selection interface through the first screen of an electronic device provided in an embodiment of the present application is shown.
[0025] Figure 16 An example diagram of displaying a quick card selection interface through the first screen of an electronic device provided in an embodiment of the present application is shown.
[0026] Figure 17 An example diagram of displaying a quick card selection interface through the second screen of an electronic device provided in an embodiment of the present application is shown.
[0027] Figure 18 An example diagram of displaying a quick card selection interface through the second screen of an electronic device provided in an embodiment of the present application is shown.
[0028] Figure 19 An example diagram of displaying a quick card selection interface through the second screen of an electronic device provided in an embodiment of the present application is shown.
[0029] Figure 20An example diagram of displaying a quick card selection interface through the second screen of an electronic device provided in an embodiment of the present application is shown.
[0030] Figure 21 A method flow chart of a simulation card switching method proposed in another embodiment of the present application is shown.
[0031] Figure 22 Another example diagram shows a folding angle when the folding state of the folding screen electronic device provided by an embodiment of the present application is not fully unfolded.
[0032] Figure 23 A method flow chart of a simulation card switching method proposed in yet another embodiment of the present application is shown.
[0033] Figure 24 A method flow chart of a simulation card switching method proposed in yet another embodiment of the present application is shown.
[0034] Figure 25 An example diagram showing card swiping information associated with a target simulated card through a quick card selection interface provided by an embodiment of the present application is shown.
[0035] Figure 26 A structural block diagram of an analog card switching device proposed in an embodiment of the present application is shown.
[0036] Figure 27 A structural block diagram of an electronic device for executing an analog card switching method according to an embodiment of the present application is shown.
[0037] Figure 28 It is a storage unit for storing or carrying program codes for implementing a simulated card switching method according to an embodiment of the present application. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0039] NFC is a short-range, high-frequency wireless communication technology that allows contactless, point-to-point data transmission between NFC electronic devices within a distance of 10 cm. NFC technology has become a relevant international standard and is widely used. In related technologies where electronic devices use NFC technology to simulate cards, it is possible that multiple simulated cards are activated in the same electronic device. For example, a car key, a transportation card, an access card, and a bank card may be activated in an electronic device at the same time. In this case, there is usually a need to switch the simulated card on the electronic device. However, the existing simulated card switching method is mainly based on manual selection by the user to complete the switch (for example, in Figure 1 The card swiping interface shown on the left shows multiple simulated cards on the bottom. When the user touches the simulated card on the bottom, the secondary interface will be called out, showing Figure 1 The right figure shows the simulation card selection interface, where users can select Figure 1 As shown in the figure on the right, the simulation card is selected from multiple simulation cards for switching. The card switching process is relatively cumbersome, resulting in low efficiency in simulation card switching.
[0040] In order to facilitate a better understanding of the solution described in the embodiment of the present application, an application scenario involved in the analog card switching method provided in the embodiment of the present application is introduced below with reference to the accompanying drawings:
[0041] See also Figure 2 , shows an application scenario diagram applicable to the analog card switching method provided in the embodiment of the present application. Figure 2 As shown, the first device 10 supports NFC technology, and the first device 10 can establish an NFC communication connection with the second device 20. The first device 10 may include but is not limited to folding screen electronic devices such as mobile phones, smart wearable devices, and tablet computers. The second device 20 may be an NFC radio frequency device, an NFC card reader, etc., which has an NFC card reading function and can read and write information from other media such as labels, stickers, and business cards with NFC chips. For example, the second device 20 may include but is not limited to NFC card readers of subway gates, access control card readers, UnionPay POS (point of sale) machines, etc. As a way, when the first device 10 is in the NFC radio frequency field generated by the second device 20, the first device 10 can establish an NFC communication connection with the second device 20 and exchange data through the NFC communication connection.
[0042] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0043] See also Figure 3 An embodiment of the present application provides a method for switching analog cards, which can be applied to foldable screen electronic devices. The method includes:
[0044] Step S110: Displaying a quick card selection interface, wherein the quick card selection interface displays at least two simulated cards in a tiled manner.
[0045] In this embodiment, the swiping or switching of the simulated card can be completed through the quick card selection interface. The quick card selection interface displays at least two (two or more) simulated cards in a tiled manner. The types of the at least two simulated cards can be the same or different. The direction of the tiled display is not limited and can be tiled vertically or horizontally. As a way, a card can be selected from the at least two simulated cards tiled in the quick card selection interface to switch the simulated card, or after switching the card, the foldable screen electronic device can be placed close to the radio frequency device or card reader to swipe the card.
[0046] See also Figure 4 , shows an example diagram of the quick card selection interface provided by the embodiment of the present application, such as Figure 4 As shown, the quick card selection interface 111 displays simulated card 112, simulated card 113 and simulated card 114 in a tiled manner. Among them, simulated card 112 is a car key, simulated card 113 is a transportation card, and simulated card 114 is a bank card. It should be noted that the number of simulated cards displayed on the quick card selection interface 111 does not represent the total number of simulated cards that it can display, that is, the number of simulated cards displayed on the quick card selection interface 111 is less than or equal to the total number of simulated cards that can be displayed on the quick card selection interface. Optionally, the number of simulated cards displayed on the quick card selection interface 111 can be adapted according to the screen size of the folding screen electronic device, and other simulated cards that are not displayed can be temporarily hidden.
[0047] In this embodiment, the quick card selection interface can also display at least two (two or more) simulated cards in a stacked manner. Similarly, the types of the at least two simulated cards can be the same or different. The direction of the stacked display can be unlimited. For example, when the electronic device is in landscape mode, the stacked display can be displayed horizontally, and when the electronic device is in portrait mode, the stacked display can be displayed vertically. In a specific embodiment, please refer to Figure 5 , shows an example diagram of the quick card selection interface provided by the embodiment of the present application, such as Figure 5 As shown, you can stack and display at least two simulation cards through the quick card selection interface ( Figure 5 There are 7 simulated cards shown, stacked vertically).
[0048] Compared with the card selection interface and card switching interface in the prior art, the quick card selection interface in this embodiment is intuitive and clear, allowing the user to intuitively select the simulated card to be switched from at least two simulated cards to complete the card switching.
[0049] Step S120: Acquire the target simulated card selected through the quick card selection interface.
[0050] As a card switching method in this embodiment, when the quick card selection interface is displayed, the target analog card selected through the quick card selection interface can be obtained. The target analog card represents the analog card to be switched. For example, Figure 4 In the quick card selection interface shown, the simulation card 113 is selected as the target simulation card.
[0051] There are multiple ways to obtain the target simulation card selected through the quick card selection interface.
[0052] As a method, the card identifier corresponding to the designated position of the quick card selection interface when the touch operation stops can be obtained; then the simulated card corresponding to the card identifier is used as the selected target simulated card. Among them, the designated position can be understood as the position of the screen corresponding to the folding screen electronic device after the NFC chip is set. For example, if the NFC chip is set on the upper part of the screen of the folding screen electronic device (such as Figure 6 The 115 shown represents that the NFC sensing area is set at the upper part of the screen of the folding screen electronic device), so the designated position can be the upper part of the screen of the folding screen electronic device. Figure 6 As shown, in order to quickly locate the target simulated card to be selected, a page indicator 121 can be set (indicated by the origin in the figure, which is only used as an example and does not constitute a limitation of this solution). The number of page indicators 121 represents the number of simulated cards, such as Figure 6 As shown, the page indicator 121 has a total of 4 origins, indicating that there are a total of four simulated cards that can be switched and selected. You can directly click on the origin to jump the simulated card corresponding to the origin to the specified position. If the NFC chip is set in the center of the screen of the folding screen electronic device (such as Figure 4 As shown, the position covered by the double-layer circle at the location of the simulated card 113 is the designated position), then the designated position can be the center of the screen of the folding screen electronic device.
[0053] The card identifier is used to uniquely identify the simulated card. Different types of simulated cards have different corresponding card identifiers. Different simulated cards of the same type also have different corresponding card identifiers. The specific form of the card identifier is not limited. The touch operation can be sliding, clicking, etc. If it is a sliding operation, the sliding direction can be set according to actual needs. For example, it can be sliding up and down (in this case, at least two simulated cards are vertically tiled, such as Figure 4 As shown in the figure), it can also be sliding left and right (in this case, at least two simulated cards are horizontally tiled, not shown in the figure), and there is no specific limitation.
[0054] As another way, the usage scenario of the foldable screen electronic device can be obtained; then, the target simulated card can be determined according to the usage scenario, and the selection prompt information of the target simulated card can be displayed through the quick card selection interface; then, the target simulated card can be selected through the quick card selection interface according to the selection prompt information. In some specific application scenarios, the correspondence between different scenarios and different types of simulated cards can be pre-built, so that when using the simulated card function, the usage scenario of the foldable screen electronic device can be judged, and then the target simulated card can be determined according to the usage scenario. However, if the automatic card selection method is used directly to help the user select the target simulated card, errors may occur due to various reasons. For example, when there are two bank cards in the simulated card list, the bank card selected by the automatic card selection method may not be the one the user wants to use.
[0055] Therefore, in order to help users select the target simulation card more accurately, the target simulation card can be determined according to the usage scenario, and the target simulation card selection prompt information (such as Figure 7 The selection prompt information 117 shown indicates that the user can slide his finger downward to select the target simulated card determined according to the usage scenario. Figure 7 The style of the selection prompt information shown is for example only and does not constitute a limitation of the present solution), so as to instruct the user on how to quickly select the determined target simulation card according to the selection prompt information. At the same time, by selecting the prompt information, the user can confirm again whether to use the target simulation card determined according to the usage scenario as the final selected target simulation card. Optionally, if the user selects the target simulation card determined according to the usage scenario through the quick card selection interface according to the selection prompt information, then it is determined that the user is willing to use the target simulation card determined according to the usage scenario as the final selected target simulation card, and if the user selects other simulation cards as the target simulation card through the quick card selection interface according to the selection prompt information, then it is determined that the user is not willing to use the target simulation card determined according to the usage scenario as the final selected target simulation card.
[0056] When the target simulation card is determined according to the usage scenario, the selection prompt information of the target simulation card is displayed through the quick card selection interface. On the one hand, it can help the user quickly locate the target simulation card determined according to the usage scenario to speed up the card selection. On the other hand, through the selection prompt information, the user can confirm whether the currently selected target simulation card is the simulation card the user actually wants to select. If so, more accurate card selection and then card switching can be achieved through automatic selection based on the scenario combined with manual confirmation; if not, the user can flexibly change the currently selected target simulation card, thereby improving the flexibility of card selection and switching.
[0057] Step S130: using the target simulated card as the simulated card to be currently activated, so as to complete the corresponding service through the simulated card to be currently activated when the quick card selection interface is displayed.
[0058] As a method, after selecting a target simulated card, the target simulated card can be used as the currently activated simulated card to complete the corresponding service through the currently activated simulated card when the quick card selection interface is displayed. The corresponding service represents the function simulated by the simulated card. For example, when the simulated card is an access card, the corresponding service represents the simulated access card's door opening function; when the simulated card is a bank card, the corresponding service represents the simulated bank card's payment function; when the simulated card is a car key, the corresponding service represents the simulated car key's unlocking function.
[0059] This embodiment improves the efficiency of analog card switching by completing card selection and card switching on the same interface without having to complete card selection and / or card switching through a multi-level menu interface.
[0060] This application provides a method for switching between analog cards. The method involves displaying a quick card selection interface that displays at least two analog cards in a tiled manner; then obtaining a target analog card selected through the quick card selection interface; and then using the target analog card as the currently activated analog card, so that the corresponding service can be completed using the currently activated analog card while the quick card selection interface is displayed. This method allows users to directly select a target analog card from the quick card selection interface to switch between analog cards, eliminating the need to open a multi-level menu to select an analog card before switching between cards. This improves the speed of card switching and, in turn, enhances the user experience.
[0061] See also Figure 8 Another embodiment of the present application provides a method for switching analog cards, which can be applied to foldable screen electronic devices. The method includes:
[0062] Step S210: Obtain the folding state of the folding screen electronic device.
[0063] In the embodiment of the present application, the foldable screen electronic device can be an inner foldable screen electronic device and / or an outer foldable screen electronic device, without specific limitation. The folding state of the foldable screen electronic device can include folded and unfolded, wherein unfolded includes fully unfolded and not fully unfolded.
[0064] The foldable screen electronic device includes a first screen and a second screen, and the size of the first screen is larger than the size of the second screen. In some embodiments, the first screen can be the main screen of the foldable screen electronic device, and the second screen can be the secondary screen of the foldable screen electronic device.
[0065] See also Figure 9, shows a schematic diagram of a folding screen electronic device provided by an embodiment of the present application, such as Figure 9 As shown, the folding screen electronic device 200 includes a first screen 211 (as shown in FIG. Figure 9 As shown on the left) and the second screen 212 (as Figure 9 As shown in the figure on the right), where Figure 9 The first screen 211 shown on the left of the figure represents the screen of the folding screen electronic device 200 when it is in a fully unfolded state (this screen is the main screen of the folding screen electronic device 200). Figure 9 The second screen 212 shown on the right side of the figure represents the screen of the folding screen electronic device 200 when it is in a folded state (this screen is the secondary screen of the folding screen electronic device 200 and can be set on the back of the folding screen electronic device 200).
[0066] See also Figure 10 , shows another form of a folding screen electronic device provided by an embodiment of the present application, such as Figure 10 As shown, the folding screen electronic device 300 includes a first screen 211 (such as Figure 10 As shown in the right figure) and the second screen 212 (as Figure 10 As shown on the left of the figure). Among them, Figure 10 The first screen 211 shown on the right side of the figure represents the screen of the folding screen electronic device 300 when it is in a fully unfolded state (this screen is the main screen of the folding screen electronic device 300). Figure 10 The second screen 212 shown on the left of the figure represents the screen of the folding screen electronic device 300 when it is in the folded state (this screen is the secondary screen of the folding screen electronic device 300). The first screen 211 includes two parts, namely Figure 10 The first portion 211 (1) and the second portion 211 (2) shown in the right figure can be wound around Figure 10 The shafts L shown are rotatable relative to each other.
[0067] When the folding state of the folding screen electronic device is not fully unfolded (such as Figure 11 As shown), the first part 211 (1) and the second part 211 (2) have a folding angle (as shown Figure 11 Folding angle α shown).
[0068] The foldable screen electronic device includes a hinge for connecting the two foldable screens of the foldable screen electronic device. As a method, a hinge sensing module can be provided for the foldable screen electronic device to monitor the folding angle of the foldable screen electronic device, so as to obtain the folding state of the foldable screen electronic device according to the folding angle. Optionally, if the folding angle is less than a certain threshold value (such as 0 degrees, 10 degrees, or 30 degrees), it can be determined that the foldable screen electronic device is in a folded state; if the folding angle is greater than the threshold value, it can be determined that the foldable screen electronic device is in an unfolded state (including a fully unfolded state and an incompletely unfolded state, wherein, in the fully unfolded state, the folding angle is 180 degrees).
[0069] Step S221: If the folding state is unfolded, a quick card selection interface is displayed on the first screen, and the quick card selection interface displays at least two simulated cards in a tiled manner.
[0070] As a method, if the folding state of the folding screen electronic device is unfolded (for example, it can be fully unfolded), the quick card selection interface can be displayed on the first screen (i.e., the main screen) of the folding screen electronic device. It should be noted that if the folding state of the folding screen electronic device is not fully unfolded, the quick card selection interface can also be displayed on the first screen of the folding screen electronic device. In this case, the first screen can display the quick card selection interface in a split screen.
[0071] In one embodiment, when the foldable screen electronic device is Figure 9 The electronic device 200 shown in the form, if the folding state of the folding screen electronic device is unfolded, can be Figure 9 The first screen 211 shown in the left figure displays a quick card selection interface. In a specific application scenario, such as Figure 11 As shown, it can be achieved through Figure 9 The first screen 211 shown in the left figure displays a quick card selection interface, in which the quick card selection interface displays at least two simulated cards in a tiled manner; or Figure 12 As shown, it can be achieved through Figure 9 The first screen 211 shown in the left figure displays a quick card selection interface. In this manner, the quick card selection interface displays at least two simulated cards in a stacked manner.
[0072] In another embodiment, when the foldable screen electronic device is Figure 10 The electronic device 300 shown in the form, if the folding state of the folding screen electronic device is unfolded, can be Figure 10 As shown in the right picture or Figure 13 The first screen 211 shown in FIG. 1 shows a quick card selection interface. In a specific application scenario, such as Figure 14 As shown, if the folding state of the folding screen electronic device is unfolded, it can be Figure 10The first screen 211 shown in the right figure displays a quick card selection interface, in which the quick card selection interface displays at least two simulated cards in a stacked manner; or Figure 15 As shown, if the folding state of the folding screen electronic device is unfolded, it can be Figure 10 The first screen 211 shown in the right figure displays a quick card selection interface, in which the quick card selection interface displays at least two simulated cards in a tiled manner; or Figure 16 As shown, if the folding state of the folding screen electronic device is unfolded, through Figure 13 The first screen 211 shown displays a quick card selection interface, in which the quick card selection interface displays at least two simulated cards in a stacked manner, and the first part 211(1) of the first screen 211 displays some simulated cards in a stacked manner, and the second part 211(2) of the first screen 211 displays another part of the simulated cards in a stacked manner.
[0073] Step S222: If the folding state is folded, a quick tab selection interface is displayed through the second screen, and the size of the first screen is larger than the size of the second screen.
[0074] As a method, if the folding state of the folding screen electronic device is folded, the quick card selection interface can be displayed through the second screen (ie, the secondary screen) of the folding screen electronic device.
[0075] In one embodiment, when the foldable screen electronic device is Figure 9 For the electronic device in the form shown, if the folding state of the folding screen electronic device is folded, it can be Figure 9 The second screen 212 shown in the right figure displays a quick card selection interface. In a specific application scenario, such as Figure 17 As shown, if the folding state of the folding screen electronic device is folded, it can be Figure 9 The second screen 212 shown in the right figure displays a quick card selection interface. In this mode, the quick card selection interface displays at least two simulated cards in a tiled manner; or Figure 18 As shown, if the folding state of the folding screen electronic device is folded, it can be Figure 9 The second screen 212 shown in the right figure displays a quick card selection interface. In this manner, the quick card selection interface displays at least two simulated cards in a stacked manner.
[0076] In another embodiment, when the foldable screen electronic device is Figure 10 For the electronic device in the form shown, if the folding state of the folding screen electronic device is folded, it can be Figure 10 The second screen 212 shown in the left figure displays a quick card selection interface. In a specific application scenario, such as Figure 19 As shown, if the folding state of the folding screen electronic device is folded, it can be Figure 10The second screen 212 shown in the left figure displays a quick card selection interface. In this mode, the quick card selection interface displays at least two simulated cards in a tiled manner; or Figure 20 As shown, if the folding state of the folding screen electronic device is folded, it can be Figure 10 The second screen 212 shown in the left figure displays a quick card selection interface. In this manner, the quick card selection interface displays at least two simulated cards in a stacked manner.
[0077] It should be noted that, in this embodiment, the method of displaying the quick card selection interface through the first screen and the method of displaying the quick card selection interface through the second screen can be arbitrarily combined to adapt to the display needs in different scenarios, thereby improving the flexibility of displaying the quick card selection interface.
[0078] For example, in one implementation, when the quick card selection interface is displayed through the first screen (i.e., the main screen of the folding screen electronic device), at least two simulated cards can be displayed in a tiled manner, and when the quick card selection interface is displayed through the second screen (i.e., the sub-screen of the folding screen electronic device), at least two simulated cards can be displayed in a stacked manner. Optionally, the spacing between each simulated card during stacked display can be adapted according to the size of the second screen.
[0079] In another implementation, when the quick card selection interface is displayed through the first screen (i.e., the main screen of the folding screen electronic device), at least two simulated cards can be displayed in a stacked manner, and when the quick card selection interface is displayed through the second screen (i.e., the sub-screen of the folding screen electronic device), at least two simulated cards can be displayed in a tiled manner.
[0080] Step S230: Acquire the target simulated card selected through the quick card selection interface.
[0081] Step S240: using the target simulated card as the simulated card to be currently activated, so as to complete the corresponding service through the simulated card to be currently activated when the quick card selection interface is displayed.
[0082] The present application provides a method for switching analog cards. The method obtains the folding state of a folding screen electronic device. If the folding state is unfolded, a quick card selection interface is displayed on the first screen, and the quick card selection interface displays at least two analog cards in a tiled manner. If the folding state is folded, a quick card selection interface is displayed on the second screen, and the size of the first screen is larger than that of the second screen. The method then obtains the target analog card selected through the quick card selection interface. The target analog card is then used as the currently activated analog card to complete the corresponding business through the currently activated analog card when the quick card selection interface is displayed. Thus, the above method can achieve the goal of directly selecting the target analog card from the quick card selection interface to switch analog cards, without having to open a multi-level menu to select the analog card to switch the card, thereby improving the convenience of switching the card and thus improving the user experience.
[0083] At the same time, by determining the screen used to display the quick card selection interface through the folding state of the folding screen electronic device, the quick card selection interface can be displayed by adaptively adapting the screen to the appropriate size according to the folding state, so that the folding screen electronic device can conveniently complete the simulated card switching process regardless of whether it is in the unfolded state or the folded state, thereby improving the switching efficiency of the simulated card.
[0084] See also Figure 21 Another embodiment of the present application provides a method for switching analog cards, which can be applied to foldable screen electronic devices. The method includes:
[0085] Step S310: Obtain the folding state of the folding screen electronic device.
[0086] Step S320: If the folding state is unfolded, obtain the folding angle of the folding screen electronic device.
[0087] Among them, when the folding state is fully unfolded, the folding angle of the folding screen electronic device can be 180 degrees or 360 degrees, and when the folding state is not fully unfolded, the folding angle is 0°<α<180°, or 180°<α<360°. This embodiment is described by taking the folding angle of 180 degrees when the folding state is fully unfolded as an example. Referring to the description in the aforementioned embodiment, as a method, a hinge sensing module can be provided for the folding screen electronic device, and then the hinge sensing module can be used to monitor and obtain the folding angle of the folding screen electronic device.
[0088] Step S330: Displaying a quick card selection interface according to the folding angle, wherein the quick card selection interface displays at least two simulated cards in a tiled manner.
[0089] If the folding angle is 0 degrees, the quick card selection interface can be displayed on the second screen of the folding screen electronic device. If the folding angle is 180 degrees, the quick card selection interface can be displayed on the first screen of the folding screen electronic device. Optionally, when the folding angle is between the two, if the quick card selection interface is displayed directly on the first screen of the folding screen electronic device, the content displayed on the quick card selection interface may not be clearly visible due to the small folding angle.
[0090] In order to improve this problem, as a way, when determining that the folding angle is an angle within the range of (0°, 180°), the angle range of the folding angle can be determined, and the screen used to display the quick selection interface can be determined based on the angle range. Among them, (0°, 180°) can be split into a first angle range and a second angle range. In one implementation, the first angle range can be (0°, 89°) and the second angle range can be (90°, 180°). In this way, if the folding angle is within the first angle range (i.e., 0° to 89°), the quick selection interface can be displayed through the second screen of the folding screen electronic device; if the folding angle is within the second angle range (i.e., 90° to 180°), the quick selection interface can be displayed through the first screen of the folding screen electronic device.
[0091] In another implementation, the first angle range can be (0°, 60°), and the second angle range can be (60°, 180°). In this way, if the folding angle is within the first angle range (i.e., 0° to 60°), the quick card selection interface can be displayed through the second screen of the folding screen electronic device; if the folding angle is within the second angle range (i.e., 60° to 180°), the quick card selection interface can be displayed through the first screen of the folding screen electronic device. The values of the first angle range and the second angle range can be adjusted according to actual needs and are not limited here.
[0092] Among them, when the folding angle is in the second angle range (i.e., 60° to 180°), optionally, if the folding angle is (60° to 90°), the second part of the first screen of the folding screen electronic device (for example, Figure 22 211 (2)) shows a quick card selection interface. If the folding angle is between 90° and 180°, the first part and the second part of the first screen of the folding screen electronic device (for example, Figure 13 211(1) and 211(2) shown) display the quick card selection interface.
[0093] In a specific embodiment, Figure 22As shown, when the folding angle of the folding screen electronic device is less than a certain angle (for example, 90 degrees), if the first screen of the folding screen electronic device is used to display the quick card selection interface, since the first part 211 (1) of the first screen 211 is folded inward, it may be impossible to see all the contents displayed on the quick card selection interface. Therefore, in this case, Figure 10 The second screen 212 shown displays a quick card selection interface. Figure 13 As shown, when the folding angle of the folding screen electronic device is greater than 90 degrees and less than 180 degrees, it can be used Figure 13 The first screen 211 (including the first portion 211 ( 1 ) and the second portion 211 ( 2 ) of the first screen 211 ) displays a quick tab selection interface.
[0094] As a method, in the process of obtaining the folding angle of a folding screen electronic device, if the folding angle is changing, the screen used to display the quick card selection interface can be determined according to the folding angle range in which the changed folding angle value is located or according to the changing trend of the folding angle.
[0095] In one implementation, if the changed folding angle value is within the first angle range mentioned above, the quick card selection interface can be displayed through the second screen of the folding screen electronic device, and if the changed folding angle value is within the second angle range mentioned above, the quick card selection interface can be displayed through the first screen of the folding screen electronic device.
[0096] In another implementation, if the folding angle decreases relative to before the folding angle changes (for example, from 120 degrees to 80 degrees), the quick selection interface can be displayed through the second screen of the folding screen electronic device; if the folding angle increases (for example, from 90 degrees to 150 degrees), the quick selection interface can be displayed through the first screen of the folding screen electronic device. The numerical values listed in the folding angle change trend are only examples and do not constitute a limitation of this solution.
[0097] Step S340: Acquire the target simulated card selected through the quick card selection interface.
[0098] Step S350: The target simulated card is used as the simulated card to be currently activated, so as to complete the corresponding service through the simulated card to be currently activated when the quick card selection interface is displayed.
[0099] The present application provides a method for switching analog cards. The method obtains the folding state of a folding-screen electronic device. If the folding state is unfolded, the method obtains the folding angle of the folding-screen electronic device. The method then displays a quick card selection interface based on the folding angle, wherein the quick card selection interface displays at least two analog cards in a tiled manner. The method then obtains the target analog card selected through the quick card selection interface. The method then uses the target analog card as the currently activated analog card to complete the corresponding business through the currently activated analog card when the quick card selection interface is displayed. The method thus allows the user to directly select the target analog card from the quick card selection interface to switch analog cards without having to open a multi-level menu to select an analog card and then switch cards. This improves the speed of card switching and thus enhances the user experience.
[0100] By displaying the quick card selection interface according to the folding angle when the folding screen electronic device is in the unfolded state, the size of the screen used to display the quick card selection interface can be determined according to the size of the folding angle (that is, a large-size screen is used for display when the folding angle is large, and a small-size screen is used for display when the folding angle is small), and then the screen used to display the quick card selection interface is determined. The quick card selection interface is displayed by adaptively adapting the screen to the appropriate size according to the size of the folding angle, which improves the intelligence of card cutting. At the same time, since there is no need for manual adjustment by the user, the convenience of analog card cutting is further improved.
[0101] See also Figure 23 Another embodiment of the present application provides a method for switching analog cards, which can be applied to foldable screen electronic devices. The method includes:
[0102] Step S410: If the near field communication module detects the field strength, a quick card selection interface is displayed, wherein the quick card selection interface displays at least two simulated cards in a tiled manner.
[0103] In this embodiment, the foldable screen electronic device may include a near field communication module. In this manner, a quick card selection interface may be displayed when the near field communication module detects field strength. The type of near field communication is not limited, and may include NFC, Bluetooth, ZigBee, and the like.
[0104] When the user holds the electronic device, he may hold the back of the screen or the front of the screen. As a way, when the near-field communication module detects the field strength, the holding direction of the screen can be detected (through the gyroscope), and then the screen used to display the quick card selection interface is determined according to the holding direction. Optionally, if the near-field communication module detects the field strength and the first screen of the folding screen electronic device is facing upward, the quick card selection interface can be displayed through the first screen; if the near-field communication module detects the field strength and the second screen of the folding screen electronic device is facing upward, the quick card selection interface can be displayed through the second screen, where upward can be understood as the direction opposite to the direction of the center of gravity.
[0105] As another way, when the near-field communication module does not detect the field strength, if the user only wants to change the card with the NFC coil position (that is, the simulated card currently to be activated), the quick card selection interface can be displayed when the simulated card management client is opened.
[0106] It should be noted that the simulated card switching methods provided in the embodiments of the present application are all implemented when the near field communication function (such as the NFC function) is turned on.
[0107] Step S420: Acquire the target simulated card selected through the quick card selection interface.
[0108] Step S430: using the target simulated card as the simulated card to be currently activated, so as to complete the corresponding service through the simulated card to be currently activated when the quick card selection interface is displayed.
[0109] The present application provides a method for switching analog cards. If a near-field communication module monitors the field strength, a quick card selection interface is displayed, wherein the quick card selection interface displays at least two analog cards in a tiled manner; then the target analog card selected through the quick card selection interface is obtained; and then the target analog card is used as the currently activated analog card, so as to complete the corresponding business through the currently activated analog card when the quick card selection interface is displayed. Thus, through the above method, it is possible to directly select the target analog card from the quick card selection interface to switch the analog card, without having to open a multi-level menu to select the analog card and then switch the card, thereby improving the speed of card switching and thus improving the user experience. By displaying the quick card selection interface again when the field strength is monitored, power consumption or waste of display resources can be avoided.
[0110] See also Figure 24 Another embodiment of the present application provides a method for switching analog cards, which can be applied to foldable screen electronic devices. The method includes:
[0111] Step S510: Displaying a quick card selection interface, wherein the quick card selection interface displays at least two simulated cards in a tiled manner.
[0112] Step S520: Acquire the target simulated card selected through the quick card selection interface.
[0113] Step S530: using the target simulated card as the simulated card to be currently activated, so as to complete the corresponding service through the simulated card to be currently activated when the quick card selection interface is displayed.
[0114] Step S540: displaying the card swiping information associated with the target simulated card through the quick card selection interface.
[0115] The card swipe information associated with the target simulated card includes card swipe information corresponding to the content and function of the target simulated card. For example, if the target simulated card is a subway card, the associated card swipe information may include the content of the subway card interface, subway train information, and consumption information; if the target simulated card is a bank card, the associated card swipe information may include the content of the bank card interface, consumption amount, and consumption merchant information; if the target simulated card is an access control card, the associated card swipe information may include the content of the access control card interface, door opening time, and door opening location information. As a method, based on the aforementioned embodiment of completing card switching through the quick card selection interface, if the card is swiped through a foldable screen electronic device, the card swipe information most relevant to the swiped simulated card can be displayed on the quick card selection interface. By only displaying the card swipe information associated with the current simulated card and omitting other card swipe prompt information (e.g., recharge prompt information, return button, card switch button, etc.), a cleaner display of the card swipe information can be achieved, allowing the user to intuitively and clearly see the current card swipe information without being misled by other information.
[0116] In a specific application scenario, such as Figure 25 As shown, the target simulated card is a subway card, and the associated card swiping information may include the content of the subway card interface, subway train information (such as Figure 25 "Line xx-xx Station" as shown) and consumption information (such as Figure 25 “Current consumption: 4.58”).
[0117] The present application provides a method for switching between simulated cards. The method comprises displaying a quick card selection interface, wherein the quick card selection interface displays at least two simulated cards in a tiled manner; then obtaining a target simulated card selected through the quick card selection interface; then using the target simulated card as the simulated card to be currently activated, so as to complete the corresponding business through the simulated card to be currently activated while the quick card selection interface is displayed; and then displaying the card swipe information associated with the target simulated card through the quick card selection interface. Thus, through the above-mentioned method, it is possible to directly select the target simulated card from the quick card selection interface to switch between simulated cards without having to open a multi-level menu to select a simulated card and then switch the card, thereby improving the convenience of card switching and thus enhancing the user experience. By only displaying the card swipe information associated with the currently swiped simulated card and omitting the display of other card swipe prompt information, a cleaner display of the card swipe information can be achieved, allowing the user to clearly and intuitively see the current card swipe information and not be easily misled by other information and miss the card swipe information.
[0118] See also Figure 26 The embodiment of the present application provides a simulated card switching device 600, which operates on a foldable screen electronic device. The device 600 includes:
[0119] The display module 610 is used to display a quick card selection interface, where at least two simulated cards are displayed in a tiled manner.
[0120] In this embodiment, the foldable screen electronic device includes a first screen and a second screen. The device 600 may also include a state acquisition module for acquiring the foldable state of the foldable screen electronic device before displaying the quick tab selection interface. In this manner, the display module 610 may be configured to display the quick tab selection interface on the first screen if the foldable state is unfolded; and to display the quick tab selection interface on the second screen if the foldable state is folded, wherein the size of the first screen is larger than the size of the second screen.
[0121] Optionally, the display module 610 can also be used to obtain the folding angle of the folding screen electronic device if the folding state is unfolded; and display a quick card selection interface according to the folding angle.
[0122] As one embodiment, displaying a quick tab selection interface based on the folding angle may include: if the folding angle is within a first angle range, displaying the quick tab selection interface via the second screen; if the folding angle is within a second angle range, displaying the quick tab selection interface via the first screen. The first angle range may be smaller than the second angle range. For example, the first angle range may be (0-89)°, and the second angle range may be (90-180)°. It should be noted that the values in the first angle range and the second angle range are provided for illustrative purposes only and do not limit this solution.
[0123] Optionally, the foldable screen electronic device may include a near field communication module. In this manner, the display module 610 may be used to display a quick card selection interface if the near field communication module detects the field strength.
[0124] As an implementation method, the screen on which the quick card selection interface is displayed can also be determined based on the direction in which the user is holding the electronic device. Specifically, if the near-field communication module detects field strength and the first screen is facing upward, the quick card selection interface is displayed on the first screen; if the near-field communication module detects field strength and the second screen is facing upward, the quick card selection interface is displayed on the second screen. Upward can be understood as a direction opposite to the center of gravity.
[0125] The content selection module 620 is used to obtain the target simulated card selected through the quick card selection interface.
[0126] As one approach, the content selection module 620 may be configured to obtain a card identifier corresponding to a designated position of the quick card selection interface when the touch operation stops; and use the simulated card corresponding to the card identifier as the selected target simulated card.
[0127] As another method, the content selection module 620 can be used to obtain the usage scenario of the folding screen electronic device; determine the target simulation card according to the usage scenario, and display the selection prompt information of the target simulation card through the quick card selection interface; select the target simulation card through the quick card selection interface according to the selection prompt information.
[0128] The simulated card switching module 630 is configured to use the target simulated card as the simulated card to be currently activated, so as to complete the corresponding service through the simulated card to be currently activated when the quick card selection interface is displayed.
[0129] Optionally, the apparatus 600 may further include an information display module, configured to display card swiping information associated with the target simulated card through the quick card selection interface after the target simulated card is used as the simulated card to be currently activated.
[0130] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0131] In several embodiments provided in this application, the coupling or direct coupling or communication connection between the modules shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0132] In addition, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The above-mentioned integrated modules may be implemented in the form of hardware or software functional modules.
[0133] See also Figure 27 Based on the above-mentioned analog card switching method and apparatus, an embodiment of the present application further provides an electronic device 100 that can execute the above-mentioned analog card switching method. The electronic device 100 can be the electronic device 200 or the electronic device 300 described above. The electronic device 100 includes a memory 102 and one or more (only one is shown in the figure) processors 104 coupled to each other. The memory 102 and the processors 104 are connected by a communication line. The memory 102 stores a program that can execute the content of the above-mentioned embodiments, and the processor 104 can execute the program stored in the memory 102.
[0134] The processor 104 may include one or more processing cores. The processor 104 utilizes various interfaces and circuits to connect various components within the electronic device 100. It executes instructions, programs, code sets, or instruction sets stored in the memory 102, as well as accesses data stored in the memory 102, to perform various functions and process data within the electronic device 100. Optionally, the processor 104 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 104 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 104 and may be implemented separately via a communication chip.
[0135] The memory 102 may include a random access memory (RAM) or a read-only memory (ROM). The memory 102 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 102 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the aforementioned various embodiments, etc. The data storage area may also store data created by the electronic device 100 during use (such as a phone book, audio and video data, chat history data, etc.).
[0136] Please refer to Figure 28 , which shows a block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable storage medium 700 stores program code, which can be called by a processor to execute the method described in the above method embodiment.
[0137] Computer-readable storage medium 700 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Alternatively, computer-readable storage medium 700 may include non-transitory computer-readable storage medium. Computer-readable storage medium 700 has storage space for program code 710 for executing any of the method steps described above. These program codes may be read from or written to one or more computer program products. Program code 710 may be compressed, for example, in a suitable form.
[0138] In summary, the present application provides a method, device, electronic device, and storage medium for switching analog cards. The method displays a quick card selection interface that displays at least two analog cards in a tiled manner; then obtains a target analog card selected through the quick card selection interface; and then uses the target analog card as the currently activated analog card to complete the corresponding business through the currently activated analog card while the quick card selection interface is displayed. This method allows users to directly select a target analog card from the quick card selection interface to switch analog cards, eliminating the need to open a multi-level menu to select an analog card and then switch cards. This improves the speed of card switching and, in turn, enhances the user experience.
[0139] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for switching an analog card, characterized in that: Applied to foldable screen electronic devices, the method includes: If it is determined that the folding state of the foldable screen electronic device is unfolded, obtaining a folding angle of the foldable screen electronic device; displaying a quick card selection interface according to the folding angle, wherein the quick card selection interface displays at least two simulated cards in a tiled manner; Obtaining the target simulation card selected through the quick card selection interface; The target simulated card is used as the simulated card to be currently activated, so as to complete the corresponding service through the simulated card to be currently activated when the quick card selection interface is displayed; The step of displaying a quick tab selection interface according to the folding angle includes: If the folding angle decreases, a quick card selection interface is displayed on the second screen of the folding screen electronic device; If the folding angle increases, a quick card selection interface is displayed through the first screen of the folding screen electronic device; the size of the first screen is larger than the size of the second screen.
2. The method according to claim 1, characterized in that The method further comprises: If the folding state is folded, a quick tab selection interface is displayed through the second screen.
3. The method according to claim 1, characterized in that The foldable screen electronic device includes a near field communication module, and the display quick card selection interface includes: If the near field communication module detects the field strength, a quick card selection interface is displayed.
4. The method according to claim 3, characterized in that If the near field communication module detects the field strength, a quick card selection interface is displayed, including: If the near field communication module detects the field strength and the first screen is facing upward, a quick card selection interface is displayed through the first screen; If the near field communication module detects the field strength and the second screen is facing upward, a quick card selection interface is displayed through the second screen.
5. The method according to claim 1, wherein The acquiring of the target simulated card selected through the quick card selection interface includes: Obtaining a card identifier corresponding to a specified position of the quick card selection interface when the touch operation stops; The simulated card corresponding to the card identifier is used as the selected target simulated card.
6. The method according to claim 1, characterized in that The acquiring of the target simulated card selected through the quick card selection interface includes: Obtaining a usage scenario of the foldable screen electronic device; Determine a target simulated card according to the usage scenario, and display selection prompt information of the target simulated card through the quick card selection interface; The target simulation card is selected through the quick card selection interface according to the selection prompt information.
7. The method according to claim 1, characterized in that After the target simulated card is used as the simulated card to be activated, the method further includes: The card swiping information associated with the target simulated card is displayed through the quick card selection interface.
8. A simulation card switching device, characterized in that: The device operates on a foldable screen electronic device, and includes: A display module is configured to, if it is determined that the folding state of the foldable screen electronic device is unfolded, obtain a folding angle of the foldable screen electronic device; and display a quick card selection interface according to the folding angle, wherein the quick card selection interface displays at least two simulated cards in a tiled manner; A content selection module, configured to obtain a target simulated card selected through the quick card selection interface; a simulated card switching module, configured to use the target simulated card as the currently activated simulated card, so as to complete the corresponding service through the currently activated simulated card when the quick card selection interface is displayed; Among them, the display module is also used to display the quick card selection interface through the second screen of the folding screen electronic device if the folding angle is reduced; if the folding angle is increased, the quick card selection interface is displayed through the first screen of the folding screen electronic device; the size of the first screen is larger than the size of the second screen.
9. An electronic device, characterized in that: including one or more processors and memory; One or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores program code, wherein when the program code is executed by a processor, the method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Method and device for activating vitral cards
CN106104601A