Smart card application selection method and apparatus, electronic device, and storage medium
By receiving broadcast data packets from the target device to obtain information, selecting and matching card applications, the problem of the limited number of card-swiping devices connected in multi-user scenarios is solved, achieving efficient card application selection and card-swiping operations, and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUBEI XINGJI MEIZU TECH CO LTD
- Filing Date
- 2022-08-31
- Publication Date
- 2026-04-10
AI Technical Summary
In multi-user scenarios, the number of session connections that a card-swiping device can create is limited, which cannot meet the needs of multi-user scenarios and affects the user experience.
By receiving broadcast data packets sent by the target device, its location information and device information are obtained. Based on the device information, the first card application is selected, and when the interval distance is less than a preset distance threshold, the card application is matched and switched to realize the card swiping operation.
In multi-user scenarios, automatic selection of card applications and card swiping operations are achieved, improving user card swiping efficiency and experience, and reducing manual operation time.
Smart Images

Figure CN115604653B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of software communication, in particular to a selection method and device of smart card application, electronic equipment and storage medium. BACKGROUND
[0002] With more and more integrated card applications of smart terminals, when performing near field communication (NFC) card swiping, the user needs to select a matching card application (bus card, access control card, bank card) from a bunch of card applications in the smart terminal, thus affecting the user experience of NFC card simulation.
[0003] With the popularity of ultra wide band communication (UWB) technology, a terminal device and a card swiping device establish a UWB session connection, the terminal device sends a request, obtains device information, and selects a matching card application, which can improve the user experience of smart card selection to a certain extent. However, this scheme generally has the following problems: the number of session connections allowed to be created by the card swiping device is limited, which cannot meet the multi-user scenario, such as the access control channel of a building.
[0004] Therefore, how to realize card application selection and card swiping of multiple user terminals in a multi-user scenario is a technical problem to be solved at present. SUMMARY
[0005] The present application provides a selection method and device of smart card application, electronic equipment and storage medium, to solve the defect that the number of connection devices allowed to be created by the card swiping device in the prior art is limited and cannot meet the multi-user scenario, and to realize the effect of card application selection and card swiping of multiple user terminals in a multi-user scenario.
[0006] The present application provides a selection method of smart card application, applied to at least one terminal, comprising:
[0007] receiving a broadcast data packet sent by a target device, obtaining positioning information and device information of the target device based on the broadcast data packet;
[0008] selecting a first card application based on the device information and obtaining a selection result; wherein the terminal stores a plurality of different card applications;
[0009] confirming a first target card application in the default card application and the first card application based on the selection result, and performing a card swiping operation based on the first target card application.
[0010] According to the selection method of smart card application provided by the present application, the selection of the first card application based on the device information and the obtaining of the selection result comprise:
[0011] confirming a distance between the target device and the terminal based on the positioning information;
[0012] In a case where the distance is less than a preset distance threshold, selecting a first card application based on the device information and obtaining a selection result.
[0013] According to the method for selecting a smart card application provided in the present application, the first target card application is confirmed from the default card application and the first card application based on the selection result, and the card swiping operation is performed based on the first target card application, which comprises:
[0014] In a case where the selection result is that the card application is successfully selected, the default card application of the terminal is switched to the first card application, the first card application is taken as the first target card application, and the card swiping operation is performed based on the first target card application.
[0015] According to the method for selecting a smart card application provided in the present application, in a case where the distance is less than a preset distance threshold, the first card application is selected based on the device information and a selection result is obtained, which comprises:
[0016] In a case where the distance is less than a preset distance threshold, the application identifier of each card application is obtained.
[0017] Each application identifier is matched with the device information to obtain a plurality of matching results.
[0018] The card application corresponding to the application identifier with a matching success in the matching result is confirmed as the first card application.
[0019] According to the method for selecting a smart card application provided in the present application, after the first target card application is confirmed from the default card application and the first card application based on the selection result and the card swiping operation is performed based on the first target card application, the method further comprises:
[0020] An execution result of the card swiping operation is obtained.
[0021] In a case where the execution result is a card swiping failure, the first card application is switched to a second card application.
[0022] The second card application is taken as a second target card application, and the card swiping operation is performed again based on the second target card application.
[0023] According to the method for selecting a smart card application provided in the present application, the terminal comprises a first ultra-wideband communication module and a first near field communication module, and the target device comprises a second ultra-wideband communication module and a second near field communication module.
[0024] The receiving target device sends a broadcast data packet, and positioning information and device information of the target device are obtained based on the broadcast data packet.
[0025] The first UWB communication module receives the broadcast data packet sent by the second UWB communication module, and the broadcast data packet is parsed to obtain the positioning information and the device information of the target device.
[0026] According to the method for selecting a smart card application provided in the application, the first target card application is executed to perform a card swiping operation, and the method comprises the following steps.
[0027] The first near field communication module of the terminal sends configuration information of the first target card application to the second near field communication module of the target device, so that the second near field communication module performs a card swiping operation based on the configuration information.
[0028] The application further provides a device for selecting a smart card application, which is applied to at least one terminal and comprises the following.
[0029] A receiving unit is configured to receive a broadcast data packet sent by a target device, and obtain positioning information and device information of the target device based on the broadcast data packet.
[0030] A selecting unit is configured to select a first card application based on the device information and obtain a selection result, wherein the terminal stores a plurality of different card applications.
[0031] A card swiping execution unit is configured to confirm a first target card application from a default card application and the first card application based on the selection result, and perform a card swiping operation based on the first target card application.
[0032] The device for selecting a smart card application provided in the application further comprises the following.
[0033] A distance confirming unit is configured to confirm an interval distance between the target device and the terminal based on the positioning information.
[0034] The selecting unit is further configured to select a first card application based on the device information and obtain a selection result in a case where the interval distance is less than a preset distance threshold. The application further provides an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method for selecting a smart card application according to any one of the above when executing the program.
[0035] The application further provides a non-transitory computer readable storage medium, which stores a computer program, and the computer program is executable on a processor to implement the method for selecting a smart card application according to any one of the above.
[0036] The application further provides a computer program product comprising a computer program which, when executed by a processor, implements the method for selecting a smart card application according to any one of the above.
[0037] The method for selecting a smart card application, the device, the electronic device and the storage medium provided by the application establish communication between at least two different terminals and a target device and perform data transmission, select a first target card application corresponding to the target device to perform a card swiping operation, and thus realize the card swiping operation in a multi-user scenario, improve the card swiping efficiency of a user, and improve the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0039] Figure 1 Fig. 1 is one of the flow diagrams of the method for selecting a smart card application provided by the application;
[0040] Figure 2 Fig. 2 is a schematic diagram of information interaction between a target device and a terminal;
[0041] Figure 3 Fig. 3 is another flow diagram of the method for selecting a smart card application provided by the application;
[0042] Figure 4 Fig. 4 is a structural diagram of the device for selecting a smart card application provided by the application;
[0043] Figure 5 Fig. 5 is a structural diagram of the electronic device provided by the application. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solutions and advantages of the application clearer, the technical solutions in the application will be described clearly and completely in the following with reference to the drawings in the application. Obviously, the described embodiments are some embodiments of the application, but not all the embodiments. Based on the embodiments in the application, all the other embodiments obtained by those skilled in the art without any creative effort belong to the protection scope of the application.
[0045] With the increasing number of integrated card applications of the intelligent terminal, when performing NFC card swiping, the user needs to select a matching card application (bus card, access control card, bank card, etc.) from a bunch of card applications in the intelligent terminal, which affects the user experience of using the NFC card simulation. With the popularization of UWB technology, a terminal device and a card swiping device establish a UWB Session connection, the terminal device sends a request, obtains device information, and selects a matching card application, which improves the user experience of intelligent card selection to a certain extent. However, the scheme has the following problems:
[0046] 1: The number of Session connections allowed to be created by the card swiping device is limited, which does not meet the multi-user scenario, such as the access control channel of a building.
[0047] 2: The session id of the card swiping device needs to be obtained in advance to create a UWB Session connection, which increases the difficulty of use.
[0048] 3: The creation of the UWB Session link and the subsequent data communication increase the time delay.
[0049] The intelligent card application selection method provided in the embodiments of the present application can be applied to terminal devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc. It can also be applied to databases, servers, and terminal artificial intelligence-based service response systems. The embodiments of the present application do not make any limitation on the specific type of terminal device.
[0050] For example, the terminal can be a station (STATION, STA) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device having wireless communication function, a computing device or other processing device connected to a wireless modem, a computer, a laptop, a handheld communication device, a handheld computing device, and / or other equipment for communicating over a wireless system and next-generation communication systems, such as a mobile terminal in a 5G network, a mobile terminal in a future evolved Public Land Mobile Network (PLMN), or a mobile terminal in a future evolved Non-Terrestrial Network (NTN), etc.
[0051] By way of example and not limitation, when the terminal is a wearable device, the wearable device can also be a general term for smart design of daily wear by applying wearable technology, and development of a wearable device, such as a glove, a watch, etc. configured with a UWB module and an NFC module. The wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories, and performs payment, authentication, etc. through the pre-bound electronic card application attached to the user's body. The wearable device is not only a hardware device, but also a powerful function realized through software support and data interaction, cloud interaction. The general wearable smart device includes a full function, a large size, and can realize complete or partial functions without relying on a smart phone, such as a smart watch or smart glasses, etc., and only focuses on a certain application function, and needs to be used in cooperation with other devices such as a smart phone, such as various smart watches with a display screen, smart bracelets, etc.
[0052] Reference Figure 1 The application provides a selection method of a smart card application, applied to at least one terminal, and the method comprises the following steps:
[0053] In step 110, a broadcast data packet sent by a target device is received, and positioning information and device information of the target device are obtained based on the broadcast data packet.
[0054] It can be understood that in this step, the broadcast data packet sent by the target device is received by at least two terminals, and in an actual application scenario, the number of terminals will be larger, that is, a large number of terminal devices can receive the broadcast data packet by establishing communication between the target devices. The number of terminals can be determined according to time, and the number is at least two, and the upper limit is not limited.
[0055] The terminal can be a smart device with a wireless communication function such as a mobile phone, a bracelet, and the like. The smart card is arranged in the terminal to realize information interaction with the target device. The target device is a card swiping device arranged in different places, which can be an access control device, a bus card swiping device, a bank counter identification device, and the like.
[0056] It should be specifically noted that the manner in which the target device and the plurality of terminals realize wireless communication in the embodiment is UWB (Ultra Wide Band). UWB is a wireless carrier communication technology that does not use a sinusoidal carrier but transmits data by using a nanosecond non-sinusoidal wave narrow pulse, so the frequency spectrum range occupied thereby is very wide. UWB technology has the advantages of low system complexity, low transmit signal power spectrum density, insensitivity to channel fading, low interception capability, high positioning accuracy, and the like, and is particularly suitable for high-speed wireless access in dense multipath places such as indoors.
[0057] In this step, the target device in different scenarios periodically sends a broadcast data packet to the plurality of terminals based on UWB communication, and the terminal receives and analyzes the broadcast data packet sent by the target device to obtain positioning information and device information of the target device. The sending period of the broadcast device is determined according to actual conditions, and is not limited herein.
[0058] It should be further noted that the positioning information in this step is the position information of the target device, so that the user can timely confirm the position of the target device.
[0059] The positioning information in the embodiment can be TDOA (Time Difference of Arrival) positioning information. TDOA positioning is a method of positioning by using time difference. By measuring the time of arrival of a signal at a monitoring station, the distance of the signal source can be determined. By using the distance of the signal source to each monitoring station (making a circle with the monitoring station as the center and the distance as the radius), the position of the signal can be determined. The device information includes but is not limited to the NFC technology of the target device, the available card application ID of the device, the device type, the device working capacity, and the like.
[0060] Step 120, selecting a first card application based on the device information and obtaining a selection result; wherein the terminal stores a plurality of different card applications.
[0061] It should be noted that in actual application, the selection result includes successful selection of the card application and failed selection of the card application. The reasons for the failure of the selection of the card application can include at least one of a plurality of different situations, such as inaccurate positioning information, network lag, slow card information export, and the like.
[0062] It needs to be further explained that the plurality of card applications in the embodiment are integrated in the security module of the terminal. The security module is a secure element (SE), which is usually in the form of a chip arranged in the terminal. And, in order to prevent external malicious analysis attacks and protect data security, the chip usually has an encryption / decryption logic circuit.
[0063] It needs to be further explained that in the case of successful selection of the first card application, the SE module completes the parameter configuration of the NFC card simulation according to the application identifier of the first card application, including the NFC technology, transmission protocol and transmission efficiency of the card application of the terminal.
[0064] Step 130, confirming a first target card application in the default card application and the first card application based on the selection result, and performing a card swiping operation based on the first target card application.
[0065] Specifically, in this step, the selection result of the first card application is confirmed on the terminal, and then the card swiping operation is performed between the target card application and the target device.
[0066] It needs to be further explained that the default card application is the card application of the terminal when communicating with the target device, which can be any of the plurality of card applications. When the card application selection fails, the default card application is used for card swiping, which may not match the target device. Therefore, the card swiping operation is repeatedly performed until the target device matches the default card application, and the card swiping is completed.
[0067] That is, the UWB communication between the terminal and the target device in the embodiment is to facilitate the confirmation of the card application matched with the target device, so as to improve the card swiping efficiency.
[0068] The method for selecting a smart card application provided by the embodiment of the application receives the broadcast data packet sent by the target device through at least two different terminals, obtains the positioning information and device information of the target device based on the broadcast data packet, selects a first card application based on the device information and obtains a selection result, confirms a first target card application in the default card application and the first card application based on the selection result of the terminal, and finally performs a card swiping operation based on the first target card application. The application establishes communication between the terminal and the target device and transmits data on at least two different terminals, selects a first target card application corresponding to the target device for card swiping operation, thereby realizing card swiping operation in a multi-user scenario, improving the card swiping efficiency of the user, and thus improving the user experience.
[0069] Based on the above embodiment, the selection of the first card application based on the device information and the obtaining of the selection result include:
[0070] Confirming the interval distance between the target device and the terminal based on the positioning information.
[0071] In a case where the interval distance is less than the preset distance threshold, a first card application is selected based on the device information, and a selection result is obtained.
[0072] Specifically, the embodiment provides an implementation of confirming a card application selection result based on an interval distance. The interval distance between a card swiping device and a plurality of terminals in different scenarios is confirmed based on positioning information. The calculation manner is to calculate the distance between two device terminals.
[0073] It should be noted that the interval distance is constantly changing because the terminal constantly changes according to the position of the user.
[0074] In the embodiment, it is pointed out that in a case where the interval distance changes as the user position moves, that is, the terminal moves, when the interval distance is less than a preset distance threshold, that is, when the terminal is close to the target device, the terminal selects a corresponding first card application from a plurality of stored card applications.
[0075] The selection method of the smart card application provided in the embodiment can select a corresponding first card application from a plurality of card applications when the terminal is close to the target device by judging the relationship between the interval distance between the terminal and the target device and the preset distance threshold, and can be automatically performed in multiple terminal scenarios, that is, the card swiping operation in a multi-user scenario is realized, the card swiping efficiency of the user is improved, and the user experience is improved.
[0076] Based on the above embodiment, the first target card application is confirmed in the default card application and the first card application based on the selection result, and the card swiping operation is performed based on the first target card application, which includes:
[0077] In a case where the selection result is a successful card application selection, the default card application of the terminal is switched to the first card application, and the first card application is used as the first target card application, and the card swiping operation is performed based on the first target card application.
[0078] Specifically, the embodiment provides an implementation of using the first card application for card swiping when the selection is successful.
[0079] When the broadcast data packet sent by the target device is successfully parsed, the positioning information and the device information of the target device obtained can be guaranteed to be accurate, and the card selection can be guaranteed to be successful without the influence of the network or other factors, that is, the first card application corresponding to the target device is selected from a plurality of different card applications.
[0080] Then, the default card application is switched to the first card application as the first target card application for card swiping.
[0081] It should be noted that in actual application, the first card application can be the default card application, and thus switching is not needed, and the default card application can be directly used as the first target card application for card swiping.
[0082] For example, if the target device is a cell door access card swiping device, the terminal can select the card application corresponding to the device, i.e., the access card, after receiving the broadcast data packet sent by the device, and then perform card swiping. The default card application of the terminal can be a bank card, a bus card, an access card, or the like. If the default card application is an access card, switching is not needed, otherwise, the card application needs to be switched before card swiping.
[0083] The method for selecting a smart card application provided in the embodiments of the present application can automatically complete the entire process through the terminal device, i.e., automatically perform information matching with the target device, and thus the information of the target device does not need to be obtained in advance, and the method can be implemented in the transmission process. The method not only implements card swiping in a multi-user scenario, but also further improves the card swiping efficiency of a user, thereby improving the user experience.
[0084] Based on the above embodiments, the first card application is selected based on the device information and a selection result is obtained in a case where the interval distance is less than the preset distance threshold, and the method comprises the following steps:
[0085] In a case where the interval distance is less than the preset distance threshold, an application identifier of each card application is obtained.
[0086] Each application identifier is matched with the device information, and a plurality of matching results are obtained.
[0087] The card application corresponding to the application identifier with a matching result of matching success is confirmed as the first card application.
[0088] Specifically, the embodiments provide an implementation for confirming the first card application. In simple terms, the embodiments select one card application from a plurality of card applications as the first card application, and the selection is performed based on matching with the device information.
[0089] For example, if the target device is a certain bank counter identification device, a plurality of applications downloaded on the user terminal, such as a bus card, an access card, or a bank card of another bank, cannot be matched with the device information of the target device successfully. Only the card application corresponding to the bank can be matched with the device information of the target device successfully, and thus the card application corresponding to the bank is used as the first card application to perform card swiping.
[0090] The method for selecting the smart card application provided in the embodiments of the present application selects the card application that matches the device information of the target device and the application identifier of the plurality of card applications of the terminal as the first card application, that is, automatically selects the card application according to the data sent by the target device, which not only enables the plurality of users to interact with the target device, but also saves the time for manual operation of the users and improves the efficiency of card selection and card swiping, thereby improving the user experience.
[0091] Based on the above embodiments, the first target card application is confirmed in the default card application and the first card application based on the selection result, and after the card swiping operation is performed based on the first target card application, the method further includes:
[0092] obtaining an execution result of the card swiping operation;
[0093] in the case where the execution result is card swiping failure, switching the first card application to a second card application;
[0094] the second card application is taken as a second target card application, and the card swiping operation is performed again based on the second target card application.
[0095] Specifically, the embodiments provide an implementation of secondary card swiping in the case of card swiping failure. First, the result of card swiping with the first card application as the first target card application is confirmed, and if the card swiping is successful, the card swiping is ended.
[0096] However, in actual application, the first card application may be selected incorrectly, resulting in card swiping failure. At this time, the first card application needs to be switched to the second card application, and the second card application is taken as the second target card application for card swiping.
[0097] For example, when the target device is a bus card swiping device, there are many bus card applications on the terminal, such as a bus card, a subway card, a tram card, or a ferry card. In some cases, the application identifier may be incorrectly matched, for example, the subway card is incorrectly matched with the bus card swiping device. At this time, the subway card needs to be manually switched to the second target card application for card swiping.
[0098] The method for selecting the smart card application provided in the embodiments of the present application switches a new card application to perform card swiping again in the case of card swiping failure, thereby ensuring that the card swiping operation can be successfully performed.
[0099] Based on the above embodiments, the terminal includes a first ultra-wideband communication module and a first near-field communication module, and the target device includes a second ultra-wideband communication module and a second near-field communication module.
[0100] The receiving target device sends a broadcast data packet, and the positioning information and the device information of the target device are obtained based on the broadcast data packet, comprising:
[0101] The first ultra-wideband communication module receives the broadcast data packet sent by the second ultra-wideband communication module, and the broadcast data packet is parsed to obtain the positioning information and the device information of the target device.
[0102] Referring to Figure 2 , Figure 2 is a schematic diagram of information interaction between a target device and a terminal. The terminal 210 includes a first ultra-wideband communication module 211 (UWB), a first near field communication module 212 (NFC), and a security module 213 (SE), and the target device (i.e., a card swiping device) 220 includes a second ultra-wideband communication module 221 (UWB) and a second near field communication module 222 (NFC).
[0103] In this embodiment, the data transmission between the target device and the terminal is that the second ultra-wideband communication module 221 (UWB) sends a broadcast data packet (UWB broadcast packet) to the first ultra-wideband communication module 211 (UWB). Then the UWB data packet is parsed to obtain the positioning information and the device information of the target device.
[0104] The smart card application selection method provided in the embodiment of the application establishes a communication connection between the terminal and the target device through the first ultra-wideband communication module of the terminal and the second ultra-wideband communication module of the target device, so as to send a broadcast data packet to multiple terminals through the target device, thereby realizing information interaction and card swiping operation in a multi-user scenario.
[0105] Based on the above embodiment, the card swiping operation based on the first target card application comprises:
[0106] The configuration information of the first target card application is sent from the first near field communication module of the terminal to the second near field communication module of the target device, so that the second near field communication module performs the card swiping operation based on the configuration information.
[0107] Specifically, the embodiment provides an implementation in which the target device and the terminal communicate based on NFC to complete card swiping.
[0108] Referring to Figure 2 , the card swiping operation of the embodiment is that the configuration information of the first target application is sent from the first near field communication module 212 (NFC) of the terminal 210 to the second near field communication module 222 (NFC) of the target device 220, so that the second near field communication module 222 (NFC) of the target device 220 completes the card swiping operation on the terminal 210 based on the configuration information of the first target card device.
[0109] The method for selecting a smart card application provided in the application is implemented by the first NFC module of the terminal and the second NFC module of the target device to realize NFC communication, so as to execute the card application on the terminal on the target device to perform a card swiping operation.
[0110] With reference to Figure 3 , Figure 3 is a complete flowchart of the method for selecting a smart card application provided in the application, comprising the following steps:
[0111] Step 310: The card swiping device periodically sends a UWB broadcast packet to the terminal.
[0112] Step 320: The terminal receives the broadcast packet and parses to obtain the card swiping device information and the positioning information.
[0113] Step 330: It is judged whether the set distance range is reached; if yes, step 340 is executed, and if no, step 330 is executed in a loop.
[0114] Step 340: The terminal selects a card application; if successful, step 350 is executed, and if failed, step 360 is executed.
[0115] Step 350: The corresponding card application is switched to.
[0116] Step 360: The default card application is maintained.
[0117] Step 370: The card is swiped.
[0118] Step 380: It is judged whether the card swiping is successful; if successful, the card swiping is ended, and if failed, step 390 is executed, and after the execution is completed, step 370 is executed.
[0119] Step 390: The application is manually switched.
[0120] The device for selecting a smart card application provided in the application is described below, and the device for selecting a smart card application described below can be correspondingly referred to the method for selecting a smart card application described above.
[0121] With reference to Figure 4 The application further provides a device for selecting a smart card application, which is applied to at least one terminal and comprises the following modules:
[0122] The receiving unit 410 is used for receiving a broadcast data packet sent by a target device and obtaining positioning information and device information of the target device based on the broadcast data packet.
[0123] The selecting unit 420 is used for selecting a first card application based on the device information and obtaining a selection result; wherein the terminal stores a plurality of different card applications.
[0124] The card swiping execution unit 430 is configured to confirm a first target card application in the default card application and the first card application based on the selection result, and perform a card swiping operation based on the first target card application.
[0125] The device for selecting a smart card application provided by the embodiments of the present application receives a broadcast data packet sent by a target device through at least two different terminals, obtains positioning information and device information of the target device based on the broadcast data packet, selects a first card application based on the device information and obtains a selection result, confirms a first target card application in the default card application and the first card application based on the selection result of the terminal, and finally performs a card swiping operation based on the first target card application. The present application establishes communication between at least two different terminals and a target device and performs data transmission, selects a first target card application corresponding to the target device for card swiping operation, thus realizing card swiping operation in a multi-user scenario, improving the card swiping efficiency of the user, and thus improving the user experience.
[0126] Based on the above embodiments, the device further comprises:
[0127] A distance confirmation unit is configured to confirm an interval distance between the target device and the terminal based on the positioning information.
[0128] The selection unit is further configured to:
[0129] In a case where the interval distance is less than a preset distance threshold, select a first card application based on the device information and obtain a selection result.
[0130] Based on the above embodiments, the card swiping execution unit is specifically configured to:
[0131] In a case where the selection result is that the card application selection is successful, switch the default card application of the terminal to the first card application, take the first card application as a first target card application, and perform a card swiping operation based on the first target card application.
[0132] Based on the above embodiments, the selection unit is specifically configured to:
[0133] In a case where the interval distance is less than a preset distance threshold, obtain an application identifier of each card application.
[0134] Match each application identifier with the device information to obtain a plurality of matching results.
[0135] Confirm the card application corresponding to the application identifier with a matching result of matching success as the first card application.
[0136] Based on the above embodiments, the device further comprises:
[0137] A result obtaining unit is configured to obtain an execution result of the card swiping operation.
[0138] a switching unit, configured to switch the first card application to a second card application in a case that the execution result is a card swiping failure;
[0139] a secondary card swiping execution unit, configured to take the second card application as a second target card application, and perform a card swiping operation again based on the second target card application.
[0140] According to the above embodiment, the terminal comprises a first ultra-wideband communication module and a first near-field communication module, and the target device comprises a second ultra-wideband communication module and a second near-field communication module;
[0141] The receiving unit is specifically configured to:
[0142] receive a broadcast data packet sent by the second ultra-wideband communication module through the first ultra-wideband communication module, and analyze the broadcast data packet to obtain the positioning information and the device information of the target device.
[0143] According to the above embodiment, the card swiping execution unit is specifically configured to:
[0144] send configuration information of the first target card application to the second near-field communication module of the target device through the first near-field communication module of the terminal, so that the second near-field communication module performs a card swiping operation based on the configuration information.
[0145] Figure 5 An example of an entity structure diagram of an electronic device is shown in Figure 5 The electronic device can include a processor 510, a communications interface 520, a memory 530, and a communications bus 540, wherein the processor 510, the communications interface 520, and the memory 530 communicate with each other through the communications bus 540. The processor 510 can invoke a logical instruction in the memory 530 to execute a selection method of a smart card application, which includes:
[0146] receiving a broadcast data packet sent by a target device, and obtaining positioning information and device information of the target device based on the broadcast data packet;
[0147] selecting a first card application based on the device information and obtaining a selection result; wherein the terminal stores a plurality of different card applications;
[0148] confirming a first target card application from among a default card application and the first card application based on the selection result, and performing a card swiping operation based on the first target card application.
[0149] Further, the logic instructions in the memory 530 described above can be implemented in the form of software functional units and sold or used as independent products, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the parts that make contributions to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc.
[0150] In another aspect, the present application also provides a computer program product, which includes a computer program, the computer program can be stored on a non-transitory computer readable storage medium, and the computer program is executed by a processor, so that the computer can execute the selection method of the smart card application provided by the above-mentioned methods, and the method includes:
[0151] receiving a broadcast data packet sent by a target device, and obtaining positioning information and device information of the target device based on the broadcast data packet;
[0152] selecting a first card application based on the device information and obtaining a selection result; wherein the terminal stores a plurality of different card applications;
[0153] confirming a first target card application from the default card application and the first card application based on the selection result, and performing a card swiping operation based on the first target card application.
[0154] In another aspect, the present application also provides a non-transitory computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the selection method of the smart card application provided by the above-mentioned methods, and the method includes:
[0155] receiving a broadcast data packet sent by a target device, and obtaining positioning information and device information of the target device based on the broadcast data packet;
[0156] selecting a first card application based on the device information and obtaining a selection result; wherein the terminal stores a plurality of different card applications;
[0157] confirming a first target card application from the default card application and the first card application based on the selection result, and performing a card swiping operation based on the first target card application.
[0158] The device embodiments described above are merely illustrative, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed to multiple network units. Part or all of the modules can be selected to achieve the purposes of the embodiments according to actual needs. Those skilled in the art can understand and implement without creative labor.
[0159] Through the description of the above embodiments, those skilled in the art can clearly understand that the embodiments can be realized by means of software and necessary universal hardware platforms, and of course can also be realized by hardware. Based on such understanding, the above technical solutions can be embodied in the form of software products, and the computer software products can be stored in a computer readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and include a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.
[0160] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method of selecting an application of a smart card, characterized in that, The method applied to at least one terminal comprises: receiving a broadcast data packet sent by a target device, obtaining positioning information and device information of the target device based on the broadcast data packet; the device information comprises NFC technology, device available card application ID, device type and device working quota of the target device; selecting a first card application based on the device information and obtaining a selection result; wherein the terminal stores a plurality of different card applications; confirming a first target card application in a default card application and the first card application based on the selection result, and performing a card swiping operation based on the first target card application; the terminal comprises a first ultra-wideband communication module and a first near field communication module, and the target device comprises a second ultra-wideband communication module and a second near field communication module; the receiving of the broadcast data packet sent by the target device and the obtaining of the positioning information and the device information of the target device based on the broadcast data packet comprises: receiving the broadcast data packet sent by the second ultra-wideband communication module through the first ultra-wideband communication module, and analyzing the broadcast data packet to obtain the positioning information and the device information of the target device.
2. The method of selecting an application of a smart card according to claim 1, characterized in that, the selecting of the first card application based on the device information and the obtaining of the selection result comprises: confirming the interval distance between the target device and the terminal based on the positioning information; in the case that the interval distance is less than a preset distance threshold, selecting the first card application based on the device information and obtaining the selection result.
3. The method of selecting an application of a smart card according to claim 1, wherein, the confirming of the first target card application in the default card application and the first card application based on the selection result and the performing of the card swiping operation based on the first target card application comprises: in the case that the selection result is that the card application selection is successful, switching the default card application of the terminal to the first card application, taking the first card application as the first target card application, and performing the card swiping operation based on the first target card application.
4. The method of claim 2, wherein the selecting of the smart card application is based on a user's preference. the selecting of the first card application based on the device information and the obtaining of the selection result in the case that the interval distance is less than the preset distance threshold comprises: in the case that the interval distance is less than the preset distance threshold, obtaining an application identifier of each card application; matching each application identifier with the device information to obtain a plurality of matching results; confirming the card application corresponding to the application identifier with the matching result of matching success as the first card application.
5. The method of selecting an application of a smart card according to claim 1 or 3, characterized in that, after the confirming of the first target card application in the default card application and the first card application based on the selection result and the performing of the card swiping operation based on the first target card application, the method further comprises: obtaining an execution result of the card swiping operation; in the case that the execution result is card swiping failure, switching the first card application to a second card application; taking the second card application as a second target card application to perform the card swiping operation again based on the second target card application.
6. The method of claim 1, wherein the selecting of the smart card application is based on a user's preference. the performing of the card swiping operation based on the first target card application comprises: sending configuration information of the first target card application to the second near field communication module of the target device through the first near field communication module of the terminal, so that the second near field communication module performs the card swiping operation based on the configuration information.
7. A selection device for smart card applications, characterized in that the method applied to at least one terminal comprises: The receiving unit is configured to receive a broadcast data packet sent by the target device, and obtain positioning information and device information of the target device based on the broadcast data packet; the device information comprises NFC technology, available card application ID, device type and device working capacity of the target device; The selecting unit is configured to select a first card application based on the device information and obtain a selection result; the terminal stores a plurality of different card applications; The card swiping execution unit is configured to confirm a first target card application from the default card application and the first card application based on the selection result, and perform a card swiping operation based on the first target card application. The terminal comprises a first ultra-wideband communication module and a first near field communication module, and the target device comprises a second ultra-wideband communication module and a second near field communication module. The receiving unit is configured to receive a broadcast data packet sent by the target device, and obtain positioning information and device information of the target device based on the broadcast data packet; the device information comprises NFC technology, available card application ID, device type and device working capacity of the target device; The receiving unit is configured to receive a broadcast data packet sent by the target device, and obtain positioning information and device information of the target device based on the broadcast data packet; the device information comprises NFC technology, available card application ID, device type and device working capacity of the target device; 8. A selection device for smart card applications according to claim 7, characterized in that, Further comprising: The distance confirming unit is configured to confirm an interval distance between the target device and the terminal based on the positioning information. The selecting unit is further configured to: In a case where the interval distance is less than a preset distance threshold, select a first card application based on the device information and obtain a selection result.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to realize the selection method of the smart card application according to any one of claims 1 to 6. 10.A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to realize the selection method of the smart card application according to any one of claims 1 to 6.
11. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to realize the selection method of the smart card application according to any one of claims 1 to 6.
Citation Information
Patent Citations
Simulation card switching method, terminal equipment, card reader and storage medium
CN113902436A