CN111784335B - Simulation card management method, simulation card management device, storage medium and electronic device - Google Patents
Simulation card management method, simulation card management device, storage medium and electronic device Download PDFInfo
- Publication number
- CN111784335B CN111784335B CN202010694141.3A CN202010694141A CN111784335B CN 111784335 B CN111784335 B CN 111784335B CN 202010694141 A CN202010694141 A CN 202010694141A CN 111784335 B CN111784335 B CN 111784335B
- Authority
- CN
- China
- Prior art keywords
- card
- analog
- simulated
- added
- package
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3278—RFID or NFC payments by means of M-devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/34—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
- G06Q20/351—Virtual cards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
本公开提供一种模拟卡管理方法、模拟卡管理装置、计算机可读存储介质与电子设备,涉及计算机技术领域。该模拟卡管理方法应用于具有近场通信功能的终端设备,包括:根据读卡设备的近场通信信号,从聚合卡包中确定目标模拟卡,其中,所述聚合卡包中包括一张或多张模拟卡,且所述一张或多张模拟卡均为激活状态;通过近场通信将所述目标模拟卡的信息发送至所述读卡设备。本公开可以对具有近场通信功能的终端设备中的模拟卡进行有效管理,使用户进行刷卡操作时,获得流畅、迅速的刷卡体验。
The present disclosure provides a simulation card management method, a simulation card management device, a computer-readable storage medium and an electronic device, and relates to the field of computer technology. The simulation card management method is applied to a terminal device with a near field communication function, comprising: determining a target simulation card from an aggregated card package according to a near field communication signal of a card reader device, wherein the aggregated card package includes one or more simulation cards, and the one or more simulation cards are all in an activated state; and sending the information of the target simulation card to the card reader device via near field communication. The present disclosure can effectively manage simulation cards in terminal devices with near field communication functions, so that users can obtain a smooth and fast card swiping experience when swiping cards.
Description
技术领域Technical Field
本公开涉及计算机技术领域,尤其涉及一种模拟卡管理方法、模拟卡管理装置、计算机可读存储介质与电子设备。The present disclosure relates to the field of computer technology, and in particular to a simulation card management method, a simulation card management device, a computer-readable storage medium, and an electronic device.
背景技术Background technique
NFC(Near Field Communication,近场通信)技术是一种近距离无线通信技术,由非接触式识别技术和互联技术的融合演化而来。其可以通过在智能终端上配置多张模拟卡,使每张模拟卡在不同的应用场景中实现相应的功能,例如公交卡、靠近卡、银联卡或门禁卡等等。NFC (Near Field Communication) technology is a short-range wireless communication technology that evolved from the integration of contactless identification technology and interconnection technology. It can configure multiple simulated cards on a smart terminal, so that each simulated card can realize corresponding functions in different application scenarios, such as bus cards, proximity cards, UnionPay cards or access control cards, etc.
现有技术,在模拟卡的刷卡场景中,往往需要通过人为进行选择的方式确定目标模拟卡,或者由终端设备自动轮询终端设备中配置的每张模拟卡,直到确定正确的目标模拟卡。然而,实际应用中,用户经常需要在不同场景下刷不同类型的模拟卡,频繁进行模拟卡的切换,会增加用户操作的复杂度,对用户造成困扰;而通过终端设备自动轮询的方式确定目标模拟卡,又可能会出现较长时间未轮询到目标模拟卡,造成刷卡响应慢,甚至刷卡失败的情况,极大的影响了用户的使用体验。In the existing technology, in the analog card swiping scenario, it is often necessary to determine the target analog card through manual selection, or the terminal device automatically polls each analog card configured in the terminal device until the correct target analog card is determined. However, in actual applications, users often need to swipe different types of analog cards in different scenarios. Frequent switching of analog cards will increase the complexity of user operations and cause trouble to users; and when the target analog card is determined by the terminal device automatically polling, it may take a long time for the target analog card to not be polled, resulting in slow card swiping response or even card swiping failure, which greatly affects the user experience.
因此,如何采用一种有效的模拟卡管理方法,是现有技术亟待解决的问题。Therefore, how to adopt an effective simulation card management method is a problem to be solved urgently in the prior art.
发明内容Summary of the invention
本公开提供了一种模拟卡管理方法、模拟卡管理装置、计算机可读存储介质与电子设备,进而至少在一定程度上改善现有的模拟卡管理不合理,影响用户刷卡体验的问题。The present disclosure provides a simulation card management method, a simulation card management device, a computer-readable storage medium and an electronic device, thereby improving the problem of unreasonable existing simulation card management that affects the user's card swiping experience, at least to a certain extent.
本公开的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本公开的实践而习得。Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
根据本公开的第一方面,提供一种模拟卡管理方法,应用于具有近场通信功能的终端设备,包括:根据读卡设备的近场通信信号,从聚合卡包中确定目标模拟卡,其中,所述聚合卡包中包括一张或多张模拟卡,且所述一张或多张模拟卡均为激活状态;通过近场通信将所述目标模拟卡的信息发送至所述读卡设备。According to the first aspect of the present disclosure, there is provided a simulation card management method, which is applied to a terminal device with a near field communication function, comprising: determining a target simulation card from an aggregated card package according to a near field communication signal of a card reader device, wherein the aggregated card package includes one or more simulation cards, and the one or more simulation cards are all in an activated state; and sending information of the target simulation card to the card reader device via near field communication.
根据本公开的第二方面,提供一种模拟卡管理装置,应用于具有近场通信功能的终端设备,包括:目标模拟卡确定模块,用于根据读卡设备的近场通信信号,从聚合卡包中确定目标模拟卡,其中,所述聚合卡包中包括一张或多张模拟卡,且所述一张或多张模拟卡均为激活状态;模拟卡信息发送模块,用于通过近场通信将所述目标模拟卡的信息发送至所述读卡设备。According to the second aspect of the present disclosure, there is provided a simulated card management device, which is applied to a terminal device with a near-field communication function, and includes: a target simulated card determination module, which is used to determine the target simulated card from an aggregated card package according to a near-field communication signal of a card reader device, wherein the aggregated card package includes one or more simulated cards, and the one or more simulated cards are all in an activated state; and a simulated card information sending module, which is used to send the information of the target simulated card to the card reader device via near-field communication.
根据本公开的第三方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述模拟卡管理方法。According to a third aspect of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned simulation card management method is implemented.
根据本公开的第四方面,提供一种电子设备,包括:处理器;以及存储器,用于存储所述处理器的可执行指令;其中,所述处理器配置为经由执行所述可执行指令来执行上述模拟卡管理方法。According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned simulation card management method by executing the executable instructions.
本公开的技术方案具有以下有益效果:The technical solution disclosed in this disclosure has the following beneficial effects:
根据上述模拟卡管理方法、模拟卡管理装置、计算机可读存储介质与电子设备,根据读卡设备的近场通信信号,从聚合卡包中确定目标模拟卡,其中,聚合卡包中包括一张或多张模拟卡,且一张或多张模拟卡均为激活状态;通过近场通信将目标模拟卡的信息发送至读卡设备。一方面,本示例性实施例设置聚合卡包,在刷卡时从聚合卡包内确定目标模拟卡以完成NFC刷卡流程,由于聚合卡包内的模拟卡均处于激活状态,无需在刷卡时对目标模拟卡进行激活,从而简化了流程,相比于现有技术中通过手动选择或自动轮询进行刷卡的方式,本方案更加省时便捷,为用户提供了流畅的刷卡体验;另一方面,通过聚合卡包对模拟卡进行管理,操作流程简单,对硬件要求较低,适用范围较广。According to the above-mentioned simulated card management method, simulated card management device, computer-readable storage medium and electronic device, the target simulated card is determined from the aggregated card package according to the near field communication signal of the card reader device, wherein the aggregated card package includes one or more simulated cards, and the one or more simulated cards are all in an activated state; the information of the target simulated card is sent to the card reader device through near field communication. On the one hand, this exemplary embodiment sets up an aggregated card package, and determines the target simulated card from the aggregated card package when swiping the card to complete the NFC card swiping process. Since the simulated cards in the aggregated card package are all in an activated state, there is no need to activate the target simulated card when swiping the card, thereby simplifying the process. Compared with the method of swiping the card by manual selection or automatic polling in the prior art, this solution is more time-saving and convenient, and provides users with a smooth card swiping experience; on the other hand, the management of simulated cards through the aggregated card package has a simple operation process, low hardware requirements, and a wide range of applications.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
图1示出本示例性实施方式的一种系统架构的示意图;FIG1 is a schematic diagram showing a system architecture of this exemplary embodiment;
图2示出本示例性实施方式的电子设备的示意图;FIG2 is a schematic diagram showing an electronic device according to the present exemplary embodiment;
图3示出本示例性实施方式的一种模拟卡管理方法的流程图;FIG3 shows a flow chart of a simulation card management method according to the exemplary embodiment;
图4示出本示例性实施方式的一种模拟卡管理方法的子流程图;FIG4 shows a sub-flow chart of a simulation card management method according to this exemplary embodiment;
图5示出本示例性实施方式的另一种模拟卡管理方法的子流程图;FIG5 shows a sub-flow chart of another simulation card management method according to this exemplary embodiment;
图6示出本示例性实施方式的一种模拟卡管理方法中添加模拟卡的第一示意图;FIG6 shows a first schematic diagram of adding a simulated card in a simulated card management method according to this exemplary embodiment;
图7示出本示例性实施方式的一种模拟卡管理方法中添加模拟卡的第二示意图;FIG7 shows a second schematic diagram of adding a simulated card in a simulated card management method according to this exemplary embodiment;
图8示出本示例性实施方式的一种模拟卡管理方法中替换模拟卡的流程图;FIG8 shows a flowchart of replacing a simulated card in a simulated card management method according to this exemplary embodiment;
图9示出本示例性实施方式的一种模拟卡管理方法中添加模拟卡的流程图;FIG9 shows a flowchart of adding a simulated card in a simulated card management method according to the exemplary embodiment;
图10示出本示例性实施方式的一种模拟卡管理方法中另一种替换模拟卡的流程图;FIG10 is a flowchart showing another method for replacing a simulated card in a simulated card management method according to the exemplary embodiment;
图11示出本示例性实施方式的一种模拟卡管理方法中删除模拟卡的流程图;FIG11 is a flowchart showing deleting a simulated card in a simulated card management method according to the exemplary embodiment;
图12示出本示例性实施方式的一种模拟卡管理装置的结构框图。FIG. 12 is a block diagram showing a structure of a simulation card management device according to this exemplary embodiment.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本公开的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而省略特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本公开的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and/or processor devices and/or microcontroller devices.
图1示出了本公开示例性实施方式的一种系统架构的示意图。如图1所示,该系统架构100可以包括:终端设备110和读卡设备120。终端设备110可以包括但不限于智能手机、平板电脑、可穿戴设备等电子设备,终端设备110具有NFC功能,且终端设备110内配置有至少一张模拟卡。读卡设备120是指能够基于NFC技术,读取终端设备110中模拟卡信息的电子设备,根据具体场景不同,读卡设备具有多样化,例如门禁系统设备、公交车刷卡设备等。应该理解,图1中的终端设备和读卡设备的数目仅仅是示意性的。根据实际需要,可以具有任意数目或任意类型的终端设备或读卡设备。FIG1 shows a schematic diagram of a system architecture of an exemplary embodiment of the present disclosure. As shown in FIG1 , the system architecture 100 may include: a terminal device 110 and a card reader 120. The terminal device 110 may include, but is not limited to, electronic devices such as smart phones, tablet computers, and wearable devices. The terminal device 110 has an NFC function, and at least one analog card is configured in the terminal device 110. The card reader 120 refers to an electronic device that can read the analog card information in the terminal device 110 based on NFC technology. Depending on the specific scenario, the card reader device is diversified, such as access control system equipment, bus card swiping equipment, etc. It should be understood that the number of terminal devices and card readers in FIG1 is only schematic. According to actual needs, there may be any number or type of terminal devices or card readers.
本公开实施方式所提供的模拟卡管理方法可以由终端设备110执行,应用场景可以包括但不限于:乘坐公交车时刷公交卡、开门时刷门禁卡、上下班时刷考勤卡、以及支付时刷银联卡等等,本公开对此不做限定。The simulation card management method provided in the embodiment of the present disclosure can be executed by the terminal device 110, and the application scenarios can include but are not limited to: swiping a bus card when taking a bus, swiping an access card when opening a door, swiping an attendance card when commuting, and swiping a UnionPay card when paying, etc. The present disclosure does not limit this.
本公开的示例性实施方式提供一种用于实现模拟卡管理方法的电子设备,其可以是图1中的终端设备110。该电子设备至少包括处理器和存储器,存储器用于存储处理器的可执行指令,处理器配置为经由执行可执行指令来执行上述模拟卡管理方法。The exemplary embodiment of the present disclosure provides an electronic device for implementing the simulation card management method, which may be the terminal device 110 in Figure 1. The electronic device includes at least a processor and a memory, the memory is used to store executable instructions of the processor, and the processor is configured to execute the above simulation card management method by executing the executable instructions.
电子设备可以以各种形式来实施,例如可以包括手机、平板电脑、笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、导航装置、可穿戴设备、无人机等终端设备,以及台式电脑、智能电视等固定设备。Electronic devices can be implemented in various forms, for example, they can include terminal devices such as mobile phones, tablet computers, laptops, personal digital assistants (PDAs), navigation devices, wearable devices, drones, and fixed devices such as desktop computers and smart TVs.
下面以图2中的终端设备200为例,对电子设备的构造进行示例性说明。本领域技术人员应当理解,除了特别用于移动目的的部件之外,图2中的构造也能够应用于固定类型的设备。在另一些实施方式中,终端设备200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件、软件或软件和硬件的组合实现。各部件间的接口连接关系只是示意性示出,并不构成对终端设备200的结构限定。在另一些实施方式中,终端设备200也可以采用与图2不同的接口连接方式,或多种接口连接方式的组合。The following is an example of the structure of the electronic device, taking the terminal device 200 in Figure 2 as an example. It should be understood by those skilled in the art that, in addition to the components specifically used for mobile purposes, the structure in Figure 2 can also be applied to fixed-type devices. In other embodiments, the terminal device 200 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware. The interface connection relationship between the components is only schematically shown and does not constitute a structural limitation on the terminal device 200. In other embodiments, the terminal device 200 may also adopt an interface connection method different from that in Figure 2, or a combination of multiple interface connection methods.
如图2所示,终端设备200具体可以包括:处理器210、内部存储器221、外部存储器接口222、USB接口230、充电管理模块240、电源管理模块241、电池242、天线1、天线2、移动通信模块250、无线通信模块260、音频模块270、扬声器271、受话器272、麦克风273、耳机接口274、传感器模块280、显示屏幕290、摄像模组291、指示器292、马达293、按键294以及用户标识模块(Subscriber Identification Module,SIM)卡接口295等。As shown in Figure 2, the terminal device 200 may specifically include: a processor 210, an internal memory 221, an external memory interface 222, a USB interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 271, a receiver 272, a microphone 273, an earphone interface 274, a sensor module 280, a display screen 290, a camera module 291, an indicator 292, a motor 293, a button 294 and a subscriber identification module (Subscriber Identification Module, SIM) card interface 295, etc.
处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(Application Processor,AP)、调制解调处理器、图形处理器(Graphics ProcessingUnit,GPU)、图像信号处理器(Image Signal Processor,ISP)、控制器、编码器、解码器、数字信号处理器(Digital Signal Processor,DSP)、基带处理器和/或神经网络处理器(Neural-Network Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。编码器可以对图像或视频数据进行编码(即压缩),形成码流数据;解码器可以对图像或视频的码流数据进行解码(即解压缩),以还原出图像或视频数据。The processor 210 may include one or more processing units, for example: the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, an encoder, a decoder, a digital signal processor (DSP), a baseband processor and/or a neural network processor (NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. The encoder can encode (i.e., compress) the image or video data to form a code stream data; the decoder can decode (i.e., decompress) the code stream data of the image or video to restore the image or video data.
在一些实施方式中,处理器210可以包括一个或多个接口。接口可以包括集成电路(Inter-Integrated Circuit,I2C)接口、集成电路内置音频(Inter-Integrated CircuitSound,I2S)接口、脉冲编码调制(Pulse Code Modulation,PCM)接口、通用异步收发传输器(Universal Asynchronous Receiver/Transmitter,UART)接口、移动产业处理器接口(Mobile Industry Processor Interface,MIPI)、通用输入输出(General-PurposeInput/Output,GPIO)接口、用户标识模块(Subscriber Identity Module,SIM)接口和/或通用串行总线(Universal Serial Bus,USB)接口等。通过不同的接口和终端设备200的其他部件形成连接。In some embodiments, the processor 210 may include one or more interfaces. The interface may include an integrated circuit (Inter-Integrated Circuit, I2C) interface, an integrated circuit built-in audio (Inter-Integrated Circuit Sound, I2S) interface, a pulse code modulation (Pulse Code Modulation, PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (Mobile Industry Processor Interface, MIPI), a general-purpose input/output (General-Purpose Input/Output, GPIO) interface, a subscriber identity module (Subscriber Identity Module, SIM) interface and/or a universal serial bus (Universal Serial Bus, USB) interface, etc. The connection is formed through different interfaces and other components of the terminal device 200.
USB接口230是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB TypeC接口等。USB接口230可以用于连接充电器为终端设备200充电,也可以连接耳机,通过耳机播放音频,还可以用于终端设备200连接其他电子设备,例如连接电脑、外围设备等。The USB interface 230 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 230 can be used to connect a charger to charge the terminal device 200, can also be used to connect headphones to play audio through the headphones, and can also be used for the terminal device 200 to connect other electronic devices, such as computers, peripheral devices, etc.
充电管理模块240用于从充电器接收充电输入。充电管理模块240为电池242充电的同时,还可以通过电源管理模块241为设备供电。The charging management module 240 is used to receive charging input from a charger. While the charging management module 240 is charging the battery 242 , it can also power the device through the power management module 241 .
电源管理模块241用于连接电池242、充电管理模块240与处理器210。电源管理模块241接收电池242和/或充电管理模块240的输入,为终端设备200的各个部分供电,还可以用于监测电池的状态。The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and/or the charging management module 240, supplies power to various parts of the terminal device 200, and can also be used to monitor the status of the battery.
终端设备200的无线通信功能可以通过天线1、天线2、移动通信模块250、无线通信模块260、调制解调处理器以及基带处理器等实现。The wireless communication function of the terminal device 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。终端设备200中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。移动通信模块250可以提供应用在终端设备200上的包括2G/3G/4G/5G等无线通信的解决方案。Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. The mobile communication module 250 can provide solutions for wireless communications including 2G/3G/4G/5G applied to the terminal device 200.
无线通信模块260可以提供应用在终端设备200上的包括无线局域网(WirelessLocal Area Networks,WLAN)(如无线保真(Wireless Fidelity,Wi-Fi)网络)、蓝牙(Bluetooth,BT)、全球导航卫星系统(Global Navigation Satellite System,GNSS)、调频(Frequency Modulation,FM)、近距离无线通信技术(Near Field Communication,NFC)、红外技术(Infrared,IR)等无线通信解决方案。无线通信模块260可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块260经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器210。无线通信模块260还可以从处理器210接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 200. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
在一些实施方式中,终端设备200的天线1和移动通信模块250耦合,天线2和无线通信模块260耦合,使得终端设备200可以通过无线通信技术与网络以及其他设备通信。无线通信技术可以包括全球移动通讯系统(Global System for Mobile communications,GSM),通用分组无线服务(General Packet Radio Service,GPRS),码分多址接入(CodeDivision Multiple Access,CDMA),宽带码分多址(Wideband Code Division MultipleAccess,WCDMA),时分码分多址(Time Division-Synchronous Code Division MultipleAccess,TD-SCDMA),长期演进(Long Term Evolution,LTE),新空口(New Radio,NR),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。In some embodiments, the antenna 1 of the terminal device 200 is coupled to the mobile communication module 250, and the antenna 2 is coupled to the wireless communication module 260, so that the terminal device 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), New Radio (NR), BT, GNSS, WLAN, NFC, FM, and/or IR technology.
终端设备200通过GPU、显示屏幕290及应用处理器等实现显示功能。GPU用于执行数学和几何计算,以实现图形渲染,并连接显示屏幕290和应用处理器。处理器210可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。终端设备200可以包括一个或多个显示屏幕290,用于显示图像,视频等。The terminal device 200 implements the display function through a GPU, a display screen 290, and an application processor. The GPU is used to perform mathematical and geometric calculations to achieve graphics rendering and connect the display screen 290 and the application processor. The processor 210 may include one or more GPUs that execute program instructions to generate or change display information. The terminal device 200 may include one or more display screens 290 for displaying images, videos, etc.
终端设备200可以通过ISP、摄像模组291、编码器、解码器、GPU、显示屏幕290及应用处理器等实现拍摄功能。The terminal device 200 can realize the shooting function through ISP, camera module 291, encoder, decoder, GPU, display screen 290 and application processor.
摄像模组291用于捕获静态图像或视频,通过感光元件采集光信号,转换为电信号。ISP用于处理摄像模组291反馈的数据,将电信号转换成数字图像信号。The camera module 291 is used to capture static images or videos, collect light signals through photosensitive elements, and convert them into electrical signals. The ISP is used to process the data fed back by the camera module 291 and convert the electrical signals into digital image signals.
外部存储器接口222可以用于连接外部存储卡,例如Micro SD卡,实现扩展终端设备200的存储能力。The external memory interface 222 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 200.
内部存储器221可以用于存储计算机可执行程序代码,可执行程序代码包括指令。内部存储器221可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储终端设备200使用过程中所创建的数据(比如图像,视频)等。处理器210通过运行存储在内部存储器221的指令和/或存储在设置于处理器中的存储器的指令,执行终端设备200的各种功能应用以及数据处理。The internal memory 221 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data (such as images, videos), etc. created during the use of the terminal device 200. The processor 210 executes various functional applications and data processing of the terminal device 200 by running instructions stored in the internal memory 221 and/or instructions stored in a memory provided in the processor.
终端设备200可以通过音频模块270、扬声器271、受话器272、麦克风273、耳机接口274及应用处理器等实现音频功能。例如音乐播放、录音等。音频模块270用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块270还可以用于对音频信号编码和解码。扬声器271,用于将音频电信号转换为声音信号。受话器272,用于将音频电信号转换成声音信号。麦克风273,用于将声音信号转换为电信号。耳机接口274用于连接有线耳机。The terminal device 200 can implement audio functions through an audio module 270, a speaker 271, a receiver 272, a microphone 273, a headphone jack 274, and an application processor. For example, music playing, recording, etc. The audio module 270 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 270 can also be used to encode and decode audio signals. The speaker 271 is used to convert audio electrical signals into sound signals. The receiver 272 is used to convert audio electrical signals into sound signals. The microphone 273 is used to convert sound signals into electrical signals. The headphone jack 274 is used to connect wired headphones.
传感器模块280可以包括触摸传感器2801、压力传感器2802、陀螺仪传感器2803、气压传感器2804等。触摸传感器2801用于感应外部输入的触摸事件,其可以设置于显示屏幕290的下方,使显示屏幕290成为触控屏,也可以设置于其他位置,例如设置为独立于显示屏幕290的触控板,还可以设置于终端设备200的配套外接设备,例如外接触控板、触摸式遥控器等,使用户通过外接设备实现触控交互。压力传感器2802用于感受压力信号,可以将压力信号转换成电信号,用于实现压力触控等功能。陀螺仪传感器2803可以用于确定终端设备200的运动姿态,可用于拍摄防抖、导航、体感游戏等场景。气压传感器2804用于测量气压,可通过计算海拔高度,辅助定位和导航。此外,根据实际需要,还可以在传感器模块280中设置其他功能的传感器,例如深度传感器、加速度传感器、距离传感器等。The sensor module 280 may include a touch sensor 2801, a pressure sensor 2802, a gyroscope sensor 2803, an air pressure sensor 2804, and the like. The touch sensor 2801 is used to sense touch events input from the outside. It can be set below the display screen 290 to make the display screen 290 a touch screen, or it can be set at other locations, such as a touch panel independent of the display screen 290, or it can be set at a matching external device of the terminal device 200, such as an external touch panel, a touch remote control, etc., so that the user can achieve touch interaction through an external device. The pressure sensor 2802 is used to sense the pressure signal, and the pressure signal can be converted into an electrical signal for realizing functions such as pressure touch. The gyroscope sensor 2803 can be used to determine the motion posture of the terminal device 200, and can be used for scenes such as anti-shake shooting, navigation, and somatosensory games. The air pressure sensor 2804 is used to measure air pressure, and can assist in positioning and navigation by calculating the altitude. In addition, according to actual needs, sensors with other functions, such as depth sensors, acceleration sensors, and distance sensors, can also be set in the sensor module 280.
指示器292可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。Indicator 292 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
马达293可以产生振动提示,例如来电、闹钟、接收信息等的振动提示,也可以用于触摸振动反馈等。The motor 293 can generate vibration prompts, such as vibration prompts for incoming calls, alarms, received messages, etc., and can also be used for touch vibration feedback, etc.
按键294包括开机键,音量键等。按键294可以是机械按键。也可以是触摸式按键。终端设备200可以接收按键输入,产生与终端设备200的用户设置以及功能控制有关的键信号输入。The key 294 includes a power key, a volume key, etc. The key 294 can be a mechanical key or a touch key. The terminal device 200 can receive key input and generate key signal input related to user settings and function control of the terminal device 200.
终端设备200可以支持一个或多个SIM卡接口295,用于连接SIM卡,使终端设备200通过SIM卡和网络交互,实现通话以及数据通信等功能。The terminal device 200 may support one or more SIM card interfaces 295 for connecting to a SIM card, so that the terminal device 200 interacts with the network through the SIM card to implement functions such as calls and data communications.
下面对本公开示例性实施方式的模拟卡管理方法和模拟卡管理装置进行具体说明。The simulation card management method and the simulation card management device according to the exemplary embodiments of the present disclosure are described in detail below.
图3示出了本示例性实施方式中一种模拟卡管理方法的流程,包括以下步骤S310~S320:FIG3 shows a flow chart of a simulation card management method in this exemplary embodiment, including the following steps S310 to S320:
步骤S310,根据读卡设备的近场通信信号,从聚合卡包中确定目标模拟卡,其中,聚合卡包中包括一张或多张模拟卡,且一张或多张模拟卡均为激活状态。Step S310: determining a target simulated card from an aggregated card package according to a near field communication signal of a card reader, wherein the aggregated card package includes one or more simulated cards, and the one or more simulated cards are all in an activated state.
其中,读卡设备是指用于读取终端设备中模拟卡信息的电子设备,根据应用场景的不同,读卡设备具有多样性。终端设备与读卡设备可以通过互相靠近,来实现二者之间的数据交换。具体的,在NFC的通信过程中,读卡设备可以作为主设备发送近场通信信号,终端设备作为从设备响应该近场通信信号后,读卡设备读取终端设备中对应的模拟卡的信息,以实现刷卡操作,例如在刷公交卡的场景中,公交车刷卡设备可发送公交卡检测信号,智能手机响应该检测信号后,进行后续公交车刷卡设备读取公交卡的信息的过程;或者在刷银联卡进行支付的场景中,读卡设备发起支付请求的信号,终端设备响应该信号后,进行后续读卡设备读取模拟卡信息的过程等。其中,终端设备可以选择由读卡设备所发出的无线射频磁场,或者自行产生的无线射频磁场进行与读卡设备进行通信过程,本公开对此不做具体限定。Among them, the card reader device refers to an electronic device used to read the simulated card information in the terminal device. Depending on the application scenario, the card reader device has diversity. The terminal device and the card reader device can achieve data exchange between the two by approaching each other. Specifically, in the NFC communication process, the card reader device can send a near-field communication signal as a master device, and after the terminal device responds to the near-field communication signal as a slave device, the card reader device reads the corresponding simulated card information in the terminal device to achieve the card swiping operation. For example, in the scenario of swiping a bus card, the bus card swiping device can send a bus card detection signal, and after the smart phone responds to the detection signal, the subsequent bus card swiping device reads the bus card information; or in the scenario of swiping a UnionPay card for payment, the card reader device initiates a payment request signal, and after the terminal device responds to the signal, the subsequent card reader device reads the simulated card information. Process. Among them, the terminal device can select the wireless radio frequency magnetic field emitted by the card reader device, or the wireless radio frequency magnetic field generated by itself to communicate with the card reader device, and this disclosure does not specifically limit this.
其中,聚合卡包是指本示例性实施例中建立的,用于存储进行NFC通信过程的模拟卡的区域,其可以是从终端设备的存储空间中单独划分的一个区域,也可以是从终端设备的电子钱包的存储空间中划分的子区域。模拟卡是指终端设备中配置的与实体卡片具有相同功能的虚拟卡,可以包括多种类型,例如门禁卡、公交卡、银联卡或考勤卡等,用户通过终端设备与读卡设备的近距离接触即可以实现相应的功能,例如刷门禁卡开门、刷公交卡乘车、刷银联卡支付或者刷考勤卡打卡等等。The aggregate card package refers to the area established in this exemplary embodiment for storing the simulated card for the NFC communication process, which can be a separate area divided from the storage space of the terminal device, or a sub-area divided from the storage space of the electronic wallet of the terminal device. The simulated card refers to a virtual card configured in the terminal device with the same function as the physical card, which can include multiple types, such as access card, bus card, UnionPay card or attendance card, etc. The user can realize the corresponding function by close contact between the terminal device and the card reader, such as swiping the access card to open the door, swiping the bus card to take the bus, swiping the UnionPay card to pay, or swiping the attendance card to punch in, etc.
在本示例性实施例中,聚合卡包内可以包括一张或多张模拟卡,且这一张或多张模拟卡均为激活状态,其中,激活状态是指模拟卡能够与可读设备之间进行数据传输的状态,只有当模拟卡处于激活状态时,才能够使读卡设备读取模拟卡的信息,以完成相应的功能。In this exemplary embodiment, the aggregate card package may include one or more simulated cards, and these one or more simulated cards are in an activated state, wherein the activated state refers to a state in which the simulated card can transmit data to a readable device. Only when the simulated card is in an activated state can the card reading device read the information of the simulated card to complete the corresponding function.
终端设备在响应读卡设备的近场通信信号后,可以从聚合卡包中确定目标模拟卡,以进行NFC过程,具体的,在一示例性实施例中,上述从聚合卡包中确定目标模拟卡,可以包括:After responding to the near field communication signal of the card reader, the terminal device may determine the target simulated card from the aggregated card package to perform the NFC process. Specifically, in an exemplary embodiment, the above-mentioned determination of the target simulated card from the aggregated card package may include:
基于防冲突协议,从聚合卡包中确定目标模拟卡;Based on the anti-collision protocol, the target analog card is determined from the aggregated card package;
其中,防冲突协议被配置为防止聚合卡包内有超过一张模拟卡在预设的时间帧内与读卡设备进行通信。The anti-collision protocol is configured to prevent more than one simulated card in the aggregate card package from communicating with the card reader within a preset time frame.
正常情况下,读卡设备每一时刻只能对磁场中的一张射频卡进行读写操作。当多张卡片同时进入读卡设备的射频场时,读卡设备需要选出唯一一张卡片进行读写操作,本示例性实施例可以采用ISO14443A防冲突协议,选择唯一的一张目标模拟卡,进行数据交互,该防冲突协议可以被配置为防止聚合卡包内有超过一张模拟卡在预设的时间帧内与读卡设备进行通信。其中,ISO14443防冲撞协议,是基于每张模拟卡具有一个全球唯一的序列号,通过读卡设备向多张模拟卡发送多轮防冲突命令的方式,确定目标模拟卡的。Under normal circumstances, the card reader can only read and write one radio frequency card in the magnetic field at any one time. When multiple cards enter the radio frequency field of the card reader at the same time, the card reader needs to select only one card for reading and writing operations. This exemplary embodiment can use the ISO14443A anti-collision protocol to select a unique target analog card for data interaction. The anti-collision protocol can be configured to prevent more than one analog card in the aggregate card package from communicating with the card reader within a preset time frame. Among them, the ISO14443 anti-collision protocol is based on the fact that each analog card has a globally unique serial number, and the target analog card is determined by sending multiple rounds of anti-collision commands to multiple analog cards by the card reader.
需要说明的是,当模拟卡聚合包内包括多张模拟卡时,这多张模拟卡的类型可以相同也可以不同。若存在多张模拟卡的类型相同,所实现的功能类似时,例如包括多张银行卡,在进行刷卡支付的场景中,当确定需要使用支付类模拟卡时,可以通过预设策略确定目标模拟卡,例如将使用次数最多的或最近使用的模拟卡作为目标模拟卡等等。It should be noted that when the simulated card aggregation package includes multiple simulated cards, the types of these multiple simulated cards can be the same or different. If there are multiple simulated cards of the same type and similar functions, such as multiple bank cards, in the scene of card payment, when it is determined that a payment simulated card needs to be used, the target simulated card can be determined by a preset strategy, such as using the most used or most recently used simulated card as the target simulated card, etc.
另外,上述聚合卡包可以根据用户的需求进行更新,例如向聚合卡包内添加新的模拟卡,或者使用新的模拟卡替换聚合卡包内的已有模拟卡,再或者将聚合卡包内的模拟卡进行删除等。即本示例性实施例中,模拟卡管理方法中具体可以包括三种操作过程,分别为添加模拟卡的过程,删除模拟卡的过程,替换模拟卡的过程,需要说明的是,上述三种操作过程可以互相结合,例如替换模拟卡的过程中,会涉及被替换的模拟卡从聚合卡包中删除的情况等。In addition, the above-mentioned aggregated card package can be updated according to the needs of the user, for example, adding a new simulated card to the aggregated card package, or using a new simulated card to replace an existing simulated card in the aggregated card package, or deleting the simulated card in the aggregated card package, etc. That is, in this exemplary embodiment, the simulated card management method may specifically include three operation processes, namely, the process of adding a simulated card, the process of deleting a simulated card, and the process of replacing a simulated card. It should be noted that the above-mentioned three operation processes can be combined with each other. For example, in the process of replacing a simulated card, the replaced simulated card may be deleted from the aggregated card package.
步骤S320,通过近场通信将目标模拟卡的信息发送至读卡设备。Step S320: sending the information of the target simulated card to the card reader via near field communication.
其中,不同的模拟卡根据其功能的差异可以包括不同的信息,例如可以实现公交卡功能的模拟卡可以包括卡片编号、余额等信息;可以实现银行卡功能的模拟卡可以包括卡片编码、持卡人姓名、持卡人身份证编号等相关信息。在确定当前应用场景下对应的目标模拟卡后,终端设备可以加载目标模拟卡的信息,并通过近场通信的方式将信息发送至读卡设备,以实现对应的功能,例如打卡、开门以及支付等。Different simulation cards may include different information according to their functions. For example, a simulation card that can realize the function of a bus card may include information such as the card number and balance; a simulation card that can realize the function of a bank card may include relevant information such as the card code, the cardholder's name, and the cardholder's ID number. After determining the corresponding target simulation card in the current application scenario, the terminal device may load the information of the target simulation card and send the information to the card reader through near-field communication to realize the corresponding functions, such as punching in, opening the door, and paying.
综上,本示例性实施方式中,根据读卡设备的近场通信信号,从聚合卡包中确定目标模拟卡,其中,聚合卡包中包括一张或多张模拟卡,且一张或多张模拟卡均为激活状态;通过近场通信将目标模拟卡的信息发送至读卡设备。一方面,本示例性实施例设置聚合卡包,在刷卡时从聚合卡包内确定目标模拟卡以完成NFC刷卡流程,由于聚合卡包内的模拟卡均处于激活状态,无需在刷卡时对目标模拟卡进行激活,从而简化了流程,相比于现有技术中通过手动选择或自动轮询进行刷卡的方式,本方案更加省时便捷,为用户提供了流畅的刷卡体验;另一方面,通过聚合卡包对模拟卡进行管理,操作流程简单,对硬件要求较低,适用范围较广。In summary, in this exemplary embodiment, the target simulated card is determined from the aggregated card package according to the near field communication signal of the card reader device, wherein the aggregated card package includes one or more simulated cards, and the one or more simulated cards are all in an activated state; the information of the target simulated card is sent to the card reader device through near field communication. On the one hand, this exemplary embodiment sets up an aggregated card package, and determines the target simulated card from the aggregated card package when swiping the card to complete the NFC card swiping process. Since the simulated cards in the aggregated card package are all in an activated state, there is no need to activate the target simulated card when swiping the card, thereby simplifying the process. Compared with the method of swiping the card by manual selection or automatic polling in the prior art, this solution is more time-saving and convenient, and provides users with a smooth card swiping experience; on the other hand, the management of simulated cards through the aggregated card package has a simple operation process, low hardware requirements, and a wide range of applications.
在一示例性实施例中,如图4所示,模拟卡管理方法还可以包括以下步骤:In an exemplary embodiment, as shown in FIG4 , the simulation card management method may further include the following steps:
步骤S410,根据用户的添卡操作,获取待添加模拟卡;Step S410, obtaining a simulated card to be added according to the user's card adding operation;
步骤S420,当待添加模拟卡不包括非接触参数时,将待添加模拟卡加入聚合卡包内。Step S420: When the simulated card to be added does not include contactless parameters, the simulated card to be added is added into the aggregated card package.
其中,添卡操作是指用于向聚合卡包内添加新的模拟卡的操作,可以通过用户向终端设备输入特定的操作或指令实现,例如聚合卡包的界面可以设置一添加模拟卡的选项,用户通过单击、双击、长按等操作可以触发添加模拟卡;或者用户也可以通过对终端设备发起语音指令,实现添加模拟卡等,本公开对此不做具体限定。Among them, the card adding operation refers to the operation used to add a new simulated card to the aggregated card package, which can be achieved by the user inputting specific operations or instructions to the terminal device. For example, the interface of the aggregated card package can be set with an option to add a simulated card, and the user can trigger the addition of a simulated card by single-clicking, double-clicking, long pressing, etc.; or the user can also initiate voice commands to the terminal device to achieve the addition of simulated cards, etc., and the present disclosure does not make specific limitations on this.
待添加模拟卡即为用户将要添加的模拟卡。在实际应用中,使用模拟卡首先需要在终端设备中安装模拟卡的CAP(Card Assembly Program,卡片装配程序)包,以对模拟卡进行开卡操作,而不同的模拟卡的CAP包对非接触参数具有不同的要求,甚至有一些模拟卡不需要非接触参数。其中,非接触参数是指模拟卡与读卡设备之间进行交互时所需要使用的通信参数,可以包括UID(User Identification,用户身份证明),ATQA(Answer toRequest,请求应答),SAK(Select Acknowledge,选择确认指令)以及ATS(Answer ToSelect,选择应答)等等,根据模拟卡类型的不同,非接触参数也具有差异。The simulated card to be added is the simulated card that the user is going to add. In actual applications, to use the simulated card, you first need to install the CAP (Card Assembly Program) package of the simulated card in the terminal device to activate the simulated card. Different CAP packages of simulated cards have different requirements for contactless parameters, and some simulated cards do not even require contactless parameters. Among them, contactless parameters refer to the communication parameters required for interaction between the simulated card and the card reader, which may include UID (User Identification), ATQA (Answer to Request), SAK (Select Acknowledge) and ATS (Answer To Select), etc. The contactless parameters vary depending on the type of simulated card.
在本示例性实施例中,当用户成功开卡后,需要将待添加模拟卡加入聚合卡包时,终端设备需要对待添加模拟卡进行是否具有非接触参数要求的判断,如果待添加模拟卡不需要非接触参数,则可以直接将其放入聚合卡包内。In this exemplary embodiment, when the user successfully activates the card and needs to add the simulated card to be added to the aggregate card package, the terminal device needs to determine whether the simulated card to be added has the contactless parameter requirements. If the simulated card to be added does not require contactless parameters, it can be directly placed in the aggregate card package.
而当待添加模拟卡包括非接触参数时,在一示例性实施例中,如图5所示,模拟卡管理方法还可以包括以下步骤:When the simulated card to be added includes contactless parameters, in an exemplary embodiment, as shown in FIG5 , the simulated card management method may further include the following steps:
步骤S510,当待添加模拟卡包括非接触参数,且聚合卡包中不存在与待添加模拟卡的非接触参数相同的已添加模拟卡时,将待添加模拟卡加入聚合卡包内;Step S510, when the simulated card to be added includes contactless parameters, and there is no added simulated card in the aggregated card package that has the same contactless parameters as the simulated card to be added, adding the simulated card to be added to the aggregated card package;
步骤S520,当待添加模拟卡包括非接触参数,且聚合卡包中存在与待添加模拟卡的非接触参数相同的已添加模拟卡时,则在聚合卡包内将所述已添加模拟卡替换为待添加模拟卡,或者拒绝将待添加模拟卡加入聚合卡包。Step S520, when the simulated card to be added includes contactless parameters, and there is an added simulated card in the aggregated card package with the same contactless parameters as the simulated card to be added, the added simulated card is replaced with the simulated card to be added in the aggregated card package, or the simulated card to be added is refused to be added to the aggregated card package.
考虑在实际的NFC过程中,读卡设备与模拟卡进行交互时,模拟卡内的非接触参数需要与其对应的读卡设备保持一致,因此,为了避免非接触参数冲突导致交互失败的情况,需要对待添加模拟卡的非接触参数进行判断,对比当前聚合卡包内已有的模拟卡的非接触参数,是否与待添加模拟卡的非接触参数一致,如果不一致,说明不会产生非接触参数冲突的情况,则可以直接将待添加模拟卡成功加入聚合卡包内。如果一致,则说明会产生非接触参数冲突的情况,则可以拒绝将待添加模拟卡加入聚合卡包内,或者向用户发送提示信息,询问用户是否删除与待添加模拟卡的非接触参数发生冲突的已添加模拟卡,或者是否将待添加模拟卡替换为已添加模拟卡等,以根据用户需求,进行模拟卡的添加过程。Considering that in the actual NFC process, when the card reader interacts with the simulated card, the contactless parameters in the simulated card need to be consistent with its corresponding card reader. Therefore, in order to avoid the situation where the interaction fails due to the conflict of contactless parameters, it is necessary to judge the contactless parameters of the simulated card to be added, and compare the contactless parameters of the simulated card already in the current aggregate card package to see if they are consistent with the contactless parameters of the simulated card to be added. If they are inconsistent, it means that there will be no contactless parameter conflict, and the simulated card to be added can be directly added to the aggregate card package successfully. If they are consistent, it means that there will be a contactless parameter conflict, and the simulated card to be added can be refused to be added to the aggregate card package, or a prompt message can be sent to the user, asking the user whether to delete the added simulated card that conflicts with the contactless parameters of the simulated card to be added, or whether to replace the simulated card to be added with the added simulated card, etc., so as to perform the process of adding the simulated card according to user needs.
需要说明的是,本示例性实施例对上述步骤S510与步骤S520的执行顺序不做具体限定,步骤S510与步骤S520可以是同步进行的。另外,在进行模拟卡的添加时,如果当前聚合卡包内没有已添加的模拟卡,或者已经添加的模拟卡中均不包括非接触参数,则也可以直接将待添加模拟卡加入聚合卡包内。It should be noted that this exemplary embodiment does not specifically limit the execution order of the above steps S510 and S520, and steps S510 and S520 can be performed simultaneously. In addition, when adding a simulated card, if there is no simulated card added in the current aggregated card package, or none of the simulated cards added do not include contactless parameters, the simulated card to be added can also be directly added to the aggregated card package.
为了避免用户的误操作将不需要的卡添加至聚合卡包内,影响存储空间,在一示例性实施例中,将待添加模拟卡加入模拟卡聚合包内之前,方法还包括:In order to prevent the user from adding an unnecessary card to the aggregated card package due to erroneous operation, which affects the storage space, in an exemplary embodiment, before adding the simulated card to be added to the simulated card aggregate package, the method further includes:
向用户发送确定添加模拟卡的提示信息,根据用户对提示信息的确认操作,执行将待添加模拟卡加入聚合卡包内的步骤。A prompt message is sent to the user to confirm adding the simulated card, and based on the user's confirmation operation on the prompt message, the step of adding the simulated card to be added to the aggregated card package is executed.
其中,添加模拟卡的提示信息可以以弹窗,或者语音等多种形式呈现,本公开对此不做具体限定。当接收到用户对提示信息的确认操作后,认为用户当前确认将待添加模拟卡加入聚合卡包内,则可以继续执行将待添加模拟卡加入聚合卡包内的步骤。The prompt information for adding the simulated card can be presented in a variety of forms such as a pop-up window or voice, and the present disclosure does not specifically limit this. After receiving the user's confirmation operation on the prompt information, it is considered that the user currently confirms to add the simulated card to be added to the aggregated card package, and the step of adding the simulated card to be added to the aggregated card package can be continued.
在本示例性实施例中,如图6所示,聚合卡包610可以是从终端设备中电子钱包620的存储区域中开辟出来的一块独立存储区域,电子钱包620中可以包括多张模拟卡。用户可以通过选择或拖动等操作将电子钱包中的模拟卡,添加至聚合卡包内。例如在图6中,进行添加模拟卡操作之前,电子钱包620中包括模拟卡1、模拟卡2、模拟卡3,三张模拟卡;聚合卡包610中包括模拟卡4、模拟卡5,两张模拟卡。用户选择将模拟卡3添加至聚合卡包610内,则其他未选中的模拟卡1和模拟卡2依然在电子钱包620中,相应的,可以将模拟卡3从电子钱包620中删除,以节省模拟卡在终端设备中整体的存储空间,则在添加模拟卡操作之后,如图7所示,电子钱包620中包括模拟卡1、模拟卡2,两张模拟卡;聚合卡包610中包括模拟卡4、模拟卡5、以及模拟卡3,三张模拟卡。In this exemplary embodiment, as shown in FIG6 , the aggregated card package 610 may be an independent storage area opened up from the storage area of the electronic wallet 620 in the terminal device, and the electronic wallet 620 may include multiple simulated cards. The user may add the simulated cards in the electronic wallet to the aggregated card package by selecting or dragging. For example, in FIG6 , before the operation of adding simulated cards is performed, the electronic wallet 620 includes three simulated cards, namely, simulated card 1, simulated card 2, and simulated card 3; the aggregated card package 610 includes two simulated cards, namely, simulated card 4 and simulated card 5. If the user chooses to add simulated card 3 to the aggregated card package 610, the other unselected simulated cards 1 and 2 are still in the electronic wallet 620. Accordingly, the simulated card 3 may be deleted from the electronic wallet 620 to save the overall storage space of the simulated cards in the terminal device. After the operation of adding simulated cards, as shown in FIG7 , the electronic wallet 620 includes two simulated cards, namely, simulated card 1 and simulated card 2; the aggregated card package 610 includes three simulated cards, namely, simulated card 4, simulated card 5, and simulated card 3.
为了提高刷卡的准确性和流畅性,当聚合卡包内包括多张模拟卡时,可以设置多张模拟卡中任意两张模拟卡的类型均不相同。也就是说,对于同类型的卡,在聚合卡包中,最多只能有一张。例如聚合卡包内已经有一张银行卡了,就不能再增加其他银行卡,当然,可以用其他银行卡替换掉已添加的银行卡,但不能增加。In order to improve the accuracy and fluency of card swiping, when the aggregate card package includes multiple simulated cards, you can set the types of any two simulated cards to be different. In other words, for the same type of card, there can be at most one in the aggregate card package. For example, if there is already a bank card in the aggregate card package, you cannot add other bank cards. Of course, you can replace the added bank card with other bank cards, but you cannot add more.
在一示例性实施例中,如图8所示,模拟卡管理方法还可以包括以下步骤:In an exemplary embodiment, as shown in FIG8 , the simulation card management method may further include the following steps:
步骤S810,根据用户的添卡操作,获取待添加模拟卡;Step S810, obtaining a simulated card to be added according to the user's card adding operation;
步骤S820,当确定聚合卡包内存在与待添加模拟卡的类型相同的已添加模拟卡时,将已添加模拟卡替换为待添加模拟卡。Step S820: When it is determined that there is an added simulated card of the same type as the simulated card to be added in the aggregated card package, the added simulated card is replaced with the simulated card to be added.
由于当聚合卡包内包括多张模拟卡时,任意两张模拟卡的类型均不相同,当用户在添加待添加模拟卡时,聚合卡包中可能已经存在与待添加模拟卡属于相同类型的模拟卡。因此,本示例性实施例需要对待添加模拟卡的类型进行判断,如果聚合卡包中包括与待添加模拟卡属于相同类型的已添加模拟卡,则将已添加模拟卡替换为待添加模拟卡。Since when the aggregated card package includes multiple simulated cards, the types of any two simulated cards are different, when the user adds a simulated card to be added, a simulated card of the same type as the simulated card to be added may already exist in the aggregated card package. Therefore, this exemplary embodiment needs to judge the type of the simulated card to be added, and if the aggregated card package includes an added simulated card of the same type as the simulated card to be added, the added simulated card is replaced with the simulated card to be added.
在将已添加模拟卡替换为待添加模拟卡时,可以设置一提醒机制,征得用户的同意,以确保用户当前确实需要将已添加模拟卡替换为待添加模拟卡。替换的具体过程可以包括,将待添加模拟卡加入聚合卡包中,并激活待添加模拟卡,再将已添加模拟卡从聚合卡包中删除,并对该已添加模拟卡进行去激活,更新聚合卡包在用户显示界面中的显示图标。When replacing the added simulated card with the simulated card to be added, a reminder mechanism can be set to obtain the user's consent to ensure that the user really needs to replace the added simulated card with the simulated card to be added. The specific process of replacement may include adding the simulated card to be added to the aggregated card package, activating the simulated card to be added, deleting the added simulated card from the aggregated card package, deactivating the added simulated card, and updating the display icon of the aggregated card package in the user display interface.
图9示出了本示例性实施例中模拟卡管理方法中模拟卡的添加流程图,具体可以包括以下步骤:FIG9 shows a flowchart of adding a simulated card in the simulated card management method in this exemplary embodiment, which may specifically include the following steps:
步骤S910,根据用户的添卡操作,获取待添加模拟卡;Step S910, obtaining a simulated card to be added according to the user's card adding operation;
步骤S920,判断聚合卡包内是否包括与待添加模拟卡的类型相同的已添加模拟卡;Step S920, determining whether the aggregated card package includes an already added simulated card of the same type as the simulated card to be added;
如果包括与待添加模拟卡的类型相同的已添加模拟卡,则执行步骤S930,将已添加模拟卡替换为待添加模拟卡;If the added simulated card is the same type as the simulated card to be added, step S930 is executed to replace the added simulated card with the simulated card to be added;
如果不包括与待添加模拟卡的类型相同的已添加模拟卡,则执行步骤S940,判断待添加模拟卡是否包括非接触参数;If the added simulated card of the same type as the simulated card to be added is not included, executing step S940 to determine whether the simulated card to be added includes a contactless parameter;
如果待添加模拟卡不包括非接触参数,则执行步骤S950,将待添加模拟卡加入聚合卡包内并激活;If the simulated card to be added does not include contactless parameters, step S950 is executed to add the simulated card to be added into the aggregated card package and activate it;
如果待添加模拟卡包括非接触参数,则执行步骤S960,判断聚合卡包内当前的已添加模拟卡的非接触参数与待添加模拟卡的非接触参数是否相同;If the simulated card to be added includes contactless parameters, executing step S960, determining whether the contactless parameters of the simulated card currently added in the aggregated card package are the same as the contactless parameters of the simulated card to be added;
如果相同,则执行步骤S970,拒绝将待添加模拟卡加入聚合卡包,并显示无法加入聚合卡包的提示信息;If they are the same, executing step S970, refusing to add the simulated card to be added to the aggregated card package, and displaying a prompt message that the simulated card cannot be added to the aggregated card package;
如果不相同,则执行步骤S950,将待添加模拟卡加入聚合卡包内并激活。If they are not the same, execute step S950 to add the simulated card to be added into the aggregated card package and activate it.
步骤S980,更新当前聚合卡包的用户显示界面。Step S980, updating the user display interface of the current aggregated card package.
在实际应用中,除了上述用户添加卡片的操作,还有可能出现用户仅针对其中某一张卡片进行专门替换的情况,或者将A类型的卡片直接替换为B类型的卡片等。因此,在一示例性实施例中,如图10所示,模拟卡管理方法还可以包括以下步骤:In actual applications, in addition to the above-mentioned operation of adding cards by the user, it is also possible that the user only specifically replaces one of the cards, or directly replaces the card of type A with the card of type B, etc. Therefore, in an exemplary embodiment, as shown in FIG10 , the simulated card management method may further include the following steps:
步骤S1010,根据以第一模拟卡替换第二模拟卡的操作,将第二模拟卡从聚合卡包内删除,其中,第一模拟卡为所述聚合卡包外的模拟卡,第二模拟卡为聚合卡包内的模拟卡;Step S1010, according to the operation of replacing the second simulated card with the first simulated card, deleting the second simulated card from the aggregated card package, wherein the first simulated card is a simulated card outside the aggregated card package, and the second simulated card is a simulated card in the aggregated card package;
步骤S1020,将第一模拟卡添加至聚合卡包内,并激活第一模拟卡。Step S1020, adding the first simulated card to the aggregated card package, and activating the first simulated card.
其中,第一模拟卡则是指除聚合卡包之外的其他模拟卡,例如电子钱包中的银行卡等,在本示例性实施例中,处于聚合卡包之外的模拟卡,如果当前没有正在使用,则可以认为其均处于未激活状态。第二模拟卡是指聚合卡包中,用户想要对其进行替换操作的模拟卡,其可以是任意一张或任意类型的模拟卡,第二模拟卡为激活状态。因此,在将第二模拟卡替换为第一模拟卡时,需要将第一模拟卡添加至聚合卡包内,并进行激活处理,以及将第二模拟卡从聚合卡包中删除。在本示例性实施例中,将第二模拟卡从聚合卡包中删除后,还可以对第二模拟卡进行去激活处理。另外,上述以第一模拟卡替换第二模拟卡的操作可以包括多种,例如通过用户将第一模拟卡移动至第二模拟卡的位置,实现将第二模拟卡替换为第一模拟卡,也可以通过点击第二模拟卡的替换选项进行替换等等,本公开对此不做具体限定。Among them, the first simulated card refers to other simulated cards other than the aggregated card package, such as bank cards in an electronic wallet, etc. In this exemplary embodiment, if the simulated cards outside the aggregated card package are not currently in use, they can be considered to be in an unactivated state. The second simulated card refers to the simulated card in the aggregated card package that the user wants to replace, which can be any one or any type of simulated card, and the second simulated card is in an activated state. Therefore, when replacing the second simulated card with the first simulated card, it is necessary to add the first simulated card to the aggregated card package and activate it, and delete the second simulated card from the aggregated card package. In this exemplary embodiment, after deleting the second simulated card from the aggregated card package, the second simulated card can also be deactivated. In addition, the above-mentioned operation of replacing the second simulated card with the first simulated card can include multiple types, such as replacing the second simulated card with the first simulated card by the user moving the first simulated card to the position of the second simulated card, or replacing it by clicking the replacement option of the second simulated card, etc., which is not specifically limited in this disclosure.
考虑到聚合卡包的使用多元化,还可能出现用户想要从聚合卡包中删除某张模拟卡,或者在上述替换模拟卡时,需要将被替换的模拟卡从聚合卡包中删除的情况,在一示例性实施例中,模拟卡管理方法还可以包括:Considering the diversified use of the aggregate card package, it is possible that a user wants to delete a simulated card from the aggregate card package, or when replacing a simulated card, the replaced simulated card needs to be deleted from the aggregate card package. In an exemplary embodiment, the simulated card management method may further include:
根据用户针对聚合卡包内任一模拟卡的删除操作,检测任一模拟卡是否携带非接触参数;According to the user's deletion operation on any simulated card in the aggregated card package, detecting whether any simulated card carries contactless parameters;
如果任一模拟卡携带非接触参数,则从聚合卡包内删除任一模拟卡,并清空非接触参数;If any analog card carries contactless parameters, delete any analog card from the aggregate card package and clear the contactless parameters;
如果任一模拟卡不携带非接触参数,则直接从聚合卡包内删除任一模拟卡。If any simulated card does not carry contactless parameters, any simulated card is directly deleted from the aggregated card package.
为了避免删除的模拟卡的非接触参数,对之后添加模拟卡的过程或其他情况造成影响或冲突,本示例性实施例,在将模拟卡从聚合卡包中删除时,需要判断待删除的模拟卡是否携带有非接触参数,如果携带非接触参数,则在将该模拟卡从聚合卡包中删除后,需要清空与该模拟卡相关的非接触参数;如果未携带非接触参数,则可以直接将其从聚合卡包中删除。当然,为了避免用户对模拟卡的误删情况等,本示例性实施例还可以设置提示机制,以确保用户删除模拟卡的准确性。In order to avoid the contactless parameters of the deleted simulated card from affecting or conflicting the process of adding simulated cards or other situations later, in this exemplary embodiment, when deleting a simulated card from an aggregated card package, it is necessary to determine whether the simulated card to be deleted carries contactless parameters. If it carries contactless parameters, after deleting the simulated card from the aggregated card package, it is necessary to clear the contactless parameters related to the simulated card; if it does not carry contactless parameters, it can be directly deleted from the aggregated card package. Of course, in order to avoid users from accidentally deleting simulated cards, etc., this exemplary embodiment can also set a prompt mechanism to ensure the accuracy of users deleting simulated cards.
图11示出了本示例性实施例中模拟卡管理方法中模拟卡的替换流程图,具体可以包括以下步骤:FIG. 11 shows a flowchart of replacing a simulated card in a simulated card management method in this exemplary embodiment, which may specifically include the following steps:
步骤S1110,接收用户针对聚合卡包中第二模拟卡的替换操作;Step S1110, receiving a user's replacement operation for the second simulated card in the aggregated card package;
步骤S1120,获取聚合卡包外的第一模拟卡;Step S1120, obtaining a first simulated card outside the aggregated card package;
步骤S1130,将第一模拟卡添加至聚合卡包内,并激活第一模拟卡;Step S1130, adding the first simulated card to the aggregated card package, and activating the first simulated card;
步骤S1140,判断第二模拟卡是否携带非接触参数;Step S1140, determining whether the second simulated card carries contactless parameters;
如果第二模拟卡不携带非接触参数,则执行步骤S1150,将第二模拟卡从聚合卡包中删除,并对第二模拟卡进行去激活处理;If the second simulated card does not carry the contactless parameter, executing step S1150, deleting the second simulated card from the aggregated card package, and deactivating the second simulated card;
如果第二模拟卡携带非接触参数,则执行步骤S1160,将第二模拟卡从聚合卡包中删除,对第二模拟卡进行去激活处理,并清空第二模拟卡的非接触参数。If the second simulated card carries contactless parameters, step S1160 is executed to delete the second simulated card from the aggregated card package, deactivate the second simulated card, and clear the contactless parameters of the second simulated card.
在一示例性实施例中,模拟卡管理方法还可以包括:In an exemplary embodiment, the simulation card management method may further include:
当检测到聚合卡包外的至少一张模拟卡的使用频率达到预设阈值时,生成添加模拟卡的提示信息;When it is detected that the usage frequency of at least one simulated card outside the aggregated card package reaches a preset threshold, a prompt message for adding a simulated card is generated;
根据用户对提示信息的确认操作,将使用频率达到预设阈值的模拟卡添加到聚合卡包内。According to the user's confirmation operation on the prompt information, the simulated cards whose usage frequency reaches the preset threshold are added to the aggregated card package.
为了提高聚合卡包的灵活性,增加用户使用的便捷性,本示例性实施例还可以设置自适应添加模拟卡的机制,当检测到聚合卡包外的模拟卡的使用频率较高时,认为用户对该模拟卡的粘性较高,加入聚合卡包将会提高用户对模拟卡使用的便捷性。此时,可以生成添加该模拟卡的提示信息,当用户对该提示信息进行确认后,可以将该模拟卡加入聚合卡包内。其中,聚合卡包外的至少一张模拟卡的使用频率达到预设阈值,可以根据需要进行自定义设置,本公开对此不做具体限定。In order to improve the flexibility of the aggregated card package and increase the convenience of user use, this exemplary embodiment can also set a mechanism for adaptively adding simulated cards. When it is detected that the use frequency of simulated cards outside the aggregated card package is high, it is considered that the user has a high stickiness to the simulated card, and adding the simulated card to the aggregated card package will increase the convenience of the user's use of the simulated card. At this time, a prompt message for adding the simulated card can be generated. When the user confirms the prompt message, the simulated card can be added to the aggregated card package. Among them, the use frequency of at least one simulated card outside the aggregated card package reaches a preset threshold, which can be customized as needed, and the present disclosure does not specifically limit this.
本公开的示例性实施方式还提供一种模拟卡管理装置。如图12所示,该模拟卡管理装置1200应用于具有近场通信功能的终端设备,可以包括:目标模拟卡确定模块1210,用于根据读卡设备的近场通信信号,从聚合卡包中确定目标模拟卡,其中,聚合卡包中包括一张或多张模拟卡,且一张或多张模拟卡均为激活状态;模拟卡信息发送模块1220,用于通过近场通信将目标模拟卡的信息发送至读卡设备。The exemplary embodiment of the present disclosure also provides a simulated card management device. As shown in FIG12 , the simulated card management device 1200 is applied to a terminal device with a near field communication function, and may include: a target simulated card determination module 1210, which is used to determine a target simulated card from an aggregated card package according to a near field communication signal of a card reader device, wherein the aggregated card package includes one or more simulated cards, and the one or more simulated cards are all in an activated state; and a simulated card information sending module 1220, which is used to send information of the target simulated card to the card reader device through near field communication.
在一示例性实施例中,模拟卡管理装置还包括:待添加模拟卡获取模块,用于根据用户的添卡操作,获取待添加模拟卡;模拟卡第一添加模块,用于当待添加模拟卡不包括非接触参数时,将待添加模拟卡加入聚合卡包内。In an exemplary embodiment, the simulated card management device also includes: a simulated card acquisition module to be added, used to obtain the simulated card to be added according to the user's card adding operation; a simulated card first adding module, used to add the simulated card to be added into the aggregate card package when the simulated card to be added does not include contactless parameters.
在一示例性实施例中,模拟卡管理装置还包括:模拟卡第二添加模块,用于当待添加模拟卡包括非接触参数,且聚合卡包中不存在与待添加模拟卡的非接触参数相同的已添加模拟卡时,将待添加模拟卡加入聚合卡包内。In an exemplary embodiment, the simulated card management device also includes: a second simulated card adding module, which is used to add the simulated card to be added into the aggregated card package when the simulated card to be added includes contactless parameters and there is no added simulated card with the same contactless parameters as the simulated card to be added in the aggregated card package.
在一示例性实施例中,模拟卡管理装置还包括:模拟卡第三添加模块,用于当待添加模拟卡包括非接触参数,且聚合卡包中存在与待添加模拟卡的非接触参数相同的已添加模拟卡时,则在聚合卡包内将已添加模拟卡替换为待添加模拟卡,或者拒绝将待添加模拟卡加入聚合卡包In an exemplary embodiment, the simulated card management device further includes: a simulated card third adding module, which is used to replace the added simulated card with the simulated card to be added in the aggregated card package, or refuse to add the simulated card to the aggregated card package, when the simulated card to be added includes contactless parameters and there is an added simulated card with the same contactless parameters as the simulated card to be added in the aggregated card package.
在一示例性实施例中,模拟卡管理装置还包括:提示信息发送模块,用于在将待添加模拟卡加入聚合卡包内之前,向用户发送确定添加模拟卡的提示信息,根据用户对提示信息的确认操作,执行将待添加模拟卡加入聚合卡包内的步骤。In an exemplary embodiment, the simulated card management device also includes: a prompt information sending module, which is used to send a prompt information to the user to confirm the addition of the simulated card before adding the simulated card to be added to the aggregate card package, and execute the step of adding the simulated card to be added to the aggregate card package according to the user's confirmation operation on the prompt information.
在一示例性实施例中,当聚合卡包内包括多张模拟卡时,多张模拟卡中任意两张模拟卡的类型均不相同。In an exemplary embodiment, when the aggregate card package includes multiple simulated cards, the types of any two simulated cards among the multiple simulated cards are different.
在一示例性实施例中,模拟卡管理装置还包括:模拟卡第四添加模块,用于根据用户的添卡操作,获取待添加模拟卡;当确定聚合卡包内存在与待添加模拟卡的类型相同的已添加模拟卡时,将已添加模拟卡替换为待添加模拟卡。In an exemplary embodiment, the simulated card management device also includes: a fourth simulated card adding module, which is used to obtain the simulated card to be added according to the user's card adding operation; when it is determined that there is an added simulated card of the same type as the simulated card to be added in the aggregated card package, the added simulated card is replaced with the simulated card to be added.
在一示例性实施例中,模拟卡管理装置还包括:模拟卡替换模块,用于根据以第一模拟卡替换第二模拟卡的操作,将第二模拟卡从聚合卡包内删除,其中,第一模拟卡为聚合卡包外的模拟卡,第二模拟卡为聚合卡包内的模拟卡;以及将第一模拟卡添加至聚合卡包内,并激活第一模拟卡。In an exemplary embodiment, the simulated card management device also includes: a simulated card replacement module, which is used to delete the second simulated card from the aggregate card package according to the operation of replacing the second simulated card with the first simulated card, wherein the first simulated card is a simulated card outside the aggregate card package and the second simulated card is a simulated card inside the aggregate card package; and add the first simulated card to the aggregate card package and activate the first simulated card.
在一示例性实施例中,模拟卡管理装置还包括:模拟卡删除模块,用于根据用户针对聚合卡包内任一模拟卡的删除操作,检测任一模拟卡是否携带非接触参数;如果任一模拟卡携带非接触参数,则从聚合卡包内删除任一模拟卡,并清空非接触参数;以及如果任一模拟卡不携带非接触参数,则直接从聚合卡包内删除任一模拟卡。In an exemplary embodiment, the simulated card management device also includes: a simulated card deletion module, which is used to detect whether any simulated card carries contactless parameters based on the user's deletion operation on any simulated card in the aggregated card package; if any simulated card carries contactless parameters, any simulated card is deleted from the aggregated card package and the contactless parameters are cleared; and if any simulated card does not carry contactless parameters, any simulated card is directly deleted from the aggregated card package.
在一示例性实施例中,模拟卡管理装置还包括:使用频率检测模块,用于当检测到聚合卡包外的至少一张模拟卡的使用频率达到预设阈值时,生成添加模拟卡的提示信息;模拟卡第五添加模块,用于根据用户对提示信息的确认操作,将使用频率达到预设阈值的模拟卡添加到聚合卡包内。In an exemplary embodiment, the simulated card management device also includes: a usage frequency detection module, which is used to generate a prompt message for adding a simulated card when it is detected that the usage frequency of at least one simulated card outside the aggregated card package reaches a preset threshold; a simulated card fifth adding module, which is used to add the simulated card whose usage frequency reaches the preset threshold to the aggregated card package based on the user's confirmation operation on the prompt information.
上述装置中各模块的具体细节在方法部分实施方式中已经详细说明,未披露的细节内容可以参见方法部分的实施方式内容,因而不再赘述。The specific details of each module in the above device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.
所属技术领域的技术人员能够理解,本公开的各个方面可以实现为系统、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits", "modules" or "systems".
本公开的示例性实施方式还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本公开的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在终端设备上运行时,程序代码用于使终端设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤,例如可以执行图3、图4、图5、图8、图9、图10或图11中任意一个或多个步骤。The exemplary embodiments of the present disclosure also provide a computer-readable storage medium on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of the present specification, for example, any one or more steps in Figure 3, Figure 4, Figure 5, Figure 8, Figure 9, Figure 10 or Figure 11 may be executed.
本公开的示例性实施方式还提供了了一种用于实现上述方法的程序产品,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本公开的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The exemplary embodiments of the present disclosure also provide a program product for implementing the above method, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其他实施方式。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施方式仅被视为示例性的,本公开的真正范围和精神由权利要求指出。Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and embodiments are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限。It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010694141.3A CN111784335B (en) | 2020-07-17 | 2020-07-17 | Simulation card management method, simulation card management device, storage medium and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010694141.3A CN111784335B (en) | 2020-07-17 | 2020-07-17 | Simulation card management method, simulation card management device, storage medium and electronic device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111784335A CN111784335A (en) | 2020-10-16 |
| CN111784335B true CN111784335B (en) | 2024-05-31 |
Family
ID=72763603
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010694141.3A Active CN111784335B (en) | 2020-07-17 | 2020-07-17 | Simulation card management method, simulation card management device, storage medium and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111784335B (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117494746A (en) * | 2020-10-21 | 2024-02-02 | 华为技术有限公司 | Simulation card switching method, electronic device and communication system |
| CN112487838B (en) * | 2020-12-10 | 2023-10-03 | 深圳市与飞科技有限公司 | Information prompting method, device, electronic equipment and storage medium |
| CN112733563A (en) * | 2021-01-27 | 2021-04-30 | 艾体威尔电子技术(北京)有限公司 | Card searching method and system compatible with various non-contact cards |
| CN112906411B (en) * | 2021-02-02 | 2024-03-22 | 中国银联股份有限公司 | Service processing method, user terminal, service equipment, system and storage medium |
| CN113541741B (en) * | 2021-07-20 | 2022-07-08 | 西安易朴通讯技术有限公司 | Analog card switching method and device, electronic equipment and storage medium |
| CN113965228B (en) * | 2021-10-08 | 2022-08-12 | 深圳市汇顶科技股份有限公司 | Method for expanding NFC card simulation function, NFC expansion device and NFC terminal |
| CN113962232B (en) * | 2021-10-14 | 2024-04-30 | 深圳市与飞科技有限公司 | Analog card switching method and device, computer readable medium and mobile terminal |
| CN116933809A (en) * | 2022-04-02 | 2023-10-24 | 华为技术有限公司 | NFC-based card swiping method, medium and electronic equipment |
| CN118228744A (en) * | 2022-12-21 | 2024-06-21 | Oppo广东移动通信有限公司 | Terminal interaction method, terminal interaction device, medium and electronic device |
| CN119721078B (en) * | 2023-09-28 | 2025-10-31 | Oppo广东移动通信有限公司 | Methods, apparatus, equipment, storage media and products for processing analog cards |
| CN119721079A (en) * | 2023-09-28 | 2025-03-28 | Oppo广东移动通信有限公司 | Simulation card processing method, device, equipment, storage medium and product |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101964672A (en) * | 2010-09-07 | 2011-02-02 | 深圳市远望谷信息技术股份有限公司 | Near field communication method of non-contact radio frequency identification devices |
| CN102142868A (en) * | 2010-01-29 | 2011-08-03 | 国民技术股份有限公司 | Near field communication method and system |
| CN103761545A (en) * | 2006-06-02 | 2014-04-30 | 飞力凯网路股份有限公司 | Data communications system, information processing terminal, IC card, reader/writer, and program |
| CN104978659A (en) * | 2015-07-02 | 2015-10-14 | 兰州兰大小精灵新技术有限责任公司 | Mobile phone consumption terminal |
| CN110020569A (en) * | 2019-03-11 | 2019-07-16 | 华为技术有限公司 | Method for automatically selecting NFC analog card, electronic equipment and communication system |
| CN110557742A (en) * | 2019-09-26 | 2019-12-10 | 珠海市魅族科技有限公司 | Default binding card switching method, device, equipment and storage medium for near field communication |
| CN110866580A (en) * | 2019-10-31 | 2020-03-06 | 小米数字科技有限公司 | Preprocessing method and device for configuring NFC smart card |
-
2020
- 2020-07-17 CN CN202010694141.3A patent/CN111784335B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103761545A (en) * | 2006-06-02 | 2014-04-30 | 飞力凯网路股份有限公司 | Data communications system, information processing terminal, IC card, reader/writer, and program |
| CN102142868A (en) * | 2010-01-29 | 2011-08-03 | 国民技术股份有限公司 | Near field communication method and system |
| CN101964672A (en) * | 2010-09-07 | 2011-02-02 | 深圳市远望谷信息技术股份有限公司 | Near field communication method of non-contact radio frequency identification devices |
| CN104978659A (en) * | 2015-07-02 | 2015-10-14 | 兰州兰大小精灵新技术有限责任公司 | Mobile phone consumption terminal |
| CN110020569A (en) * | 2019-03-11 | 2019-07-16 | 华为技术有限公司 | Method for automatically selecting NFC analog card, electronic equipment and communication system |
| CN110557742A (en) * | 2019-09-26 | 2019-12-10 | 珠海市魅族科技有限公司 | Default binding card switching method, device, equipment and storage medium for near field communication |
| CN110866580A (en) * | 2019-10-31 | 2020-03-06 | 小米数字科技有限公司 | Preprocessing method and device for configuring NFC smart card |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111784335A (en) | 2020-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111784335B (en) | Simulation card management method, simulation card management device, storage medium and electronic device | |
| US11683850B2 (en) | Bluetooth reconnection method and related apparatus | |
| US11934352B2 (en) | Card rendering method and electronic device | |
| US10452349B2 (en) | Electronic device and operation control method therefor | |
| CN106060378B (en) | Apparatus and method for setting up a shooting module | |
| CN113325996B (en) | Split screen display method and device | |
| US20230418428A1 (en) | Display Method and Electronic Device | |
| CN113556715B (en) | Device connection method and apparatus, computer readable medium and electronic device | |
| WO2021057673A1 (en) | Image display method and electronic device | |
| CN112188461B (en) | Control method and device of near field communication device, medium and electronic equipment | |
| CN110837343A (en) | Method, device and terminal for processing snapshots | |
| CN111770484B (en) | Analog card switching method and device, computer readable medium and mobile terminal | |
| CN116528209B (en) | Bluetooth scanning method, equipment, chip system and storage medium | |
| CN116088724B (en) | Card display method and electronic equipment | |
| CN116489645B (en) | Data transmission method and electronic equipment | |
| CN109491655A (en) | A kind of incoming event processing method and processing device | |
| EP4345592A1 (en) | Processing method, processing device, and readable storage medium | |
| CN109710576B (en) | File display method, terminal and storage medium | |
| CN117956371B (en) | Audio service recovery processing method, electronic device and computer storage medium | |
| CN116708647B (en) | Notification message reply method and electronic device | |
| CN116028265B (en) | Snapshot acquisition method, electronic equipment and readable storage medium | |
| CN114265662B (en) | Information recommendation method, electronic device and readable storage medium | |
| CN116048351B (en) | Screen capturing method and electronic equipment | |
| WO2025118996A1 (en) | Data processing method and related apparatus | |
| CN111142648B (en) | Data processing method and intelligent terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |