CN111241856B - Method for selecting NFC analog card and watch - Google Patents

Method for selecting NFC analog card and watch Download PDF

Info

Publication number
CN111241856B
CN111241856B CN202010021003.9A CN202010021003A CN111241856B CN 111241856 B CN111241856 B CN 111241856B CN 202010021003 A CN202010021003 A CN 202010021003A CN 111241856 B CN111241856 B CN 111241856B
Authority
CN
China
Prior art keywords
card
identification information
watch
analog card
data server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010021003.9A
Other languages
Chinese (zh)
Other versions
CN111241856A (en
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN202010021003.9A priority Critical patent/CN111241856B/en
Publication of CN111241856A publication Critical patent/CN111241856A/en
Application granted granted Critical
Publication of CN111241856B publication Critical patent/CN111241856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G21/00Input or output devices integrated in time-pieces
    • G04G21/04Input or output devices integrated in time-pieces using radio waves
    • 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/0022Methods 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 arrangements or provisious for transferring data to distant stations, e.g. from a sensing device

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application is applicable to the technical field of computers, and provides a method for selecting an NFC analog card and a watch, wherein the method comprises the following steps: when the NFC label of the card reader is detected, acquiring the current position information of the watch; transmitting the current position information and the identification information of the watch to a data server; receiving identification information of the analog card sent by the data server; and determining a target analog card which can be used for swiping the card reader based on the identification information of the analog card sent by the data server. According to the mode, the target analog card which can be used for swiping the card reader can be determined according to the position information of the watch and the identification information of the watch, and the card can be successfully swiped by using the target analog card, so that the mode of swiping the card by selecting the target analog card is simplified, the card swiping success rate is improved, and the interaction capability between NFC equipment and a user is improved.

Description

Method for selecting NFC analog card and watch
Technical Field
The application belongs to the technical field of computers, and particularly relates to a method for selecting an NFC analog card and a watch.
Background
Near field communication (Near Field Communication, NFC) is an emerging technology, devices (such as a mobile phone, a watch, etc.) using the NFC technology can exchange data in a situation of being close to each other, and the devices are integrated and evolved by a non-contact radio frequency identification and interconnection technology, and by integrating functions of an inductive card reader, an inductive card and point-to-point communication on a single chip, mobile terminals are utilized to realize applications such as mobile payment, electronic ticketing, access control, mobile identity recognition, anti-counterfeiting, etc.
For example, an NFC enabled device may emulate a bus card, access card, bank card, etc., and set one of the emulated cards as a default card, typically automatically setting the bank card as the default card. At this time, when the user takes the bus and swipes the card through the device, the card cannot be swiped successfully, because the default card is a bank card, the user needs to manually switch to the bus card to swipe the card successfully. Therefore, the mode of automatically selecting the default card for card swiping is complex in card swiping step and easy to fail in card swiping, and interaction capability between NFC equipment and a user is reduced.
Disclosure of Invention
In view of this, the embodiment of the application provides a method for selecting an NFC analog card and a watch, so as to solve the problems that the traditional mode of automatically selecting a default card to punch a card is complex in card punching step and easy to punch a card and fail, and the interaction capability between NFC equipment and a user is reduced.
A first aspect of an embodiment of the present application provides a method for selecting an NFC emulated card, including:
when the NFC label of the card reader is detected, acquiring the current position information of the watch;
transmitting the current position information and the identification information of the watch to a data server; the current position information and the identification information of the watch are used for triggering the data server to acquire the identification information of the analog card matched with the current position information and the identification information of the watch;
Receiving identification information of the analog card sent by the data server;
and determining a target analog card which can be used for swiping the card reader based on the identification information of the analog card sent by the data server.
Further, the current location information includes geographic location information and points of interest for identifying locations; transmitting the current location information and the identification information of the watch to a data server includes:
transmitting the interest points and the identification information of the watch to a data server; the interest points and the identification information of the watch are used for triggering the data server to acquire the identification information of the analog card matched with the interest points and the identification information of the watch.
Further, the determining, based on the identification information of the analog card sent by the data server, a target analog card available for swiping the card reader includes:
searching target identification information which is the same as the identification information of the analog card sent by the data server from the watch;
and acquiring the target simulation card corresponding to the target identification information.
Further, the present application further includes: detecting whether a current default analog card of the watch is identical to the target analog card;
When the current default simulation card is detected to be the same as the target simulation card, using the current default simulation card to perform card swiping;
and when detecting that the current default analog card is different from the target analog card, switching the current default analog card into the target analog card.
Further, the present application further includes: and when receiving the matching failure notification sent by the data server, acquiring a current default analog card of the watch, and using the current default analog card to punch the card.
Further, the present application further includes: when the successful card swiping using the current default analog card is detected, the identification information of the current default analog card is obtained, and the identification information of the current default analog card, the identification information of the watch and the current position information are transmitted to the data server in a correlated mode.
Further, the present application further includes: generating prompt information when detecting that the card swiping failure using the current default analog card occurs; and the prompt information is used for prompting a user to switch the current default analog card.
A second aspect of an embodiment of the present invention provides a wristwatch for selecting an NFC analog card, the terminal including:
The acquisition unit is used for acquiring the current position information of the watch when the NFC label of the card reader is detected;
a transmitting unit, configured to transmit the current location information and identification information of the wristwatch to a data server; the current position information and the identification information of the watch are used for triggering the data server to acquire the identification information of the analog card matched with the current position information and the identification information of the watch;
the receiving unit is used for receiving the identification information of the analog card sent by the data server;
and the determining unit is used for determining a target analog card which can be used for swiping the card reader based on the identification information of the analog card sent by the data server.
Further, the current location information includes geographic location information and a point of interest for identifying a location, and the sending unit is specifically configured to: transmitting the interest points and the identification information of the watch to a data server; the interest points and the identification information of the watch are used for triggering the data server to acquire the identification information of the analog card matched with the interest points and the identification information of the watch.
Further, the determining unit is specifically configured to:
Searching target identification information which is the same as the identification information of the analog card sent by the data server from the watch;
and acquiring the target simulation card corresponding to the target identification information.
Further, the wristwatch further includes:
the first detection unit is used for detecting whether the current default analog card of the watch is the same as the target analog card;
the second detection unit is used for using the current default analog card to punch the card when detecting that the current default analog card is the same as the target analog card;
and the third detection unit is used for switching the current default analog card into the target analog card when detecting that the current default analog card is different from the target analog card.
Further, the wristwatch further includes:
and the current default analog card acquisition unit is used for acquiring the current default analog card of the watch when receiving the matching failure notification sent by the data server, and using the current default analog card to punch the card.
Further, the wristwatch further includes:
and the fourth detection unit is used for acquiring the identification information of the current default analog card when the successful card swiping of the current default analog card is detected, and sending the identification information of the current default analog card, the identification information of the watch and the current position information to the data server in an associated manner.
Further, the wristwatch further includes:
the prompt information generation unit is used for generating prompt information when detecting that the current default simulation card is used for swiping the card; and the prompt information is used for prompting a user to switch the current default analog card.
A third aspect of an embodiment of the present invention provides another wristwatch for selecting an NFC emulated card, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is configured to store a computer program for supporting a terminal to execute the above method, the computer program including program instructions, and the processor is configured to invoke the program instructions to perform the following steps:
when the NFC label of the card reader is detected, acquiring the current position information of the watch;
transmitting the current position information and the identification information of the watch to a data server; the current position information and the identification information of the watch are used for triggering the data server to acquire the identification information of the analog card matched with the current position information and the identification information of the watch;
receiving identification information of the analog card sent by the data server;
And determining a target analog card which can be used for swiping the card reader based on the identification information of the analog card sent by the data server.
A fourth aspect of embodiments of the present invention provides a computer readable storage medium storing a computer program which when executed by a processor performs the steps of:
when the NFC label of the card reader is detected, acquiring the current position information of the watch;
transmitting the current position information and the identification information of the watch to a data server; the current position information and the identification information of the watch are used for triggering the data server to acquire the identification information of the analog card matched with the current position information and the identification information of the watch;
receiving identification information of the analog card sent by the data server;
and determining a target analog card which can be used for swiping the card reader based on the identification information of the analog card sent by the data server.
The method for selecting the NFC analog card and the watch provided by the embodiment of the application have the following beneficial effects:
according to the embodiment of the application, when the NFC label of the card reader is detected, the current position information of the watch is obtained; transmitting the current position information and the identification information of the watch to a data server; receiving identification information of the analog card sent by the data server; and determining a target analog card which can be used for swiping the card reader based on the identification information of the analog card sent by the data server. In the above manner, the target analog card which can be used for swiping the card reader can be determined according to the position information of the watch and the identification information of the watch. The watch detects whether the current default analog card is the same as the target analog card or not, and switches the current default analog card into the target analog card at different times, so that the success of card swiping of a user is ensured, the mode of automatically selecting the analog card to perform card swiping is adopted, the card swiping step is simplified, the card swiping success rate is improved, and the interaction capability between NFC equipment and the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an implementation of a method for selecting an NFC emulated card according to an embodiment of the present application;
fig. 2 is a flowchart of an implementation of a method for selecting an NFC emulated card according to another embodiment of the present application;
FIG. 3 is a schematic diagram of a wristwatch with a selected NFC analog card according to an embodiment of the present application;
fig. 4 is a schematic view of a wristwatch according to another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for selecting an NFC emulated card according to an embodiment of the present invention. The main execution body of the method for selecting the NFC analog card in this embodiment is a wristwatch, such as various smart watches, telephone watches, and the like. The method of selecting an NFC emulated card as shown in fig. 1 may include:
S101: and when the NFC label of the card reader is detected, acquiring the current position information of the watch.
Near field communication (Near Field Communication, NFC) is a radio technology for short range high frequencies. In this embodiment, the wristwatch supports NFC functionality; the card reader refers to an NFC card reader, and can perform data interaction with electronic equipment supporting NFC functions. For example, the watch in this embodiment supports an NFC function, which can simulate a contactless radio frequency card conforming to an NFC related standard, and further perform data interaction with a card reader. Such as using a watch to swipe a card in traffic, entrance guard, consumption, etc.
Pre-starting NFC function in the watch, and closing the watch to the card reader; at this time, the watch and the card reader mutually detect the NFC tag of the other side, namely, the card reader detects the NFC tag of the watch, and the watch detects the NFC tag of the card reader. And when the watch detects the NFC label of the card reader, acquiring the current position information of the watch. The current location information of the watch may include current geographical location information of the watch and points of interest for identifying the location; wherein the point of interest, POI, used to identify a location is an abbreviation for Point of Interest, chinese can be translated into "point of interest"; in a geographic information system, a POI may be a house, a shop, a post, a bus stop, etc. Specifically, the current GPS information of the watch can be acquired through a navigation system built in the watch, and then the GPS information is converted into geographic position information and interest points for identifying positions. The conversion method can be that the watch invokes navigation service (such as hundred-degree map, high-altitude map, vacation map and the like), and the GPS information is converted into geographic position information and interest points for identifying the position based on the navigation service; the watch can also send GPS information to the positioning server, the positioning server invokes navigation service, the GPS information is converted into geographic position information and interest points for identifying positions through the navigation service, the converted geographic position information and the interest points for identifying the positions are sent to the watch, and the watch receives the geographic position information returned by the positioning server and the interest points for identifying the positions.
S102: transmitting the current position information and the identification information of the watch to a data server; the current position information and the identification information of the watch are used for triggering the data server to acquire the identification information of the analog card matched with the current position information and the identification information of the watch.
The watch acquires identification information of the watch, wherein the identification information is used for uniquely identifying the watch; the code may be a code when the wristwatch leaves the factory, or an account number registered when the user uses the wristwatch, or the like. The watch sends the identification information of the watch and the current position information to the data server, and the data server can be triggered to acquire the identification information of the analog card matched with the current position information and the identification information of the watch. Specifically, the data server stores in advance identification information of each watch, different current position information, identification information of different analog cards and a corresponding relation among the three; when the data server receives the identification information and the current position information sent by the watch, the identification information of the analog card matched with the watch can be searched according to the identification information and the current position information.
Further, when the data server establishes a correspondence between the identification information of each watch, different current position information and the identification information of different analog cards, the watch may acquire information of a city, a place, a position, a place and the like to which the analog card is applicable, acquire the identification information of the analog card, acquire the identification information of the watch, and associate and upload the information to the data server together, and the data server establishes an association relationship between the information; or the user manually fills in the city, place, position, place and the like suitable for the analog card, and sends the information together with the identification information of the analog card and the identification information of the watch to a data server, and the data server establishes the association relationship between the information and the identification information of the watch; when the analog card on the watch is successfully swiped for the first time, the watch acquires the current position information of the watch when the analog card is swiped, and the current position information, the identification information of the analog card and the identification information of the watch are transmitted to the data server in a correlated manner, and the data server establishes a correlated relationship between the current position information and the identification information of the analog card. The actual situation is not limited to this.
Further, the current location information includes geographical location information and interest points for identifying locations, in order to accurately and quickly obtain an analog card that matches both the current location information of the watch and the identification information of the watch, and further quickly obtain a target analog card that can be used for swiping a current card reader, S102 includes: transmitting the interest points and the identification information of the watch to a data server; the interest points and the identification information of the watch are used for triggering the data server to acquire the identification information of the analog card matched with the interest points and the identification information of the watch.
In particular, the current location information includes geographic location information and points of interest for identifying a location. The watch acquires the identification information of the watch, and the interest point for identifying the position and the identification information of the watch are sent to the data server, so that the data server can be triggered to acquire the identification information of the analog card matched with the interest point and the identification information of the watch. The data server is pre-stored with identification information of each watch, different interest points, identification information of different analog cards and the corresponding relation among the three; when the data server receives the identification information and the interest points sent by the watch, the identification information of the analog card matched with the watch and the interest points can be searched according to the identification information and the interest points.
Further, when the data server establishes a correspondence between the identification information of each watch, different interest points and the identification information of different analog cards, the watch may acquire information of cities, places, positions, places and the like to which the analog card is applicable when the user opens the analog card on the watch, determine the interest point corresponding to the analog card according to the information, acquire the identification information of the analog card, acquire the identification information of the watch, and associate and upload the information to the data server together, and the data server establishes an association relationship between the information; or when the analog card on the watch is successfully swiped for the first time, the watch acquires GPS information of the watch when the analog card is swiped, converts the GPS information into interest points corresponding to the current position, and sends the interest points, the identification information of the analog card and the identification information of the watch to a data server in a correlated manner, and the data server establishes a correlated relationship between the interest points and the identification information of the analog card and the identification information of the watch. In the established correspondence, a plurality of interest points may correspond to the same analog card of the same watch, for example, a plurality of markets can consume the same analog card, a plurality of public transportation sites can use the same analog card to swipe the card for riding, and the like, and the invention is not limited in particular to the actual situation.
S103: and receiving the identification information of the analog card sent by the data server.
The watch receives the identification information of the analog card sent by the data server. When the data server receives the current position information sent by the watch and the identification information of the watch, searching the identification information of the analog card matched with the current position information and the identification information of the watch, sending the searched identification information of the analog card to the watch, and receiving the identification information of the analog card sent by the data server by the watch. When the data server receives the interest points sent by the watch and the identification information of the watch, the identification information of the analog card matched with the interest points and the identification information of the watch is searched, the searched identification information of the analog card is sent to the watch, and the watch receives the identification information of the analog card sent by the data server. When the identification information of the analog card matched with the interest point and the watch is searched through the identification information of the interest point and the watch, the storage space occupied by the interest point is smaller, so that the storage pressure of a data server can be reduced, the query speed is further increased, and the identification information of the analog card matched with the identification information of the interest point and the identification information of the watch can be found more quickly.
S104: and determining a target analog card which can be used for swiping the card reader based on the identification information of the analog card sent by the data server.
And the watch determines a target analog card which can be used for swiping the card reader according to the identification information of the analog card sent by the data server. Specifically, after receiving the identification information of the analog card sent by the data server, the watch searches the watch for target identification information which is the same as the identification information of the analog card sent by the data server, and when the target identification information is found, the watch acquires the target analog card corresponding to the target identification information, and the target analog card can be used for swiping the current card reader.
Further, in order to accurately and quickly select the target analog card available for swiping the current card reader in the wristwatch, S104 may include S1041-S1042, which are specifically as follows:
s1041: and searching the watch for target identification information which is the same as the identification information of the analog card sent by the data server.
And searching the watch for target identification information which is the same as the identification information of the analog card sent by the data server. Specifically, a plurality of analog cards may be added in the watch, each analog card has respective identification information, and after the watch receives the identification information of the analog card sent by the data server, the watch searches for target identification information identical to the identification information of the analog card sent by the data server.
S1042: and acquiring the target simulation card corresponding to the target identification information.
The watch acquires a target analog card corresponding to the target identification information. Specifically, when target identification information is found in the watch, a target analog card corresponding to the target identification information is obtained; the target analog card may be used to swipe the current card reader.
According to the embodiment of the application, when the NFC label of the card reader is detected, the current position information of the watch is obtained; transmitting the current position information and the identification information of the watch to a data server; receiving identification information of the analog card sent by the data server; and determining a target analog card which can be used for swiping the card reader based on the identification information of the analog card sent by the data server. In the above manner, the target analog card which can be used for swiping the card reader can be determined according to the position information of the watch and the identification information of the watch. The watch detects whether the current default analog card is the same as the target analog card or not, and switches the current default analog card into the target analog card at different times, so that the success of card swiping of a user is ensured, the mode of automatically selecting the analog card to perform card swiping is adopted, the card swiping step is simplified, the card swiping success rate is improved, and the interaction capability between NFC equipment and the user is improved.
Referring to fig. 2, fig. 2 is a schematic flowchart of a method for selecting an NFC emulated card according to another embodiment of the present invention. The main execution body of the method for selecting the NFC analog card in this embodiment is a wristwatch, such as various smart watches, telephone watches, and the like.
The difference between the present embodiment and the previous embodiment is S205-S210, in which S201-S204 are identical to S101-S104 in the previous embodiment, and specific reference is made to the related description of S101-S104 in the previous embodiment, which is not repeated here.
Further, in order to avoid the case that the card swiping fails due to the fact that the current default analog card of the watch is different from the target analog card, S205-S206 may be further included after S204, or S205 and S207 may be further included after S204, which are specifically as follows:
s205: detecting whether a current default analog card of the watch is the same as the target analog card.
The current default analog card in the watch is similar to the current default analog card in the mobile phone supporting NFC used at ordinary times, namely the analog card which is selected by default during card swiping, and if no adjustment is made, the watch can select to use the current default analog card for card swiping. Because the current default analog card is not changed after being set, but only one default analog card is used, the method is not applicable to any place. For example, the current default analog card is a home access card, so in places such as bus taking, subway taking, market consumption, gymnasium and the like, the situation of card swiping failure occurs when the current default analog card is used for swiping, and a user has to manually select the corresponding analog card to successfully swiping. Thus, the card swiping step is complicated, and the interaction capability between the watch and the user is reduced. Therefore, when the target analog card which can be used for swiping the card reader is determined, whether the current default analog card of the watch is the same as the target analog card is detected, and the current default analog card in the watch is automatically switched to the analog card which can be used for swiping the current card reader at different times, so that the speed of swiping the card is improved, and the interaction capability between the watch and a user is improved. Specifically, the watch acquires the identification information of the current default analog card, acquires the identification information of the target analog card, and compares whether the identification information is the same with the identification information of the target analog card.
S206: and when the current default simulation card is detected to be the same as the target simulation card, using the current default simulation card to punch the card.
And when the current default analog card is detected to be the same as the target analog card, using the current default analog card to punch the card. Specifically, when the fact that the identification information of the current default analog card is the same as the identification information of the target analog card is detected, the fact that the current default analog card is the same as the target analog card is judged, and the fact that the current default analog card is the target analog card can be understood, and at the moment, the current default analog card is used for swiping the card, so that the card swiping can be successful.
S207: and when detecting that the current default analog card is different from the target analog card, switching the current default analog card into the target analog card.
And when detecting that the current default analog card is different from the target analog card, switching the current default analog card into the target analog card. Specifically, when the fact that the identification information of the current default analog card is different from the identification information of the target analog card is detected, the fact that the current default analog card is different from the target analog card is judged, and the fact that the current default analog card is not the target analog card can be understood, at the moment, because the current default analog card is not matched with the card reader, if the current default analog card is used for card swiping, card swiping failure can be caused. Therefore, the watch can switch the current default analog card into the target analog card, and the target analog card can be understood to be placed at the position of the current default analog card, so that the watch can interact with the card reader by using the target analog card when swiping the card. Specifically, the position of the current default analog card may be exchanged with the position of the target analog card, or the position of the target analog card may be adjusted to the first position, and the positions of the remaining analog cards are extended, which is not limited.
Further, in order to avoid the situation that the data server does not find the identification information of the matched analog card in time due to network failure, incomplete data storage and the like, and the watch is in a waiting state and cannot swipe the card in time, S202 may further include S208, which specifically includes the following steps:
s208: and when receiving the matching failure notification sent by the data server, acquiring a current default analog card of the watch, and using the current default analog card to punch the card.
If the data server does not find the identification information of the analog card matched with the current position information and the identification information of the watch, or does not find the identification information of the analog card matched with the interest point and the identification information of the watch, the data server generates a matching failure notification, the matching failure notification is sent to the watch, and the watch receives the matching failure notification sent by the data server. At this time, the watch acquires the current default analog card, and swipes the card using the current default analog card.
Further, in order to obtain more card swiping data of the analog card, and further improve the function of the watch for automatically selecting the analog card, S209 or S210 may be further included after S208, which is specifically as follows:
S209: when the current default analog card is detected to be successfully swiped, the identification information of the current default analog card is acquired, and the identification information of the current default analog card, the identification information of the watch and the current position information are transmitted to the data server in a correlated mode.
Specifically, the current default analog card is used for card swiping, and two conditions of successful card swiping and failed card swiping can occur. When the watch detects that the current default analog card is successfully used for swiping the card, that is to say, the current default analog card is matched with the card reader, the identification information of the current default analog card is acquired at the moment, the identification information of the current default analog card, the identification information of the watch and the initially acquired current position information are transmitted to the data server in a correlated mode, and the data server can establish a correlated relation between the identification information and the initially acquired current position information after receiving the information. When the user uses the watch to swipe the card again at the same place, the data server can be matched with the corresponding target analog card in time, the watch can also rapidly determine the target analog card, and the user can swipe the card successfully at the moment.
S210: generating prompt information when detecting that the card swiping failure using the current default analog card occurs; and the prompt information is used for prompting a user to switch the current default analog card.
Specifically, the current default analog card is used for card swiping, and two conditions of successful card swiping and failed card swiping can occur. When the watch detects that the current default analog card is not used for swiping the card, that is to say, the current default analog card is not matched with the card reader, prompt information is generated, and the prompt information is used for prompting a user to manually switch the current default analog card. The prompt information can be displayed on the watch dial, and the user manually switches the current default analog card after seeing the prompt information; voice prompt, vibration prompt, etc. may be performed, and this is not limited. After receiving the prompt, the user can manually select the analog card suitable for the current card reader to swipe the card, and after the card is successfully swiped, the watch can correlate and send the identification information of the analog card with the successful card swipe, the identification information of the watch and the acquired current position information to the data server, and the data server can establish the association relationship between the identification information and the information after receiving the information.
In an application scenario, the card reader is a card reader corresponding to a home entrance guard, and the analog card in the watch is provided with a home entrance guard card, a gymnasium entrance guard card, a supermarket consumption card and a bus card, and the watch is currently provided with a default analog card which is a bus card. When a user uses the watch to swipe a card at a card reader corresponding to a home entrance guard, the watch acquires current position information, further acquires an interest point for identifying the current position, sends the interest point and identification information of the watch to a data server, and the data server searches the identification information of the analog card matched with the interest point and the identification information of the watch and sends the identification information of the found analog card to the watch. And the watch determines the target analog card according to the identification information of the analog card sent by the data server. The watch detects whether the current default analog card is the same as the target analog card, the current default analog card is a bus card, the target analog card is a door access card at home, at the moment, the watch switches the current default analog card into the target analog card, namely, the bus card is switched into the door access card at home, and a user can swipe the card successfully when swipes a card reader corresponding to the door access card at home. Therefore, the user can swipe the card successfully without manually selecting the analog card, the card swiping process is simplified, and the interaction capability between the watch and the user is improved.
According to the embodiment of the application, when the NFC label of the card reader is detected, the current position information of the watch is obtained; transmitting the current position information and the identification information of the watch to a data server; receiving identification information of the analog card sent by the data server; and determining a target analog card which can be used for swiping the card reader based on the identification information of the analog card sent by the data server. In the above manner, the target analog card which can be used for swiping the card reader can be determined according to the position information of the watch and the identification information of the watch. The watch detects whether the current default analog card is the same as the target analog card or not, and switches the current default analog card into the target analog card at different times, so that the success of card swiping of a user is ensured, the mode of automatically selecting the analog card to perform card swiping is adopted, the card swiping step is simplified, the card swiping success rate is improved, and the interaction capability between NFC equipment and the user is improved. Further, in order to avoid the situation that the data server cannot find the identification information of the matched analog card in time due to network faults, incomplete data storage and the like, and the watch is in a waiting state and cannot swipe the card in time all the time, when receiving a matching failure notification sent by the data server, the current default analog card is used for swipe the card; further, in order to acquire more card swiping data of the analog card, further improve the function of automatically selecting the analog card of the watch, after the current default analog card or the analog card manually selected by the user is used for successfully swiping the card, the acquired information is sent to the data server, and a guarantee is provided for convenient card swiping in the future.
Referring to fig. 3, fig. 3 is a schematic diagram of a wristwatch with an NFC analog card according to an embodiment of the present application. The watch comprises units for performing the steps of the corresponding embodiments of fig. 1 and 2. Refer specifically to the related descriptions in the respective embodiments of fig. 1 and fig. 2. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 3, comprising:
an obtaining unit 310, configured to obtain current position information of the wristwatch when detecting an NFC tag of a card reader;
a transmitting unit 320, configured to transmit the current location information and the identification information of the watch to a data server; the current position information and the identification information of the watch are used for triggering the data server to acquire the identification information of the analog card matched with the current position information and the identification information of the watch;
a receiving unit 330, configured to receive identification information of an analog card sent by the data server;
and the determining unit 340 is configured to determine, based on the identification information of the analog card sent by the data server, a target analog card that can be used to swipe the card reader.
Further, the current location information includes geographic location information and a point of interest for identifying a location, and the sending unit 320 is specifically configured to: transmitting the interest points and the identification information of the watch to a data server; the interest points and the identification information of the watch are used for triggering the data server to acquire the identification information of the analog card matched with the interest points and the identification information of the watch.
Further, the determining unit 340 is specifically configured to:
searching target identification information which is the same as the identification information of the analog card sent by the data server from the watch;
and acquiring the target simulation card corresponding to the target identification information.
Further, the wristwatch further includes:
the first detection unit is used for detecting whether the current default analog card of the watch is the same as the target analog card;
the second detection unit is used for using the current default analog card to punch the card when detecting that the current default analog card is the same as the target analog card;
and the third detection unit is used for switching the current default analog card into the target analog card when detecting that the current default analog card is different from the target analog card.
Further, the wristwatch further includes:
and the current default analog card acquisition unit is used for acquiring the current default analog card of the watch when receiving the matching failure notification sent by the data server, and using the current default analog card to punch the card.
Further, the wristwatch further includes:
and the fourth detection unit is used for acquiring the identification information of the current default analog card when the successful card swiping of the current default analog card is detected, and sending the identification information of the current default analog card, the identification information of the watch and the current position information to the data server in an associated manner.
Further, the wristwatch further includes:
the prompt information generation unit is used for generating prompt information when detecting that the current default simulation card is used for swiping the card; and the prompt information is used for prompting a user to switch the current default analog card.
Referring to fig. 4, fig. 4 is a schematic view of a wristwatch according to another embodiment of the present application. As shown in fig. 4, the wristwatch 4 of this embodiment includes: a processor 40, a memory 41, and computer readable instructions 42 stored in the memory 41 and executable on the processor 40. The processor 40, when executing the computer readable instructions 42, implements the steps described above in the various method embodiments for selecting NFC emulated cards, such as S101 to S104 shown in fig. 1. Alternatively, the processor 40, when executing the computer-readable instructions 42, performs the functions of the units of the embodiments described above, such as the units 310-340 of fig. 3.
Illustratively, the computer readable instructions 42 may be partitioned into one or more units that are stored in the memory 41 and executed by the processor 40 to complete the present application. The one or more units may be a series of computer readable instruction segments capable of performing a specific function describing the execution of the computer readable instructions 42 in the watch 4. For example, the computer readable instructions 42 may be provided by an acquisition unit, a transmission unit, a reception unit, and a determination unit, each unit functioning specifically as described above.
The watch may include, but is not limited to, a processor 40, a memory 41. It will be appreciated by those skilled in the art that fig. 4 is merely an example of the watch 4 and is not intended to be limiting of the watch 4, and may include more or fewer components than shown, or may combine some of the components, or different components, e.g., the watch may further include input and output components, network access components, buses, etc.
The processor 40 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the watch 4, such as a hard disk or a memory of the watch 4. The memory 41 may be an external memory wristwatch of the wristwatch 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the wristwatch 4. Further, the memory 41 may also comprise both an internal memory unit and an external memory of the watch 4. The memory 41 is used to store the computer readable instructions and other programs and data required by the watch. The memory 41 may also be used for temporarily storing data that has been output or is to be output.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (8)

1. A method of selecting an NFC analog card for application to a wristwatch, the method comprising:
when the NFC label of the card reader is detected, acquiring the current position information of the watch;
transmitting the current position information and the identification information of the watch to a data server; the current position information and the identification information of the watch are used for triggering the data server to acquire the identification information of the analog card matched with the current position information and the identification information of the watch; wherein the current location information includes geographic location information and points of interest for identifying a location; transmitting the current location information and the identification information of the watch to a data server includes: the interest points and the identification information of the watches are sent to a data server, and the identification information of each watch, different interest points, the identification information of different analog cards and the corresponding relation among the three are stored in the data server in advance;
Receiving identification information of the analog card sent by the data server;
determining a target analog card which can be used for swiping the card reader based on the identification information of the analog card sent by the data server;
detecting whether a current default analog card of the watch is identical to the target analog card;
when the current default analog card is detected to be different from the target analog card, switching the current default analog card into the target analog card;
after the current position information and the identification information of the watch are sent to a data server, the method further comprises the following steps:
when receiving a matching failure notification sent by the data server, acquiring a current default analog card of the watch, and using the current default analog card to perform card swiping;
when receiving the matching failure notification sent by the data server, obtaining a current default analog card of the watch, and after swiping the card by using the current default analog card, the method further comprises the steps of:
when the successful card swiping using the current default analog card is detected, the identification information of the current default analog card is obtained, and the identification information of the current default analog card, the identification information of the watch and the current position information are transmitted to the data server in a correlated mode.
2. The method of claim 1, wherein the point of interest and the identification information of the watch are used to trigger the data server to obtain identification information of an analog card that matches both the point of interest and the identification information of the watch.
3. The method of claim 1, wherein the determining a target analog card available for swiping the card reader based on the identification information of the analog card transmitted by the data server comprises:
searching target identification information which is the same as the identification information of the analog card sent by the data server from the watch;
and acquiring the target simulation card corresponding to the target identification information.
4. A method according to any one of claims 1 to 3, wherein after determining a target analog card available for swiping the card reader based on the identification information of the analog card transmitted by the data server, further comprising:
and when the current default simulation card is detected to be the same as the target simulation card, using the current default simulation card to punch the card.
5. The method of claim 1, wherein when receiving the match failure notification sent by the data server, obtaining a current default analog card of the watch, and using the current default analog card to perform card swiping, further comprising:
Generating prompt information when detecting that the card swiping failure using the current default analog card occurs; and the prompt information is used for prompting a user to switch the current default analog card.
6. A wristwatch for selecting an NFC analog card, comprising:
the acquisition unit is used for acquiring the current position information of the watch when the NFC label of the card reader is detected;
a transmitting unit, configured to transmit the current location information and identification information of the wristwatch to a data server; the current position information and the identification information of the watch are used for triggering the data server to acquire the identification information of the analog card matched with the current position information and the identification information of the watch; wherein the current location information includes geographic location information and points of interest for identifying a location; the sending unit is specifically configured to: the interest points and the identification information of the watches are sent to a data server, and the identification information of each watch, different interest points, the identification information of different analog cards and the corresponding relation among the three are stored in the data server in advance;
the receiving unit is used for receiving the identification information of the analog card sent by the data server;
The determining unit is used for determining a target analog card which can be used for swiping the card reader based on the identification information of the analog card sent by the data server;
the first detection unit is used for detecting whether the current default analog card of the watch is the same as the target analog card;
the third detection unit is used for switching the current default analog card into the target analog card when detecting that the current default analog card is different from the target analog card;
the current default analog card acquisition unit is used for acquiring a current default analog card of the watch when receiving a matching failure notification sent by the data server, and using the current default analog card to perform card swiping;
and the fourth detection unit is used for acquiring the identification information of the current default analog card when the successful card swiping of the current default analog card is detected, and sending the identification information of the current default analog card, the identification information of the watch and the current position information to the data server in an associated manner.
7. A wristwatch comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, wherein the processor, when executing the computer readable instructions, implements the method of any of claims 1 to 5.
8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 5.
CN202010021003.9A 2020-01-09 2020-01-09 Method for selecting NFC analog card and watch Active CN111241856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010021003.9A CN111241856B (en) 2020-01-09 2020-01-09 Method for selecting NFC analog card and watch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010021003.9A CN111241856B (en) 2020-01-09 2020-01-09 Method for selecting NFC analog card and watch

Publications (2)

Publication Number Publication Date
CN111241856A CN111241856A (en) 2020-06-05
CN111241856B true CN111241856B (en) 2024-03-29

Family

ID=70869149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010021003.9A Active CN111241856B (en) 2020-01-09 2020-01-09 Method for selecting NFC analog card and watch

Country Status (1)

Country Link
CN (1) CN111241856B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770484B (en) * 2020-07-01 2023-04-11 Oppo广东移动通信有限公司 Analog card switching method and device, computer readable medium and mobile terminal
CN112153565A (en) * 2020-09-27 2020-12-29 广东小天才科技有限公司 Method, device and system for improving communication success rate based on positioning
CN112347799B (en) * 2020-10-16 2023-02-03 歌尔科技有限公司 Multi-NFC (near field communication) card switching method and electronic equipment
CN117494746A (en) * 2020-10-21 2024-02-02 华为技术有限公司 Analog card switching method, electronic equipment and communication system
CN112347802B (en) * 2020-11-03 2023-05-02 歌尔科技有限公司 Card swiping method, system and device
CN118095306A (en) * 2021-02-02 2024-05-28 中国银联股份有限公司 Service processing method, user terminal, service equipment, system and storage medium
CN113178028B (en) * 2021-04-13 2023-04-07 歌尔股份有限公司 Control method, wearable device, mobile terminal and readable storage medium
CN113343732B (en) * 2021-06-30 2023-01-03 Oppo广东移动通信有限公司 Method, device, terminal, card reader and system for determining near field communication card
CN113541741B (en) * 2021-07-20 2022-07-08 西安易朴通讯技术有限公司 Analog card switching method and device, electronic equipment and storage medium
CN113962232B (en) * 2021-10-14 2024-04-30 深圳市与飞科技有限公司 Analog card switching method and device, computer readable medium and mobile terminal

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577982A (en) * 2012-08-03 2014-02-12 Lg电子株式会社 Mobile terminal and method of performing NFC payment using same
CN105246068A (en) * 2015-10-28 2016-01-13 小米科技有限责任公司 Method and device for selecting SIM (Subscriber Identity Module) card
CN105491243A (en) * 2016-01-18 2016-04-13 努比亚技术有限公司 NFC mobile terminal and NFC simulation card switching control method
WO2018018703A1 (en) * 2016-07-28 2018-02-01 宇龙计算机通信科技(深圳)有限公司 Emulated card switching method and device of nfc mobile terminal
WO2018133178A1 (en) * 2017-01-20 2018-07-26 华为技术有限公司 Nfc-based data transmission method and mobile device
CN109547987A (en) * 2018-11-21 2019-03-29 北京小米支付技术有限公司 The call method and device of nfc card
CN109951841A (en) * 2019-03-19 2019-06-28 北京金山安全软件有限公司 Data card switching method and device and electronic equipment
CN110020569A (en) * 2019-03-11 2019-07-16 华为技术有限公司 Automatically select method, electronic equipment and the communication system of NFC analog card
CN110209476A (en) * 2019-05-09 2019-09-06 深圳如一探索科技有限公司 Object switching method, device, electronic equipment and storage medium in a kind of application program
CN110310113A (en) * 2019-05-20 2019-10-08 深圳市微付充科技有限公司 A kind of virtual card matching process, server and mobile terminal based on geographical location
CN110381443A (en) * 2019-09-05 2019-10-25 北京小米移动软件有限公司 Near-field communication card Activiation method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090037326A1 (en) * 2007-07-30 2009-02-05 Sriram Chitti Virtual Card Selector for a Portable Electronic Device
US20100082487A1 (en) * 2008-09-26 2010-04-01 Giftango Corporation Systems and methods for managing a virtual card based on geographical information
CN103067403B (en) * 2013-01-10 2016-07-06 中兴通讯股份有限公司 A kind of business switch method, system and server
JP5867635B2 (en) * 2014-03-13 2016-02-24 株式会社アクアビットスパイラルズ Tag management system, tag management method, information providing system, information providing method, and devices used therefor

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577982A (en) * 2012-08-03 2014-02-12 Lg电子株式会社 Mobile terminal and method of performing NFC payment using same
CN105246068A (en) * 2015-10-28 2016-01-13 小米科技有限责任公司 Method and device for selecting SIM (Subscriber Identity Module) card
CN105491243A (en) * 2016-01-18 2016-04-13 努比亚技术有限公司 NFC mobile terminal and NFC simulation card switching control method
WO2018018703A1 (en) * 2016-07-28 2018-02-01 宇龙计算机通信科技(深圳)有限公司 Emulated card switching method and device of nfc mobile terminal
WO2018133178A1 (en) * 2017-01-20 2018-07-26 华为技术有限公司 Nfc-based data transmission method and mobile device
CN109547987A (en) * 2018-11-21 2019-03-29 北京小米支付技术有限公司 The call method and device of nfc card
CN110020569A (en) * 2019-03-11 2019-07-16 华为技术有限公司 Automatically select method, electronic equipment and the communication system of NFC analog card
CN109951841A (en) * 2019-03-19 2019-06-28 北京金山安全软件有限公司 Data card switching method and device and electronic equipment
CN110209476A (en) * 2019-05-09 2019-09-06 深圳如一探索科技有限公司 Object switching method, device, electronic equipment and storage medium in a kind of application program
CN110310113A (en) * 2019-05-20 2019-10-08 深圳市微付充科技有限公司 A kind of virtual card matching process, server and mobile terminal based on geographical location
CN110381443A (en) * 2019-09-05 2019-10-25 北京小米移动软件有限公司 Near-field communication card Activiation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Android移动终端平台下NFC技术移动签到管理系统的设计研究;刘洋 等;电子设计工程;第24卷(第20期);第72-74页 *
Web Application Security with Contactless Identity Cards Using Near Field Communication;Sulakatko, A et al.;LECTURE NOTES IN ARTIFICIAL INTELLIGENCE;第8975卷;第570页 *

Also Published As

Publication number Publication date
CN111241856A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
CN111241856B (en) Method for selecting NFC analog card and watch
CN108604342B (en) NFC-based data transmission method and mobile device
CN105306204B (en) Security verification method, device and system
EP2648148A2 (en) Payment method through a payment instrument and server and mobile terminal performing the same
CN111543041B (en) Selection method of analog card and mobile device
EP3179790B1 (en) Method and apparatus for determining location of target portable device
CN111432339A (en) Near field communication card switching method and device, storage medium and electronic equipment
RU2361272C2 (en) Method and device for improved identification of fingerprints
EP3716227A1 (en) Identity verification method and device and electronic device
US20090002237A1 (en) Method and device for determining a position of a portable electronic device
US8401567B2 (en) Method and system to locate an object
NO324541B1 (en) Method, subscriber identity module and system for providing mobile communication terminal location data
CN103064980A (en) Method and system for inquiring information of scenic spots on basis of mobile terminal and GPS (global positioning system)
WO2016046711A2 (en) Systems and methods for identifying mobile devices
CN102880991A (en) Student safety guarantee tracking system, student safety guarantee tracking method and student safety guarantee tracking device
CN112232801A (en) Electronic transaction method and terminal
US9219519B2 (en) Proximity wireless transmission/reception device
CN110910524B (en) Automatic sign-in system, method, device, electronic equipment and computer storage medium
CN112468975A (en) Management method, device, medium and electronic equipment of analog card
CN104994224A (en) Antitheft method and device for mobile terminal
CN114223222B (en) Terminal payment method, device, terminal equipment and computer readable storage medium
CN102857624B (en) Notification method, notification device and source electronic equipment
US11343644B2 (en) Neighbor awareness method, beacon device, and mobile terminal
CN115668989B (en) Scene recognition method and electronic equipment
CN110942542A (en) Access control machine and control method and control equipment thereof

Legal Events

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