CN108021967B - Method and device for copying intelligent card and computer readable storage medium - Google Patents
Method and device for copying intelligent card and computer readable storage medium Download PDFInfo
- Publication number
- CN108021967B CN108021967B CN201711269208.3A CN201711269208A CN108021967B CN 108021967 B CN108021967 B CN 108021967B CN 201711269208 A CN201711269208 A CN 201711269208A CN 108021967 B CN108021967 B CN 108021967B
- Authority
- CN
- China
- Prior art keywords
- smart card
- copying
- feature code
- mobile terminal
- card
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000012790 confirmation Methods 0.000 claims abstract description 39
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 19
- 230000003362 replicative effect Effects 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000010076 replication Effects 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 3
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000012954 risk control Methods 0.000 description 3
- 238000010200 validation analysis Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/073—Special arrangements for circuits, e.g. for protecting identification code in memory
- G06K19/07309—Means for preventing undesired reading or writing from or onto record carriers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Telephonic Communication Services (AREA)
Abstract
The present disclosure relates to a method and apparatus for copying a smart card and a computer-readable storage medium, which solve the technical problem in the related art that a smart card is easily copied. The method comprises the following steps: receiving a copy request for the smart card sent by a mobile terminal; acquiring a feature code of the smart card according to the copying request; the feature code is calculated by utilizing an algorithm and the data of the intelligent card; according to the feature code, whether the smart card meets a copying condition is confirmed; and feeding back the confirmation result to the mobile terminal so that the mobile terminal copies or stops copying the smart card according to the confirmation result.
Description
Technical Field
The present disclosure relates to the field of communications, and in particular, to a method and an apparatus for copying a smart card, and a computer-readable storage medium.
Background
In the related art, MIFARE contactless IC cards are mainly used for access control cards of access control systems, membership cards, and some micropayment cards. The memory capacity of MIFARE cards is 1 kbyte and 4 kbyte. The most common MIFARE Classic 1K card is M1 card for short. The M1 card is divided into 16 sectors, each sector being divided into 4 blocks of 16 bytes each, with the block as the unit of access. Each sector has an independent group of keys and access control for controlling the read-write operation authority of data.
Mainstream mobile phones with NFC (Near Field Communication) eSE (embedded Secure Element) chips in the market currently support MIFARE protocols, and card simulation of MIFARE protocols can be technically realized by dynamically loading applications in the eSE. If the M1 card of the user uses the default key, all data of the card can be read through the NFC card reader mode of the mobile phone or a contactless card reader, and a card with the same data is cloned in the eSE of the mobile phone. Therefore, the M1 card of a user can be copied to any mobile phone quickly, and certain risk risks exist.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, apparatus, and computer-readable storage medium for copying a smart card.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for copying a smart card, applied to a server, the method including:
receiving a copy request for the smart card sent by a mobile terminal;
acquiring a feature code of the smart card according to the copying request; the feature code is obtained by calculation by utilizing an algorithm and the data of the intelligent card;
according to the feature code, whether the smart card meets a copying condition is confirmed;
and feeding back the confirmation result to the mobile terminal so that the mobile terminal copies or stops copying the smart card according to the confirmation result.
Optionally, the obtaining the feature code of the smart card includes:
receiving the data of the smart card sent by the mobile terminal;
and calculating the feature code by using an algorithm and the data of the intelligent card.
Optionally, the obtaining the feature code of the smart card includes:
and acquiring the feature code included in the replication request.
Optionally, the determining whether the mobile terminal meets the copy condition includes:
according to the feature code, searching the number of times of allowing the smart card to be copied and the current copying number of times of the smart card;
when the current copying times are less than the times of allowing the smart card to be copied, allowing the mobile terminal to copy the smart card;
and when the current copying times are not less than the times of allowing the smart card to be copied, prohibiting the mobile terminal from copying the smart card.
Optionally, the determining whether the mobile terminal satisfies a copy condition includes:
confirming that the server does not pre-store the feature code;
storing the feature code;
and setting the number of times of permitted copying of the smart card corresponding to the feature code and the current copying number of times of the smart card.
Optionally, the method further comprises:
receiving information fed back by the mobile terminal for successfully copying the smart card or deleting the smart card;
and updating the current copy times of the smart card.
Optionally, the determining whether the mobile terminal meets the copy condition includes:
searching the feature codes in a preset blacklist;
and when the intelligent terminal finds the feature code in the blacklist, the mobile terminal is prohibited from copying the intelligent card.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for duplicating a smart card, applied to a server, the apparatus including:
the first receiving module is configured to receive a copying request of the smart card sent by a mobile terminal;
the obtaining module is configured to obtain the feature code of the smart card according to the copying request; the feature code is calculated by utilizing an algorithm and the data of the intelligent card;
a first confirmation module configured to confirm whether the mobile terminal satisfies a duplication condition according to the feature code; and
and the feedback module is configured to feed back the confirmation result to the mobile terminal so that the mobile terminal can copy or terminate copying the smart card according to the confirmation result.
Optionally, the obtaining module includes:
the receiving submodule is configured to receive the data of the smart card sent by the mobile terminal; and
and the calculation sub-module is configured to calculate the feature code by utilizing an algorithm and the data of the smart card.
Optionally, the obtaining module is further configured to obtain the feature code included in the copy request.
Optionally, the first confirmation module comprises:
the first searching submodule is configured to search the times of allowing the smart card to be copied and the current copying times of the smart card according to the feature code;
a first allowing submodule configured to allow the mobile terminal to copy the smart card when the current copy number is less than the number of times that the smart card is allowed to be copied; and
a first forbidding submodule configured to forbid the mobile terminal from copying the smart card when the current copying times is not less than the times of allowing the smart card to be copied.
Optionally, the first confirmation module comprises:
a confirmation sub-module configured to confirm that the server does not pre-store the feature code;
a storage submodule configured to store the feature code; and
and the setting submodule is configured to set the number of times that the smart card corresponding to the feature code is allowed to be copied and the current copying number of times of the smart card.
Optionally, the method further comprises:
the second receiving module is configured to receive the information of successfully copying the smart card or deleting the smart card fed back by the mobile terminal; and
an update module configured to update a current number of copies of the smart card.
Optionally, the first confirmation module comprises:
the second searching submodule is configured to search the feature codes in a preset blacklist; intelligence and
a second prohibiting sub-module configured to prohibit the mobile terminal from copying the smart card when the feature code is found in the blacklist.
According to a third aspect of the disclosed embodiments, there is provided an apparatus for copying a smart card, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a copy request for the smart card sent by a mobile terminal;
acquiring a feature code of the smart card according to the copying request; the feature code is calculated by utilizing an algorithm and the data of the intelligent card;
according to the feature code, whether the smart card meets a copying condition is confirmed;
and feeding back the confirmation result to the mobile terminal so that the mobile terminal copies or stops copying the smart card according to the confirmation result.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of copying a smart card provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
by adopting the method for copying the intelligent card, the condition that the intelligent card is abused or maliciously copied is avoided by setting the copying condition of the intelligent card in the server, the technical problem that the intelligent card is easily copied in the related technology is solved, and the risk control capability of the intelligent card copying service is improved; meanwhile, the smart card is identified through the feature code, and the server does not need to store the data of the smart card, so that the privacy data of the user is prevented from being revealed.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure, but do not constitute a limitation of the disclosure. In the drawings:
FIG. 1 is a flow chart illustrating a method of replicating a smart card in accordance with an exemplary embodiment.
FIG. 2 is a schematic diagram of one implementation environment illustrated by the present disclosure, in accordance with an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method of duplicating a smart card according to another exemplary embodiment.
Fig. 4 is a block diagram illustrating an apparatus for duplicating a smart card in accordance with an exemplary embodiment.
FIG. 5 is a block diagram illustrating an acquisition module of an apparatus for duplicating smart cards, according to an example embodiment.
FIG. 6 is a block diagram illustrating a first validation module of an apparatus for duplicating smart cards, according to an example embodiment.
Fig. 7 is a block diagram illustrating a first validation module of an apparatus for duplicating smart cards, according to another example embodiment.
Fig. 8 is a block diagram illustrating an apparatus for duplicating a smart card, according to another exemplary embodiment.
Fig. 9 is a block diagram illustrating a first validation module of an apparatus for duplicating smart cards, according to another example embodiment.
FIG. 10 is a block diagram illustrating an apparatus for replicating a smart card in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
FIG. 2 is a schematic diagram of an implementation environment shown in accordance with an exemplary embodiment. As shown in fig. 1, the enforcement environment may include a smart card 10, a mobile terminal 20, and a server 30. The mobile terminal 20 may be a user device accessing the server 30 through a mobile communication network, for example, a user device such as a smart phone, a tablet computer, a notebook computer, etc., and it should be particularly noted that the mobile terminal 20 has a function module for reading data of the smart card 10, for example, the function module may be an NFC module. Fig. 2 is illustrated with the mobile terminal 20 being a smartphone. The smart card 10 may be a contactless IC card, or may be another type of smart card, as long as the mobile terminal 20 can read data of the smart card 10 through the corresponding function module.
Fig. 1 is a flowchart illustrating a method of copying a contactless IC card according to an exemplary embodiment to solve a technical problem in the related art in which a contactless IC card is easily copied. The network connection method shown in this embodiment may be applied to a server shown in fig. 2, and as shown in fig. 1, the method may include the following steps.
Step S11, the mobile terminal sends a copy request for the smart card to the server.
The mobile terminal may send a copy request to the server after reading the data of the smart card.
Step S12, the server obtains the feature code of the smart card according to the copy request; wherein the feature code is calculated by using an algorithm and the data of the smart card.
The feature codes are used to identify the smart cards, with different smart cards having different feature codes. The smart card is identified through the feature code, and the server does not need to store the data of the smart card, so that the privacy data of the user is prevented from being revealed. The feature code can be obtained by the following two ways:
in one embodiment, the mobile terminal sends the data of the smart card to the server after reading the data. Optionally, data of the smart card may be included in the copy request. After receiving the data of the smart card sent by the mobile terminal, the server calculates a feature code corresponding to the data according to a preset algorithm (such as a hash algorithm).
In another embodiment, after reading the data of the smart card, the mobile terminal calculates a feature code corresponding to the data according to a preset algorithm (such as a hash algorithm), and then sends the feature code to the server. Optionally, the signature may be included in the copy request.
And step S13, the server confirms whether the smart card meets the copying condition according to the feature code.
Wherein the replication conditions may be: presetting a blacklist in a server, wherein the blacklist can record the feature codes corresponding to the smart cards which are not allowed to be copied; the server searches whether the feature code obtained in step S12 exists in a blacklist, and when the feature code is not found in the blacklist, that is, it is determined that the mobile terminal meets the copy condition, the mobile terminal is allowed to copy the smart card; and when the feature code is found in the blacklist, namely the mobile terminal does not meet the copying condition as a confirmation result, the mobile terminal is prohibited from copying the smart card. Optionally, when the feature code is not found in the blacklist, other copying conditions, such as the number of times the smart card is allowed to be copied, may be further increased.
And step S14, the server feeds back the confirmation result to the mobile terminal.
And step S15, the mobile terminal copies or terminates copying the smart card according to the confirmation result.
And when the confirmation result is that the mobile terminal meets the copying condition, copying the intelligent card by the mobile terminal. And when the confirmation result is that the mobile terminal does not meet the copying condition, the mobile terminal stops copying the smart card.
By adopting the method for copying the intelligent card, the condition that the intelligent card is abused or maliciously copied is avoided by setting the copying condition of the intelligent card in the server, the technical problem that the intelligent card is easily copied in the related technology is solved, and the risk control capability of the intelligent card copying service is improved; meanwhile, the smart card is identified through the feature code, and the server does not need to store the data of the smart card, so that the privacy data of the user is prevented from being revealed.
Fig. 3 is a flowchart illustrating a method of duplicating a smart card according to another exemplary embodiment. The network connection method shown in this embodiment may be applied to a server as shown in fig. 2, and as shown in fig. 3, the method may include the following steps.
And step S31, the mobile terminal sends a copy request for the smart card to the server.
Step S32, the server obtains the feature code of the smart card according to the copy request; the feature code is calculated by utilizing an algorithm and the data of the intelligent card.
Step S33, the server confirms, according to the feature code, the number of times the server prestores the feature code and the smart card corresponding to the feature code is allowed to be copied and the current number of times the smart card is copied.
Optionally, when the server does not pre-store the feature code, the server stores the feature code, and the user may set the number of times that the smart card corresponding to the feature code is allowed to be copied and the current number of times that the smart card is copied at the same time.
And step S34, the server confirms whether the smart card meets the copying condition according to the feature code.
Wherein the replication conditions may be: the number of times that the smart card corresponding to the feature code is allowed to be copied and the current copying number of times of the smart card; the server searches the corresponding times of allowing the smart card to be copied and the current copying times of the smart card according to the feature code; when the current copying times are less than the times of allowing the smart card to be copied, namely the mobile terminal meets the copying condition as a result of confirmation, allowing the mobile terminal to copy the smart card; and when the current copying times are not less than the times of allowing the smart card to be copied, namely the mobile terminal does not meet the copying condition as a confirmation result, the mobile terminal is prohibited from copying the smart card.
And step S35, the server feeds back the confirmation result to the mobile terminal.
And step S36, the mobile terminal copies or terminates copying the smart card according to the confirmation result.
And step S37, the mobile terminal successfully copies the smart card or deletes the smart card.
And step S38, the mobile terminal feeds back the information of the smart card which is successfully copied or deleted to the server.
In step S39, the server updates the current number of copies of the smart card.
Wherein, the user can actively delete the smart card from the mobile terminal, namely, delete the copied data of the smart card. For example, after a user deletes the copied data of the smart card from the mobile terminal, the server subtracts the current copy number of the smart card once; and after the data of the intelligent card is successfully copied by a certain mobile terminal, the server increases the current copying times of the intelligent card once.
For example, assuming that the smart card is an access card, the user wants four people at home to use the access card, and at this time, the user can set the number of times that the access card is allowed to be copied to 4 times, so that the people at home can copy the access card by using their own mobile phones, which is equivalent to that each person holds one access card. Meanwhile, because the number of times of the access card is 4, after the mobile phones of four people in the house of the user are copied successfully, other people can be limited to continuously copy the access card, and the risk that the access card in the house is copied maliciously by strangers is avoided.
By adopting the method for copying the intelligent card, the situation that the intelligent card is randomly copied is avoided by setting the copying times of the intelligent card in the server, and the risk control capability of the intelligent card copying service is further improved.
Fig. 4 is a block diagram illustrating an apparatus for duplicating a smart card in accordance with an exemplary embodiment. The apparatus may be implemented as part or all of a server by software, hardware, or a combination of both. The apparatus 400 for copying a smart card may also be configured in a server as shown in fig. 2. As shown in fig. 4, the apparatus 400 may include:
a first receiving module 401 configured to receive a copy request for the smart card sent by a mobile terminal;
an obtaining module 402 configured to obtain a feature code of the smart card according to the copy request; the feature code is calculated by utilizing an algorithm and the data of the intelligent card;
a first confirmation module 403 configured to confirm whether the smart card satisfies a copy condition according to the feature code; and
a feedback module 404 configured to feed back the confirmation result to the mobile terminal, so that the mobile terminal copies or terminates copying the smart card according to the confirmation result.
Optionally, as shown in fig. 5, the obtaining module 402 may include:
a receiving submodule 4021 configured to receive data of the smart card sent by the mobile terminal; and
a calculation sub-module 4022 configured to calculate the feature code using an algorithm and data of the smart card.
Optionally, the obtaining module 402 is further configured to obtain the feature code included in the copy request.
Optionally, as shown in fig. 6, the first confirmation module 403 may include:
a first searching sub-module 4031 configured to search, according to the feature code, the number of times the smart card is allowed to be copied and the current number of times the smart card is copied;
a first allowing sub-module 4032 configured to allow the mobile terminal to copy the smart card when the current number of copies is less than the number of copies allowed for the smart card; and
a first prohibiting sub-module 4033 configured to prohibit the mobile terminal from copying the smart card when the current number of copies is not less than the number of copies allowed by the smart card.
Optionally, as shown in fig. 7, the first confirmation module 403 may include:
a confirmation sub-module 4037 configured to confirm that the server does not pre-store the feature code;
a storage sub-module 4038 configured to store the feature code; and
a setting sub-module 4039 configured to set the number of times the smart card corresponding to the feature code is allowed to be copied and the current number of times the smart card is copied.
Optionally, as shown in fig. 8, the apparatus 400 may further include:
a second receiving module 409, configured to receive information of successfully copying or deleting the smart card sent by the mobile terminal; and
an update module 410 configured to update the current number of copies of the smart card.
Optionally, as shown in fig. 9, the first confirmation module 403 may include:
the second searching sub-module 4034 is configured to search the feature codes in a preset blacklist; and
a second disabling sub-module 4036 configured to disable copying of the smart card by the mobile terminal when the feature code is found in the blacklist.
Fig. 10 is a block diagram illustrating an apparatus 1900 for copying a smart card, according to an example embodiment. For example, the apparatus 1900 may be provided as a server. Referring to FIG. 10, the device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by the processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the method of replicating a smart card described above.
With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a computer readable storage medium is also provided, having stored thereon computer program instructions to be executed by a processor for performing the steps of the above-described method of copying a smart card.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (14)
1. A method for replicating a smart card for use with a server, the method comprising:
receiving a copy request for the smart card sent by a mobile terminal;
acquiring a feature code of the smart card according to the copying request; the feature code is calculated by utilizing an algorithm and data of the intelligent card, and is used for identifying the intelligent card;
according to the feature code, whether the smart card meets a copying condition is confirmed;
feeding back a confirmation result to the mobile terminal so that the mobile terminal can copy or stop copying the smart card according to the confirmation result;
the copying condition comprises whether the current copying times of the smart card is less than the allowed copying times of the smart card or whether the feature code of the smart card is in a preset blacklist, wherein the blacklist comprises the feature code corresponding to the smart card which is not allowed to be copied;
receiving information of successfully copying the smart card or deleting the smart card fed back by the mobile terminal;
and updating the current copy times of the smart card.
2. The method of claim 1, wherein the obtaining the feature code of the smart card comprises:
receiving the data of the smart card sent by the mobile terminal;
and calculating the feature code by using an algorithm and the data of the intelligent card.
3. The method of claim 1, wherein the obtaining the feature code of the smart card comprises:
and acquiring the feature code included in the replication request.
4. The method of claim 1, wherein the confirming whether the mobile terminal satisfies a duplication condition comprises:
searching the times of allowing the smart card to be copied and the current copying times of the smart card according to the feature code;
when the current copying times are less than the times of allowing the smart card to be copied, allowing the mobile terminal to copy the smart card;
and when the current copying times are not less than the times of allowing the smart card to be copied, prohibiting the mobile terminal from copying the smart card.
5. The method of claim 1, wherein the confirming whether the mobile terminal satisfies a duplication condition comprises:
confirming that the server does not pre-store the feature code;
storing the feature code;
and setting the number of times of permitted copying of the smart card corresponding to the feature code and the current copying number of times of the smart card.
6. The method of claim 1, wherein the confirming whether the mobile terminal satisfies a duplication condition comprises:
searching the feature codes in a preset blacklist;
and when the feature code is found in the blacklist, prohibiting the mobile terminal from copying the smart card.
7. An apparatus for replicating a smart card, the apparatus being adapted for use with a server, the apparatus comprising:
the first receiving module is configured to receive a copying request of the smart card sent by a mobile terminal;
the obtaining module is configured to obtain the feature code of the smart card according to the copying request; the feature code is calculated by utilizing an algorithm and data of the intelligent card, and is used for identifying the intelligent card;
a first confirming module configured to confirm whether the smart card meets a copying condition according to the feature code, wherein the copying condition includes whether the current copying times of the smart card is less than the allowed copying times of the smart card or whether the feature code of the smart card is in a preset blacklist, and the blacklist includes the feature code corresponding to the smart card which is not allowed to be copied; and
a feedback module configured to feed back a confirmation result to the mobile terminal so that the mobile terminal copies or terminates copying the smart card according to the confirmation result;
a second receiving module configured to receive information of successfully copying or deleting the smart card fed back by the mobile terminal; and
an update module configured to update a current number of copies of the smart card.
8. The apparatus of claim 7, wherein the obtaining module comprises:
the receiving submodule is configured to receive the data of the smart card sent by the mobile terminal; and
and the calculation sub-module is configured to calculate the feature code by utilizing an algorithm and the data of the smart card.
9. The apparatus of claim 7, wherein the obtaining module is further configured to obtain the feature code included in the copy request.
10. The apparatus of claim 7, wherein the first confirmation module comprises:
the first searching submodule is configured to search the times of allowing the smart card to be copied and the current copying times of the smart card according to the feature code;
a first allowing submodule configured to allow the mobile terminal to copy the smart card when the current copy number is less than the number of times that the smart card is allowed to be copied; and
a first forbidding submodule configured to forbid the mobile terminal from copying the smart card when the current copying times is not less than the times of copying allowed by the smart card.
11. The apparatus of claim 7, wherein the first confirmation module comprises:
a confirmation submodule configured to confirm that the server does not pre-store the feature code;
a storage sub-module configured to store the feature code; and
and the setting submodule is configured to set the number of times that the smart card corresponding to the feature code is allowed to be copied and the current copying number of times of the smart card.
12. The apparatus of claim 7, wherein the first confirmation module comprises:
the second searching submodule is configured to search the feature code in a preset blacklist; intelligence and
a second prohibiting sub-module configured to prohibit the mobile terminal from copying the smart card when the feature code is found in the blacklist.
13. An apparatus for replicating a smart card, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a copy request for the smart card sent by a mobile terminal;
acquiring a feature code of the smart card according to the copying request; the feature code is calculated by utilizing an algorithm and data of the intelligent card, and is used for identifying the intelligent card;
according to the feature code, whether the smart card meets a copying condition is confirmed;
feeding back a confirmation result to the mobile terminal so that the mobile terminal can copy or stop copying the smart card according to the confirmation result;
the copying condition comprises whether the current copying times of the smart card is less than the allowed copying times of the smart card or whether the feature code of the smart card is in a preset blacklist, wherein the blacklist comprises the feature code corresponding to the smart card which is not allowed to be copied;
receiving information fed back by the mobile terminal for successfully copying the smart card or deleting the smart card;
and updating the current copy times of the smart card.
14. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711269208.3A CN108021967B (en) | 2017-12-05 | 2017-12-05 | Method and device for copying intelligent card and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711269208.3A CN108021967B (en) | 2017-12-05 | 2017-12-05 | Method and device for copying intelligent card and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108021967A CN108021967A (en) | 2018-05-11 |
CN108021967B true CN108021967B (en) | 2022-08-26 |
Family
ID=62078346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711269208.3A Active CN108021967B (en) | 2017-12-05 | 2017-12-05 | Method and device for copying intelligent card and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108021967B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109885540B (en) * | 2019-02-12 | 2020-10-23 | 北京北信源信息安全技术有限公司 | File security monitoring method and device and computer |
CN114172544B (en) * | 2021-10-20 | 2022-09-27 | 荣耀终端有限公司 | A method, electronic device and storage medium for duplicating a smart card |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004318564A (en) * | 2003-04-17 | 2004-11-11 | Dainippon Printing Co Ltd | Ic card and ic card program |
CA2636304A1 (en) * | 2007-06-27 | 2008-12-27 | Research In Motion Limited | System and method for improving smart card reader reconnections |
JP2014071783A (en) * | 2012-09-29 | 2014-04-21 | Idea Co Ltd | Information processing system |
CN104618330A (en) * | 2014-12-26 | 2015-05-13 | 小米科技有限责任公司 | Business processing method and device and terminal |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001306987A (en) * | 2000-04-25 | 2001-11-02 | Nec Corp | Card use approval method, card settlement system and card settlement device using portable telephone set |
GB0220907D0 (en) * | 2002-09-10 | 2002-10-16 | Ingenia Holdings Ltd | Security device and system |
CN2751360Y (en) * | 2004-09-08 | 2006-01-11 | 北京融通高科科技发展有限公司 | A CPU card meter |
KR100798927B1 (en) * | 2006-12-06 | 2008-01-29 | 한국전자통신연구원 | Data storage device with smart card based copy protection, its data storage and transmission method |
CN100547606C (en) * | 2007-08-30 | 2009-10-07 | 樊明延 | Strengthen active radio frequency identification system information safety and compatible method and device |
US8052060B2 (en) * | 2008-09-25 | 2011-11-08 | Utc Fire & Security Americas Corporation, Inc. | Physical access control system with smartcard and methods of operating |
US9600758B2 (en) * | 2008-12-06 | 2017-03-21 | Br-Technic | Radio frequency identification tag |
CN102136079B (en) * | 2011-03-07 | 2014-08-20 | 中兴通讯股份有限公司 | Dynamic authentication method between reader and tag card and implementing device thereof |
CN103854042B (en) * | 2014-03-14 | 2017-01-25 | 智坤(江苏)半导体有限公司 | RFID label reader-writer authentication and label anti-cloning method |
CN105825134A (en) * | 2016-03-16 | 2016-08-03 | 中国联合网络通信集团有限公司 | Intelligent card processing method, intelligent card management server and terminal |
CN107341534B (en) * | 2017-07-18 | 2020-11-24 | 南京唯捷豪信息科技有限公司 | Electronic card anti-copy method and device and management server |
-
2017
- 2017-12-05 CN CN201711269208.3A patent/CN108021967B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004318564A (en) * | 2003-04-17 | 2004-11-11 | Dainippon Printing Co Ltd | Ic card and ic card program |
CA2636304A1 (en) * | 2007-06-27 | 2008-12-27 | Research In Motion Limited | System and method for improving smart card reader reconnections |
JP2014071783A (en) * | 2012-09-29 | 2014-04-21 | Idea Co Ltd | Information processing system |
CN104618330A (en) * | 2014-12-26 | 2015-05-13 | 小米科技有限责任公司 | Business processing method and device and terminal |
Non-Patent Citations (1)
Title |
---|
IC卡技术;杨肇敏等;《电脑与信用卡》;19981115(第11期);22-27 * |
Also Published As
Publication number | Publication date |
---|---|
CN108021967A (en) | 2018-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9043898B2 (en) | Access management system | |
US20220109974A1 (en) | Esim card change method and related device | |
US20160048688A1 (en) | Restricting System Calls using Protected Storage | |
CN107103245B (en) | File authority management method and device | |
US11316693B2 (en) | Trusted platform module-based prepaid access token for commercial IoT online services | |
US20120144448A1 (en) | Data Store Including a File Location Attribute | |
EP3171566B1 (en) | Method, device and system for security domain management | |
KR20190060011A (en) | Service processing method, apparatus and server | |
US10021213B2 (en) | Systems and methods for adaptive cloning of mobile devices | |
US8931045B2 (en) | Method and apparatus for management of multiple grouped resources on device | |
US20100082679A1 (en) | Method, apparatus and computer program product for providing object privilege modification | |
CN104636645A (en) | Method and device for controlling data accessing | |
CN102810139B (en) | Secure data operation method and communication terminal | |
CN108021967B (en) | Method and device for copying intelligent card and computer readable storage medium | |
CN107277799A (en) | Method, device and system for binding mobile phone numbers | |
CN107526960B (en) | System and method for protecting mobile contact information | |
US10172081B2 (en) | Information processing system and information processing method | |
CN108683672B (en) | Authority management method and device | |
CN115600236A (en) | Access control method and device, equipment and storage medium | |
CN108664821B (en) | Card copying method, device and storage medium | |
US8621557B2 (en) | Information processing system judging whether manipulation is possible or not based on access control policy and method of operation thereof | |
CN109548002B (en) | Authorization method for controlling functions of SIM card of mobile phone | |
KR101633402B1 (en) | Namecard management system | |
EP3246843A1 (en) | Terminal contact management method, management device and terminal | |
CN112351131A (en) | Control method and device of electronic equipment, electronic equipment 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |