Virtual card switching method, device, system, electronic device and storage medium

By receiving the broadcast information of the card reading device and matching the virtual card feature information, the complex problem of mobile terminals manually cutting card in different scenarios is solved, the accuracy and convenience of automatic matching and switching are improved, and the user experience is improved.

CN115567906BActive Publication Date: 2025-02-11SHENZHEN SNOWBALL TECHNOLOGY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211058679.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2025-02-11
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

In the prior art, mobile terminals require users to manually cut the card multiple times in different card swiping scenarios, resulting in complex use of virtual cards; at the same time, the error rate of automatic confirmation of adapting to virtual cards is high, and the ECP card query mechanism is due to The problem of untimely upgrades that the virtual card cannot be switched.

Method used

By receiving the broadcast information sent by the card reading device, it is determined whether the virtual card feature information meets the preset general encoding matching rules or custom information matching rules, and automatically matches and switches to the appropriate virtual card.

Benefits of technology

It improves the convenience, accuracy and timeliness of the user terminal when automatically matching and cutting adapted virtual cards in the current card swiping scenario, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115567906B_ABST
    Figure CN115567906B_ABST
Patent Text Reader

Abstract

The present application discloses a virtual card switching method, device, system, electronic device and storage medium, and relates to the technical field of near field communication. Among them, the virtual card switching method includes: based on the broadcast information sent by the target card reader device, judging whether the virtual card feature information corresponding to the broadcast information satisfies the preset universal coding matching rules; if the virtual card feature information satisfies the universal coding matching rules, searching the virtual card feature information in the preset universal coding matching table to judge whether there is a target virtual card corresponding to the virtual card feature information; if so, switching the target virtual card to the current use state. Therefore, the present application has the advantages of convenient and fast switching of virtual cards, high accuracy, and good user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of near field communication, and in particular to a virtual card switching method, device, system, electronic device and storage medium. Background Art

[0002] In the prior art, in order to achieve the automatic switching of the virtual card to be used to the virtual card that meets the conditions when the mobile terminal is close to the NFC card reader, the technicians usually use the ECP card inquiry mechanism (Enhanced Contactless Polling). ECP adds new card inquiry instructions based on the definition of NFC Forum. This mechanism can solve the problem of automatic switching of virtual cards by mobile terminals, but there are still certain conditions for use: it is necessary to upgrade the software or hardware of all NFC card readers in advance to support the newly added card inquiry instructions and follow the unified terminal attribute coding rules. The realization of this use condition requires a lot of manpower and material resources, and it is easy to cause economic losses to the merchants using the NFC card reader due to untimely upgrades, and the user experience of other users will also deteriorate.

[0003] In addition, the technicians also combined the geographic location information to make the mobile terminal automatically switch to the most likely virtual card when the user swipes the card. However, this solution has a high error rate and the user experience is poor. Summary of the invention

[0004] The purpose of the present application is to provide a virtual card switching method, device, system, electronic device and storage medium. The user terminal automatically matches the virtual card suitable for the current scenario through the received broadcast information and switches it to the current usage state, which effectively improves the convenience of using the virtual card and the accuracy of switching, and brings a good user experience to the user.

[0005] The embodiment of the present application is implemented as follows:

[0006] A first aspect of an embodiment of the present application provides a virtual card switching method, the method comprising: based on the broadcast information sent by the target card reading device, determining whether the virtual card feature information corresponding to the broadcast information satisfies a preset universal coding matching rule; if the virtual card feature information satisfies the universal coding matching rule, searching the virtual card feature information in a preset universal coding matching table to determine whether there is a target virtual card corresponding to the virtual card feature information; if so, switching the target virtual card to the current use state.

[0007] In one embodiment, after determining whether the virtual card feature information corresponding to the broadcast information meets the preset general coding matching rules based on the broadcast information sent by the target card reading device, the method further includes: if not, searching for the virtual card feature information in the preset custom information matching table to determine whether there is a target virtual card corresponding to the virtual card feature information; if so, switching the target virtual card to the current use state.

[0008] In one embodiment, switching the target virtual card to the current use state includes: checking whether the target virtual card is already in the current use state; if not, switching the target virtual card to the current use state.

[0009] In one embodiment, after determining whether there is a target virtual card corresponding to the virtual card feature information, the method further includes: if there is no target virtual card corresponding to the virtual card feature information; outputting prompt information indicating that there is no virtual card in the current scene.

[0010] In one embodiment, before determining whether the virtual card feature information corresponding to the broadcast information satisfies the preset general coding matching rules based on the broadcast information sent by the target card reader device, the method also includes: when receiving the broadcast information sent by at least one card reader device, determining the target card reader device based on the signal strength of the broadcast information and the preset broadcast information reading conditions; reading the broadcast information sent by the target card reader device.

[0011] In one embodiment, the target card reader device is determined based on the signal strength of the broadcast information and the preset broadcast information reading conditions, including: based on the signal strength and the preset reading threshold, determining whether there is broadcast information with a signal strength greater than the reading threshold; if so, marking the card reader devices corresponding to all broadcast information with a signal strength greater than the reading threshold as alternative card reader devices; and determining the alternative card reader device with the highest signal strength as the target card reader device.

[0012] The second aspect of the embodiment of the present application provides a virtual card switching device, including: a first judgment module, a second judgment module and a switching module. The first judgment module is used to judge whether the virtual card feature information corresponding to the broadcast information satisfies the preset universal coding matching rule based on the broadcast information sent by the target card reader device; the second judgment module is used to search the virtual card feature information in the preset universal coding matching table if the virtual card feature information satisfies the universal coding matching rule, and judge whether there is a target virtual card corresponding to the virtual card feature information; the switching module is used to switch the target virtual card to the current use state if it exists.

[0013] The third aspect of the embodiment of the present application provides a virtual card switching system, including a card reader device and a user terminal. The card reader device includes a card reader module and a Bluetooth communication module, the card reader module is used to read a virtual card; the Bluetooth communication module is used to send broadcast information corresponding to the card reader device; the user terminal is connected to the card reader device, and the user terminal is used to: based on the broadcast information sent by the card reader device, determine whether the virtual card feature information corresponding to the broadcast information meets the preset universal coding matching rules; if the virtual card feature information meets the universal coding matching rules, search the virtual card feature information in the preset universal coding matching table to determine whether there is a target virtual card corresponding to the virtual card feature information; if so, switch the target virtual card to the current use state.

[0014] A fourth aspect of an embodiment of the present application provides an electronic device, which includes a processor and a memory for storing processor executable instructions; wherein the processor is configured to execute the virtual card switching method of the first aspect of the embodiment of the present application and any embodiment thereof.

[0015] The fifth aspect of the embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by a processor to complete the virtual card switching method of the first aspect of the embodiment of the present application and any of its embodiments.

[0016] The beneficial effects of this application compared with the prior art are:

[0017] This application can solve the problem of complicated use of virtual cards in the prior art, which is caused by the user terminal requiring the user to manually switch the card multiple times in different card swiping scenarios. In addition, in order to solve the problem of high error rate of virtual card switching caused by automatic confirmation of the adapted virtual card with the help of geographic location positioning, or the problem of virtual card switching failure caused by untimely software or hardware upgrades of various NFC card reading devices using the ECP card inquiry mechanism, this application effectively improves the convenience, accuracy and timeliness of the user terminal in automatically matching and switching the adapted virtual card in the current card swiping scenario by judging whether the received broadcast information meets the preset general coding matching rules or custom information matching rules, and brings a good user experience to the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 A schematic diagram of the structure of a virtual card switching system provided in one embodiment of the present application;

[0020] Figure 2 A schematic diagram of the structure of a Bluetooth communication module provided in one embodiment of the present application;

[0021] Figure 3 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application;

[0022] Figure 4 A flowchart of a virtual card switching method provided in one embodiment of the present application;

[0023] Figure 5 A flowchart of a virtual card switching method provided in one embodiment of the present application;

[0024] Figure 6 A schematic diagram of the structure of a virtual card switching device provided in one embodiment of the present application.

[0025] Figure numerals: 1-virtual card switching system; 100-user terminal; 200-card reading device; 210-Bluetooth communication module; 211-power supply unit; 212-Bluetooth unit; 213-Bluetooth antenna; 220-card reading module; 2-electronic device; 20-bus; 21-processor; 22-memory; 300-virtual card switching device; 310-first judgment module; 320-second judgment module; 330-switching module. DETAILED DESCRIPTION

[0026] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0027] Similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0028] The technical solution of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0029] See also Figure 1 , Figure 1 This is a schematic diagram of the structure of a virtual card switching system 1 provided in an embodiment of the present application. Figure 1As shown, the virtual card switching system 1 includes a card reader device 200 and a user terminal 100. The card reader device 200 includes a card reader module 220 and a Bluetooth communication module 210; the card reader module 220 is used to read the data of the virtual card of the user terminal 100, and the Bluetooth communication module 210 is used to send broadcast information corresponding to the card reader device 200 or the card reader module 220; the user terminal 100 is connected to the Bluetooth communication module 210 via Bluetooth, and after receiving the broadcast information sent by the Bluetooth communication module 210, it establishes a near field communication (for example, NFC, Bluetooth or other near field communication technology) connection with the card reader device 200 when it is close to the card reader device 200.

[0030] Generally, multiple virtual cards are activated in the user terminal 100, such as a bus card for taking a bus or an access card for opening a door. Due to the technical limitations of NFC, generally only one virtual card in a user terminal 100 can be activated as the current use state at the same time. Therefore, when using it, the user needs to frequently click on the target virtual card to be used through the App interface of the user terminal 100 to activate it.

[0031] The ideal application scenario of the virtual card is: when the user tries to swipe the card in a specific scenario, the user terminal 100 can automatically select the target virtual card to complete the card transaction without the need for manual operation by the user. The specific scenario may be taking a bus, swiping a door access control or shopping in a convenience store.

[0032] The present application realizes this ideal application scenario through the following virtual card switching method: when at least one card reading device 200 and at least one user terminal 100 are in the same area, multiple card reading devices 200 broadcast outward through the Bluetooth communication module 210, and the user terminal 100 can detect at least one Bluetooth broadcast in the overlapping area where the broadcast signal of at least one card reading device 200 can be monitored. The user terminal 100 determines the card reading device 200 to be swiped based on the broadcast signal strength, and switches the virtual card currently in use to a virtual card adapted for the device to be swiped.

[0033] In the following embodiments of the present application, the user terminal 100 can execute the virtual card switching method provided in the embodiments of the present application and obtain data from the card reading device 200. For the convenience of description, the embodiments of the present application are described with the user terminal 100 as the execution subject.

[0034] See also Figure 2 , Figure 2 Schematic diagram of the structure of the Bluetooth communication module 210 provided in one embodiment of the present application. Figure 2 As shown, the Bluetooth communication module 210 includes a power supply unit 211 , a Bluetooth unit 212 and a Bluetooth antenna 213 .

[0035] The Bluetooth communication module can use a low-capacity battery as the power supply unit to work long enough. The Bluetooth communication module can also borrow the power supply of the card reader device, or use the energy carried by the NFC magnetic field of the card reader module to charge. The Bluetooth communication module can also collect energy by using an external induction coil of the Bluetooth unit as a power supply. The latest Bluetooth power supply technology also supports Bluetooth chips to collect energy from ubiquitous electromagnetic waves in the air.

[0036] The Bluetooth unit is connected to the power supply unit and the Bluetooth antenna, and with the energy support of the power supply unit, the Bluetooth antenna 213 continuously broadcasts information to the outside. The user can select a suitable installation method according to the functional mode of the Bluetooth communication module, and install it on the card reader device or near the card reader device. Usually, the Bluetooth communication module needs to be as close as possible to the card reader device to improve the timeliness and accuracy of the user terminal switching the virtual card.

[0037] In one embodiment, the Bluetooth communication module can be installed by the user independently, and its form can be a sticker-shaped Bluetooth tag, which the user can install independently near any card reader device.

[0038] See also Figure 3 , Figure 3 FIG. 2 is a schematic diagram of the structure of an electronic device 2 provided in an embodiment of the present application, and the electronic device 2 can be used as the user terminal 100. Figure 3 As shown, the electronic device 2 includes at least one processor 21 and a memory 22. Figure 3 A processor 21 is taken as an example. The processor 21 and the memory 22 are connected via a bus 20. The memory 22 stores instructions that can be executed by at least one processor 21. The instructions are executed by at least one processor 21 so that at least one processor 21 executes the virtual card switching method in the following embodiment.

[0039] See also Figure 4 , Figure 4 A flowchart of a virtual card switching method provided in an embodiment of the present application; the method is applied to a user terminal 100, please refer to Figure 1 and Figure 4 As shown, the method comprises the following steps:

[0040] S110: Based on the broadcast information sent by the target card reading device, determine whether the virtual card feature information corresponding to the broadcast information satisfies a preset general encoding matching rule.

[0041] The target card reader device refers to the device determined by the user terminal in the current card swiping scenario, where the user is about to swipe the card using the virtual card. The broadcast information sent by the card reader device through the Bluetooth communication module includes the scenario information applicable to the virtual card, and corresponds to the virtual card feature information stored in the user terminal. For example, the information corresponding to the home door access control virtual card used in the home door opening scenario in the user terminal, and the information corresponding to the bank card virtual card used in the payment scenario when the user terminal pays in the supermarket.

[0042] The preset universal code matching rule refers to the universal virtual card matching rule preset in the user terminal, so that the user terminal does not need the user to pre-set the virtual card corresponding to the card reader device in a special application scenario. When the two are close, it can automatically match to the appropriate virtual card based on the preset universal code matching rule and further use the virtual card.

[0043] In this step, the user terminal reads the broadcast information and confirms the content or data format of the broadcast information, and based on the specific content or data format of the broadcast information, determines the virtual card feature information pre-stored in the user terminal corresponding to the broadcast information, and then determines whether the preset general coding matching rules applied by the user terminal to automatically match the general virtual card are met according to the virtual card feature information. For example, when a user enters a subway station to swipe the card, the user terminal reads the broadcast information sent by the subway gate card reader device and finds the relevant information of the subway card swiping scene for matching the subway virtual card. This information complies with the industry coding specifications for subway gates and subway virtual cards in user terminals, and can be updated in real time on each user terminal and card reader device based on the network.

[0044] S120: If the virtual card feature information satisfies the universal code matching rule, searching the virtual card feature information in a preset universal code matching table to determine whether there is a target virtual card corresponding to the virtual card feature information;

[0045] In this step, if the virtual card feature information meets the universal code matching rules, the user terminal can directly match the applicable virtual card without user presetting. The user terminal stores information corresponding to multiple application scenarios adapted to each virtual card, and uniformly stores it as a universal code matching table.

[0046] For example, the application scenarios adapted to the transportation card of place A activated in the user terminal include all subway lines in place A, all bus routes in place A, and all water bus routes in place A, etc., the information of the card reading devices for all transportation industry application scenarios adapted to the transportation card of place A is reflected in the form of a unified universal coding specification, so that it can be applied to the virtual card adaptation of each user terminal. As a result, the user terminal stores the codes of the card reading devices for multiple application scenarios adapted to the transportation card of place A as part of the preset universal coding matching table, and when receiving the broadcast information sent by the card reading device, matches the code in the broadcast information (i.e., the virtual card feature information) with the preset universal coding matching table to determine whether there is a corresponding target virtual card.

[0047] S130: If it exists, switch the target virtual card to the current use state.

[0048] If there is a corresponding target virtual card, the user terminal activates the target virtual card and switches the target virtual card to the current use state. The user terminal has only one virtual card in the current use state at the same time period to avoid the problem of card swiping failure due to multiple activated virtual cards when the virtual card and the card reader are close.

[0049] See also Figure 5 , Figure 5 The flowchart of the virtual card switching method provided by an embodiment of the present application is shown in FIG. Figure 5 As shown, the method comprises the following steps:

[0050] S210: upon receiving broadcast information sent by at least one card reading device 200, determining a target card reading device based on the signal strength of the broadcast information and a preset broadcast information reading condition;

[0051] In order to avoid the user terminal constantly detecting broadcasts and constantly switching virtual cards according to the broadcast information, thereby causing adverse effects such as increased power consumption of the mobile phone or reduced life of the security module due to frequent access to the mobile phone NFC module and security module, the user terminal needs to make a judgment based on the strength of the broadcast signal while detecting the broadcast. Only when the signal strength of the broadcast information exceeds the set value can the broadcast information be read for matching.

[0052] In one embodiment, when the user terminal detects Bluetooth broadcast, it may monitor broadcast information of multiple card readers at the same time. The user terminal can select the broadcast information with the highest signal strength for reading, virtual card matching and virtual card switching according to the signal strength of the broadcast information sent by the multiple card readers.

[0053] In one embodiment, the user terminal can also determine whether there is broadcast information with a signal strength greater than the reading threshold based on the signal strength and the preset reading threshold; if so, the card reading device 200 corresponding to all broadcast information with a signal strength greater than the reading threshold is marked as an alternative card reading device; then the alternative card reading device with the highest signal strength is determined as the target card reading device; if there is no broadcast information with a signal strength greater than the reading threshold, the user terminal temporarily determines the target card reading device and continues to monitor the strength of the broadcast information until the signal strength of the monitored broadcast information is greater than the reading threshold.

[0054] The Bluetooth unit continuously broadcasts information to the outside through the Bluetooth antenna. The broadcast interval can be reasonably set in combination with the comprehensive energy consumption and battery life of the Bluetooth communication module or card reader device.

[0055] S220: Read the broadcast information sent by the target card reader device

[0056] After determining the target card reader device, the user terminal reads the broadcast information sent by the target card reader device and selects characteristic information used to match the virtual card, such as the device code or device identification of the target card reader device.

[0057] S230: Based on the broadcast information sent by the target card reader device, determine whether the virtual card feature information corresponding to the broadcast information meets the preset universal coding matching rules; if so, execute step S240; if not, execute step S241.

[0058] This step is similar to the above step S110 , and please refer to step S110 for details.

[0059] In one embodiment, the broadcast information that meets the preset universal coding matching rule is a string. The format of the string is uniformly defined by the industry, and is described below as an example:

[0060] Assume that the string length is 30 bytes (generally, the length of data that can be carried by Bluetooth broadcast is 37 bytes): Bytes 1-7 are fixed characters, indicating that the broadcast information is used for automatic card switching of virtual cards; Bytes 8-11 are industry types, which can be public transportation, retail payment, access control, and private industries. Bytes 12-15 are industry subdivisions. For example, public transportation can be divided into buses, subways, ferries, BRT, high-speed rail, etc. Bytes 16-19 are industry service providers, which are the numbers of the card reader operators involved in virtual card swiping. Bytes 20-30 are the unique identifier of the card reader, representing a unique card reader.

[0061] Among them, if the 8th to 11th bits of the byte represent a private industry, the definition of the subsequent bytes is freely designed by the industry.

[0062] The user terminal classifies the supported virtual cards by industry. For example, bank virtual cards belong to the retail payment industry, transportation virtual cards belong to the public transportation industry, and access control cards belong to the access control industry. The user terminal assigns one or more corresponding industry code lists to each virtual card based on the general industry coding specifications. The coding format uses the same general string format as the above broadcast information to facilitate the use when matching virtual cards with scenarios.

[0063] S240: If the virtual card feature information satisfies the universal code matching rule, the virtual card feature information is searched in a preset universal code matching table to determine whether there is a target virtual card corresponding to the virtual card feature information.

[0064] This step is similar to the above step S120, and please refer to step S120 for details.

[0065] When the user terminal determines that the broadcast information is for virtual card switching, it compares the data content of the broadcast information with the industry code list assigned to the virtual cards activated in the user terminal to find the most suitable virtual card as the target virtual card.

[0066] In one embodiment, each industry sets each field of the broadcast information sent by the card reader device according to the general coding specification. The user terminal also reads and identifies the broadcast information according to the agreed general industry coding specification, and automatically matches the appropriate virtual card based on the virtual card feature information corresponding to the broadcast information. For example, bus cards match the public transportation industry, access control cards match the access control and security fields, and bank cards match the small retail industry. The user terminal does not require the user to make any manual settings on the interface in advance, and can automatically switch to the corresponding target virtual card before approaching the corresponding card reader, and successfully complete the subsequent card swiping action.

[0067] S241: If the virtual card feature information does not satisfy the general coding matching rule, the virtual card feature information is searched in a preset custom information matching table to determine whether there is a target virtual card corresponding to the virtual card feature information.

[0068] In this step, the user terminal can also support matching any broadcast information. The user terminal allows the user to match one or more card readers corresponding to the broadcast information for each activated virtual card, and store the corresponding matching information separately in the custom information matching table. The data format of the broadcast information may not conform to the setting of the above-mentioned general coding specification, but this matching method is only applicable to users to set it separately for their special scenarios. The user carries the user terminal and approaches the card reader from a distance. During the approach process, the card reader device continuously sends broadcasts. When the user terminal receives the broadcast, it can search for the corresponding target virtual card based on the preset custom information matching table and the virtual card feature information corresponding to the broadcast information.

[0069] This step only requires the user to set it once in advance on the user terminal, and the user's daily usage scenarios can be covered in the subsequent use process. The method is flexible and convenient, and is suitable for users to independently select and match scenarios.

[0070] With respect to the above steps S240 and S241, if there is a target virtual card corresponding to the virtual card feature information, execute step S250; if there is no target virtual card corresponding to the virtual card feature information, execute step S270.

[0071] S250: Check whether the target virtual card is currently in use;

[0072] In this step, the user terminal determines whether the target virtual card is in a current use state based on whether the target virtual card is in an activated state.

[0073] S260: If the target virtual card is not in the current use state, switch the target virtual card to the current use state.

[0074] In this step, if the target virtual card is not in the current use state, the user terminal determines whether there are other virtual cards in the activated state, that is, whether there are other virtual cards in the current use state. If there are, the user terminal deactivates the other virtual cards and then activates the target virtual card; if not, the user terminal directly activates the target virtual card to switch to the current use state.

[0075] S261: If the current state is being used, the current state is maintained and no other operations are performed.

[0076] If the target virtual card is in the current use state, the user terminal can directly exchange data with the card reader and complete the card swiping operation when it is close to the card reader and reaches the card reading distance. Therefore, the user terminal keeps the current use state of the target virtual card unchanged in this step and does not need to perform other actions.

[0077] S270: Output prompt information indicating that there is no virtual card in the current scene.

[0078] If there is no target virtual card corresponding to the virtual card feature information, the user terminal automatically generates a prompt message, and when the user terminal approaches the card reader and reaches the card reading distance, the user is prompted on the interface that the current user terminal does not have a virtual card suitable for the current scenario.

[0079] This application uses a pre-established unified coding specification so that when a newly entered enterprise entity sets up a card reader, it can quickly enter the use state and is conducive to supporting user terminals under the premise of following the specification; the determination of the target virtual card in the user terminal is determined by the broadcast information sent by the Bluetooth tag; and the effective Bluetooth broadcast information used to determine the target virtual card is determined by the strength of the Bluetooth signal. Compared with the high virtual card switching error rate caused by automatically confirming the adapted virtual card by positioning the geographical location in the prior art, or compared with the virtual card switching problem caused by the untimely software or hardware upgrade of each NFC card reader 200 using the ECP card query mechanism, this application effectively improves the convenience, accuracy and timeliness of the user terminal 100 in automatically matching and cutting the adapted virtual card in the current card swiping scenario, bringing users a good user experience.

[0080] See also Figure 6 , Figure 6 FIG. 1 is a schematic diagram of the structure of a virtual card switching device 300 provided in an embodiment of the present application. Figure 6 As shown, the present application provides a virtual card switching device 300 , including: a first judgment module 310 , a second judgment module 320 and a switching module 330 .

[0081] Among them, the first judgment module 310 is used to judge whether the virtual card feature information corresponding to the broadcast information meets the preset universal coding matching rules based on the broadcast information sent by the target card reading device; the second judgment module 320 is used to search the virtual card feature information in the preset universal coding matching table if the virtual card feature information meets the universal coding matching rules, and judge whether there is a target virtual card corresponding to the virtual card feature information; the switching module 330 is used to switch the target virtual card to the current use state if it exists.

[0082] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned virtual card switching method, which will not be repeated here.

[0083] In several embodiments provided in the present application, the disclosed devices and methods may also be implemented in other ways. The device embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram may represent a module, a program segment or a part of a code, and a module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0084] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0085] The embodiment of the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program. The computer program can be executed by the processor 21 to implement the virtual card switching method.

[0086] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0087] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A virtual card switching method, characterized in that: The method comprises: Based on the broadcast information sent by the target card reader device, determining whether the virtual card feature information corresponding to the broadcast information satisfies a preset universal coding matching rule; If the virtual card feature information satisfies the universal code matching rule, searching the virtual card feature information in a preset universal code matching table to determine whether there is a target virtual card corresponding to the virtual card feature information; if so, switching the target virtual card to the current use state; After determining whether the virtual card feature information corresponding to the broadcast information sent by the target card reader device satisfies the preset general coding matching rule, the method further includes: if not, searching for the virtual card feature information in a preset custom information matching table to determine whether there is a target virtual card corresponding to the virtual card feature information; if so, switching the target virtual card to the current use state.

2. The virtual card switching method according to claim 1, characterized in that: The switching the target virtual card to the current use state includes: Check whether the target virtual card is currently in use; If not, the target virtual card is switched to the current use state.

3. The virtual card switching method according to claim 1, characterized in that: After determining whether there is a target virtual card corresponding to the virtual card feature information, the method further includes: If the target virtual card corresponding to the virtual card feature information does not exist; Outputs a prompt message indicating that there is no virtual card in the current scene.

4. The virtual card switching method according to claim 1, characterized in that: Before judging whether the virtual card feature information corresponding to the broadcast information satisfies a preset universal code matching rule based on the broadcast information sent by the target card reader device, the method further includes: When receiving the broadcast information sent by at least one card reading device, determining the target card reading device based on the signal strength of the broadcast information and a preset broadcast information reading condition related to the signal strength; Read the broadcast information sent by the target card reader device.

5. The virtual card switching method according to claim 4, characterized in that: The determining the target card reading device based on the signal strength of the broadcast information and a preset broadcast information reading condition related to the signal strength includes: Based on the signal strength and a preset reading threshold, determining whether there is broadcast information whose signal strength is greater than the reading threshold; If so, mark the card reading device corresponding to all broadcast information whose signal strength is greater than the reading threshold as a candidate card reading device; The candidate card reading device with the highest signal strength is determined as the target card reading device.

6. A virtual card switching device, characterized in that: include: A first judgment module, configured to judge, based on the broadcast information sent by the target card reader device, whether the virtual card feature information corresponding to the broadcast information satisfies a preset universal coding matching rule; A second judgment module is used to search for the virtual card feature information in a preset universal code matching table if the virtual card feature information satisfies the universal code matching rule, and judge whether there is a target virtual card corresponding to the virtual card feature information; A switching module, used for switching the target virtual card to the current use state if it exists; The second judgment module is further used to: if not satisfied, search the virtual card feature information in a preset custom information matching table to determine whether there is a target virtual card corresponding to the virtual card feature information; the switching module is further used to: if so, switch the target virtual card to the current use state.

7. A virtual card switching system, characterized in that: include: A card reader device, comprising a card reader module and a Bluetooth communication module, wherein the card reader module is used to read a virtual card; The Bluetooth communication module is used to send broadcast information corresponding to the card reader device; A user terminal is connected to the card reader device, and the user terminal is used to: Based on the broadcast information sent by the card reader device, determining whether the virtual card feature information corresponding to the broadcast information satisfies a preset universal coding matching rule; If the virtual card feature information satisfies the universal code matching rule, searching the virtual card feature information in a preset universal code matching table to determine whether there is a target virtual card corresponding to the virtual card feature information; if so, switching the target virtual card to the current use state; If the virtual card feature information does not satisfy the general encoding matching rule, the virtual card feature information is searched in a preset custom information matching table to determine whether there is a target virtual card corresponding to the virtual card feature information; if so, the target virtual card is switched to the current use state.

8. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to execute the virtual card switching method described in any one of claims 1-5.

9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program can be executed by a processor to complete the virtual card switching method described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • DEVICE CONTROL METHOD, DEVICE AND equipment

    CN109257071A

  • Payment method, device and system, electronic equipment and computer readable storage medium

    CN114372797A

  • Method for operating a device for selecting a virtual card in a digital wallet

    US20220051228A1