Patent Description:
There are often multiple emulated cards configured on a smart watch, a mobile phone and other terminals, and each of the cards corresponds to a different application scenario (such as a bus card, an attendance card, an electronic key of a door lock, etc.). In actual use, the user needs to activate the corresponding emulated card according to the application scenario, and the card may be activated by the user's manual operation or may be determined to be activated automatically by the terminal. Activation of NFC cards is disclosed in <CIT> and <CIT>.

The present disclosure relates generally to the short-range communication technology, and more specifically to a method and apparatus for activating a Near Field Communication (referred to as NFC) card.

According to a first aspect of embodiments of the present disclosure, there is provided a method for activating a Near Field Communication card as defined by claim <NUM>.

In an implementation, the step of determining and activating, in response to detecting that a change of the geographic location conforms to a preset location change rule, a Near Field Communication (NFC) card associated with the preset location change rule includes:.

In an implementation, before determining the NFC card associated with the preset location change rule, the method further includes:.

In an implementation, the step of determining the preset geographic range and determining an association relationship between the preset location change rule and the NFC card according to the extracted at least one key geographical location point includes:.

In an implementation, the step of determining the preset geographic range according to the extracted at least one key geographical location point, and determining an association relationship between the preset location change rule and the NFC card includes:.

In an implementation, the step of detecting the geographical location of the user includes:.

According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for activating a Near Field Communication card as defined by claim <NUM>.

In an implementation, the card matching and activating module includes:.

In an implementation, the apparatus further includes a time determination module,.

In an implementation, the association relationship setting module includes:.

In an implementation, the association relationship setting module includes:
a second associated card setting module configured to determine, for each of the key geographic location points on different motion trajectories that need to use NFC card, the card information of the corresponding NFC card to be used at the key geographic location point, and determine the NFC card corresponding to the determined card information as the NFC card associated with the location change rule characterized by entering the geographic range corresponding to the key geographic location point.

In an implementation, the motion detection module includes:.

According to a third aspect of the embodiments of the present disclosure, there is provided a computer apparatus, including:.

According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a mobile terminal, causes the mobile terminal to perform a method for activating a Near Field Communication card, the method comprising:.

wherein the preset location change rule is configured to characterize entering and/or leaving a preset geographic range.

The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

A process for manually activating an NFC card can include:.

The approach of automatically determining the activation of the NFC card by the terminal needs to integrate information of card-reading device in the emulated card, such as identity information of the card-reading device, geographical location information of the card-reading device, and so on. When using the card, the terminal is put close to the card reading device such as a gate that can read the NFC card, and an automatic determination and activation program is triggered to determine identity information of the gate, compare it with the information of the card reading device in the emulated card, and activate the matched emulated card to the readable state.

In the automatic determination and activation approach, the process of matching and activating the emulated card is started after entering a working range of the card-swiping device (for example, contacting the card-swiping device), which takes a long time. Due to limitation of the environment in which the card reading device is located, such as a subway gate, underground mobile signal coverage is poor, a GPS signal is weak, and the required geographic location information and the like may not be read in time, resulting in a long activation process or even a failed activation, which affects the user's usage.

In summary, both the manual activation approach and the approach of the automatic determination and activation by the terminal have problems of inefficiency and poor user experience.

For management of switching and activating multiple NFC cards in the same terminal, the manual activation process takes ten seconds to several tens of seconds, and requires the user to perform multiple steps of the manual operations, which is cumbersome to use.

In the automatic determination and activation approach, the process of matching and activating the emulated card is started after entering the working range of the card-swiping device (for example, contacting the card-swiping device), which takes a long time. Due to limitation of the environment in which the card reading device is located, such as a subway gate, the underground mobile signal coverage is poor, the GPS signal is weak, and the required geographic location information and the like may not be read in time, resulting in a long activation process or even a failed activation, which affects the user's usage.

As such, both the manual activation approach and the approach of the automatic determination and activation by the terminal have problems of inefficiency and poor user experience.

In order to solve the above problem, the embodiments of the present disclosure provide a method and apparatus for activating a Near Field Communication card, which automatically recognizes a card that needs to be activated and automatically completes activation according to the user's motion trajectory.

Some embodiments of the present disclosure provide a method for activating a Near Field Communication card. The process for performing automatic switching and activation of multiple emulated cards by using the method is as shown in <FIG>, which includes the following steps.

In step <NUM>, a user's geographic location is detected.

In this step, the user's geographic location may be detected by a terminal having a positioning function, such as a smart watch, a smart phone or the like, and the detection includes detection of a real-time geographic location and/or a motion trajectory to obtain a change in the geographic location of the user.

In step <NUM>, in response to detection that the change of the geographical location conforms to a preset location change rule, an NFC card associated with the preset location change rule is determined and activated.

In the embodiments of the present disclosure, a plurality of location change rules for different geographic ranges may be preset, and the preset location change rules are used to characterize entering and/or leaving a preset geographic range. A plurality of NFC cards may be configured on the client, each of the location change rules is associated with an NFC card, and each of the NFC cards is associated with at least one location change rule.

In this step, when the detected change of the geographical location of the user conforms to the preset location change rule, the NFC card associated with the location change rule is determined and activated, and the automatic selection and activation of the NFC card are completed.

In an embodiment of the present disclosure, the NFC card may be used in various scenarios, such as an access card, a bus card, a subway card, an attendance card, or the like.

The embodiments of the present disclosure provide a method and apparatus for activating a Near Field Communication card, in which by detecting a geographic location of a user and when it is detected that a change in the geographic location conforms to a preset location change rule characterizing entry into a preset geographic range and/or leaving the preset geographic range, the Near Field Communication (NFC) card associated with the preset position change rule is determined and activated. Compared with the manual activation and the automatic determination and activation by the terminal in the related art, it is not required to perform the cumbersome activation step by manually activating, and the activation is performed until the user enters the working range of the card swiping device, but the activation may be triggered upon entering and/or leaving the preset geographic range, which not only completes the automatic selection and activation of the NFC card, but also solves the problem of inefficiency and poor user experience in the switching and management process of the emulated card.

Some embodiments of the present disclosure further provide a method for activating a Near Field Communication card. The process for performing automatic activation of the NFC card using the method is as shown in <FIG>, which includes the following steps.

In step <NUM>, at least one location change rule is set, and an association between the location change rule and the NFC card is established.

In this step, at least one location change rule is preset, and the location change rule is used to characterize entering and/or leaving a preset geographic range. A plurality of NFC cards may be configured on the client, each of the location change rules is associated with the NFC card, and each of the NFC cards is associated with at least one location change rule.

In an embodiment, the location change rule may further include a time condition, which may be one or more time points, or may be one or more time periods. The location change rule may be further used to characterize entering into and/or leaving the preset geographic range under the time condition, and may also be used to characterize being within the time condition.

The step <NUM> may be set in advance, and may be triggered to be performed according to a setting indication of the user, and it does not need to be performed each time before the performance of step <NUM>.

In step <NUM>, a geographic location of the user is detected.

This step is as shown in <FIG> and includes the following steps.

In step <NUM>, the detection is triggered according to an activity feature of the user and/or a preset time feature, and information of a geographic location in which the user is currently located is obtained.

In the embodiments of the present disclosure, the geographic location of the user needs to be detected so as to obtain the change in the geographic location of the user, thereby triggering switching and activation of the NFC card.

In a first manner: the detection is triggered according to the activity feature of the user, and the current geographical location information of the user is obtained. The activity feature of the user may be a distance moved in a plane (for example, a plane distance of continuous movement more than <NUM> meters, or continuously walking for <NUM> steps and the plane distance of the movement more than <NUM> meters), and when the activity feature occurs, a positioning component such as a Global Positioning System (GPS) sensor or the like may be started to locate the mobile terminal and determine the information of the geographic location in which the user is currently located.

Since the user is active, a direction of motion may be determined based on the direction in which the user moves so as to facilitate determining the change in the geographic location of the user.

In a second manner, the detection is triggered according to a preset time feature of the user, and information of the geographic location where the user is currently located is obtained. For example, a periodic detection is used as the time feature, and the current geographic location information of the user is periodically obtained according to the preset detection period; and then the motion direction is determined according to the current geographical location information obtained at last time and that obtained presently. The detection period may be configured according to the user's usage habits. Prolonging the detection period appropriately is beneficial to save electric energy, and shortening the detection period appropriately is beneficial to improve a response speed of the automatic detection.

In step <NUM>, a change in the geographic location of the user is determined according to the current geographic location information obtained last time and that obtained presently.

When the geographical location information detected in two adjacent detections (for example, detected currently and previously) indicates that the user has moved, the change of the geographic location of the user may be determined according to the two adjacent geographical location information. In another embodiment, a distance threshold may also be configured, and the geographic location of the user may be determined to be changed when the distance between the geographical location information detected in two adjacent detections reaches the distance threshold.

In step <NUM>, in response to detecting that the change of the geographic location conforms to the preset location change rule, a Near Field Communication (NFC) card associated with the preset location change rule is determined and activated.

In the embodiments of the present disclosure, the preset location change rule may be used to characterize the entry into the preset geographic range. In response to monitoring that the change of the geographic location is entering the preset geographic range from outside the preset geographic range, the NFC card associated with the preset location change rule corresponding to the entry into the preset geographic range is determined and activated. That is, if the detected change of the geographical position of the user is entering the preset geographic range from outside of the preset geographic range, it is determined that the geographic location change of the user conforms to the location change rule corresponding to entering the preset geographic range, thereby the NFC card associated with this location change rule is selected and activated. For example, the attendance card is activated when entering a geographic range corresponding to a company.

The preset location change rule may also be used to characterize leaving from the preset geographic range. In response to monitoring that the change of the geographic location is leaving the preset geographic range from inside of the preset geographic range, the NFC card associated with the preset location change rule corresponding to leaving the preset geographic range is determined and activated. That is, if the detected change of the geographical position of the user is leaving the preset geographical range from inside of the preset geographical range, it is determined that the geographical location change of the user conforms to the location change rule corresponding to leaving the preset geographical range, thereby the NFC card associated with this location change rule is selected and activated. For example, a subway card is activated when leaving a geographic range corresponding to "home".

The preset geographic range is any of at least one geographical range set in advance.

In addition, before or after detecting that the change of the geographical location conforms to the preset location change rule, the method may further include the following steps.

In step <NUM>, a current time period is determined.

In the step <NUM>, in addition to determining the current geographical location information, a current time may also be obtained to determine the current time period. The preset location change rule may further include a time condition. In this case, it is required to obtain information related to the current time period so as to determine whether the preset location change rule is met.

For the case where the current time period is determined before the detection, the respective preset location change rules may be set separately for different time periods, and after determining the current time period, the current geographical location change may be compared with the preset location change rule corresponding to the current time period. For the case where the current time period is determined after the detection, in response to detecting that the geographical position change conforms to the preset location change rule and the same preset location change rule is set in different time periods, the current time period may be determined so as to determine an accurate NFC card.

It should be noted that the step <NUM> is an optional step, which may be enabled or disabled by the user as a system function item in the terminal device, or may be automatically enabled when the user sets the preset location change rule with the time condition.

In another embodiment of the present disclosure, before determining the Near Field Communication (NFC) card associated with the preset location change rule, the method may further include: determining a current time period.

Then, the NFC card associated with the preset location change rule may be determined in the following manner:
determining an NFC card associated with the preset location change rule corresponding to the current time period.

For the case where the user moves back and forth on the same motion trajectory, or the case where the user moves on different motion trajectories on different dates, the corresponding NFC cards may be associated with the preset position change rules corresponding to the different time periods.

Taking the case where the user moves back and forth on the same motion trajectory as an example, it is assumed that the user's commute route is a motion trajectory of the user's round trip on the working day. The motion trajectory for the user to commute to work may include a trajectory from home to the subway station and then to the company, and the motion trajectory for the user to commute from work is reversed, which may include a trajectory from the company to the subway station and then to home. Then, the preset location change rule for leaving the preset geographical range corresponding to the subway station may be associated with either the company's NFC card or the home NFC card.

If it is desired to associate this preset geographic range with the two NFC cards, it may be set by time period, that is, due to different time periods for commuting to and from work, the preset location change rule of leaving the preset geographical range corresponding to the subway station during the commuting-to-work period may be associated with the company's NFC card, and the preset location change rule of leaving the preset geographical range corresponding to the subway station during the commuting-from-work period may be associated with the home NFC card. That is, after monitoring that the change of the geographical position of the user conforms to the preset location change rule, the current time period may be determined because different time periods may correspond to the same preset location change rule, and the same preset location change rule may be associated with different NFC cards. Therefore, by determining the current time period, the truly corresponding preset position change rule can be determined from the same preset position change rule, thereby determining the correct NFC card and performing the activation.

Taking the case whether the user moves on the different motion trajectories on different dates as an example, it is assumed that the user's trajectory is from home to company during a certain time period in the morning of the working day, and is from home to library during the certain time period in the morning on the weekend. The preset location change rule for leaving the preset geographical position corresponding to the subway station may be associated with either the company's NFC card, or the library's NFC card. Similarly, after monitoring that the change of the user's geographic location conforms to the preset location change rule, the current time period of the current date may be determined, thereby determining the NFC card associated with the preset position change rule corresponding to the current time period of the current date, which is not elaborated here.

Some embodiments of the present disclosure further provide a method for activating a Near Field Communication card. The process of setting at least one location change rule and establishing an association between the location change rule and the NFC card by using the method is as shown in <FIG>, including the following steps.

In step <NUM>, a plurality of historical motion trajectories of the same user is collected.

In this step, the plurality of historical motion trajectories of the same user are collected by a mobile terminal having positioning and data collecting functions, such as a mobile phone, a smart watch, a smart bracelet, or the like. In one embodiment, the collected motion trajectories may be classified according to the activity time. For example, the motion trajectories from <NUM>:<NUM> to <NUM>:<NUM> a. are classified into one category (which may be related to a work route), the motion trajectories on Saturday are classified into another category (which may be related to leisure activities), and so on. Corresponding key geographical location points, the geographic range corresponding to the key geographical location points, and the association relationship between the location change rules of the preset geographic ranges corresponding to different categories of motion trajectories and the corresponding NFC cards may be respectively determined according to different categories of motion trajectories.

In step <NUM>, at least one key geographical location point is extracted from the historical motion trajectories.

In the embodiments of the present disclosure, the key geographical location points may be some specific key geographical location points which are preset, or popular or functional sites such as a subway station, a bus station, an office building, a library, etc. In one embodiment, the key location points may include sites where the NFC card may be used. When analyzing the user's historical motion trajectories, these key geographical location points are automatically identified for the user to quickly select the geographic range to be set. The information of the preset key geographical location points may be downloaded to the mobile terminal in advance and updated continuously in subsequent usage; or may be configured in the cloud server, the mobile terminal uploads the collected historical motion trajectories to the cloud server, and the cloud server extracts the key geographical location points therefrom and returns relevant information to the mobile terminal.

In step <NUM>, the preset geographic range is determined according to the extracted at least one key geographical location point, and an association relationship between the preset location change rule and the NFC card is determined.

In this step, the information of the key geographical location point may be output for reference by the user, and the setting of the geographic range and the associated NFC card are completed according to the configuration instruction fed back by the user; or a setting rule may be configured in the system, and the setting of the geographical range and the associated NFC card may be completed automatically according to the setting rule.

The process of setting the geographic range and the associated NFC card according to the configuration instruction fed back by the user is as shown in <FIG>, including the following steps.

In step <NUM>, information of at least one key geographical location point is output.

In this step, some or all of the information of the associated geographic location points extracted are outputted, and may be directly presented by the mobile terminal, or may be sent to the user's mobile phone or the like and presented by the application program. It may be presented on a display screen of the terminal such as mobile phone in the form of a list for users to view.

The user may select some or all of the key geographical location points therefrom and configure the corresponding geographical range for each of the key geographical location point. For example, a circle with a radius of <NUM> meters centered on the key geographical location point on map page is the corresponding geographical range. In an embodiment, if an area covered by the key geographical location point is large, the center may be set on a central point or other points of the area covered by the key geographical location point, or a position of the NFC card swiping device corresponding to the key geographical location point. When the center is set on the position of the NFC card swiping device corresponding to the key geographical location point, the set geographical range may be larger than a range in which the card swiping device can sense, that is, a working range of the card swiping device.

After completing the configuration, the user sends a configuration instruction to the mobile terminal, and the configuration instruction indicates at least one key geographical location point and a geographical range corresponding to each of the key geographical location points.

In step <NUM>, the configuration instruction fed back by the user for the output information is received, at least one key geographical location point and the geographic range corresponding to each of the geographical location key points of being indicated in the configuration instruction.

In step <NUM>, a corresponding geographic range for the indicated key geographical location point is determined according to the configuration instruction.

In this step, after the configuration instruction is received, the corresponding geographical range may be determined for the indicated key geographical location point according to the key geographical location point and the corresponding geographical range thereof indicated in the configuration instruction.

In the embodiments of the present disclosure, the geographical range may be a standard geometry such as a perfect circle, a square or the like, or may be a closed or unclosed geographical region drawn by the user. For example, north of the North Third Ring Road is an unclosed geographical region.

In step <NUM>, an association instruction that is fed back by the user for each of the indicated key geographical location points is received, where the association relationship between the location change rules characterized by entering or leaving the geographic ranges corresponding to the respective key geographical location points and the corresponding NFC cards to be activated is indicated in the association instruction.

In step <NUM>, the corresponding NFC card is associated with the indicated location change rule according to the association instruction.

In this step, after the geographical range is determined, the location change rule may also be formed according to the association instruction sent by the user, and an association relationship between the location change rule and the NFC card is established. In general case, one NFC card may correspond to multiple application scenarios, and thus one NFC card may be associated with one or more location change rules; while one location change rule is associated with one NFC card.

In another embodiment, the process of setting the geographic range and the associated NFC card automatically performed by the system is as shown in <FIG>, including the following steps.

In step <NUM>, the key geographical location point that needs to use the NFC card is determined from the extracted at least one key geographical location point according to a history record of using the NFC card by the user.

In step <NUM>, for each of the key geographical location points on the different trajectories that need to use the NFC card, the card information of the corresponding NFC card to be used at a next geographic location point to be arrived after leaving the geographic range corresponding to this key geographical location point is determined according to an order of arrival of the key geographical location points that need to use the NFC card on the different trajectories, and the NFC card corresponding to the determined card information is determined as the NFC card associated with the location change rule characterized by leaving the geographic range corresponding to this key geographical location point.

In this step, for the motion trajectory of commuting to work, it can identify that the key geographic location points on this motion trajectory that need to use NFC card includes: home, the subway station, and the company. The arrival order of these key geographic locations on this commuting trajectory is: home, the subway station, and then the company. With respect to the key geographical location point of home, the card information of the corresponding NFC card to be used at the next arriving geographic location point, that is, the subway station, after leaving the geographical range corresponding to home may be determined, and the corresponding NFC card to be used at the subway station may be determined as the NFC card which is associated with the location change rule characterized by leaving the geographical range corresponding to home.

In step <NUM>, for each of the key geographic location points on different motion trajectories that need to use NFC card, the card information of the corresponding NFC card to be used at this key geographic location point is determined, and the NFC card corresponding to the determined card information is determined as the NFC card associated with the location change rule characterized by entering the geographic range corresponding to this key geographic location point.

In this step, for the motion trajectory of commuting from work, it can identify that the key geographic location points on this motion trajectory that need to use NFC card includes: the company, the subway station, and home. The arrival order of these key geographic locations on this commuting trajectory is: the company, the subway station, and the home. With respect to the key geographic location point of home, the card information of the corresponding NFC card to be used at home may be determined, and the NFC card to be used at home corresponding to the determined card information may be determined as the NFC card which is associated with the location change rule characterized by entering the geographical range corresponding to home.

In the above steps, for the same NFC card, the user can associate it with the location change rule of leaving a certain geographical range, or associate it with the location change rule of entering a certain geographical range according to their own convenience settings. For example, the metro card may be set to be associated with the location change rule of leaving the geographical range corresponding to home, or with the location change rule of entering the geographical range corresponding to the subway station, which is not limited by the present disclosure.

In this embodiment, in the process of collecting and analyzing the user's motion track, it can be found that there are different motion trajectories for different time periods on different days, for example, the motion trajectories for commuting-to-work periods on working days, for commuting-off-work period on working days, and for leisure and going out periods on weekends. When collecting and filtering the motion trajectories, the user's usual motion trajectories may be selected. Therefore, there may be multiple different types of motion trajectories. The steps of determining the key geographical locations for the different types of motion trajectories and determining the NFC cards associated with the geographical ranges corresponding to the key geographical locations may be performed respectively.

It should be noted that there is no strict timing relationship for step <NUM> and step <NUM> and they may be applied individually or commonly to generate the association relationship between the location change rule and the NFC card. The step <NUM> or step <NUM> may be set as a separate function item of the system's functions, and the user may enable or disable the configuration manner of the association relationship provided by the step <NUM> or step <NUM> by turning on or off this function item.

Some embodiments of the present disclosure further provide an apparatus for activating a Near Field Communication card, the structure of which is shown in <FIG>, including:.

In one embodiment, a structure of the card matching and activating module <NUM> is shown in <FIG>, including:.

In one embodiment, the structure of the apparatus is shown in <FIG>, and further includes:.

In one embodiment, the structure of the device is shown in <FIG>, and further includes:.

In one embodiment, the structure of the association relationship setting module <NUM> is shown in <FIG>, and includes:.

an association card setting module <NUM> which is configured to associate the corresponding NFC card with the indicated position change rule according to the association instruction.

In one embodiment, the structure of the association relationship setting module <NUM> is shown in <FIG>, an includes:.

In one embodiment, the structure of the motion detection module <NUM> is shown in <FIG>, and includes:.

With respect to the apparatuses in the above embodiments, the manners for performing operations for individual modules therein have been described in detail in the embodiments regarding the methods, which will not be elaborated herein. The above apparatus may be integrated into wearable devices such as smart watches, smart bracelets, or the like, or may be integrated into personal smart mobile terminals with positioning functions such as smart phones or the like, and the corresponding functions are realized by the terminals.

Some embodiments of the present disclosure further provide a computer apparatus, including:.

<FIG> is a block diagram of an apparatus (or device) <NUM> for activating a Near Field Communication card, according to some embodiments. For example, the apparatus <NUM> may be any apparatus or device capable of integrating NFC function and being used as a virtual NFC card, such as a wearable device (for example, a smart watch, a smart bracelet, and so on), a mobile phone, a tablet computer, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet, a medical device, exercise equipment, a personal digital assistant, and the like.

The various device components, circuits, modules, units, blocks, or portions may have modular configurations, or are composed of discrete components, but nonetheless may be referred to as "modules" in general. In other words, the "components," "circuits," "modules," "units," "blocks," or "portions" referred to herein may or may not be in modular forms.

Examples of such data include instructions for any applications or methods operated on the apparatus <NUM>, contact data, phonebook data, messages, pictures, video, etc. The memory <NUM> may be implemented using any type of volatile or non-volatile memory devices, or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic or optical disk.

The multimedia component <NUM> includes a screen providing an output interface between the apparatus <NUM> and the user. In some embodiments, organic light-emitting diode (OLED) or other types of displays can be employed.

The audio component <NUM> is configured to output and/or input audio signals. For example, the audio component <NUM> includes a microphone ("MIC") configured to receive an external audio signal when the apparatus <NUM> is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in the memory <NUM> or transmitted via the communication component <NUM>. In some embodiments, the audio component <NUM> further includes a speaker to output audio signals.

The sensor component <NUM> includes one or more sensors to provide status assessments of various aspects of the apparatus <NUM>. For instance, the sensor component <NUM> may detect an open/closed status of the device <NUM>, relative positioning of components, e.g., the display and the keypad, of the apparatus <NUM>, a change in position of the apparatus <NUM> or a component of the apparatus <NUM>, a presence or absence of user contact with the apparatus <NUM>, an orientation or an acceleration/deceleration of the apparatus <NUM>, and a change in temperature of the apparatus <NUM>.

The communication component <NUM> is configured to facilitate communication, wired or wirelessly, between the apparatus <NUM> and other devices. The apparatus <NUM> can access a wireless network based on a communication standard, such as Wi-Fi, <NUM>, <NUM>, <NUM>, or <NUM>, or a combination thereof. In one exemplary embodiment, the communication component <NUM> receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component <NUM> further includes a near field communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on a radio frequency identification (RFID) technology, an infrared data association (IrDA) technology, an ultra-wideband (UWB) technology, a Bluetooth (BT) technology, and other technologies.

In exemplary embodiments, the apparatus <NUM> may be implemented with one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components, for performing the above described methods.

In exemplary embodiments, there is also provided a non-transitory computer-readable storage medium including instructions, such as included in the memory <NUM>, executable by the processor <NUM> in the apparatus <NUM>, for performing the above-described methods. For example, the non-transitory computer-readable storage medium may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disc, an optical data storage device, and the like.

A non-transitory computer-readable storage medium including instructions which, when executed by a processor in a mobile terminal, cause the mobile terminal to perform a method for activating a Near Field Communication card, the method including:.

Various embodiments of the present disclosure therefore can provide a method and apparatus for activating a Near Field Communication card with one or more of the following advantages. A user's geographic location is detected, and the NFC card associated with the preset location change rule is determined and activated in response to detecting that the change of the geographic location conforms to the preset location change rule characterizing entering and/or leaving the preset geographic range. According to the change of the user's geographical location, a prediction of scenario in which the NFC card is used is realized, and on this basis, the automatic NFC card switching and activation is carried out, which solves the problems of low efficiency and poor user experience in the NFC card activation approach.

In the present disclosure, the terms "installed," "connected," "coupled," "fixed" and the like shall be understood broadly, and can be either a fixed connection or a detachable connection, or integrated, unless otherwise explicitly defined. These terms can refer to mechanical or electrical connections, or both. Such connections can be direct connections or indirect connections through an intermediate medium. These terms can also refer to the internal connections or the interactions between elements. The specific meanings of the above terms in the present disclosure can be understood by those of ordinary skill in the art on a case-by-case basis.

In the description of the present disclosure, the terms "one embodiment," " some embodiments," "example," "specific example," or "some examples," and the like can indicate a specific feature described in connection with the embodiment or example, a structure, a material or feature included in at least one embodiment or example. In the present disclosure, the schematic representation of the above terms is not necessarily directed to the same embodiment or example.

In some embodiments, the control and/or interface software or app can be provided in a form of a non-transitory computer-readable storage medium having instructions stored thereon is further provided. For example, the non-transitory computer-readable storage medium can be a ROM, a CD-ROM, a magnetic tape, a floppy disk, optical data storage equipment, a flash drive such as a USB drive or an SD card, and the like.

A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more portions, subprograms, or portions of code).

It should be understood that "a plurality" or "multiple" as referred to herein means two or more. "And/or," describing the association relationship of the associated objects, indicates that there may be three relationships, for example, A and/or B may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately. The character "/" generally indicates that the contextual objects are in an "or" relationship.

In the present disclosure, it is to be understood that the terms "lower," "upper," "under" or "beneath" or "underneath," "above," "front," "back," "left," "right," "top," "bottom," "inner," "outer," "horizontal," "vertical," and other orientation or positional relationships are based on example orientations illustrated in the drawings, and are merely for the convenience of the description of some embodiments, rather than indicating or implying the device or component being constructed and operated in a particular orientation. Therefore, these terms are not to be construed as limiting the scope of the present disclosure.

In the present disclosure, a first element being "on" a second element may indicate direct contact between the first and second elements, without contact, or indirect geometrical relationship through one or more intermediate media or layers, unless otherwise explicitly stated and defined. Similarly, a first element being "under," "underneath" or "beneath" a second element may indicate direct contact between the first and second elements, without contact, or indirect geometrical relationship through one or more intermediate media or layers, unless otherwise explicitly stated and defined.

Claim 1:
A method performed by an apparatus for activating a Near Field Communication, NFC, card, comprising:
detecting (<NUM>, <NUM>) a geographical location of a user; and
in response to detecting that a change of the geographic location conforms to a preset location change rule, determining and activating (<NUM>, <NUM>) an NFC card associated with the preset location change rule among a plurality of NFC cards,
wherein the preset location change rule is configured to characterize entering and/or leaving a preset geographic range,
characterized in that the method further comprises:
collecting (<NUM>) a plurality of historical motion trajectories of a same user; classifying the collected plurality of historical motion trajectories into different categories of the historical motion trajectories according to activity time;
extracting (<NUM>) at least one key geographic location point from the different categories of the historical motion trajectories respectively; and
determining the preset geographic range and determining an association relationship between the preset location change rule and the NFC card according to the extracted at least one key geographical location point (<NUM>),
wherein the determining the preset geographic range according to the extracted at least one key geographical location point, and determining the association relationship between the preset location change rule and the NFC card (<NUM>) comprises:
determining (<NUM>), from the extracted at least one key geographical location point, the key geographical location point that needs to use the NFC card according to a history record of using the NFC card by the user;
determining, for each of the key geographical location points on different categories of the motion trajectories that need to use the NFC card, card information of the corresponding NFC card to be used at a next geographic location point to be arrived after leaving the geographic range corresponding to the key geographical location point according to an order of arrival of the key geographical location points that need to use the NFC card on the motion trajectories, and determining the NFC card corresponding to the determined card information as the NFC card associated with the location change rule characterized by leaving the geographic range corresponding to the key geographical location point (<NUM>).