Card switching control method and device, controller and electronic equipment

The card cutting control method and device address inefficiencies in selecting virtual cards by using geo-fence and height information to determine the target card, enhancing efficiency and accuracy in card reader interactions.

CN119094979APending Publication Date: 2024-12-06GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410565732.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-08
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

Users face inefficiencies and inaccuracies when selecting virtual cards for interaction with card readers due to the large number of cards bound to electronic devices, requiring significant time and effort to find the correct card.

Method used

A card cutting control method and device that utilize geographic fence and height information to determine the target virtual card for interaction with card readers, improving efficiency and accuracy by matching the user's location in three-dimensional space.

Benefits of technology

Enhances the efficiency and accuracy of card selection by automatically determining the appropriate virtual card based on geo-fence and height information, allowing quick and accurate interaction with card readers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094979A_ABST
    Figure CN119094979A_ABST
Patent Text Reader

Abstract

The invention relates to a card switching control method and device, a controller and electronic equipment, and the method comprises the steps: determining a target virtual card corresponding to the position of a user in a three-dimensional space from two data dimensions through obtaining the geographic fence information and height information corresponding to the position of the electronic equipment, and obtaining the target virtual card. The target virtual card is matched with the card swiping requirements of the user at different positions and different heights, the card cutting efficiency and accuracy are improved, and therefore the efficiency of matched data interaction with the card reader is improved. In addition, height information is obtained through the air pressure sensor, and card switching can be conducted quickly and accurately when no GPS / WiFi or other networks exist or signals are not good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic device card management, and in particular to a card cutting control method, device, controller and electronic device. Background Art

[0002] With the development of near-field communication technology, users can bind multiple virtual cards such as access cards, bus cards, subway cards, etc. to electronic devices, and can meet card swiping needs without carrying multiple cards.

[0003] However, when a large number of virtual cards are bound to an electronic device, a user needs to spend a lot of time selecting a virtual card when swiping the card. Summary of the invention

[0004] Based on this, it is necessary to provide a card cutting control method, device, controller and electronic device that can improve the efficiency and accuracy of card cutting in order to solve the above technical problems.

[0005] In a first aspect, the present application provides a card cutting control method, the method comprising:

[0006] Obtaining geographic fence information and height information corresponding to the location of the electronic device;

[0007] According to the geo-fence information and the height information, a target virtual card for data interaction with the card reader is determined.

[0008] In a second aspect, the present application further provides a card cutting control device, the device comprising:

[0009] An information acquisition module, used to acquire geographic fence information and height information corresponding to the location of the electronic device;

[0010] The target card determination module is used to determine the target virtual card used for data interaction with the card reader based on the geographic fence information and the height information.

[0011] In a third aspect, the present application further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0012] In a fourth aspect, the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0013] The above-mentioned card cutting control method, device, controller and electronic device obtain the geographic fence information and height information corresponding to the location of the electronic device, and determine the target virtual card corresponding to the user's location in three-dimensional space from two data dimensions. The target virtual card matches the user's current card swiping needs at different locations and different heights, thereby improving the efficiency and accuracy of card cutting, thereby improving the efficiency of matching data interaction with the card reader. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0015] FIG1 is an application environment diagram of a card cutting control method in one embodiment;

[0016] Figure 2 This is one of the flow charts of a card cutting control method in one embodiment;

[0017] Figure 3 The second flowchart of the card cutting control method in one embodiment;

[0018] Figure 4 The third flowchart of a card cutting control method in one embodiment;

[0019] Figure 5 The fourth flowchart of the card cutting control method in one embodiment;

[0020] Figure 6 The fifth flowchart of the card cutting control method in one embodiment;

[0021] Figure 7 The sixth flowchart of a card cutting control method in one embodiment;

[0022] Figure 8 is a structural block diagram of a card cutting control device in one embodiment;

[0023] FIG. 9 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0025] Near Field Communication (NFC) is a short-range wireless communication technology. Devices using NFC technology can exchange data when they are close to each other. It is evolved from the integration of contactless radio frequency identification and interconnection technology. By integrating the functions of inductive card reader, inductive card and point-to-point communication on a single chip, mobile terminals are used to realize mobile payment, electronic ticketing, access control, mobile identity recognition, anti-counterfeiting and other applications. Among them, NFC applications can include access control, transportation card, bank card, etc. Each NFC application includes at least one virtual card, such as virtual transportation card, virtual access control card and virtual bank card, etc., and each virtual card has a unique ID corresponding to it.

[0026] In electronic devices, the management of virtual cards can be implemented by wallet applications or other applications. When implemented by wallet applications, the wallet application can include multiple virtual cards of different types. For example, virtual card types may include: go to ride, go to open the door, etc. Among them, virtual cards for riding include: transportation cards (such as XXtong interoperability cards), keys (i.e. corresponding virtual cards for opening the door), PAY (such as XX bank credit cards), and virtual cards such as bank cards and ride codes can also be added. Virtual cards for certificates include: virtual cards such as citizen network electronic identity cards, identity cards, passports, driver's licenses, and other certificates. Virtual cards for tickets include virtual cards such as membership cards of various brands.

[0027] The card cutting control method provided in the embodiment of the present application can be applied in the application environment shown in FIG. 1. The electronic device 102 is based on communicating with the card reader 104. The electronic device 102 and the card reader 104 can communicate based on NFC technology. When the electronic device 102 is within the communication range of the card reader 104, the electronic device 102 obtains the geo-fence information and height information corresponding to the location of the electronic device 102, and determines the target virtual card for data interaction with the card reader according to the geo-fence information and height information, so as to quickly and accurately interact with the card reader. The electronic device 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc.

[0028] In an exemplary embodiment, Figure 2 As shown, a card switching control method is provided, and taking the electronic device 102 shown in FIG. 1 as an example, the method may include S202-S204. Among them:

[0029] S202, obtain the geo-fence information and height information corresponding to the location of the electronic device. The geo-fence information is used to indicate the boundaries and range of the building, park or community where the electronic device is located. For example, the geo-fence information is used to indicate the boundaries and range of the building, park or community where the electronic device is located in the XY plane of the world coordinate system. Height information refers to information used to characterize the position of the electronic device in the height dimension. For example, the height information is used to characterize the coordinate position of the electronic device in the Z-axis direction of the world coordinate system. The acquisition of height information can be determined based on the electronic device positioning technology, or it can be determined based on the air pressure sensor carried in the electronic device. The height information may include one or more of air pressure sensor information, altitude value, altitude difference, and floor information.

[0030] S204: Determine a target virtual card for data interaction with a card reader according to the geo-fence information and the height information.

[0031] The target virtual card refers to the virtual card corresponding to the height information within the boundary and range of the building, park or community where the electronic device is located as indicated by the geo-fence information. That is, the virtual card required for the electronic device to interact with the card reader at its current location in three-dimensional space.

[0032] Specifically, the card cutting control method provided in the embodiment of the present application obtains the geographic fence information and height information corresponding to the location of the electronic device, and determines the target virtual card corresponding to the user's location in three-dimensional space from two data dimensions. The target virtual card matches the user's current card swiping requirements at different locations and heights, thereby improving the efficiency and accuracy of card cutting, thereby improving the efficiency of matching data interaction with the card reader.

[0033] Taking the user's activity scenes on different floors of a building as an example, by executing the steps of the above-mentioned card cutting control method, the target virtual card matching the floor can be determined accordingly, so that the user can quickly call the virtual card matching the card reader on the floor to perform the card swiping operation. For example, in a building, the card reader on the first floor is a subway gate, the card reader on the second floor is a building gate, and the card reader on the third floor is a company access control. When the electronic device is on the second floor and close to the building gate, the geographic fence information and height information corresponding to the location of the electronic device are obtained, and then according to the geographic fence information and height information corresponding to the electronic device carried by the user, the virtual card corresponding to the building gate can be determined as the target virtual card, so that the user can quickly swipe the card, which greatly improves the efficiency of virtual card cutting.

[0034] In one embodiment, step S204 of determining a target virtual card for data interaction according to the geo-fence information and the height information includes:

[0035] S302, according to the geo-fence information corresponding to the location of the electronic device, determine the candidate virtual card corresponding to the geo-fence information. The implementation of determining the corresponding candidate virtual card based on the geo-fence information can be implemented based on the method in the traditional technology, which will not be described in detail here.

[0036] S304, based on a preset corresponding relationship, determining a target virtual card matching the height information from the virtual cards to be selected; the preset corresponding relationship is a corresponding relationship between the height information and the target virtual card.

[0037] First, based on the geographic fence information, all virtual cards within the range corresponding to the geographic fence information are determined as candidate virtual cards, and further, according to a preset corresponding relationship, a virtual card whose height information satisfies the corresponding relationship is determined from the candidate virtual cards as a target virtual card.

[0038] In one embodiment, if Figure 4 As shown, the card cutting control method also includes:

[0039] S402, if the electronic device interacts with the card reader for the first time within the range corresponding to the geo-fence information, a default virtual card is called;

[0040] S404: If the default virtual card is swiped successfully, the default virtual card is used as the target virtual card.

[0041] If the default virtual card successfully exchanges data with the card reader, the card swipe is considered successful. The default virtual card can refer to the virtual card that is most frequently used by users based on data statistics. It can also be the default card set by the user.

[0042] In one embodiment, if Figure 4 As shown, the card cutting control method also includes:

[0043] S406: If the default virtual card swipe fails, in response to the user's card selection action, determine the virtual card selected by the user as the target virtual card.

[0044] The user's card selection action may include but is not limited to selecting, confirming or adding a card in a management interface such as a wallet application. The card selection action may be implemented by clicking a virtual card, dragging the position of a virtual card, or voice control.

[0045] In one embodiment, according to the geo-fence information and the height information, a step of determining a target virtual card for data interaction is performed, such as Figure 5 As shown, it also includes:

[0046] S502: If it is determined based on the preset corresponding relationship that there is no virtual card corresponding to the height information in the virtual cards to be selected, in response to the user's card selection action, determine the virtual card selected by the user as the target virtual card.

[0047] That is, when there is a virtual card within the range corresponding to the geo-fence information, but there is no target virtual card corresponding to the height information, the user is required to manually select a card that matches the card reader. In response to the user's card selection action, the virtual card selected by the user is used as the target virtual card to adapt to the card swiping needs in various scenarios and improve the flexibility of card cutting.

[0048] In one embodiment, if Figure 5 As shown, before responding to the user's card selection action, it also includes:

[0049] S501: If it is determined based on the preset corresponding relationship that there is no virtual card corresponding to the height information in the virtual cards to be selected, a default virtual card or a virtual card called last time is called for user selection.

[0050] When there is no virtual card corresponding to the height information in the virtual cards to be selected, the default virtual card or the last virtual card called can be called for the user to choose, based on providing the virtual card that is likely to be used in the location for the user to choose, to improve the efficiency of card cutting. For example, in some high-rise office buildings, in addition to the building gate machine set up in the lobby on the first floor, a card reader is also set up on the transfer floor to improve the efficiency of elevator operation. After the user swipes the card to enter the building from the first floor, he takes the elevator to the transfer floor and needs to swipe the card again on the transfer floor. In this scenario, the required virtual card is the same card. In this scenario, if there is no virtual card corresponding to the transfer floor in the virtual cards to be selected, the last virtual card called (the virtual card used when swiping the card at the building gate machine on the first floor) can be called for the user to quickly determine or select, so as to improve the efficiency of card cutting.

[0051] In one embodiment, in response to the user's card selection action, after the step of determining that the virtual card selected by the user is the target virtual card, as follows Figure 4 and Figure 5 As shown, it also includes:

[0052] S408, when the target virtual card is swiped successfully, a corresponding relationship between the target virtual card and the height information of the electronic device is established and updated to a preset corresponding relationship.

[0053] For the scenario where the electronic device interacts with a nearby card reader for the first time within the range corresponding to the geo-fence information, or when there is no virtual card matching the height information among the candidate virtual cards corresponding to the geo-fence information, the user is supported to manually select the target virtual card, and after the target virtual card selected by the user is successfully swiped, the correspondence between the target virtual card and the height information of the electronic device is recorded and updated to the preset correspondence. Of course, in this process, the mapping relationship between the target virtual card and the geo-fence information is also recorded and stored. When the device is at this location next time, the target virtual card matching the location in three-dimensional space can be quickly determined based on the updated correspondence.

[0054] In one embodiment, if Figure 6 As shown, the height information includes floor information. In a multi-story building scenario, POS (Point of Sales) machines, gate machines and other card readers are mostly distributed according to floors. Therefore, by obtaining the floor information, the target virtual card corresponding to the floor information within the range corresponding to the geo-fence information can be determined based on the preset correspondence relationship, so as to quickly cut the card and successfully swipe the card.

[0055] For example, the first floor of a comprehensive shopping mall includes four shops A, B, C, and D, the second floor includes three shops E, F, and G, and the third floor is Company H. The projections of Shop E and Company H on the first floor overlap with Shop A. When the user is in Shop A on the first floor, based on the geographic fence information of the electronic device, the virtual cards to be selected include Shop A membership card, Shop E membership card, and Company H access card. Based on the user's floor information of the first floor, Shop A membership card can be determined as the target virtual card. When there is only one target virtual card, the virtual card can be directly called to interact with the reader. When there are multiple target virtual cards, they can be displayed by placing multiple target virtual cards on top and sorting them randomly, so that users can quickly switch cards and select them.

[0056] In one embodiment, if Figure 6 As shown, the steps for determining the floor information include:

[0057] S602, obtaining air pressure sensor information read by an air pressure sensor in the electronic device. The air pressure sensor information may include an atmospheric pressure value.

[0058] S604, determining the altitude value of the electronic device according to the air pressure sensor information;

[0059] S606: Determine the floor information of the location of the electronic device according to the altitude value of the electronic device.

[0060] The air pressure at different altitudes is different, and for buildings, different altitudes correspond to different floors, and there is a corresponding relationship between the two. Therefore, based on the air pressure sensor, the air pressure sensor information such as the atmospheric pressure value can be obtained, and based on the mapping relationship, the air pressure sensor information can be converted into the altitude value, and then the floor information where the electronic device is currently located can be determined according to the altitude value. The floor information can be the floor number, etc. The floor information is determined based on the air pressure sensor information read by the air pressure sensor to guide the card cutting control process. When there is no network such as GPS (Global Positioning System) and Wi-Fi (Wireless Fidelity) or the signal is poor, the floor information can still be accurately determined for fast and efficient card cutting.

[0061] In one embodiment, if Figure 7 As shown, the steps for determining the floor information include:

[0062] S602, obtaining air pressure sensor information read by an air pressure sensor in an electronic device;

[0063] S704, determining the floor information of the location of the electronic device according to the difference between the air pressure sensor information and the air pressure sensor information corresponding to the reference floor;

[0064] The reference floor is a known floor within the building range corresponding to the geographic fence information of the electronic device.

[0065] Considering that the air pressure and altitude corresponding to the same floor of different regions and buildings are different, in order to improve the accuracy of card cutting control, the method provided in the embodiment of the present application determines the floor information of the electronic device through the difference between the air pressure sensor information corresponding to the current location and the air pressure sensor information corresponding to the reference floor (the size and positive and negative of the difference characterize whether the user is carrying the electronic device upstairs or downstairs, and how far it has moved in the vertical direction) after obtaining the current air pressure sensor information. For example, the user is currently in office building A, and the floor where the lobby gate is located is known to be the first floor. On this basis, when the user successfully swipes the card at the lobby gate on the first floor and takes the elevator to the company, based on the difference between the air pressure sensor information obtained at the company location and the air pressure sensor information corresponding to the first floor, the altitude difference between the company and the lobby on the first floor can be known. The altitude difference divided by the height of each floor can determine how many floors the user has ascended. For example, if it is determined that the user has ascended 5 floors from the first floor, then the floor information of the company is the 6th floor.

[0066] Since there is a corresponding relationship between the difference in air pressure sensor information and the altitude difference, when determining the floor information, the floor information of the current location of the electronic device can be determined directly based on the floor information of the reference floor and the mapping relationship between the difference in air pressure sensor information and the floor difference.

[0067] Of course, step S704 may also include:

[0068] Determine the altitude difference between the current location of the electronic device and the reference floor according to the difference between the air pressure sensor information and the air pressure sensor information corresponding to the reference floor;

[0069] Based on the altitude difference between the current location of the electronic device and the reference floor, the floor information of the location of the electronic device is determined.

[0070] In one embodiment, the step of determining the floor information of the electronic device's location based on the altitude difference between the current location of the electronic device and the reference floor includes:

[0071] Determine the floor difference based on the altitude difference between the current location of the electronic device and the reference floor;

[0072] Based on the floor information of the reference floor and the floor difference, the floor information of the location of the electronic device is determined.

[0073] It should be noted that the steps for determining floor information can be done in addition to the following steps: Figure 2 In addition to constituting an implementation mode, the method steps shown in the embodiment can also be combined with other embodiments described in the above embodiments to form a new embodiment. For example, Figure 2-Figure 5 Any combination of the embodiments described above can form a new embodiment.

[0074] In order to better illustrate the implementation process of the card cutting control method provided in the embodiment of the present application, an example is given here in which the electronic device is a mobile phone and the virtual card is an NFC simulated card:

[0075] Based on the geo-fence information, on the basis of determining the virtual card to be selected corresponding to the geo-fence information, different NFC simulated cards corresponding to different floors (simulated cards included in the virtual card to be selected) can be preset in the mobile phone and stored as a preset corresponding relationship.

[0076] When the mobile phone carried by the user detects that it is close to the card reader through NFC, the mobile phone reads the air pressure sensor information read by the air pressure sensor, extracts the altitude value from it, and then determines the floor corresponding to the location of the mobile phone.

[0077] If, in the corresponding relationship, an NFC simulated card corresponding to the current card swiping floor is found in the selected virtual cards, the NFC simulated card corresponding to the floor is called to swipe the card.

[0078] If there is no NFC simulated card pre-set for the card swiping floor in the corresponding relationship, the default card or the last called NFC simulated card will be called, and the user will be asked to confirm or manually select another card from the called cards;

[0079] If the user confirms or manually selects one of the cards in the wallet app, the card swiping action will continue;

[0080] After the card is swiped, the wallet application automatically calls the map SDK (Software Development Kit). Through the map SDK, the corresponding floor height coordinates are given according to the current card swiping floor and the location of the mobile phone;

[0081] Based on the information provided by the map SDK, the wallet application sets and records the correspondence between the successfully swiped NFC simulated card and the floor where the mobile phone is located. The correspondence can be stored in a table, such as the following table:

[0082]

[0083] Based on the establishment and storage of the corresponding relationship, when the user enters the floor again, the NFC card corresponding to the floor can be quickly called based on the floor where the user is.

[0084] It should be noted that the cards bound to the mobile phone are usually managed by the wallet application, so the above-mentioned geo-fence information is also created by the wallet application. Of course, this is not the only way. If the virtual card is managed by other applications, the creation of geo-fence information can also be created by other applications.

[0085] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0086] Based on the same inventive concept, the embodiment of the present application also provides a card cutting control device for implementing the card cutting control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments of the card cutting control device provided below can refer to the limitations of the card cutting control method above, and will not be repeated here.

[0087] In an exemplary embodiment, Figure 8 As shown, a card cutting control device is provided, including: an information acquisition module 802 and a target card determination module 804, wherein:

[0088] The information acquisition module 802 is used to obtain the geo-fence information and height information corresponding to the location of the electronic device;

[0089] The target card determination module 804 is used to determine a target virtual card for data interaction with the card reader according to the geo-fence information and the height information.

[0090] In an exemplary embodiment, the target card determination module 804 includes:

[0091] A virtual card to be selected determining unit, used to determine a virtual card to be selected corresponding to the geo-fence information according to the geo-fence information corresponding to the location of the electronic device;

[0092] A first target virtual card determining unit, configured to determine a target virtual card matching the height information from the virtual cards to be selected based on a preset corresponding relationship;

[0093] The preset corresponding relationship is the corresponding relationship between the height information and the target virtual card.

[0094] In one embodiment, the target card determination module 804 further includes:

[0095] The second target virtual card determining unit is used to determine the virtual card selected by the user as the target virtual card in response to the user's card selection action when it is determined based on the preset corresponding relationship that there is no virtual card corresponding to the height information in the virtual cards to be selected.

[0096] In one embodiment, the target card determination module 804 further includes:

[0097] The candidate card calling unit is used to call a default virtual card or a virtual card called last time for user selection when it is determined based on a preset corresponding relationship that there is no virtual card corresponding to the height information in the candidate virtual cards.

[0098] In one embodiment, the card cutting control device further comprises:

[0099] The corresponding relationship establishing module is used to establish a corresponding relationship between the target virtual card and the height information of the electronic device and update it to a preset corresponding relationship when the target virtual card is swiped successfully.

[0100] In one embodiment, the height information includes floor information. In a multi-story building scenario, POS machines, gate machines and other card readers are mostly distributed according to floors. Therefore, by obtaining the floor information, the target virtual card corresponding to the floor information within the range corresponding to the geo-fence information can be determined based on the preset corresponding relationship, so as to quickly cut the card and successfully swipe the card.

[0101] In one embodiment, the card cutting control device further comprises:

[0102] An air pressure sensor information acquisition module, used to acquire air pressure sensor information read by an air pressure sensor in an electronic device;

[0103] The altitude determination module is used to determine the altitude value of the electronic device according to the information of the air pressure sensor;

[0104] The first floor information determination module is used to determine the floor information of the location of the electronic device according to the altitude value of the electronic device.

[0105] In one embodiment, the card cutting control device further comprises:

[0106] An air pressure sensor information acquisition module is used to acquire current air pressure sensor information read by the air pressure sensor in the electronic device;

[0107] A second floor information determination module, used to determine the floor information of the electronic device according to the difference between the current air pressure sensor information and the air pressure sensor information corresponding to the reference floor;

[0108] The reference floor is a known floor within the building range corresponding to the geographic fence information of the electronic device.

[0109] Each module in the above-mentioned card cutting control device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in an electronic device in the form of hardware, or can be stored in a memory in an electronic device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0110] In an exemplary embodiment, an electronic device is provided, which may be a personal computer, a laptop, a smart phone, a tablet computer, a portable wearable device, etc., and its internal structure diagram may be shown in FIG9. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a card cutting control method is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display unit is used to display the target virtual card, and when the target virtual card is not unique, it is provided for the user to confirm or select. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.

[0111] Those skilled in the art will understand that the structure shown in FIG. 9 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0112] In one embodiment, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the above-mentioned card cutting control method are implemented and corresponding beneficial effects are achieved, which will not be elaborated here.

[0113] In one embodiment, the electronic device further includes a near field communication unit, and the near field communication unit is used to perform data exchange with the card reader.

[0114] In one embodiment, the electronic device also communicates with a server, and can obtain data such as preset corresponding relationships from the server.

[0115] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned card cutting control method are implemented and corresponding beneficial effects are achieved, which are not elaborated here.

[0116] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps of the above-mentioned card cutting control method are implemented and corresponding beneficial effects are achieved, which are not described in detail here.

[0117] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0118] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0119] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A card cutting control method, It is characterized in that The method comprises: Obtaining geographic fence information and height information corresponding to the location of the electronic device; A target virtual card for data interaction with a card reader is determined based on the geo-fence information and the height information.

2. The method according to claim 1, It is characterized in that The step of determining a target virtual card for data interaction according to the geo-fence information and the height information includes: Determine, according to the geo-fence information corresponding to the location of the electronic device, a virtual card to be selected corresponding to the geo-fence information; Based on a preset corresponding relationship, determining a target virtual card matching the height information from the virtual cards to be selected; The preset corresponding relationship is the corresponding relationship between the height information and the target virtual card.

3. The method according to claim 2, It is characterized in that The step of determining a target virtual card for data interaction according to the geo-fence information and the height information further includes: If it is determined based on the preset corresponding relationship that there is no virtual card corresponding to the height information in the virtual cards to be selected, then in response to the user's card selection action, the virtual card selected by the user is determined to be the target virtual card.

4. The method according to claim 3, It is characterized in that Before responding to the user's card selection action, the method further includes: If it is determined based on the preset corresponding relationship that there is no virtual card corresponding to the height information in the virtual cards to be selected, a default virtual card or a virtual card called last time is called for user selection.

5. The method according to claim 3, It is characterized in that After the step of determining, in response to the user's card selection action, that the virtual card selected by the user is the target virtual card, the method further includes: When the target virtual card is swiped successfully, a corresponding relationship between the target virtual card and the height information of the electronic device is established and updated to the preset corresponding relationship.

6. The method according to any one of claims 1 to 5, It is characterized in that The height information includes floor information.

7. The method according to claim 6, It is characterized in that The step of determining the floor information includes: Obtaining air pressure sensor information read by an air pressure sensor in an electronic device; Determine the altitude of the electronic device according to the air pressure sensor information; The floor information of the location of the electronic device is determined according to the altitude value of the electronic device.

8. The method according to claim 6, It is characterized in that The step of determining the floor information includes: Obtain current air pressure sensor information read by the air pressure sensor in the electronic device; Determining the floor information of the location of the electronic device according to the difference between the current air pressure sensor information and the air pressure sensor information corresponding to the reference floor; The reference floor is a known floor within the building range corresponding to the geographic fence information of the electronic device.

9. A card cutting control device, It is characterized in that The device comprises: An information acquisition module, used to acquire geographic fence information and height information corresponding to the location of the electronic device; The target card determination module is used to determine a target virtual card for data interaction with a card reader according to the geographic fence information and the height information.

10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.