CN112418368A - NFC card processing method and device, NFC card processing equipment and NFC card processing storage medium - Google Patents

NFC card processing method and device, NFC card processing equipment and NFC card processing storage medium Download PDF

Info

Publication number
CN112418368A
CN112418368A CN202011345909.2A CN202011345909A CN112418368A CN 112418368 A CN112418368 A CN 112418368A CN 202011345909 A CN202011345909 A CN 202011345909A CN 112418368 A CN112418368 A CN 112418368A
Authority
CN
China
Prior art keywords
card reading
card
application
reading application
nfc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011345909.2A
Other languages
Chinese (zh)
Inventor
郑州
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
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 Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202011345909.2A priority Critical patent/CN112418368A/en
Publication of CN112418368A publication Critical patent/CN112418368A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0032Apparatus for automatic testing and analysing marked record carriers, used for examinations of the multiple choice answer type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a processing method, a processing device, equipment and a storage medium of a Near Field Communication (NFC) card; wherein the method comprises the following steps: determining a card reading application set corresponding to the NFC card to be processed; determining a usage heat of each card reading application in the card reading application set under the condition that the card reading application set comprises at least two card reading applications; sorting the card reading applications in the card reading application set according to the sequence of the use heat from high to low; and displaying the sorted card reading application set for the user to select the card reading application to be used.

Description

NFC card processing method and device, NFC card processing equipment and NFC card processing storage medium
Technical Field
The embodiment of the application relates to a Communication technology, and relates to a method and a device for processing a Near Field Communication (NFC) card, equipment and a storage medium.
Background
NFC is an emerging communication technology, and devices (e.g., mobile terminals) using NFC technology can exchange data in close proximity to each other. The technology is integrated and evolved by a non-contact Radio Frequency Identification (RFID) and interconnection and intercommunication technology, and realizes the applications of mobile payment, electronic ticketing, entrance guard, mobile identity Identification, anti-counterfeiting and the like by integrating the functions of an induction type card reader, an induction type card and point-to-point communication on a single chip and utilizing a mobile terminal.
The related NFC read distribution technology, that is, the native card reading distribution process of the android system, is completed through cooperation between the NFC service and the card reading application. The NFC service is used for analyzing card data and card characteristics, and the card reading application is used for registering the type of the characteristic card expected by the card reading application. After the NFC service reads the card, matching the extracted card characteristic data with data registered by a card reading application; if the matching is successful, the data is distributed to the corresponding application.
However, when multiple card reading applications are matched, the applications need to be displayed for selection by the user, and this is often the case: the card reading application selected by the user cannot process data of the NFC card, and card reading failure is caused.
Disclosure of Invention
In view of this, the processing method and device for the NFC card, the device, and the storage medium provided in the embodiments of the present application can improve the probability that the user selects the correct card reading application, thereby improving the success rate of card reading and further improving the use experience of the user. The processing method, device, equipment and storage medium of the NFC card provided by the embodiment of the application are realized as follows:
the processing method of the NFC card provided by the embodiment of the application comprises the following steps: determining a card reading application set corresponding to the NFC card to be processed; determining a usage heat of each card reading application in the card reading application set under the condition that the card reading application set comprises at least two card reading applications; sorting the card reading applications in the card reading application set according to the sequence of the use heat from high to low; and displaying the sorted card reading application set for the user to select the card reading application to be used.
The processing apparatus of NFC card that this application embodiment provided includes: the determining module is used for determining a card reading application set corresponding to the NFC card to be processed; the determining module is further used for determining the use heat of each card reading application in the card reading application set under the condition that the card reading application set comprises at least two card reading applications; the sorting module is used for sorting the card reading applications in the card reading application set according to the sequence of the use heat from high to low; and the display module is used for displaying the sorted card reading application set so that a user can select a card reading application to be used.
The electronic device provided by the embodiment of the application comprises a memory and a processor, wherein the memory stores a computer program which can run on the processor, and the processor executes the program to realize the method provided by the embodiment of the application.
The computer readable storage medium provided by the embodiment of the present application has a computer program stored thereon, and the computer program is used for implementing the method described in the embodiment of the present application when being executed by a processor.
In the embodiment of the application, when an NFC card to be processed is identified, a card reading application set corresponding to the NFC card to be processed is determined, and under the condition that the card reading application set comprises at least two card reading applications, the card reading applications in the set are displayed in the order from high use heat to low use heat, rather than the order of the initials of the application names, the card reading applications to be selected are displayed; therefore, the probability of selecting the correct card reading application by the user is greatly improved, and the card reading success rate of the electronic equipment is correspondingly improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of an implementation flow of a processing method for an NFC card according to an embodiment of the present application;
fig. 2 is a schematic implementation flow diagram of another NFC card processing method provided in the embodiment of the present application;
fig. 3 is a schematic implementation flow diagram of another NFC card processing method provided in the embodiment of the present application;
FIG. 4A is a schematic diagram of an application selection interface provided in an embodiment of the present application;
FIG. 4B is a schematic diagram of an expanded application selection interface provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of an android native card reading distribution process;
FIG. 6 is a schematic view of an application selection interface;
FIG. 7 is a schematic diagram of a card reading distribution process provided by an embodiment of the present application;
fig. 8 is a schematic structural diagram of a processing device of an NFC card according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, specific technical solutions of the present application will be described in further detail below with reference to the accompanying drawings in the embodiments of the present application. The following examples are intended to illustrate the present application but are not intended to limit the scope of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
It should be noted that the terms "first \ second \ third" are used herein to distinguish similar or different objects and do not denote a particular order or importance to the objects, and it should be understood that "first \ second \ third" may be interchanged with a particular order or sequence where permissible to enable embodiments of the present application described herein to be practiced otherwise than as shown or described herein.
The embodiment of the application provides a processing method of an NFC card, the method is applied to electronic equipment, the electronic equipment can be various types of equipment with information processing capability in the implementation process, for example, the electronic equipment can comprise a mobile phone, a tablet computer, intelligent wearable equipment (such as an intelligent bracelet) and the like. The functions implemented by the method can be implemented by calling program code by a processor in an electronic device, and the program code can be stored in a computer storage medium.
Fig. 1 is a schematic implementation flow diagram of a processing method of an NFC card provided in an embodiment of the present application, and as shown in fig. 1, the method may include the following steps 101 to 104:
step 101, determining a card reading application set corresponding to an NFC card to be processed.
In some embodiments, the set of card reading applications may include an uninstalled card reading application and an installed card reading application in the electronic device. In other embodiments, the set of card reading applications may also include only card reading applications installed in the electronic device. That is, the electronic device may select, from the installed card reading applications, a card reading application that supports NFC cards belonging to the distribution type, thereby obtaining the set of card reading applications. For example, the electronic device may implement step 101 through step 201 and step 202 of the following embodiments.
Step 102, determining the usage heat of each card reading application in the card reading application set under the condition that the card reading application set comprises at least two card reading applications.
In some embodiments, the electronic device may determine the usage heat of the card reading application according to the number of times the card reading application is downloaded, the frequency of the user using the card reading application, and/or the number of times the user reads the NFC card using the card reading application.
In other embodiments, the electronic device may further determine the usage heat of each card reading application in advance, and these information is recorded in the corresponding white list, so that when step 102 is implemented, the electronic device may directly obtain the usage heat of the card reading application from the preset white list. For example, the electronic device may implement step 102 through step 207 to step 209 of the following embodiments.
103, sorting the card reading applications in the card reading application set according to the sequence of the use heat from high to low;
and 104, displaying the sorted card reading application set for the user to select the card reading application to be used.
It is understood that the higher the usage heat of the card reading application, the more likely it is that the NFC card to be processed is correctly recognized and processed, and the more likely it is the card reading application that the user desires to use. Therefore, in the embodiment of the application, the card reading applications in the set are sorted in the order of the heat of use from high to low, so that the application with the higher heat of use is displayed more forward, and is easier to be selected by a user. Therefore, the method for processing the NFC card can improve the probability of selecting the correct card reading application by the user, so that the success rate of card reading is improved, and the use experience of the user is improved.
In practical applications, when the number of card reading applications included in the card reading application set is greater than or equal to 2, the program cannot determine to which application to distribute the data stored in the NFC card for processing, and in such a case, an application selection interface including icons of the applications is usually popped up to allow the user to select a certain application to process the NFC card. However, in general, in the face of these displayed applications, the user does not have the ability to accurately judge the processing capability of the card reading application on the read card, and eventually, the application selected by the user at a high probability cannot correctly read the read card, that is, the selected card reading application is "wrong", and the user experience is poor.
In view of this, in the embodiment of the present application, the electronic device displays the card reading applications to be selected in the order of the use heat from high to low, instead of displaying the card reading applications to be selected in the order of the initials of the application names; therefore, the probability of selecting the correct card reading application by the user is greatly improved, and the card reading success rate of the electronic equipment is correspondingly improved.
Fig. 2 is a schematic flow chart illustrating an implementation of the processing method for the NFC card provided in the embodiment of the present application, and as shown in fig. 2, the method may include the following steps 201 to 211:
step 201, determining the distribution type of the NFC card to be processed as one of the following: NDEF, TECH, TAG.
In contrast to the target type obtained in step 204 below, the NFC card is actually roughly recognized here to recognize the distribution type supporting the NFC card.
It should be noted that NDEF, an abbreviation of NFC Data Exchange Format, refers to an NFC Data Exchange Format, that is, a Data Format in an NFC tag agreed by an NFC organization; the method is defined in an android native card reading distribution system as follows: and if the distribution type of the NFC card is NDEF, distributing the NFC card data according to a distribution rule corresponding to the type.
TECH, an abbreviation of Technology, refers to the hardware radio frequency Technology adopted by NFC cards, such as: TypeA, TypeB, etc.; the method is defined in an android native card reading distribution system as follows: and if the distribution type of the NFC card is TECH, distributing the NFC card data according to a distribution rule corresponding to the type.
TAG, which refers to NFC card capable of recording data; the method is defined in an android native card reading distribution system as follows: and if the distribution type of the NFC card is TAG, distributing the NFC card data according to a distribution rule corresponding to the type.
Step 202, determining a card reading application supporting the distribution type of the NFC card from the installed applications to obtain a card reading application set.
In the android native card reading distribution system, three intents (Intent) are defined, listed as follows in priority from high to low:
ACTION _ NDEF _ uncovered. If a tag containing the NDEF load is scanned and its type can be identified, this Intent is used to initiate Activity (Activity). This is the highest priority Intent, and the tag scheduling system will try to use this Intent to start Activity whenever possible, and will not try to use other intents when the line is not up.
ACTION _ TECH _ uncovered: if the Activity of the ACTION _ NDEF _ DISCOVERED Intent is not registered, the tag scheduling system will attempt to use this Intent to launch the application. Furthermore, if the scanned tag contains NDEF data that cannot be mapped to a MIME type or URI defined by an android, or the tag does not contain NDEF data, but it uses known tagging techniques, then this Intent is also directly enabled without first enabling ACTION _ NDEF _ uncovered.
ACTION _ TAG _ uncovered: if Activity of the ACTION _ NDEF _ DISCOVERED or ACTION _ TECH _ DISCOVERED Intent is not processed, then the Intent is used to initiate Activity.
It is understood that Activity is one of the four most basic and most commonly used components in Android (Android) components. In an android application, an Activity is usually a separate screen on which controls can be displayed and in which events from the user can be monitored and processed in response. Activity communicates with each other through Intent. Intent in android is a very important and commonly used class that can be used to launch another component in an application or another application in one component, where the components are referred to as Activity, Service, and Broadcast.
Step 203, determining the number of applications in the card reading application set; in case the number of applications is 0, performing step 204; in case the number of applications is 1, performing step 206; in case the number of applications is greater than or equal to 2, perform step 207;
it is to be understood that the number of applications in the set is 0, which indicates that there is no card reading application supporting the distribution type of the NFC card in the installed applications, and step 204 may be executed.
And step 204, determining the target type of the NFC card.
In contrast to the identification of the distribution type, step 204 is actually a fine identification of the NFC card, so as to determine the target type of the NFC card. That is, the accuracy of the target type is higher than the accuracy of the distribution type.
In some embodiments, the electronic device may read data stored by the NFC card; then, analyzing the data and extracting characteristics; based on the extracted features, a specific type (i.e., target type) of the card is determined. It will be appreciated that the target type is more accurate than the distribution type.
For example, assuming that the NFC card to be processed is a bus card, the distribution type of the NFC card is identified as a TECH card through step 201, and the target type of the NFC card can be identified as a shanghai tong bus card through step 204.
Step 205, recommending the card reading application supporting the target type to the user, so as to guide the user to download the recommended card reading application.
As can be appreciated, since the accuracy of the target type is higher than the accuracy of the distribution type, recommending the card reading application to the user based on the target type of the card is more accurate than recommending the card reading application to the user based on the distribution type of the card. In other words, the recommended card reading application has a higher success rate of reading card data.
For example, if the NFC card to be processed is a public transportation card, only the type of the public transportation card is a TECH card through step 201, and the accuracy of the identification result is very low because the TECH is a physical characteristic existing in each card; if the card reading application supporting the card is recommended based on the TECH card, the recommended result precision is very low, and the recommended card reading application may not successfully read the data of the card; therefore, further, the electronic device performs a fine recognition of the public transportation card, for example, recognizing that the card is not only a public transportation card (distribution type), but also a "city card" (target type) of west ampere; therefore, the card reading application recommended based on the result is more accurate, and the card reading success rate is correspondingly higher.
Step 206, distributing the data stored in the NFC card to a card reading application in the card reading application set, so that the data is processed by the application;
step 207, determining the target type of the NFC card;
here again the target type of the NFC card obtained by the electronic device through a fine recognition of the NFC card to be processed.
Step 208, determining a target application supporting the target type in the card reading application set;
and 209, setting the use heat of the target application to be higher than the use heat of the non-target application in the card reading application set.
It can be understood that the card reading application set is a result of screening applications based on distribution types of NFC cards, and the screening is coarse, so that some of the card reading applications may not process data stored in the card. Through the steps 207 and 208 of the embodiment of the application, the card reading application set is further screened, so that the card reading applications obtained through the further screening are preferentially displayed through the steps 209 and 210, the number of applications selected by the user is reduced, the probability that the user selects the correct card reading application is further improved, and the card reading success rate can be correspondingly improved.
In some embodiments, the electronic device may implement step 208 by: acquiring a preset white list corresponding to the target type, wherein the preset white list comprises a card reading application which supports the target type and meets the requirement of use heat and the corresponding use heat; determining a target application in the preset white list in the card reading application set; accordingly, step 209 comprises: acquiring the use heat of the target application from the preset white list; the usage heat of the non-target application is set to be lower than the usage heat of each of the target applications.
For example, assume that the determined set of card reading applications includes a card reading application a, a card reading application B, a card reading application C, a card reading application D, a card reading application E, and a card reading application F based on the distribution type of the NFC card. Based on the fine identification result of the NFC card, namely the target type, obtaining a preset white list corresponding to the target type, wherein the preset white list comprises a card reading application A, a card reading application C and a card reading application D, and the use heat degrees of the three applications are respectively 80, 90 and 95; wherein, the larger the value, the higher the heat of use. The resulting heat of use for card reading applications a through F is then as shown in table 1 below:
TABLE 1
Card reading application Heat of use Card reading application Heat of use
Card reading application A 80 Card reading application D 95
Card reading application B 0 Card reading application E 0
Card reading application C 90 Card reading application F 0
And step 210, sorting the card reading applications in the card reading application set according to the sequence of the use heat from high to low.
In some embodiments, the usage heat of each card reading application in the preset white list is characterized by a priority, and the usage heat is positively correlated with the priority; that is, the higher the priority, the higher the usage heat; conversely, the lower the priority, the lower the degree of use. Then, the electronic device may set the priority of the non-target application in the set of card reading applications to the lowest priority.
Accordingly, the electronic device may sort the card reading applications in the card reading application set according to the priority from high to low.
And step 211, displaying the sorted card reading application set for the user to select the card reading application to be used.
In some embodiments, the electronic device may display icons of the card reading applications in the set at the application selection interface. And when a selection instruction is received, sending the data stored in the NFC card to the selected card reading application, and performing data processing by the application.
Fig. 3 is a schematic flow chart illustrating an implementation of the processing method for the NFC card provided in the embodiment of the present application, and as shown in fig. 3, the method may include the following steps 301 to 311:
step 301, determining whether an NFC card to be processed is a specific tag; if yes, go to step 302; otherwise, go to step 304;
step 302, reading data stored in the NFC card;
step 303, distributing the data to a specified card reading application of the NFC card to trigger the specified card reading application to process the data.
NFC cards belonging to a specific tag are also called direct class tags. And for the direct type tags, for example, the tags used for controlling the start of TV screen projection are identified, and then the data stored in the tags are directly sent to the corresponding application, so that the application can directly start the TV screen projection, and the application icons of the TV screen projection do not need to be displayed for the user to click. For another example, the bus card is a specific tag, and the corresponding designated card reading application is a certain payment application. After the data of the bus card is distributed to the payment application, the application processes the data as follows: and directly displaying a recharging interface of the bus card, wherein the interface comprises balance, user information and the like. Before the recharging interface is displayed, interfaces such as the application icon and the like which are irrelevant to the recharging interface do not need to be displayed. Therefore, the direct capability is added to the specific label, and the card reading process can be saved.
It is understood that when the NFC card to be processed is identified, it may be determined whether the card is a specific tag, and if so, the following steps 304 to 311 are not performed, but the data stored in the card is directly distributed to the card reading application bound to the card (i.e., the specified card reading application). Namely, the direct capability is added to the specific label, and the user does not need to select the direct capability, but directly jumps to the specified application; in this way, specific tags such as these private tags are not destroyed to the direct experience by malicious registration by the three-party software.
In some embodiments, the processing of the data by the designated card reading application may be implemented by a background service; therefore, some meaningless User Interfaces (UI) can be prevented from being displayed, and the User experience is improved.
Step 304, determining a card reading application set corresponding to the NFC card;
step 305, determining the usage heat of each card reading application in the card reading application set under the condition that the card reading application set comprises at least two card reading applications;
step 306, sorting the card reading applications in the card reading application set according to the sequence of the use heat from high to low;
step 307, displaying N card reading applications ranked at the top in the card reading application set on an application selection interface, so that a user can select the card reading application to be used; wherein N is an integer greater than 0;
the value of N may be a preset value, for example, 3 or 4, etc. In some embodiments, N is smaller than the number of applications in the card reading application set, so that the number of applications selected by the user can be reduced, the probability that the user selects the correct card reading application is higher, and the card reading success rate is correspondingly improved.
And 308, displaying a viewing button on the application selection interface, wherein the viewing button is used for controlling the application selection interface to expand the rest non-displayed card reading applications in the card reading application set.
As shown in fig. 4A, icons of the card reading applications using the top 4 of the hotness ranking, i.e., APP1 through APP4, and a view button 401 of "display more APPs" are displayed on the application selection interface 40.
As shown in fig. 4A, a prompt box 402 including "detect NFC tag, please select open application" may also be displayed on the application selection interface 40, and a "cancel" button 403 for canceling the display of the application selection interface 40 is displayed.
When the view button 401 receives a touch operation, as shown in fig. 4B, icons of APP5 to APP8 are additionally displayed on the application selection interface 40. When the user slides the interface 40 to the left, icons for other card reading applications are displayed on the other interface.
It should be noted that, generally, step 307 and step 308 are executed in parallel, that is, the top N card reading applications and the view button for controlling viewing of more applications are displayed on the application selection interface.
And 309, when detecting that the card reading application receives a selection instruction, displaying a direct setting button, wherein the direct setting button is used for controlling the electronic equipment to set the selected card reading application as a specified card reading application of the NFC card.
The user may issue the selection instruction in various ways. For example, the user may issue a selection instruction in a voice control mode, a touch control mode, or the like, where the selection instruction is used to instruct selection of a corresponding card reading application to process data stored in the NFC card.
Step 310, receiving a direct setting instruction, wherein the direct setting instruction is used for indicating that the card reading application receiving the direct setting instruction is set as a specified card reading application of the NFC card;
step 311, recording the NFC card as a specific tag according to the direct setting instruction, and setting a card reading application receiving the direct setting instruction as a designated card reading application of the NFC card; therefore, when the NFC card is identified later, the card is directly processed according to a flow corresponding to the specific label, namely, the data stored in the card is directly distributed to the card reading application bound with the card. Thus, the number of times the user selects the card reading application can be reduced.
The android native card reading distribution process is distributed step by step according to NDEF, TECH and TAG, the distribution precision is gradually reduced, and the distribution process is shown in FIG. 5, namely: if a label in NDEF format (i.e., an NFC card) is scanned, then Activity is started using Intent "NDEF _ DISCOVERED"; at this point, it is determined whether "NDEF _ uncovered" can be processed by registered Activity; if so, passing the Intent to Activity; otherwise, the scanned tag is considered to be a tag in an unmapped or non-NDEF format, and the Intent of "TECH _ uncovered" is used to start Activity; at this point, it is determined whether "TECH _ DISCOVERED" can be processed by registered Activity; if so, passing the Intent to Activity; otherwise, using Intent of "TAG _ DISCOVERED" to start Activity; at this point it is determined whether "TAG _ DISCOVERED" can be processed by registered Activity; if so, passing the Intent to Activity; otherwise, ending, declaring card reading failure.
If a collision occurs during distribution (i.e., multiple card reading applications are matched), an application selection box needs to be popped up to allow the user to select an application to process the card reading event, for example, as shown in fig. 6. The related distribution technology has several problems:
1. the distribution accuracy is low. Except for the high accuracy of NDEF types, the accuracy of both the TECH type and the TAG type is too low, because the TECH is a physical characteristic of each card, and the variety is small, the specific card type cannot be judged by the TECH, and the accuracy of the TAG type is the lowest, and the TAG type does not contain any characteristics of the card at all.
However, the low distribution accuracy may cause a high probability of collision during distribution, that is, a plurality of applications register reading of the same type of cards, and a program cannot determine which application to distribute a tag to process the tag, in this case, a selection box needs to be popped up to allow a user to select a card reading application that can be processed, but a general user does not have the ability to accurately judge the processing capability of the card reading application on a card to be read, and finally, an application selected by the user at a high probability after reading the card cannot correctly read the read card, and the user experience is poor;
2. the card reading application is fixed in arrangement order. The native application selection interface (UI), the applications are ordered according to names, if the applications that the user wants to use are ordered, the user needs to turn to the last to select the desired application each time, and the user experience is poor.
Based on this, an exemplary application of the embodiment of the present application in a practical application scenario will be described below.
In the embodiment of the application, more feature extractions are added in the NFC service during card reading, types are assigned to cards meeting certain features, existing card reading applications in the market are screened according to the types, a white list [ card class-card reading application ] is established, the white list simultaneously records a preset priority of each card reading application, a native distribution result is enhanced according to a mapping relation of the white list during distribution, and the overall flow is shown in fig. 7. The detailed steps are as follows:
step 1, establishing models for some common NFC cards on the market to extract features, digitizing the models, defining the models as [ rules ], endowing the cards conforming to the rules with one type, wherein each rule has one and only can uniquely determine one card type;
step 2, when reading the NFC card, the NFC service traverses all rules to identify, and binds a type for the label after the identification is successful, which corresponds to the sequence number 1 in the figure 7;
and 3, after the identification is finished, distributing the labels according to a native distribution flow, namely distributing the NDEF, the TECH and the TAG. Number 2 corresponding to fig. 7;
and 4, directly distributing to the matched application according to the native flow if no collision occurs (namely, only the single card reading application is matched) during distribution, and finishing the distribution. Corresponding to the sequence number 3 through sequence number 8 in fig. 7;
step 5, if collision occurs in the distribution process (namely, a plurality of matched card reading applications exist), judging whether the applications in the list exist in a white list of the cards; if the list exists, the priorities in the white list are selected for sorting (corresponding to the sequence number 5 in fig. 7), and the list is displayed to the user for selection through the UI (corresponding to the sequence number 6 in fig. 7) after being sorted. Meanwhile, the UI guides the user to select the application with the highest priority, only a few applications with the highest priority are displayed in a pop-up selection frame by default, and other applications are hidden by default; clicking the "show more applications" button opens the selection of other applications.
Step 6, if a certain card can determine that only one application can process, such as a private label, the application can be given the highest priority to the card of the type, and when the card of the type is read, the card is directly distributed to the application regardless of the original distribution result, namely, the card is directly distributed to the application, namely, the card is directly distributed to the rule. Corresponding to the sequence number 4 through sequence number 8 in fig. 7;
and 7: besides the preset priority, the priority of the application commonly used by the user can be increased by learning the use habit of the user, so that the application commonly used by the user can be selected more easily. The prioritization here is also done in the sequence 5 step in fig. 7;
and 8: for rule distribution of direct classes, pull Service may be supported instead of Activity.
It is understood that Service is one of the four major components in the android system, called "background Service", meaning that its own operation does not rely on a UI interface visible to the user. Activity is the core concept of android applications, in short, Activity is a user interaction manager and has a visual interface presentation, and Service differs from Activity in that it runs in the background and has no interface presentation.
The beneficial effects brought by the embodiment of the application have the following points:
1. the probability of successful card reading of the user is improved. By improving the card identification and distribution precision, screened applications are preferentially displayed, the number of applications needing to be selected by a user is reduced, the probability that the user selects the correct card reading application is greatly improved, the card reading success rate is correspondingly improved, and the card reading experience of the user is improved;
2. specific tags are supported to be directed. Direct capability is added for a specific label, a user does not need to select to directly jump to a specified application, and some private labels cannot be maliciously registered by three-party software to damage direct experience;
3. the user learns using habits. By learning the use habit of the card reading application of the user, the user can more conveniently select the application which the user wants to use;
4. the Service can be pulled up. The native distribution can only support pull-up Activity, so that the use is limited, and through expansion, the pull-up Service support is added for the direct type card distribution, so that the use scene is enriched.
It can be understood that in the embodiment of the application, the card reading applications are screened in advance, the card reading applications are associated with the supported card types, the cards are accurately identified during card reading, the card reading applications are matched according to the card types in the distribution process, and finally the application selection UI is enhanced by using the matching result, so that a user is guided to select the correct card reading application, and the card reading success rate is improved.
In some embodiments, an option of processing the card by using the application all the time is added to the application selection UI, and the recorded application is directly used for card reading after the card is read next time, so that the selection times of a user are reduced;
in some embodiments, when a known type of card is read, but a supported card reading application is not installed in the mobile phone, an application recommendation interface pops up, and a user is guided to go to an application store to download the recommended card reading application.
Based on the foregoing embodiments, the present application provides a processing apparatus for an NFC card, where the apparatus includes modules and units included in the modules, and may be implemented by a processor of an electronic device; of course, the implementation can also be realized through a specific logic circuit; in implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 8 is a schematic structural diagram of a processing apparatus for an NFC card according to an embodiment of the present application, and as shown in fig. 8, the apparatus 80 includes; wherein the content of the first and second substances,
a determining module 801, configured to determine a card reading application set corresponding to an NFC card to be processed; determining a usage heat of each card reading application in the card reading application set under the condition that the card reading application set comprises at least two card reading applications;
the sorting module 802 is configured to sort the card reading applications in the card reading application set according to an order from high use heat to low use heat;
a display module 803, configured to display the sorted card reading application set, so that the user selects a card reading application to be used.
In some embodiments, the determining module 801 is configured to: determining a distribution type of the NFC card to be one of: NDEF, TECH, TAG; determining, from the installed applications, a card reading application supporting a distribution type of the NFC card to obtain the set of card reading applications.
In some embodiments, the determining module 801 is configured to: determining a target type of the NFC card; determining a target application supporting the target type in the card reading application set; setting the usage heat of the target application to be higher than the usage heat of the non-target applications in the card reading application set.
In some embodiments, the determining module 801 is configured to: acquiring a preset white list corresponding to the target type, wherein the preset white list comprises a card reading application which supports the target type and meets the requirement of use heat and the corresponding use heat; determining a target application in the preset white list in the card reading application set; acquiring the use heat of the target application from the preset white list; the usage heat of the non-target application is set to be lower than the usage heat of each of the target applications.
In some embodiments, the usage heat of each card reading application in the preset white list is characterized by a priority, and the usage heat is positively correlated with the priority; a sorting module 802, configured to sort, according to a sequence from high priority to low priority, the card reading applications in the card reading application set.
In some embodiments, the apparatus 80 further comprises an update module configured to: acquiring a user selection log, wherein the user selection log comprises card reading application information selected by a user when the NFC card is processed all the time; and according to the user selection log, increasing the use heat of the card reading application selected all the time in the preset white list.
In some embodiments, the determining module 801 is configured to: before determining a card reading application set corresponding to an NFC card to be processed, determining whether the NFC card is a specific tag; if the NFC card is the specific tag, reading data stored in the NFC card; distributing the data to a designated card reading application of the NFC card to trigger the designated card reading application to process the data; and if the NFC card is not the specific tag, executing the step of determining the card reading application set corresponding to the NFC card to be processed.
In some embodiments, the designated card reading application processes the data, including: and processing the data by the appointed card reading application through background service.
In some embodiments, the apparatus 80 further comprises an instruction receiving module and an instruction executing module; the instruction execution module is used for receiving a direct setting instruction after the display of the sorted card reading application set, wherein the direct setting instruction is used for indicating that the card reading application receiving the direct setting instruction is set as a specified card reading application of the NFC card; the instruction execution module records the NFC card as a specific label according to the direct setting instruction, and sets the card reading application receiving the direct setting instruction as the appointed card reading application of the NFC card.
In some embodiments, the display module 803 is configured to: displaying N card reading applications ranked at the top in the ordered card reading application set on an application selection interface; wherein N is an integer greater than 0; and displaying a viewing button on the application selection interface, wherein the viewing button is used for controlling the application selection interface to expand the rest non-displayed card reading applications in the card reading application set.
In some embodiments, the apparatus 80 further comprises a recommendation module; the determining module 801 is further configured to determine a target type of the NFC card when no card reading application supporting the distribution type of the NFC card exists in the installed applications; and the recommending module is used for recommending the card reading application supporting the target type to the user so as to guide the user to download the recommended card reading application.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that, in the embodiment of the present application, the division of the module by the processing apparatus of the NFC card shown in fig. 8 is schematic, and is only one logic function division, and there may be another division manner in actual implementation. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, may exist alone physically, or may be integrated into one unit by two or more units. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. Or may be implemented in a combination of software and hardware.
It should be noted that, in the embodiment of the present application, if the processing method of the NFC card is implemented in the form of a software functional module and is sold or used as an independent product, the processing method may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing an electronic device to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, as shown in fig. 9, in an electronic device 90 provided in an embodiment of the present application, the electronic device 90 may include: comprising a memory 901 and a processor 902, said memory 901 storing a computer program operable on the processor 902, said processor 902 implementing the steps in the methods provided in the embodiments described above when executing said program.
The Memory 901 is configured to store instructions and applications executable by the processor 902, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by the processor 902 and modules in the electronic device 90, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
Embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the processing method for the NFC card provided in the above embodiments.
The embodiment of the present application provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the processing method of the NFC card provided in the above method embodiment.
Here, it should be noted that: the above description of the storage medium, device and program product embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium, the chip and the terminal device of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" or "some embodiments" means that a particular feature, structure or characteristic described in connection with the embodiments is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in some embodiments" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. The foregoing description of the various embodiments is intended to highlight various differences between the embodiments, and the same or similar parts may be referred to each other, and for brevity, will not be described again herein.
The term "and/or" herein is merely an association relationship describing an associated object, and means that three relationships may exist, for example, object a and/or object B, may mean: the object A exists alone, the object A and the object B exist simultaneously, and the object B exists alone.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiment of the touch screen system is merely illustrative, for example, the division of the modules is only a logical functional division, and in actual implementation, there may be other division ways, such as: multiple modules or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be electrical, mechanical or other.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules; can be located in one place or distributed on a plurality of network units; some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be separately regarded as one unit, or two or more modules may be integrated into one unit; the integrated module can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing an electronic device to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (13)

1.A processing method of a Near Field Communication (NFC) card is characterized by comprising the following steps:
determining a card reading application set corresponding to the NFC card to be processed;
determining a usage heat of each card reading application in the card reading application set under the condition that the card reading application set comprises at least two card reading applications;
sorting the card reading applications in the card reading application set according to the sequence of the use heat from high to low;
and displaying the sorted card reading application set for the user to select the card reading application to be used.
2. The method according to claim 1, wherein the determining a card reading application set corresponding to the NFC card to be processed comprises:
determining a distribution type of the NFC card to be one of: the data exchange format NDEF of NFC, the hardware radio frequency technology TECH and the TAG can be recorded;
determining, from the installed applications, a card reading application supporting a distribution type of the NFC card to obtain the set of card reading applications.
3. The method of claim 1 or 2, wherein the determining the heat of use of each of the set of card reading applications comprises:
determining a target type of the NFC card;
determining a target application supporting the target type in the card reading application set;
setting the usage heat of the target application to be higher than the usage heat of the non-target applications in the card reading application set.
4. The method of claim 3, wherein the determining that the target application of the target type is supported in the set of card reading applications comprises:
acquiring a preset white list corresponding to the target type, wherein the preset white list comprises a card reading application which supports the target type and meets the requirement of use heat and the corresponding use heat; determining a target application in the preset white list in the card reading application set; and the number of the first and second groups,
the setting the usage heat of the target application to be higher than the usage heat of the non-target applications in the card reading application set comprises: acquiring the use heat of the target application from the preset white list; the usage heat of the non-target application is set to be lower than the usage heat of each of the target applications.
5. The method of claim 4, further comprising:
acquiring a user selection log, wherein the user selection log comprises information of a card reading application selected by a user when the NFC card is processed all the time;
and according to the user selection log, increasing the use heat of the card reading application selected all the time in the preset white list.
6. The method according to claim 1, wherein before the determining the card reading application set corresponding to the NFC card to be processed, the method further comprises:
determining whether the NFC card is a particular tag;
if the NFC card is the specific tag, reading data stored in the NFC card; distributing the data to a designated card reading application of the NFC card to trigger the designated card reading application to process the data;
and if the NFC card is not the specific tag, executing the step of determining the card reading application set corresponding to the NFC card to be processed.
7. The method of claim 6, wherein the designated card reading application processes the data, comprising:
and processing the data by the appointed card reading application through background service.
8. The method of claim 1, 6 or 7, wherein after displaying the ordered set of card reading applications, the method further comprises:
receiving a direct setting instruction, wherein the direct setting instruction is used for indicating that the card reading application receiving the direct setting instruction is set as a specified card reading application of the NFC card;
and recording the NFC card as a specific label according to the direct setting instruction, and setting the card reading application receiving the direct setting instruction as the appointed card reading application of the NFC card.
9. The method of any of claims 1 to 8, wherein displaying the ordered set of card reading applications comprises:
displaying N card reading applications ranked at the top in the ordered card reading application set on an application selection interface; wherein N is an integer greater than 0;
and displaying a viewing button on the application selection interface, wherein the viewing button is used for controlling the application selection interface to expand the rest non-displayed card reading applications in the card reading application set.
10. The method of claim 9, further comprising:
determining a target type of the NFC card when no card reading application supporting the distribution type of the NFC card exists in the installed applications;
recommending the card reading application supporting the target type to the user so as to guide the user to download the recommended card reading application.
11. A processing device of an NFC card is characterized by comprising:
the determining module is used for determining a card reading application set corresponding to the NFC card to be processed;
the determining module is further used for determining the use heat of each card reading application in the card reading application set under the condition that the card reading application set comprises at least two card reading applications;
the sorting module is used for sorting the card reading applications in the card reading application set according to the sequence of the use heat from high to low;
and the display module is used for displaying the sorted card reading application set so that a user can select a card reading application to be used.
12. An electronic device comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor implements the method of any one of claims 1 to 10 when executing the program.
13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 10.
CN202011345909.2A 2020-11-25 2020-11-25 NFC card processing method and device, NFC card processing equipment and NFC card processing storage medium Pending CN112418368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011345909.2A CN112418368A (en) 2020-11-25 2020-11-25 NFC card processing method and device, NFC card processing equipment and NFC card processing storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011345909.2A CN112418368A (en) 2020-11-25 2020-11-25 NFC card processing method and device, NFC card processing equipment and NFC card processing storage medium

Publications (1)

Publication Number Publication Date
CN112418368A true CN112418368A (en) 2021-02-26

Family

ID=74843058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011345909.2A Pending CN112418368A (en) 2020-11-25 2020-11-25 NFC card processing method and device, NFC card processing equipment and NFC card processing storage medium

Country Status (1)

Country Link
CN (1) CN112418368A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113177424A (en) * 2021-04-27 2021-07-27 Oppo广东移动通信有限公司 Data distribution method and device for NFC card, electronic equipment and storage medium
CN113361293A (en) * 2021-06-02 2021-09-07 深圳市汇顶科技股份有限公司 Card swiping method, card controller, electronic device and storage medium
CN113591500A (en) * 2021-09-29 2021-11-02 广州朗国电子科技股份有限公司 NFC chip read-write frequency automatic detection method and device
CN114201091A (en) * 2021-12-03 2022-03-18 宁波高新区阶梯科技有限公司 Data processing method and device, electronic equipment, reader and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957456A (en) * 2011-08-24 2013-03-06 株式会社泛泰 Terminal, system, and method for retrieving application
CN106776068A (en) * 2016-12-09 2017-05-31 北京小米移动软件有限公司 Display methods, device and equipment that candidate applies
CN111212421A (en) * 2020-01-03 2020-05-29 飞天诚信科技股份有限公司 Card automatic connection method, electronic device and computer readable storage medium
CN111835903A (en) * 2019-03-26 2020-10-27 华为技术有限公司 Method for rapidly distributing data in NFC label and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957456A (en) * 2011-08-24 2013-03-06 株式会社泛泰 Terminal, system, and method for retrieving application
CN106776068A (en) * 2016-12-09 2017-05-31 北京小米移动软件有限公司 Display methods, device and equipment that candidate applies
CN111835903A (en) * 2019-03-26 2020-10-27 华为技术有限公司 Method for rapidly distributing data in NFC label and electronic equipment
CN111212421A (en) * 2020-01-03 2020-05-29 飞天诚信科技股份有限公司 Card automatic connection method, electronic device and computer readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113177424A (en) * 2021-04-27 2021-07-27 Oppo广东移动通信有限公司 Data distribution method and device for NFC card, electronic equipment and storage medium
CN113361293A (en) * 2021-06-02 2021-09-07 深圳市汇顶科技股份有限公司 Card swiping method, card controller, electronic device and storage medium
CN113591500A (en) * 2021-09-29 2021-11-02 广州朗国电子科技股份有限公司 NFC chip read-write frequency automatic detection method and device
CN113591500B (en) * 2021-09-29 2022-03-08 广州朗国电子科技股份有限公司 NFC chip read-write frequency automatic detection method and device
CN114201091A (en) * 2021-12-03 2022-03-18 宁波高新区阶梯科技有限公司 Data processing method and device, electronic equipment, reader and storage medium

Similar Documents

Publication Publication Date Title
CN112418368A (en) NFC card processing method and device, NFC card processing equipment and NFC card processing storage medium
US9934254B2 (en) Terminal apparatus, information processing system, and information processing method
CN105528392B (en) Classification label ordering method and device
CN109005283B (en) Method, device, terminal and storage medium for displaying notification message
CN107463304B (en) Desktop icon sorting method and device, mobile device and storage medium
CN114119008A (en) Information display method and device based on graphic code identification
US20170193992A1 (en) Voice control method and apparatus
CN107590267B (en) Information-pushing method and device, terminal and readable storage medium storing program for executing based on picture
KR20150024526A (en) Information Obtaining Method and Apparatus
WO2022001600A1 (en) Information analysis method, apparatus, and device, and storage medium
US20140245224A1 (en) Method of displaying programs and electronic device therefor
JP2013077099A (en) Position information distribution server, position information distribution system, position information distribution method, program and recording medium
CN109213397A (en) Data processing method, device and user terminal
CN103391346A (en) Terminal and communication message processing method
CN112688859B (en) Voice message sending method and device, electronic equipment and readable storage medium
CN109558203B (en) Recent content display method, device, terminal and storage medium
CN115016710B (en) Application program recommendation method
CN107678612B (en) Mobile payment method, device, mobile terminal and storage medium
CN107808134B (en) Image processing method, image processing device and electronic terminal
CN108537086A (en) Method for information display, device, storage medium and mobile terminal
CN105306686A (en) Information processing method and electronic equipment
JP2012108609A (en) Display device, display method, computer program and recording medium
US20170053263A1 (en) Apparatus and method for providing information of electronic device
KR20170019759A (en) User equipment, service providing device, goods recommendation server, goods recommendation system comprising the same, control method thereof and computer readable medium having computer program recorded therefor
CN110572310A (en) Address book-based driving test route sharing method, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination