WO2023045628A1 - 模拟卡激活方法、装置、终端和存储介质 - Google Patents

模拟卡激活方法、装置、终端和存储介质 Download PDF

Info

Publication number
WO2023045628A1
WO2023045628A1 PCT/CN2022/112801 CN2022112801W WO2023045628A1 WO 2023045628 A1 WO2023045628 A1 WO 2023045628A1 CN 2022112801 W CN2022112801 W CN 2022112801W WO 2023045628 A1 WO2023045628 A1 WO 2023045628A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
card
frequency signal
radio frequency
analog
Prior art date
Application number
PCT/CN2022/112801
Other languages
English (en)
French (fr)
Inventor
陈华星
李宗源
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023045628A1 publication Critical patent/WO2023045628A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences

Definitions

  • the present application relates to the technical field of terminal equipment, in particular to an analog card activation method, device, terminal and storage medium.
  • a method for activating an analog card comprising:
  • the target simulation card used to board the target vehicle is determined from the simulation cards preset in the terminal, and the target vehicle is a vehicle in the transportation station;
  • Activation processing is performed on the target analog card.
  • the detecting whether the target radio frequency signal transmitted by the target device set in the traffic station is received includes:
  • Whether the target radio frequency signal is received is determined according to whether the demodulation information is consistent with target demodulation information, where the target demodulation information is information obtained after demodulation processing is performed on the target radio frequency signal.
  • the determining whether the target radio frequency signal is received according to whether the demodulation information is consistent with the target demodulation information includes:
  • the demodulation information is consistent with the target demodulation information, and the change trend of the field strength of the received radio frequency signal satisfies the target change trend, it is determined that the target radio frequency signal is received.
  • the change trend of the target is a change trend of the field strength from weak to strong and then from strong to weak.
  • performing demodulation processing on the received radio frequency signal to obtain demodulation information includes:
  • the radio frequency signal is demodulated to obtain the demodulation information.
  • the determination of the target simulation card used to take the target vehicle from the simulation cards preset in the terminal includes:
  • the target analog card is determined from each of the candidate analog cards according to the historical card information.
  • the acquisition of historical card information corresponding to each of the candidate simulated cards includes:
  • the determining the target simulated card from each of the candidate simulated cards according to the historical card information includes:
  • the target analog card is determined from each candidate analog card corresponding to the geographic location area.
  • the activating the target simulation card includes:
  • the type of the target simulation card is a two-dimensional code type, light the screen of the terminal, and display the target simulation card on the screen;
  • the target analog card is activated.
  • the target device is a security gate.
  • An analog card activation device comprising:
  • the detection module is used to detect whether the target radio frequency signal emitted by the target device set in the traffic station is received;
  • a determining module configured to determine, from the simulated cards preset in the terminal, the target simulated card used to board the target vehicle if the target radio frequency signal is received, and the target vehicle is a vehicle in the traffic station ;
  • the activation module is used for activating the target analog card.
  • a terminal including a memory and a processor
  • the memory stores a computer program
  • the processor implements the following steps when executing the computer program:
  • the target simulation card used to board the target vehicle is determined from the simulation cards preset in the terminal, and the target vehicle is a vehicle in the transportation station;
  • Activation processing is performed on the target analog card.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the target simulation card used to board the target vehicle is determined from the simulation cards preset in the terminal, and the target vehicle is a vehicle in the transportation station;
  • Activation processing is performed on the target analog card.
  • the above analog card activation method, device, terminal and storage medium by detecting whether the target radio frequency signal transmitted by the target device set in the traffic station is received, if the target radio frequency signal is received, the user is determined from the analog card preset in the terminal.
  • the target vehicle is a vehicle in the traffic station, and the target simulation card is activated.
  • the terminal itself detects the target radio frequency signal, it can determine the target analog card and activate the target analog card, so that the user does not need to manually select and activate the analog card, thus simplifying the user operation and improving the selection efficiency of the analog card .
  • FIG. 1 is a schematic flow diagram of a method for activating a simulated card provided in an embodiment of the present application
  • FIG. 2 is a schematic flow diagram of a method for detecting a target radio frequency signal provided in an embodiment of the present application
  • FIG. 3 is a schematic flow chart of a method for determining a target simulation card provided in an embodiment of the present application
  • Fig. 4 is a schematic flow chart of a method for acquiring historical card information provided by an embodiment of the present application
  • Fig. 5 is a schematic structural diagram of an analog card activation device provided by an embodiment of the present application.
  • Fig. 6 is an internal structure diagram of a terminal in an embodiment.
  • FIG. 1 is a schematic flowchart of a simulation card activation method provided by an embodiment of the present application.
  • the method can be applied to terminals such as smart phones, tablet computers, and wearable devices, and the method includes the following steps:
  • the target device may be a security inspection gate or other security inspection devices capable of sending out target radio frequency signals.
  • the target radio frequency signal is a radio frequency signal including information used to indicate an instruction to query a Type B (Type B) card, and a Type B card refers to a Type B card conforming to the ISO14443 protocol. If the terminal receives the target radio frequency signal, it means that the holder of the terminal has passed the target device for security check before boarding the target vehicle. In this case, it means that the terminal recognizes that the user has passed the target device (such as a security gate) for security check. event.
  • the terminal may detect whether it receives a target radio frequency signal transmitted by a target device set in a traffic station.
  • the traffic station is, for example, a subway station or a high-speed rail station.
  • the transportation station is taken as an example for introduction.
  • the target radio frequency signal If the target radio frequency signal is received, determine the target simulation card for boarding the target vehicle from the simulation cards preset in the terminal, and the target vehicle is a vehicle in a traffic station.
  • NFC NearField Communication
  • multiple simulation cards of the NFC type can be preset in the terminal, and the simulation card of the NFC type refers to a simulation card based on the NFC function (that is, an NFC card).
  • NFC card can be used to realize access control electronic key, bus card, subway card, attendance card, electronic ID card, etc.
  • a simulation card of the type of two-dimensional code can also be preset in the terminal, and the simulation card of the type of two-dimensional code can be used to open the gate or make payment when taking a bus or subway or other means of transportation.
  • the terminal determines the target simulation card used to board the target vehicle from the simulation cards preset in the terminal. For example, if the simulated cards preset in the terminal include an NFC access control card, an NFC time attendance card, and an NFC subway card, the NFC subway card is used as the target simulated card. If the analog cards preset in the terminal include NFC access control card, NFC time attendance card, NFC subway card, and QR code-type analog cards for taking the subway, you can use the NFC subway card and/or the two-dimensional code for taking the subway code type emulation card as the target emulation card.
  • multiple NFC cards may be preset in the terminal, and the terminal may determine the NFC metro card according to the type of each NFC card, and use the NFC metro card as the target analog card.
  • a plurality of simulation cards of the type of two-dimensional code can also be preset in the terminal, and the terminal can communicate and interact with target applets and applications (such as Alipay) on the terminal through API commands to obtain the user information of the target applets and applications.
  • this step can be realized in the following ways:
  • the type of the target simulation card is a QR code type, light up the screen of the terminal and display the target simulation card on the screen;
  • the target simulation card is activated.
  • the type of the target simulation card is a two-dimensional code type
  • the screen of the terminal is lit and the target simulation card is displayed on the screen, so that when the user goes through the security check of the target device before boarding the target vehicle, the two-dimensional code is automatically displayed.
  • code-type analog card which makes it convenient for users to directly use the displayed two-dimensional code-type analog card to swipe the gate to open the gate. Since the user does not need to manually select the analog card of the two-dimensional code type, the selection efficiency of the analog card is improved.
  • the target simulation card is activated.
  • the state of the target analog card includes an activated state and an inactive state. When the target analog card is in the inactive state, the target analog card is activated so that the target analog card is switched from the inactive state to the active state.
  • NFC access control cards such as NFC access control cards, NFC time attendance cards, and NFC subway cards are preset in the terminal.
  • the terminal activates the NFC access control card , other NFC cards are inactive. If the user activates and uses the NFC access control card before the user wants to take the subway, the NFC subway card preset in the terminal may be in an inactive state. In this case, if the type of the target simulation card is a near field communication NFC card type The target simulation card is then activated to ensure that the target simulation card is in an activated state, making it convenient for the user to use the target simulation card to open the gate.
  • the terminal can light up the screen and display the simulation card 1 on the screen. And when the analog card 2 is in an inactive state, the analog card 2 is activated.
  • the user can use the analog card 1 to open the gate, and can also use the analog card 2 to open the gate, so that the user can be provided with multiple options for using the analog card.
  • the simulation card activation method by detecting whether the target radio frequency signal transmitted by the target device set in the traffic station is received, if the target radio frequency signal is received, it is determined from the simulated card preset in the terminal that the target is used for boarding.
  • the target simulation card of the vehicle, the target vehicle is a vehicle in the traffic station, and the target simulation card is activated.
  • the terminal itself detects the target radio frequency signal, it can determine the target analog card and activate the target analog card, so that the user does not need to manually select and activate the analog card, thus simplifying the user operation and improving the selection efficiency of the analog card .
  • FIG. 2 is a schematic flowchart of a target radio frequency signal detection method provided in an embodiment of the present application. This embodiment relates to an optional implementation manner of detecting whether a target radio frequency signal emitted by a target device set in a traffic station is received.
  • above-mentioned S101 comprises the following steps:
  • the radio frequency signal in this embodiment is a modulated radio frequency signal.
  • the modulated radio frequency signal may be demodulated by Jetstar to obtain demodulation information.
  • S202 Determine whether the target radio frequency signal is received according to whether the demodulation information is consistent with the target demodulation information, where the target demodulation information is information obtained after demodulating the target radio frequency signal.
  • the target radio frequency signal is the radio frequency signal that includes the information used to indicate the instruction to query the Type B card
  • the target demodulation information is the information that can be obtained after demodulating the target radio frequency signal, which is used to indicate the query to the Type B card.
  • the command information is information composed of 0 and 1. After demodulating the target RF signal, the information used to instruct the Type B card command can be obtained, that is, the target demodulation signal is obtained after demodulating the target RF signal. information.
  • the terminal If the demodulation information corresponding to the radio frequency signal received by the terminal is consistent with the target demodulation information, it is determined that the terminal has received the target radio frequency signal; if the demodulation information corresponding to the radio frequency signal received by the terminal is inconsistent with the target demodulation information, it is determined that the terminal Target RF signal not received.
  • the received radio frequency signal is demodulated to obtain demodulation information, and whether the target radio frequency signal is received is determined according to whether the demodulation information is consistent with the target demodulation information, so that the terminal can judge whether it has received the target radio frequency signal.
  • the target radio frequency signal is used to determine whether to determine the target analog card and to activate the target analog card.
  • the above S202 may be implemented in the following manner:
  • the demodulation information is consistent with the target demodulation information, and the change trend of the field strength of the received radio frequency signal satisfies the target change trend, it is determined that the target radio frequency signal is received.
  • the change trend of the target is a change trend of the field strength from weak to strong and then from strong to weak.
  • the target change trend may also be that the field strength changes from the first field strength threshold to the second field strength threshold, and then changes from the second field strength threshold to the first field strength threshold. Wherein, the first field strength threshold is smaller than the second field strength threshold.
  • the above S201 may be implemented in the following manner:
  • the radio frequency signal is demodulated to obtain demodulation information.
  • the radio frequency signal when the field strength of the received radio frequency signal exceeds the field strength threshold, the radio frequency signal is demodulated to obtain demodulation information. Therefore, it can be avoided that in the case of receiving a weaker radio frequency signal, the demodulation process may not be able to demodulate the weaker radio frequency signal. Since the power consumption of the terminal is wasted during the demodulation process, in order to avoid the waste of power consumption of the terminal caused by demodulation failure, etc., in this embodiment, when the field strength of the received radio frequency signal exceeds the field strength threshold , the radio frequency signal is demodulated, so that the power consumption of the terminal can be saved and the success rate of demodulation of the radio frequency signal can be improved.
  • FIG. 3 is a schematic flowchart of a method for determining a target analog card provided in an embodiment of the present application.
  • This embodiment relates to an optional implementation manner of how to determine a target simulation card for boarding a target vehicle from the simulation cards preset in the terminal.
  • the above-mentioned S102 includes the following steps:
  • the simulated cards preset in the terminal include NFC access control card, NFC time attendance card, NFC subway card and a two-dimensional code type simulated card for taking the subway, then the NFC subway card and the two-dimensional code used for taking the subway type of emulation card as a candidate emulation card.
  • the terminal can use the NFC subway card of the subway type as a candidate simulation card according to the types of each NFC card preset in the terminal, and the terminal can pass an application programming interface (Application Programming Interface, API) instruction Communicate and interact with the target applet and application (such as Alipay) on the terminal to obtain the simulation card of the QR code type for the target applet and the application for taking the subway, and use the obtained QR code for taking the subway.
  • API Application Programming Interface
  • the simulated card of QR code type is used as a candidate simulated card.
  • the target historical time period is, for example, within the last three days
  • the historical card information is used to indicate that the corresponding candidate analog card has been activated and used within the last three days.
  • the historical card information may include information on the geographic location of the terminal when the candidate simulation is activated each time within the target historical time period, time, and the number of times the terminal is activated within the target historical time period.
  • the number of times the candidate analog card is activated and used may refer to the number of times the candidate analog card is activated and used to open the gate.
  • the target simulation card can be determined from the candidate simulation cards in the following ways:
  • Method 1 The terminal can acquire the number of activation times of the candidate analog card corresponding to the historical card information within the target historical time period, and use the candidate analog card corresponding to the maximum number of activation times within the target time period as the target analog card.
  • the candidate simulated cards include an NFC subway card and a QR code-type simulated card for taking the subway
  • the number of times the NFC subway card is activated and used within the target time period is 6 times
  • the number of times the QR code-type analog card is activated and used is 2 times
  • the candidate analog card corresponding to the maximum number of activation times within the target time period is the NFC subway card
  • the NFC subway card is used as the target analog card.
  • the terminal may determine its current geographic location information, and use the candidate analog card corresponding to the geographic location information consistent with the current geographic location information as the target analog card.
  • the geographic location information consistent with the current geographic location information is the geographic location information included in the historical card information, so as to realize the determination of the target simulation card according to the user's usage habits, that is, the user often uses a certain simulation card in a certain place, then This emulation card can be used as the target emulation card.
  • the candidate simulation card includes an NFC subway card and a QR code type simulation card for taking the subway
  • the NFC subway card is activated and used in the geographic location information of A
  • the QR code type for taking the subway The simulated card is activated and used when B's geographic location information is used.
  • the current geographic location information determined by the terminal is B geographic location information
  • the candidate analog card corresponding to the geographic location information consistent with the current geographic location information is a two-dimensional code type analog card for taking the subway.
  • the simulation card of the QR code type used for taking the subway is used as the target simulation card.
  • the candidate simulated cards used to take the target vehicle are determined, and the historical card information corresponding to each candidate simulated card is obtained, and then according to the historical card information, from each candidate simulated
  • the target simulation card is determined in the card, so as to realize the determination of the target simulation card according to the user's usage habits of the simulation card, and ensure that the determined target simulation card is more in line with the user's usage habits.
  • FIG. 4 is a schematic flowchart of a method for acquiring historical card information provided by an embodiment of the present application.
  • This embodiment relates to an optional implementation of how to acquire historical card information corresponding to each candidate simulated card.
  • the above S302 includes the following steps:
  • the terminal can acquire the geographic location information where it is located, and the geographic location information can be absolute location information such as latitude and longitude coordinates, or altitude information, or location information such as geographic identifiers, where the geographic identifiers can be streets Names, building names, community names, shopping mall names, and even city names.
  • the terminal may acquire the geographic location area where the terminal is located according to the geographic location information of itself. Wherein, the geographic location area includes a certain city area.
  • the terminal acquires historical card information corresponding to each candidate analog card corresponding to city area A.
  • the holder of the terminal may temporarily change the city due to business trips or tourism, etc.
  • the analog card corresponding to the geographical area is convenient for users to use.
  • the simulated cards preset in the terminal include the simulated card corresponding to the city area B and the simulated card corresponding to the city area C. After the simulated card is used to take the candidate simulated card of the target vehicle, the terminal can obtain the historical card information corresponding to the candidate simulated card corresponding to the C city area.
  • the target simulation card is determined from each candidate simulation card corresponding to the geographic location area.
  • the target simulation card is determined from the candidate simulation cards corresponding to the geographic location area, so that the determined target simulation card is the simulation card corresponding to the geographic location area where the terminal is located, so as to facilitate the use of the user.
  • FIG. 5 is a schematic structural diagram of an analog card activation device provided in an embodiment of the present application.
  • the device 500 includes: a detection module 501, a determination module 502, and an activation module 503, wherein:
  • Detection module 501 is used for detecting whether to receive the target radio frequency signal that the target device that is provided with in traffic station transmits;
  • the determination module 502 is configured to determine, from the simulated cards preset in the terminal, a target simulated card for boarding a target vehicle if the target radio frequency signal is received, and the target vehicle is a traffic vehicle in the traffic station. tool;
  • the activation module 503 is configured to activate the target simulation card.
  • the analog card activation device detects whether the target radio frequency signal transmitted by the target device set in the traffic station is received, and if the target radio frequency signal is received, it is determined from the analog card preset in the terminal that the target is used for boarding.
  • the target simulation card of the vehicle, the target vehicle is a vehicle in the traffic station, and the target simulation card is activated.
  • the terminal itself detects the target radio frequency signal, it can determine the target analog card and activate the target analog card, so that the user does not need to manually select and activate the analog card, thus simplifying the user operation and improving the selection efficiency of the analog card .
  • the detection module 501 includes:
  • the demodulation unit is used to demodulate the received radio frequency signal to obtain demodulation information
  • the first determining unit is configured to determine whether the target radio frequency signal is received according to whether the demodulation information is consistent with the target demodulation information, wherein the target demodulation information is to demodulate the target radio frequency signal information available later.
  • the first determination unit is specifically configured to determine if the demodulation information is consistent with the target demodulation information, and the change trend of the field strength of the received radio frequency signal meets the target change trend The target radio frequency signal is received.
  • the change trend of the target is a change trend of the field strength from weak to strong and then from strong to weak.
  • the demodulation unit is specifically configured to demodulate the radio frequency signal to obtain the demodulation information when the field strength of the received radio frequency signal exceeds a field strength threshold.
  • the determining module 502 includes:
  • a second determination unit configured to determine a candidate simulation card for boarding the target vehicle among the simulation cards preset in the terminal
  • An acquisition unit configured to acquire historical card information corresponding to each candidate analog card, where the historical card information is used to indicate that the corresponding candidate analog card was activated and used within a target historical time period;
  • a third determining unit configured to determine the target analog card from each of the candidate analog cards according to the historical card information.
  • the obtaining unit is specifically configured to obtain the geographical location area where the terminal is located; obtain historical card information corresponding to each candidate analog card corresponding to the geographical location area;
  • the third determining unit is specifically configured to determine the target analog card from the candidate analog cards corresponding to the geographic location area according to the historical card information corresponding to each candidate analog card corresponding to the geographic location area.
  • the activation module 503 is specifically used to:
  • the type of the target simulation card is a two-dimensional code type, light the screen of the terminal, and display the target simulation card on the screen;
  • the target analog card is activated.
  • the target device is a security gate.
  • Each module in the above-mentioned analog card activation device can be fully or partially realized by software, hardware and a combination thereof.
  • the above-mentioned modules may be embedded in or independent of the processor in the terminal in the form of hardware, and may also be stored in the memory of the terminal in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.
  • FIG. 6 is an internal structure diagram of a terminal in an embodiment. Its internal structure diagram can be as shown in Figure 6.
  • the terminal includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Wherein, the processor of the terminal is used to provide calculation and control capabilities.
  • the memory of the terminal includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and computer programs.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the terminal is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, an operator network, NFC (Near Field Communication) or other technologies.
  • a simulation card activation method is realized.
  • the display screen of the terminal may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the terminal may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the terminal shell, or It is an external keyboard, touchpad or mouse, etc.
  • FIG. 6 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the terminals to which the solution of this application is applied.
  • Specific terminals may include More or fewer components are shown in the figures, or certain components are combined, or have different component arrangements.
  • a terminal including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above method for activating an analog card when executing the computer program.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method for activating an analog card are implemented.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory or optical memory, etc.
  • Volatile memory can include Random Access Memory (RAM) or external cache memory.
  • RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

本申请涉及一种模拟卡激活方法、装置、终端和存储介质。所述方法包括:检测是否接收到交通站点中设置的目标设备发射的目标射频信号,若接收到目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,目标交通工具为交通站点中的交通工具,对目标模拟卡进行激活处理。采用本方法能够简化用户操作,并提高模拟卡的选择效率。

Description

模拟卡激活方法、装置、终端和存储介质
相关申请
本申请要求2021年09月22日申请的,申请号为2021111077295,名称为“模拟卡激活方法、装置、终端和存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。
技术领域
本申请涉及终端设备技术领域,特别是涉及一种模拟卡激活方法、装置、终端和存储介质。
背景技术
随着移动通信技术以及公共交通行业的发展,大多用户出行时选择乘坐公共交通工具,并且在乘坐某些公共交通工具时例如乘坐地铁时,可能需使用智能终端打开闸机的闸机门。
传统技术中,用户若需乘坐某些公共交通工具,例如需乘坐地铁,需要手动查找并选择所需使用的模拟卡,之后通过模拟卡打开闸机门,以进入地铁站乘坐地铁。
然而,目前的方法,需要人工查找并选择模拟卡,因此存在模拟卡的选择效率较低的问题。
发明内容
基于此,有必要针对上述技术问题,提供一种能够提高模拟卡的选择效率的模拟卡激活方法、装置、终端和存储介质。
一种模拟卡激活方法,所述方法包括:
检测是否接收到交通站点中设置的目标设备发射的目标射频信号;
若接收到所述目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,所述目标交通工具为所述交通站点中的交通工具;
对所述目标模拟卡进行激活处理。
在其中一个实施例中,所述检测是否接收到交通站点中设置的目标设备发射的目标射频信号,包括:
对接收到的射频信号进行解调处理,得到解调信息;
根据所述解调信息与目标解调信息是否一致,确定是否接收到所述目标射频信号,其中,所述目标解调信息为对所述目标射频信号进行解调处理后所能得到的信息。
在其中一个实施例中,所述根据所述解调信息与目标解调信息是否一致,确定是否接收到所述目标射频信号,包括:
若所述解调信息与所述目标解调信息一致,且,接收到的射频信号的场强的变化趋势满足目标变化趋势,则确定接收到所述目标射频信号。
在其中一个实施例中,所述目标变化趋势为场强由弱到强再由强到弱的变化趋势。
在其中一个实施例中,所述对接收到的射频信号进行解调处理,得到解调信息,包括:
在接收到的射频信号的场强超过场强阈值的情况下,对所述射频信号进行解调处理,得到所述解调信息。
在其中一个实施例中,所述从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,包括:
确定所述终端中预置的各所述模拟卡中用于搭乘所述目标交通工具的候选模拟卡;
获取各所述候选模拟卡对应的历史用卡信息,所述历史用卡信息用于指示对应的候选模拟卡在目标历史时间段内被激活使用的情况;
根据所述历史用卡信息,从各所述候选模拟卡中确定所述目标模拟卡。
在其中一个实施例中,所述获取各所述候选模拟卡对应的历史用卡信息,包括:
获取所述终端所处的地理位置区域;
获取所述地理位置区域对应的各候选模拟卡对应的历史用卡信息;
对应地,所述根据所述历史用卡信息,从各所述候选模拟卡中确定所述目标模拟卡,包括:
根据所述地理位置区域对应的各候选模拟卡对应的历史用卡信息,从所述地理位置区域对应的各候 选模拟卡中确定所述目标模拟卡。
在其中一个实施例中,所述对所述目标模拟卡进行激活处理,包括:
若所述目标模拟卡的类型为二维码类型,则点亮所述终端的屏幕,并在所述屏幕上显示所述目标模拟卡;
若所述目标模拟卡的类型为近场通信NFC卡类型,且,所述目标模拟卡处于未激活状态,则对所述目标模拟卡进行激活处理。
在其中一个实施例中,所述目标设备为安检门。
一种模拟卡激活装置,所述装置包括:
检测模块,用于检测是否接收到交通站点中设置的目标设备发射的目标射频信号;
确定模块,用于若接收到所述目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,所述目标交通工具为所述交通站点中的交通工具;
激活模块,用于对所述目标模拟卡进行激活处理。
一种终端,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
检测是否接收到交通站点中设置的目标设备发射的目标射频信号;
若接收到所述目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,所述目标交通工具为所述交通站点中的交通工具;
对所述目标模拟卡进行激活处理。
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:
检测是否接收到交通站点中设置的目标设备发射的目标射频信号;
若接收到所述目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,所述目标交通工具为所述交通站点中的交通工具;
对所述目标模拟卡进行激活处理。
上述模拟卡激活方法、装置、终端和存储介质,通过检测是否接收到交通站点中设置的目标设备发射的目标射频信号,若接收到目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,目标交通工具为交通站点中的交通工具,对目标模拟卡进行激活处理。由于终端自身检测到目标射频信号的情况下,能够确定出目标模拟卡并对目标模拟卡进行激活处理,从而无需用户手动选择模拟卡并激活,因此简化了用户操作,提高了模拟卡的选择效率。
附图说明
图1是本申请实施例提供的一种模拟卡激活方法的流程示意图;
图2是本申请实施例提供的一种目标射频信号检测方法的流程示意图;
图3是本申请实施例提供的一种目标模拟卡确定方法的流程示意图;
图4是本申请实施例提供的一种历史用卡信息获取方法的流程示意图;
图5是本申请实施例提供的一种模拟卡激活装置的结构示意图;
图6是一个实施例中终端的内部结构图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
参照图1,图1是本申请实施例提供的一种模拟卡激活方法的流程示意图。该方法可以应用于智能手机、平板电脑、可穿戴设备等终端,该方法包括以下步骤:
S101、检测是否接收到交通站点中设置的目标设备发射的目标射频信号。
可选的,目标设备可以为安检门或其他能够发出目标射频信号的安检设备。
目标射频信号为包括了用于指示询B类(Type B)卡指令的信息的射频信号,B类卡指符合ISO14443协议的B类卡。若终端接收到目标射频信号,意味着终端的持有者在搭乘目标交通工具前,先通过目 标设备进行安检,此种情况下,意味着终端识别到用户通过目标设备(例如安检门)进行安检的事件。
本申请实施例中,终端可以检测是否接收到交通站点中设置的目标设备发射的目标射频信号。其中,交通站点例如为地铁站点或高铁站点等。本实施例中以交通站点为地铁站点为例进行介绍。
S102、若接收到目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,目标交通工具为交通站点中的交通工具。
在本申请实施例中,终端具备近场通信(NearField Communication,NFC)功能时,终端中可以预置有NFC类型的多张模拟卡,NFC类型的模拟卡指基于NFC功能的模拟卡(即NFC卡),NFC卡可以用于实现门禁电子钥匙、公交卡、地铁卡、考勤卡、电子身份证等。终端中还可以预置有二维码类型的模拟卡,二维码类型的模拟卡可以用于在搭乘公交或地铁等交通工具时打开闸机门或进行支付。
终端若接收到目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡。例如,若终端中预置的模拟卡包括NFC门禁卡、NFC考勤卡以及NFC地铁卡,则将NFC地铁卡作为目标模拟卡。若终端中预置的模拟卡包括NFC门禁卡、NFC考勤卡、NFC地铁卡以及用于搭乘地铁的二维码类型的模拟卡,则可以将NFC地铁卡和/或用于搭乘地铁的二维码类型的模拟卡作为目标模拟卡。
需要说明的是,终端中可以预置有多个NFC卡,终端可以根据各NFC卡的类型确定NFC地铁卡,并将NFC地铁卡作为目标模拟卡。终端中也可以预置有二维码类型的多个模拟卡,终端可以通过API指令与终端上的目标小程序以及应用程序(例如支付宝)进行通信交互,以获取目标小程序以及应用程序的用于搭乘地铁的二维码类型的模拟卡。
S103、对目标模拟卡进行激活处理。
其中,本步骤可以通过如下方式实现:
若目标模拟卡的类型为二维码类型,则点亮终端的屏幕,并在屏幕上显示目标模拟卡;
若目标模拟卡的类型为近场通信NFC卡类型,且,目标模拟卡处于未激活状态,则对目标模拟卡进行激活处理。
其中,若目标模拟卡的类型为二维码类型,则点亮终端的屏幕,并在屏幕上显示目标模拟卡,从而实现在用户搭乘目标交通工具前通过目标设备进行安检时,自动显示二维码类型的模拟卡,进而方便用户直接使用显示的二维码类型的模拟卡进行刷闸机的操作,以打开闸机门。由于无需用户手动选择二维码类型的模拟卡,因此,提高了模拟卡的选择效率。
若目标模拟卡的类型为近场通信NFC卡类型,且,目标模拟卡处于未激活状态,则对目标模拟卡进行激活处理。目标模拟卡的状态包括激活状态和未激活状态,当目标模拟卡处于未激活状态,则对目标模拟卡进行激活处理,以使目标模拟卡从未激活状态切换到激活状态。
由于在终端中预置有例如NFC门禁卡、NFC考勤卡、NFC地铁卡等多个NFC卡的情况下,用户可能有时需要使用例如NFC门禁卡,选择使用NFC门禁卡时终端激活了NFC门禁卡,其他NFC卡都处于未激活状态。如果在用户要搭乘地铁前,用户激活使用了NFC门禁卡,则终端中预置的NFC地铁卡可能处于未激活状态,此种情况下,若目标模拟卡的类型为近场通信NFC卡类型,则对目标模拟卡进行激活处理,以确保目标模拟卡处于激活状态,方便用户使用目标模拟卡打开闸机门。
需要说明的是,若目标模拟卡包括二维码类型的一张模拟卡1和NFC卡类型的一张模拟卡2,则终端可以点亮屏幕,并在屏幕上显示模拟卡1。并且在模拟卡2处于未激活状态的情况下,对模拟卡2进行激活处理。用户可以采用模拟卡1打开闸机门,也可以采用模拟卡2打开闸机门,从而能够为用户提供模拟卡的多种选择使用方式。
本实施例提供的模拟卡激活方法,通过检测是否接收到交通站点中设置的目标设备发射的目标射频信号,若接收到目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,目标交通工具为交通站点中的交通工具,对目标模拟卡进行激活处理。由于终端自身检测到目标射频信号的情况下,能够确定出目标模拟卡并对目标模拟卡进行激活处理,从而无需用户手动选择模拟卡并激活,因此简化了用户操作,提高了模拟卡的选择效率。
参照图2,图2是本申请实施例提供的一种目标射频信号检测方法的流程示意图。本实施例涉及的是检测是否接收到交通站点中设置的目标设备发射的目标射频信号的一种可选的实现方式。在上述实 施例的基础上,上述的S101包括如下步骤:
S201、对接收到的射频信号进行解调处理,得到解调信息。
本实施例中的射频信号为调制的射频信号,本步骤中可以对调制的射频信号捷星解调处理,得到解调信息。
S202、根据解调信息与目标解调信息是否一致,确定是否接收到目标射频信号,其中,目标解调信息为对目标射频信号进行解调处理后所能得到的信息。
目标射频信号为包括了用于指示询Type B类卡指令的信息的射频信号,目标解调信息为对目标射频信号进行解调处理后所能得到的信息,其中用于指示询Type B类卡指令的信息为由0和1组成的信息,对目标射频信号进行解调处理后,可以得到用于指示询Type B类卡指令的信息,即对目标射频信号进行解调处理后得到目标解调信息。
如果终端接收得到的射频信号对应的解调信息与目标解调信息一致,则确定终端接收到目标射频信号;若终端接收得到的射频信号对应的解调信息与目标解调信息不一致,则确定终端未接收到目标射频信号。
本实施例中,对接收到的射频信号进行解调处理,得到解调信息,根据解调信息与目标解调信息是否一致,确定是否接收到目标射频信号,从而实现终端能够判断自身是否接收到目标射频信号,进而判断是否需确定目标模拟卡以及对目标模拟卡进行激活处理。
可选的,上述的S202可以通过如下方式实现:
若解调信息与目标解调信息一致,且,接收到的射频信号的场强的变化趋势满足目标变化趋势,则确定接收到目标射频信号。
可选的,目标变化趋势为场强由弱到强再由强到弱的变化趋势。
目标变化趋势还可以为场强由第一场强阈值变化到第二场强阈值,又从第二场强阈值变化到第一场强阈值。其中,第一场强阈值小于第二场强阈值。
可选的,上述的S201可以通过如下方式实现:
在接收到的射频信号的场强超过场强阈值的情况下,对射频信号进行解调处理,得到解调信息。
本实施例中,在接收到的射频信号的场强超过场强阈值的情况下,对射频信号进行解调处理,得到解调信息。从而可以避免在接收到较弱的射频信号的情况下,对较弱的射频信号进行解调处理可能无法解调出解调信息。由于在进行解调处理时,会浪费终端的功耗,为了避免解调失败等情况导致的终端功耗的浪费,本实施例中在接收到的射频信号的场强超过场强阈值的情况下,才对射频信号进行解调处理,从而可以节省终端的功耗并提高对射频信号进行解调处理的成功率。
参照图3,图3是本申请实施例提供的一种目标模拟卡确定方法的流程示意图。本实施例涉及的是如何从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡的一种可选的实现方式。在上述实施例的基础上,上述的S102包括如下步骤:
S301、确定终端中预置的各模拟卡中用于搭乘目标交通工具的候选模拟卡。
其中,若终端中预置的模拟卡包括NFC门禁卡、NFC考勤卡、NFC地铁卡以及用于搭乘地铁的二维码类型的模拟卡,则将NFC地铁卡以及用于搭乘地铁的二维码类型的模拟卡作为候选模拟卡。
目标交通工具为地铁时,终端可以根据终端中预置的各NFC卡的类型,将类型为地铁类型的NFC地铁卡作为候选模拟卡,以及终端可以通过应用程序接口(Application Programming Interface,API)指令与终端上的目标小程序以及应用程序(例如支付宝)进行通信交互,以获取目标小程序以及应用程序的用于搭乘地铁的二维码类型的模拟卡,将获取到的用于搭乘地铁的二维码类型的模拟卡作为候选模拟卡。
S302、获取各候选模拟卡对应的历史用卡信息,历史用卡信息用于指示对应的候选模拟卡在目标历史时间段内被激活使用的情况。
其中,目标历史时间段例如为最近三天内,历史用卡信息用于指示对应的候选模拟卡在最近三天内被激活使用的情况。历史用卡信息可以包括候选模拟在目标历史时间段内每次被激活使用时终端所在的地理位置信息、时间以及终端在目标历史时间段内被激活使用的次数。候选模拟卡被激活使用的次数可以指候选模拟卡被激活且用于打开闸机门的次数。
S303、根据历史用卡信息,从各候选模拟卡中确定目标模拟卡。
其中,根据历史用卡信息,从各候选模拟卡中确定目标模拟卡,可以通过如下方式实现:
方式一:终端可以获取历史用卡信息对应的候选模拟卡在目标历史时间段内被激活使用的次数,将在目标时间段内被激活使用的最大的次数对应的候选模拟卡作为目标模拟卡。
例如,若候选模拟卡包括一个NFC地铁卡和一个用于搭乘地铁的二维码类型的模拟卡,若NFC地铁卡在目标时间段内被激活使用的次数为6次,而用于搭乘地铁的二维码类型的模拟卡被激活使用的次数为2次,则在目标时间段内被激活使用的最大的次数对应的候选模拟卡为NFC地铁卡,将NFC地铁卡作为目标模拟卡。
方式二:终端可以确定自身所处的当前地理位置信息,将与当前地理位置信息一致的地理位置信息所对应的候选模拟卡作为目标模拟卡。其中,与当前地理位置信息一致的地理位置信息为历史用卡信息中包括的地理位置信息,从而实现根据用户的使用习惯确定目标模拟卡,即用户在某个地点经常使用某个模拟卡,则可以将该模拟卡作为目标模拟卡。
例如,若候选模拟卡包括一个NFC地铁卡和一个用于搭乘地铁的二维码类型的模拟卡,若NFC地铁卡在A地理位置信息时被激活使用,而用于搭乘地铁的二维码类型的模拟卡在B地理位置信息时被激活使用。终端确定的自身所处的当前地理位置信息为B地理位置信息,则与当前地理位置信息一致的地理位置信息所对应的候选模拟卡为用于搭乘地铁的二维码类型的模拟卡,将用于搭乘地铁的二维码类型的模拟卡作为目标模拟卡。
本实施例中,确定终端中预置的各模拟卡中用于搭乘目标交通工具的候选模拟卡,并获取各候选模拟卡对应的历史用卡信息,然后根据历史用卡信息,从各候选模拟卡中确定目标模拟卡,从而实现根据用户对模拟卡的使用习惯确定目标模拟卡,保证确定的目标模拟卡更能符合用户的使用习惯。
参照图4,图4是本申请实施例提供的一种历史用卡信息获取方法的流程示意图。本实施例涉及的是如何获取各候选模拟卡对应的历史用卡信息的一种可选的实现方式。在上述实施例的基础上,上述的S302包括如下步骤:
S401、获取终端所处的地理位置区域。
本实施例中,终端可以获取自身所处的地理位置信息,地理位置信息可以是经纬度坐标等绝对位置信息,也可以是海拔高度信息,还可以是地理标识等位置信息,其中地理标识可以为街道名称、楼宇名称、小区名称、商场名称,甚至城市名称等。终端可以根据自身所处的地理位置信息,获取终端所处的地理位置区域。其中,地理位置区域包括某个城市区域。
S402、获取地理位置区域对应的各候选模拟卡对应的历史用卡信息。
本实施例中,若终端所处的地理位置区域为A城市区域,则终端获取A城市区域对应的各候选模拟卡对应的历史用卡信息。在实际应用中,终端的持有者可能由于需要出差或旅游等原因临时更换了城市,此种情况下,需考虑终端所处的地理位置区域,以保证确定的目标模拟卡为终端所处的地理位置区域对应的模拟卡,方便用户使用。
例如,终端中预置的模拟卡包括B城市区域对应的模拟卡以及C城市区域对应的模拟卡,若终端当前所处的地理位置区域为C城市区域,则在终端确定终端中预置的各模拟卡中用于搭乘目标交通工具的候选模拟卡后,终端可以获取C城市区域对应的候选模拟卡对应的历史用卡信息。
对应地,上述的S303可以通过如下方式实现:
根据地理位置区域对应的各候选模拟卡对应的历史用卡信息,从地理位置区域对应的各候选模拟卡中确定目标模拟卡。
本实施例中,通过获取终端所处的地理位置区域,并获取地理位置区域对应的各候选模拟卡对应的历史用卡信息,然后根据地理位置区域对应的各候选模拟卡对应的历史用卡信息,从地理位置区域对应的各候选模拟卡中确定目标模拟卡,从而实现确定的目标模拟卡为终端所处的地理位置区域对应的模拟卡,以方便用户使用。
应该理解的是,虽然图1-4的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限 制,这些步骤可以以其它的顺序执行。而且,图1-4中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。
如图5所示,图5是本申请实施例提供的一种模拟卡激活装置的结构示意图,该装置500包括:检测模块501、确定模块502和激活模块503,其中:
检测模块501,用于检测是否接收到交通站点中设置的目标设备发射的目标射频信号;
确定模块502,用于若接收到所述目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,所述目标交通工具为所述交通站点中的交通工具;
激活模块503,用于对所述目标模拟卡进行激活处理。
本实施例提供的模拟卡激活装置,通过检测是否接收到交通站点中设置的目标设备发射的目标射频信号,若接收到目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,目标交通工具为交通站点中的交通工具,对目标模拟卡进行激活处理。由于终端自身检测到目标射频信号的情况下,能够确定出目标模拟卡并对目标模拟卡进行激活处理,从而无需用户手动选择模拟卡并激活,因此简化了用户操作,提高了模拟卡的选择效率。
在其中一个实施例中,检测模块501包括:
解调单元,用于对接收到的射频信号进行解调处理,得到解调信息;
第一确定单元,用于根据所述解调信息与目标解调信息是否一致,确定是否接收到所述目标射频信号,其中,所述目标解调信息为对所述目标射频信号进行解调处理后所能得到的信息。
在其中一个实施例中,第一确定单元,具体用于若所述解调信息与所述目标解调信息一致,且,接收到的射频信号的场强的变化趋势满足目标变化趋势,则确定接收到所述目标射频信号。
在其中一个实施例中,所述目标变化趋势为场强由弱到强再由强到弱的变化趋势。
在其中一个实施例中,解调单元,具体用于在接收到的射频信号的场强超过场强阈值的情况下,对所述射频信号进行解调处理,得到所述解调信息。
在其中一个实施例中,确定模块502包括:
第二确定单元,用于确定所述终端中预置的各所述模拟卡中用于搭乘所述目标交通工具的候选模拟卡;
获取单元,用于获取各所述候选模拟卡对应的历史用卡信息,所述历史用卡信息用于指示对应的候选模拟卡在目标历史时间段内被激活使用的情况;
第三确定单元,用于根据所述历史用卡信息,从各所述候选模拟卡中确定所述目标模拟卡。
在其中一个实施例中,所述获取单元,具体用于获取所述终端所处的地理位置区域;获取所述地理位置区域对应的各候选模拟卡对应的历史用卡信息;
对应地,第三确定单元,具体用于根据所述地理位置区域对应的各候选模拟卡对应的历史用卡信息,从所述地理位置区域对应的各候选模拟卡中确定所述目标模拟卡。
在其中一个实施例中,激活模块503,具体用于:
若所述目标模拟卡的类型为二维码类型,则点亮所述终端的屏幕,并在所述屏幕上显示所述目标模拟卡;
若所述目标模拟卡的类型为近场通信NFC卡类型,且,所述目标模拟卡处于未激活状态,则对所述目标模拟卡进行激活处理。
在其中一个实施例中,所述目标设备为安检门。
关于模拟卡激活装置的具体限定可以参见上文中对于模拟卡激活方法的限定,在此不再赘述。上述模拟卡激活装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于终端中的处理器中,也可以以软件形式存储于终端中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种终端,参照图6,图6是一个实施例中终端的内部结构图。其内部结 构图可以如图6所示。该终端包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该终端的处理器用于提供计算和控制能力。该终端的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该终端的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种模拟卡激活方法。该终端的显示屏可以是液晶显示屏或者电子墨水显示屏,该终端的输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的终端的限定,具体的终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,提供了一种终端,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述模拟卡激活方法的步骤。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述模拟卡激活方法的步骤。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种模拟卡激活方法,其特征在于,所述方法包括:
    检测是否接收到交通站点中设置的目标设备发射的目标射频信号;
    若接收到所述目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,所述目标交通工具为所述交通站点中的交通工具;
    对所述目标模拟卡进行激活处理。
  2. 根据权利要求1所述的方法,其特征在于,所述检测是否接收到交通站点中设置的目标设备发射的目标射频信号,包括:
    对接收到的射频信号进行解调处理,得到解调信息;
    根据所述解调信息与目标解调信息是否一致,确定是否接收到所述目标射频信号,其中,所述目标解调信息为对所述目标射频信号进行解调处理后所能得到的信息。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述解调信息与目标解调信息是否一致,确定是否接收到所述目标射频信号,包括:
    若所述解调信息与所述目标解调信息一致,且,接收到的射频信号的场强的变化趋势满足目标变化趋势,则确定接收到所述目标射频信号。
  4. 根据权利要求3所述的方法,其特征在于,所述目标变化趋势为场强由弱到强再由强到弱的变化趋势。
  5. 根据权利要求2所述的方法,其特征在于,所述对接收到的射频信号进行解调处理,得到解调信息,包括:
    在接收到的射频信号的场强超过场强阈值的情况下,对所述射频信号进行解调处理,得到所述解调信息。
  6. 根据权利要求1所述的方法,其特征在于,所述从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,包括:
    确定所述终端中预置的各所述模拟卡中用于搭乘所述目标交通工具的候选模拟卡;
    获取各所述候选模拟卡对应的历史用卡信息,所述历史用卡信息用于指示对应的候选模拟卡在目标历史时间段内被激活使用的情况;
    根据所述历史用卡信息,从各所述候选模拟卡中确定所述目标模拟卡。
  7. 根据权利要求6所述的方法,其特征在于,所述获取各所述候选模拟卡对应的历史用卡信息,包括:
    获取所述终端所处的地理位置区域;
    获取所述地理位置区域对应的各候选模拟卡对应的历史用卡信息;
    对应地,所述根据所述历史用卡信息,从各所述候选模拟卡中确定所述目标模拟卡,包括:
    根据所述地理位置区域对应的各候选模拟卡对应的历史用卡信息,从所述地理位置区域对应的各候选模拟卡中确定所述目标模拟卡。
  8. 根据权利要求1至7任一所述的方法,其特征在于,所述对所述目标模拟卡进行激活处理,包括:
    若所述目标模拟卡的类型为二维码类型,则点亮所述终端的屏幕,并在所述屏幕上显示所述目标模拟卡;
    若所述目标模拟卡的类型为近场通信NFC卡类型,且,所述目标模拟卡处于未激活状态,则对所述目标模拟卡进行激活处理。
  9. 根据权利要求1至7任一所述的方法,其特征在于,所述目标设备为安检门。
  10. 一种模拟卡激活装置,其特征在于,所述装置包括:
    检测模块,用于检测是否接收到交通站点中设置的目标设备发射的目标射频信号;
    确定模块,用于若接收到所述目标射频信号,则从终端中预置的模拟卡中确定用于搭乘目标交通工具的目标模拟卡,所述目标交通工具为所述交通站点中的交通工具;
    激活模块,用于对所述目标模拟卡进行激活处理。
  11. 根据权利要求10所述的装置,其特征在于,所述检测模块,包括:
    解调单元,用于对接收到的射频信号进行解调处理,得到解调信息;
    第一确定单元,用于根据所述解调信息与目标解调信息是否一致,确定是否接收到所述目标射频信号,其中,所述目标解调信息为对所述目标射频信号进行解调处理后所能得到的信息。
  12. 根据权利要求11所述的装置,其特征在于,所述第一确定单元,具体用于若所述解调信息与所述目标解调信息一致,且,接收到的射频信号的场强的变化趋势满足目标变化趋势,则确定接收到所述目标射频信号。
  13. 根据权利要求12所述的装置,其特征在于,所述目标变化趋势为场强由弱到强再由强到弱的变化趋势。
  14. 根据权利要求11所述的装置,其特征在于,所述解调单元,具体用于在接收到的射频信号的场强超过场强阈值的情况下,对所述射频信号进行解调处理,得到所述解调信息。
  15. 根据权利要求10所述的装置,其特征在于,所述确定模块包括:
    第二确定单元,用于确定所述终端中预置的各所述模拟卡中用于搭乘所述目标交通工具的候选模拟卡;
    获取单元,用于获取各所述候选模拟卡对应的历史用卡信息,所述历史用卡信息用于指示对应的候选模拟卡在目标历史时间段内被激活使用的情况;
    第三确定单元,用于根据所述历史用卡信息,从各所述候选模拟卡中确定所述目标模拟卡。
  16. 根据权利要求15所述的装置,其特征在于,所述获取单元,具体用于获取所述终端所处的地理位置区域;获取所述地理位置区域对应的各候选模拟卡对应的历史用卡信息;
    对应地,所述第三确定单元,具体用于根据所述地理位置区域对应的各候选模拟卡对应的历史用卡信息,从所述地理位置区域对应的各候选模拟卡中确定所述目标模拟卡。
  17. 根据权利要求9至16任一所述的装置,其特征在于,所述激活模块,具体用于:
    若所述目标模拟卡的类型为二维码类型,则点亮所述终端的屏幕,并在所述屏幕上显示所述目标模拟卡;
    若所述目标模拟卡的类型为近场通信NFC卡类型,且,所述目标模拟卡处于未激活状态,则对所述目标模拟卡进行激活处理。
  18. 根据权利要求9至16任一所述的装置,其特征在于,所述目标设备为安检门。
  19. 一种终端,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至9中任一项所述的方法的步骤。
  20. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至9中任一项所述的方法的步骤。
PCT/CN2022/112801 2021-09-22 2022-08-16 模拟卡激活方法、装置、终端和存储介质 WO2023045628A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111107729.5 2021-09-22
CN202111107729.5A CN113840279B (zh) 2021-09-22 2021-09-22 模拟卡激活方法、装置、终端和存储介质

Publications (1)

Publication Number Publication Date
WO2023045628A1 true WO2023045628A1 (zh) 2023-03-30

Family

ID=78960186

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/112801 WO2023045628A1 (zh) 2021-09-22 2022-08-16 模拟卡激活方法、装置、终端和存储介质

Country Status (2)

Country Link
CN (1) CN113840279B (zh)
WO (1) WO2023045628A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113840279B (zh) * 2021-09-22 2024-05-14 Oppo广东移动通信有限公司 模拟卡激活方法、装置、终端和存储介质
CN117236350A (zh) * 2023-11-13 2023-12-15 北京紫光青藤微系统有限公司 用于展示nfc模拟卡的方法及装置、电子设备、介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140379391A1 (en) * 2013-06-21 2014-12-25 Mastercard International Incorporated Apparatus, method, and computer program product for bus rapid transit ticketing and the like
CN111432339A (zh) * 2020-03-19 2020-07-17 RealMe重庆移动通信有限公司 近场通信卡片的切换方法、装置、存储介质及电子设备
CN111784334A (zh) * 2020-07-17 2020-10-16 Oppo广东移动通信有限公司 模拟卡切换方法、终端设备及存储介质
WO2021052421A1 (zh) * 2019-09-18 2021-03-25 华为技术有限公司 近距离无线通信的方法和电子设备
WO2021072775A1 (zh) * 2019-10-18 2021-04-22 深圳市欢太科技有限公司 终端支付方法、装置、终端设备及计算机可读取存储介质
CN112906409A (zh) * 2019-12-03 2021-06-04 宇龙计算机通信科技(深圳)有限公司 Nfc卡的切换方法、装置、存储介质和电子设备
CN113840279A (zh) * 2021-09-22 2021-12-24 Oppo广东移动通信有限公司 模拟卡激活方法、装置、终端和存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257071B (zh) * 2017-07-12 2021-10-22 深圳如一探索科技有限公司 设备控制方法、装置及设备
CN107978022B (zh) * 2017-11-03 2019-10-25 阿里巴巴集团控股有限公司 一种公共交通工具的收款设备
CN114781415A (zh) * 2019-03-11 2022-07-22 华为技术有限公司 自动选择nfc模拟卡的方法、电子设备及通信系统
CN110381443B (zh) * 2019-09-05 2022-04-22 北京小米移动软件有限公司 近场通信卡片激活方法和装置
CN113312934B (zh) * 2021-05-26 2023-04-25 维沃移动通信有限公司 Nfc模拟卡选择方法、装置、电子设备和存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140379391A1 (en) * 2013-06-21 2014-12-25 Mastercard International Incorporated Apparatus, method, and computer program product for bus rapid transit ticketing and the like
WO2021052421A1 (zh) * 2019-09-18 2021-03-25 华为技术有限公司 近距离无线通信的方法和电子设备
WO2021072775A1 (zh) * 2019-10-18 2021-04-22 深圳市欢太科技有限公司 终端支付方法、装置、终端设备及计算机可读取存储介质
CN112906409A (zh) * 2019-12-03 2021-06-04 宇龙计算机通信科技(深圳)有限公司 Nfc卡的切换方法、装置、存储介质和电子设备
CN111432339A (zh) * 2020-03-19 2020-07-17 RealMe重庆移动通信有限公司 近场通信卡片的切换方法、装置、存储介质及电子设备
CN111784334A (zh) * 2020-07-17 2020-10-16 Oppo广东移动通信有限公司 模拟卡切换方法、终端设备及存储介质
CN113840279A (zh) * 2021-09-22 2021-12-24 Oppo广东移动通信有限公司 模拟卡激活方法、装置、终端和存储介质

Also Published As

Publication number Publication date
CN113840279B (zh) 2024-05-14
CN113840279A (zh) 2021-12-24

Similar Documents

Publication Publication Date Title
WO2023045628A1 (zh) 模拟卡激活方法、装置、终端和存储介质
US10257314B2 (en) End-to-end user experiences with a digital assistant
EP3133845B1 (en) Method and apparatus for pushing and displaying message
US8635020B2 (en) GPS location and favorite prediction based on in-vehicle meta-data
CN110035180B (zh) 卡片显示方法、装置、终端及存储介质
KR101690595B1 (ko) 이동 단말기 및 이동 단말기의 아이콘 관리 방법
CN107241146B (zh) 射频干扰处理方法、装置、存储介质及终端
CN104685487A (zh) 与附近设备共享内容
US20230098616A1 (en) Method for Invoking NFC Application, Electronic Device, and NFC Apparatus
US20150254636A1 (en) Method and apparatus for providing mobile payment
CN106815518B (zh) 一种应用安装方法及电子设备
JP2015142171A (ja) 無線端末装置、位置情報出力方法及び位置情報出力プログラム
CN103903425A (zh) 出租车叫车系统及方法
CN104238900A (zh) 一种页面定位方法及装置
CN104951933A (zh) 一种安全支付方法及移动终端
CN109923506A (zh) 信息处理方法以及定位芯片、移动终端
CN110622528B (zh) 一种信息推荐方法及装置
WO2021072775A1 (zh) 终端支付方法、装置、终端设备及计算机可读取存储介质
JP5919877B2 (ja) シンクライアントシステム、制御サーバ、端末、セキュリティ制御方法及びセキュリティ制御プログラム
JP5782444B2 (ja) セキュリティ制御機能を備えた情報通信端末、通信システム、及び当該端末が行う通信方法
US20140155099A1 (en) Method and apparatus for displaying location information of call service area in mobile terminal
WO2020238228A1 (zh) 一种服务唤起方法及应用客户端
CN112069843A (zh) 射频信号处理方法、装置和电子设备
WO2017005053A1 (zh) 安装应用程序的方法、服务器和终端
CN112906409A (zh) Nfc卡的切换方法、装置、存储介质和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22871686

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE