CN106980889A - Analogy method, device and the analogue means of non-contact IC card - Google Patents

Analogy method, device and the analogue means of non-contact IC card Download PDF

Info

Publication number
CN106980889A
CN106980889A CN201610031154.6A CN201610031154A CN106980889A CN 106980889 A CN106980889 A CN 106980889A CN 201610031154 A CN201610031154 A CN 201610031154A CN 106980889 A CN106980889 A CN 106980889A
Authority
CN
China
Prior art keywords
card
circle
data message
terminal
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610031154.6A
Other languages
Chinese (zh)
Inventor
施晨杰
沈凌楠
王磊
张大慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610031154.6A priority Critical patent/CN106980889A/en
Priority to TW105143379A priority patent/TW201732703A/en
Priority to PCT/CN2017/070655 priority patent/WO2017124939A1/en
Publication of CN106980889A publication Critical patent/CN106980889A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/067Record 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/07Record 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/067Record 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/07Record 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/0722Record 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 comprising an arrangement for testing the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Abstract

The application provides a kind of analogy method, device and the analogue means of non-contact IC card, and this method includes:Circle deposit between terminal and IC-card piece carry out data information transfer during, corresponding first data message of the data message is recorded by first passage;First data message is changed according to default analog form, the second data message is obtained;Second data message is returned to by the circle by second channel and deposits terminal, depositing terminal for the circle performs the operation flow related to second data message.The abnormal scene that terminal can be deposited to the otherness and circle of various types of IC-card pieces with occurring during the progress data interaction of IC-card piece in the technical scheme of the application is simulated, and is managed so as to carry out unified simulation to various types of IC-card pieces.

Description

Analogy method, device and the analogue means of non-contact IC card
Technical field
The application is related to IC-card technical field, more particularly to a kind of analogy method of non-contact IC card, Device and analogue means.
Background technology
IC-card piece is widely used in financial finance, social insurance, traffic for tourism, health care, political affairs Mansion administration, commodity retail, amusement and recreation, school control and other fields, can be with from different use occasions It is divided into:City one-card, all-in-one campus card, cell all-purpose card, office block all-purpose card, enterprise one block Logical, hotel's all-purpose card, intelligent building all-purpose card etc..
By taking city one-card as an example, the operation such as bus IC card circle of the prior art is deposited is typically all in a card The circle of logical company self-operation is deposited and carried out in terminal, with the development of NFC technique and city one-card business, The third party such as mobile phone charging terminal occurs.In order to avoid bringing puzzlement to user and possible fund occur Application program and bus IC card, circle on the problem of aspect, third party's charging terminal deposit the report between terminal The interaction of literary data is particularly important.Because bus IC card is used as contactless physical hardware, each city Message data between the bus IC card in city deposits terminal with circle interacts having differences property, therefore public transport IC Block the situation for depositing terminal return exception message data to circle to be simulated well, and then can not cover The scene of all abnormal data messages is covered, can make the application journey of third party's charging terminal without sufficiently detection Sequence buries certain hidden danger when accessing each city.
The content of the invention
In view of this, the application provides a kind of new technical scheme, it is ensured that can simulate various types of IC The otherness and circle of card deposit the abnormal scene occurred during terminal carries out data interaction with IC-card piece, Realize that carrying out unified simulation to various types of IC-card pieces manages.
To achieve the above object, the application offer technical scheme is as follows:
According to the first aspect of the application, it is proposed that a kind of analogy method of non-contact IC card, including:
Circle deposit between terminal and IC-card piece carry out data information transfer during, recorded by first passage Make corresponding first data message of the data message;
First data message is changed according to default analog form, the second data message is obtained;
Second data message is returned to by the circle by second channel and deposits terminal, so that the circle is deposited Terminal performs the operation flow related to second data message.
According to the second aspect of the application, it is proposed that a kind of analogue means of non-contact IC card, including:
Message records module, carries out the process of data information transfer between terminal and IC-card piece for being deposited in circle In, corresponding first data message of the data message is recorded by first passage;
Message modified module, module is recorded for changing the message according to default analog form First data message arrived, obtains the second data message;
Message sending module, for the message modified module is obtained by second channel described second Data message returns to the circle and deposits terminal, and depositing terminal for the circle performs and second data message Related operation flow.
According to the third aspect of the application, it is proposed that a kind of analogue means, including:
Processor;Memory for storing the processor-executable instruction;Network interface;
Wherein, the network interface, which is used to deposit in circle, carries out data information transfer between terminal and IC-card piece During, corresponding first data message of the data message is recorded by first passage;
The processor, for changing first data message according to default analog form, obtains the Two data messages;
The network interface is additionally operable to amended second data of the processor by second channel Message return to it is described circle deposit terminal, for it is described circle deposit terminal perform it is related to second data message Operation flow.
From above technical scheme, the application deposits the data message transmitted between terminal and IC-card piece to circle Recorded, and the first data message is modified according to default analog form, due to default mould Plan mode can be determined according to the information included in the first data message, therefore the application can be to each The otherness and circle of the IC-card piece of type deposit during terminal carries out data interaction with IC-card piece Existing abnormal scene is simulated, and is managed so as to carry out unified simulation to various types of IC-card pieces.
Brief description of the drawings
Fig. 1 shows the analogy method of the non-contact IC card according to one example embodiment of the present invention Schematic flow sheet;
Fig. 2 shows the simulation side of non-contact IC card in accordance with a further exemplary embodiment of the present invention The schematic flow sheet of method;
Fig. 3 shows the simulation side of the non-contact IC card of another exemplary embodiment according to the present invention The schematic flow sheet of method;
Fig. 4 shows the simulation side of non-contact IC card in accordance with an alternative illustrative embodiment of the present invention The schematic flow sheet of method;
Fig. 5 A show the simulation side of the non-contact IC card according to one example embodiment of the present invention One of signaling process figure of method;
Fig. 5 B show the simulation side of the non-contact IC card according to one example embodiment of the present invention The two of the signaling process figure of method;
Fig. 6 shows the structural representation of the analogue means according to one example embodiment of the present invention;
Fig. 7 shows the analogue means of the non-contact IC card according to one example embodiment of the present invention Structural representation;
Fig. 8 shows the simulation dress of non-contact IC card in accordance with a further exemplary embodiment of the present invention The structural representation put;
Fig. 9 shows the simulation dress of the non-contact IC card of another exemplary embodiment according to the present invention The structural representation put;
Figure 10 shows the simulation of non-contact IC card in accordance with an alternative illustrative embodiment of the present invention The structural representation of device.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following When description is related to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous Key element.Embodiment described in following exemplary embodiment does not represent the institute consistent with the application There is embodiment.On the contrary, they are only one be described in detail in such as appended claims, the application The example of the consistent apparatus and method of a little aspects.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting The application." one kind ", " institute of singulative used in the application and appended claims State " and "the" be also intended to including most forms, unless context clearly shows that other implications.Should also Work as understanding, term "and/or" used herein refers to and associated lists item comprising one or more Purpose any or all may combine.
It will be appreciated that though may describe various using term first, second, third, etc. in the application Information, but these information should not necessarily be limited by these terms.These terms only be used for by same type of information that This is distinguished.For example, in the case where not departing from the application scope, the first information can also be referred to as Two information, similarly, the second information can also be referred to as the first information.Depending on linguistic context, as in this institute Use word " if " can be construed to " and ... when " or " when ... when " or " response In it is determined that ".
In order the application to be further described, there is provided the following example:
Fig. 1 shows the analogy method of the non-contact IC card according to one example embodiment of the present invention Schematic flow sheet;Analogy method in the present embodiment, which can be applied, to deposit terminal and noncontact with circle On the analogue means that data interaction is carried out between Formulas I C cards, the analogue means can be a specific hardware The software installed in equipment or hardware device, as shown in figure 1, comprising the following steps:
Step 101, circle deposit between terminal and IC-card piece carry out data information transfer during, pass through Corresponding first data message of first passage data recording information.
In one embodiment, circle, which deposits the data message transmitted between terminal and IC-card piece, can include IC-card The remaining sum of piece, the card number of consumer record and IC-card piece, message authentication code and random number, circle deposit object information Deng can be deposited according to circle need the data of transmission to determine data message between terminal and IC-card piece.One In embodiment, first passage can be NFC passages, circle can be made to deposit terminal and IC by NFC passages Short-range communication is realized between card.
Step 102, the first data message is changed according to default analog form, obtains the second data message.
In one embodiment, default analog form can be according to the information included in the first data message To determine, for example, the first data message includes the remaining sum, consumer record and IC-card piece of IC-card piece The information such as card number, then default analog form can be the remaining sum in the first data message of modification, consumption note The mode of any one mode such as the card number of record and IC-card piece or any combination, so as to obtain the second data Message, by default analog form can be sure to be able to simulate the otherness of various types of IC-card pieces with And the abnormal scene interacted with IC-card piece, realize and various types of IC-card pieces are carried out with unified simulation pipe Reason.
Step 103, the second data message is returned to by circle by second channel and deposits terminal, so that circle deposits end End performs the operation flow related to the second data message.
In one embodiment, second channel can be identical with first passage, can also be with first passage not phase Together, it can deposit the communication protocol between terminal to determine according to analogue means and circle.In one embodiment, Two passages can be analog channel, for example, the passage based on socket agreements.In one embodiment, such as Really there is exception in the second data message, then circle, which deposits terminal, can carry out corresponding abnormality processing.
Seen from the above description, the embodiment of the present invention deposits end by above-mentioned steps 101- steps 103 to circle The data message transmitted between end and IC-card piece is recorded, and is counted according to default analog form to first Modified according to message, because default analog form can be according to the letter included in the first data message Breath determines, thus the application the otherness and circle of various types of IC-card pieces can be deposited terminal with The abnormal scene that IC-card piece occur during data interaction is simulated, so as to various types of The IC-card piece of type carries out unified simulation management.
Fig. 2 shows the simulation side of non-contact IC card in accordance with a further exemplary embodiment of the present invention The schematic flow sheet of method;The present embodiment deposits the IC-card piece of terminal return by IC-card piece of data message to circle The first card image exemplified by it is illustrative, as shown in Fig. 2 comprising the following steps:
Step 201, circle deposit between terminal and IC-card piece carry out data information transfer during, pass through First passage, which obtains IC-card piece, to be needed to deposit the first card image of terminal return to circle, wherein, the first card Information includes the card number of the remaining sum, consumer record and IC-card piece of IC-card piece.
Step 202, corresponding first data message of the first card image is recorded.
Step 203, the first card image is transmitted to by circle by first passage and deposits terminal.
Step 204, according to default analog form change the first data message in IC-card piece remaining sum, The card number of consumer record and IC-card piece, obtains the second data message.
Step 205, the second data message is returned to by circle by second channel and deposits terminal, so that circle deposits end End performs the operation flow related to the second data message.
In one embodiment, analogue means have modified in the first data message according to default analog form First card image, includes the remaining sum of IC-card piece, and causes amended remaining sum to deposit terminal beyond circle to set Fixed normal range (NR), circle deposits terminal after the second data message is received, and reads in the second data message Remaining sum, verify the amended remaining sum whether circle deposit terminal profile normal range (NR) in, if modification Remaining sum afterwards is in the normal range (NR) that circle deposits terminal profile, and circle deposits terminal and continues executing with follow-up operation flow, If amended remaining sum deposits the normal range (NR) of terminal profile beyond circle, circle, which deposits terminal, can stop execution Follow-up circle deposits business.For example, the normal range (NR) that the remaining sum that circle deposits terminal-pair IC-card piece is set is [0,1000], Remaining sum in first data message is 100, if analogue means changes 100 in the first data message For 1100, then circle is deposited terminal and can stopped performing follow-up after the amended remaining sum is read Circle deposits business.
In one embodiment, the card number of IC-card piece can be only set to numeral, if analogue means is by IC The card number of card is revised as including the combination of letter and number, then is considered as exception.Those skilled in the art It is understood that default analog form can be set according to business needs, the application is to specific Analog form is not limited.When circle deposit result it is unknown when, circle deposit terminal can be newest by reading IC-card piece Consumer record, by with circle deposit before consumer record be compared, judged with this this circle deposit whether Success, so can determine whether to need the amount balance that pays user to Tong Ka companies or reimbursement to User.
In the present embodiment, by needing to deposit the first card image of terminal return according to pre- to circle to IC-card piece If analog form modify, the second data message is obtained, so as to by way of recording and playback To simulate the first card image that all kinds of non-contact IC cards deposit terminal return to circle, and analog IC Card deposits the scene that terminal returns to abnormal data to circle, so as to avoid due to industry caused by insufficient detection Business risk;Further, since the second data message is transmitted by second channel, therefore it can avoid detecting people Member's operation that patch is blocked manually, realizes the automatic detection of IC-card piece.
Fig. 3 shows the simulation side of the non-contact IC card of another exemplary embodiment according to the present invention The schematic flow sheet of method;As shown in figure 3, comprising the following steps:
Step 301, circle deposit between terminal and IC-card piece carry out data information transfer during, pass through The circle that first passage acquisition IC-card piece deposits terminal according to circle deposits the second card message of initialization directive return, Wherein, the second card message includes the first card image, message authentication code and random number.
Step 302, corresponding first data message of the second card image is recorded.
Step 303, the second card image is transmitted to by circle by first passage and deposits terminal.
Step 304, according to default analog form change the first data message in the first card image, Message authentication code and random number, obtain the second data message.
Step 305, the second data message is returned to by circle by second channel and deposits terminal, so that circle deposits end End performs the operation flow related to the second data message.
In one embodiment, if analogue means have modified the first data message according to default analog form In message authentication code or random number, circle deposit terminal after the second data message is received, if message Authentication code or random number are illegal, it is determined that the data in the second data message are changed, and circle deposits terminal It can stop performing follow-up operation flow, if it is confirmed that the data in the second data message are not changed, Terminal can be deposited with control loop continue executing with follow-up circle and deposit business.In one embodiment, message authentication code and Random number can be generated by IC-card piece according to the first card image.
In one embodiment, the associated description of the first card image of modification may refer to real shown in above-mentioned Fig. 2 The description of example is applied, be will not be described in detail herein.
In the present embodiment, by needing to deposit the first card image, the message that terminal is returned to circle to IC-card piece Authentication code or random number are modified according to default analog form, obtain the second data message, so that All kinds of non-contact IC cards deposit terminal return to circle the can be simulated by way of recording and playback One card image, message authentication code or random number, and analog IC card deposit terminal to circle and return to exception The scene of data, so as to avoid due to business risk caused by insufficient detection;Further, since second Data message is transmitted by second channel, therefore testing staff can be avoided to paste the operation of card manually, is realized The automatic detection of IC-card piece.
Fig. 4 shows the simulation side of non-contact IC card in accordance with an alternative illustrative embodiment of the present invention The schematic flow sheet of method;As shown in figure 4, comprising the following steps:
Step 401, circle deposit between terminal and IC-card piece carry out data information transfer during, pass through First passage, which obtains IC-card piece, to be needed to deposit object information to the circle that circle deposits terminal return.
Step 402, record circle and deposit corresponding first data message of object information.
Step 403, circle is deposited by object information by first passage it is transmitted to circle and deposits terminal.
Step 404, the circle in the first data message is changed according to default analog form and deposits object information, Obtain the second data message.
Step 405, the second data message is returned to by circle by second channel and deposits terminal, so that circle deposits end End performs the operation flow related to the second data message.
In one embodiment, circle deposits the circle of terminal and deposits result and can include:Circle be saved as work(, circle deposit failure with And to deposit result unknown for circle, if circle is saved as work(, circle deposits business success, and circle deposits terminal by payment knot Calculate and give Tong Ka companies, if circle is deposited unsuccessfully, circle deposits service fail, and circle deposits terminal by payment reimbursement To user, if circle is deposited, result is unknown, circle deposit terminal by again read off IC-card piece consumption recording information and Information before circle is deposited is compared, if consumer record has newly-increased change, then it is assumed that circle is saved as work(, otherwise Think failure.
If the circle that analogue means have modified in the first data message according to default analog form deposits result letter Breath, circle deposit terminal after the second data message is received, checking IC-card piece circle deposit object information whether In the default scope of business, so as to realize the above-mentioned three kinds of situations of simulation, it is ensured that deposit comprehensive inspection of terminal to circle Survey.
In the present embodiment, by needing to deposit the first card image of terminal return according to pre- to circle to IC-card piece If analog form modify, the second data message is obtained, so as to by way of recording and playback To simulate the first card image that all kinds of non-contact IC cards deposit terminal return to circle, and analog IC Card deposits the scene that terminal returns to abnormal data to circle, so as to avoid due to industry caused by insufficient detection Business risk;Further, since the second data message is transmitted by second channel, therefore it can avoid detecting people Member's operation that patch is blocked manually, realizes the automatic detection of IC-card piece.
Fig. 5 A show the simulation side of the non-contact IC card according to one example embodiment of the present invention One of signaling process figure of method, Fig. 5 B show the noncontact according to one example embodiment of the present invention The two of the signaling process figure of the analogy method of Formulas I C cards;The present embodiment is shown by taking bus IC card as an example Example property explanation, NFC passages and analog channel are used for control loop and deposit the source that terminal obtains message data, Wherein, the flow shown in Fig. 5 A by NFC passages get be true IC-card piece message data, What flow shown in Fig. 5 B was got by analog channel is message data for analog IC card;This Outside, the application is not limited to analogue means, can be that software service can also be hardware unit, due to It is to operate in plain text to enclose the data interaction deposited between terminal and IC-card piece, therefore analogue means can be intercepted and obtained All mutual message data enclosed and deposited between terminal and IC-card piece are got, and by resetting or artificially customizing structure The mode (default mode approach described herein) made is deposited terminal to circle and returned for analog IC card Message data.As shown in Figure 5A, the message data of true IC-card piece is got by NFC passages Comprise the following steps:
Step 501, circle deposits the request message that terminal reads the first card image to IC-card piece.
Step 502, analogue means by NFC by recording the card image of IC-card.
Step 503, record and forward reading card image message.
Step 504, record and forward the card image message of return.
Step 505, record circle and deposit Initial message.
Step 506, record and forward circle to deposit terminal circle and deposit initialization directive message.
Step 507, MAC1 is calculated according to card image.
Step 508, the first data message is returned.
Step 509, record and forward the first data message.
Step 510, circle deposits terminal and deposits initialization result verification MAC1 values according to the circle of return, to ensure MAC1 legitimacy.
Step 511, MAC2 is calculated.In one embodiment, circle deposit terminal can be according to Transaction Information meter Calculate the MAC2 values that circle is deposited.
Step 512, circle stored messages are recorded.
Step 513, record and forward circle to deposit instruction message.
Step 514, the data check MAC2 values of terminal transmission are deposited according to circle.
Step 515, verification is operated after passing through to card balance and transaction counter, for example, increase Remaining sum, transaction counter+1.
Step 516, IC-card piece returns to circle to analogue means and deposits result data.
Step 517, analogue means, which is recorded and deposits terminal forwarding circle to circle, deposits result message.
As shown in Figure 5 B, got by analog channel includes such as the message data of analog IC card Lower step:
Step 601, circle deposits terminal and request message for reading card image is sent to analogue means.
Step 602, analogue means is changed in card message according to the request message with default analog form Data, and deposit terminal to circle and return to amended card image, amended card image herein is For the second data message in above-mentioned embodiment illustrated in fig. 2.In one embodiment, card image can be wrapped Include the information such as the remaining sum, consumer record and card number of IC-card.
Step 603, circle deposits terminal and deposits initialization requests to analogue means transmission circle.
Step 604, analogue means can deposit initialization requests according to circle and deposit the default mould of terminal return to circle The first card image, MAC1 and the random number of plan mode, in one embodiment, can pass through Fig. 3 First card image, MAC1 and random number are returned to circle and deposited by the mode of the second shown data message Terminal.Wherein, if analogue means does not change MAC1, circle deposits terminal after above- mentioned information is received, It can be verified when verifying MAC1, if analogue means have modified MAC1, circle can be deposited The scene of terminal simulation MAC1 authentication faileds.
Step 605, circle deposits terminal authentication MAC1 legitimacy, in one embodiment, can be according to mould The circle for intending device return deposits initialization result verification MAC1 values.
Step 606, circle deposits terminal and calculates the MAC2 values that circle is deposited according to Transaction Information.
Step 607, circle deposits terminal and deposits instruction request to analogue means transmission circle.
Step 608, the circle that analogue means deposits terminal return customization to circle deposits object information, and circle herein is deposited Object information is the second data message in above-mentioned embodiment illustrated in fig. 4.
By above-described embodiment, during circle deposits terminal reading and circle deposits IC-card piece, circle deposits terminal The operation flow of side relies on the message data that IC-card piece is returned, and circle, which deposits terminal, to be needed to consider that IC-card piece may The situation of the various message datas returned, and the application can realize that IC-card piece may be returned by analogue means The situation of the various message datas returned, so as to realize that control or change return to the message that circle deposits terminal Value, and then the otherness of various types of IC-card pieces can be simulated and be adapted to, then pass through analogue means mould Intend the abnormal scene of IC-card piece being likely to occur.
Corresponding to the analogy method of above-mentioned non-contact IC card, the application also proposed shown in Fig. 6 According to the schematic configuration diagram of the analogue means of the exemplary embodiment of the application.Fig. 6 is refer to, hard Part aspect, the analogue means includes processor, internal bus, network interface, internal memory and non-volatile Property memory, is also possible that the hardware required for other business certainly.
Wherein, network interface is used for the process that progress data information transfer between terminal and IC-card piece is deposited in circle In, pass through corresponding first data message of first passage data recording information;
Processor, for changing the first data message according to default analog form, obtains the second datagram Text;
Network interface is additionally operable to that amended second data message of processor is returned into circle by second channel Terminal is deposited, depositing terminal for circle performs the operation flow related to the second data message.
Fig. 7 shows the analogue means of the non-contact IC card according to one example embodiment of the present invention Structural representation;As shown in fig. 7, the analogue means of the non-contact IC card can include:Message Record module 71, message modified module 72, message sending module 73.Wherein:
Message records module 71, and data information transfer is carried out between terminal and IC-card piece for being deposited in circle During, pass through corresponding first data message of first passage data recording information;
Message modified module 72, is recorded for changing message recording module 71 according to default analog form The first obtained data message, obtains the second data message;
Message sending module 73, for the second number for being obtained message modified module 72 by second channel Circle is returned to according to message and deposits terminal, and depositing terminal for circle performs the operation flow related to the second data message.
Fig. 8 shows the simulation dress of non-contact IC card in accordance with a further exemplary embodiment of the present invention The structural representation put;As shown in figure 8, on the basis of above-mentioned embodiment illustrated in fig. 7, data message The first card image of the IC-card piece of terminal return is deposited to circle for IC-card piece, message is recorded module 71 and can wrapped Include:
First acquisition unit 711, needs to deposit terminal return to circle for obtaining IC-card piece by first passage The first card image, wherein, the first card image includes remaining sum, consumer record and the IC of IC-card piece The card number of card;
First recording elements 712, for recording the first card image that first acquisition unit 711 is got Corresponding first data message;
First retransmission unit 713, for the first recording elements 712 are recorded by first passage first Card image is transmitted to circle and deposits terminal.
In one embodiment, message modified module 73 may include:
First modification unit 731, for changing the in the first data message according to default analog form Remaining sum, consumer record and the IC of IC-card piece in the first card image that one acquiring unit 711 is got The card number of card, obtains the second data message.
Fig. 9 shows the simulation dress of the non-contact IC card of another exemplary embodiment according to the present invention The structural representation put;As shown in figure 9, on the basis of above-mentioned embodiment illustrated in fig. 7, data message The second card image of the IC-card piece of terminal return is deposited to circle for IC-card piece, message is recorded module 71 and can wrapped Include:
Second acquisition unit 714, is deposited for obtaining IC-card piece by first passage according to the circle for depositing terminal is enclosed Initialization directive return the second card message, wherein, the second card message include the first card image, Message authentication code and random number;
Second recording elements 715, for recording the second card image that second acquisition unit 714 is got Corresponding first data message;
Second retransmission unit 716, for the second recording elements 715 are recorded by first passage second Card image is transmitted to circle and deposits terminal.
In one embodiment, message modified module 73 may include:
Second modification unit 732, is obtained for changing second acquisition unit 714 according to default analog form The first card image, message authentication code and random number in the first data message got, obtain the second number According to message.
Figure 10 shows the simulation of non-contact IC card in accordance with an alternative illustrative embodiment of the present invention The structural representation of device;As shown in Figure 10, on the basis of above-mentioned embodiment illustrated in fig. 7, data letter The circle for ceasing the IC-card piece that terminal return is deposited to circle for IC-card piece deposits object information, and message records module 71 It may include:
3rd acquiring unit 717, needs to deposit terminal return to circle for obtaining IC-card piece by first passage Circle deposit object information;
3rd recording elements 718, object information is deposited for recording the circle that the 3rd acquiring unit 717 is got Corresponding first data message;
3rd retransmission unit 719, for being deposited the circle that the 3rd recording elements 718 are recorded by first passage Object information is transmitted to circle and deposits terminal.
In one embodiment, message is recorded module 73 and may include:
3rd modification unit 733, is obtained for changing the 3rd acquiring unit 717 according to default analog form Circle in the first data message got deposits object information, obtains the second data message.
Above-described embodiment is visible, and the application can both simulate different types of IC by default analog form The otherness of card and the abnormal scene interacted with IC-card piece (including are difficult to occur under normal circumstances and difficult With covering), other non-contact IC cards can also be simulated, terminal is deposited so as to eliminating circle and deposits Business hidden danger, and the various types of IC-card pieces of terminal-pair deposited by circle carry out unified simulation and manage, The automatic detection flow applied for IC-card class provides a kind of feasible scheme.
Those skilled in the art will readily occur to this after considering specification and putting into practice invention disclosed herein Other embodiments of application.The application is intended to any modification, purposes or the adaptability of the application Change, these modifications, purposes or adaptations follow the general principle of the application and including this Shen Please undocumented common knowledge or conventional techniques in the art.Description and embodiments only by It is considered as exemplary, the true scope of the application and spirit are pointed out by following claim.
It should also be noted that, term " comprising ", "comprising" or its any other variant be intended to it is non-exclusive Property include so that process, method, commodity or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include being this process, side Method, commodity or the intrinsic key element of equipment.In the absence of more restrictions, by sentence " including one It is individual ... " limit key element, it is not excluded that in the process including the key element, method, commodity or equipment Also there is other identical element.
The preferred embodiment of the application is the foregoing is only, it is all at this not to limit the application Within the spirit and principle of application, any modification, equivalent substitution and improvements done etc. should be included in Within the scope of the application protection.

Claims (15)

1. a kind of analogy method of non-contact IC card, it is characterised in that methods described includes:
Circle deposit between terminal and IC-card piece carry out data information transfer during, recorded by first passage Make corresponding first data message of the data message;
First data message is changed according to default analog form, the second data message is obtained;
Second data message is returned to by the circle by second channel and deposits terminal, so that the circle is deposited Terminal performs the operation flow related to second data message.
2. according to the method described in claim 1, it is characterised in that the data message is the IC Card deposits the first card image of the IC-card piece of terminal return to the circle, described to pass through first passage Corresponding first data message of the data message is recorded, including:
Obtaining the IC-card piece by first passage needs to deposit the first card letter that terminal is returned to the circle Breath, wherein, first card image includes remaining sum, consumer record and the IC of the IC-card piece The card number of card;
Record corresponding first data message of first card image;
First card image is transmitted to by the circle by the first passage and deposits terminal.
3. method according to claim 2, it is characterised in that described according to default analog form First data message is changed, the second data message is obtained, including:
The remaining sum of the IC-card piece in first data message is changed according to default analog form, disappeared Take the card number of record and the IC-card piece, obtain second data message.
4. according to the method described in claim 1, it is characterised in that the data message is the IC Card deposits the second card image of the IC-card piece of terminal return to the circle, described to pass through first passage Corresponding first data message of the data message is recorded, including:
The IC-card piece is obtained by first passage to deposit the circle of terminal according to described enclose and deposit initialization directive and return The the second card message returned, wherein, the second card message includes the first card image, described Message authentication code and random number;
Record corresponding first data message of second card image;
Second card image is transmitted to by the circle by the first passage and deposits terminal.
5. method according to claim 4, it is characterised in that described according to default analog form First data message is changed, the second data message is obtained, including:
First card image, institute in default analog form modification first data message Message authentication code and random number are stated, second data message is obtained.
6. according to the method described in claim 1, it is characterised in that the data message is the IC The circle that card deposits the IC-card piece of terminal return to the circle deposits object information, described to pass through first passage Corresponding first data message of the data message is recorded, including:
Obtaining the IC-card piece by first passage needs to deposit result letter to the circle that the circle deposits terminal return Breath;
Record the circle and deposit corresponding first data message of object information;
By the first passage by it is described circle deposit object information be transmitted to it is described circle deposit terminal.
7. method according to claim 6, it is characterised in that described according to default analog form First data message is changed, the second data message is obtained, including:
The circle in first data message is changed according to default analog form and deposits object information, is obtained To second data message.
8. a kind of analogue means of non-contact IC card, it is characterised in that described device includes:
Message records module, carries out the process of data information transfer between terminal and IC-card piece for being deposited in circle In, corresponding first data message of the data message is recorded by first passage;
Message modified module, module is recorded for changing the message according to default analog form First data message arrived, obtains the second data message;
Message sending module, for the message modified module is obtained by second channel described second Data message returns to the circle and deposits terminal, and depositing terminal for the circle performs and second data message Related operation flow.
9. device according to claim 8, it is characterised in that the data message is the IC Card deposits the first card image of the IC-card piece of terminal return to the circle, and the message records module Including:
First acquisition unit, needs to deposit terminal to the circle for obtaining the IC-card piece by first passage The first card image returned, wherein, first card image includes the remaining sum of the IC-card piece, disappeared Take the card number of record and the IC-card piece;
First recording elements, for recording first card image that the first acquisition unit is got Corresponding first data message;
First retransmission unit, for by the first passage by first recording elements record described in First card image is transmitted to the circle and deposits terminal.
10. device according to claim 9, it is characterised in that the message modified module includes:
First modification unit, for changing the institute in first data message according to default analog form State remaining sum, the consumption note of the IC-card piece in first card image that first acquisition unit is got Record and the card number of the IC-card piece, obtain second data message.
11. device according to claim 8, it is characterised in that the data message is the IC Card deposits the second card image of the IC-card piece of terminal return to the circle, and the message records module Including:
Second acquisition unit, for by first passage obtain the IC-card piece according to it is described circle deposit terminal Circle deposits the second card message of initialization directive return, wherein, the second card message includes the One card image, the message authentication code and random number;
Second recording elements, for recording second card image that the second acquisition unit is got Corresponding first data message;
Second retransmission unit, for by the first passage by second recording elements record described in Second card image is transmitted to the circle and deposits terminal.
12. device according to claim 11, it is characterised in that the message modified module includes:
Second modification unit, gets for changing the second acquisition unit according to default analog form First data message in first card image, the message authentication code and random number, obtain To second data message.
13. device according to claim 8, it is characterised in that the data message is the IC The circle that card deposits the IC-card piece of terminal return to the circle deposits object information, and the message records module Including:
3rd acquiring unit, needs to deposit terminal to the circle for obtaining the IC-card piece by first passage The circle of return deposits object information;
3rd recording elements, object information is deposited for recording the circle that the 3rd acquiring unit is got Corresponding first data message;
3rd retransmission unit, for by the first passage by the 3rd recording elements record described in Circle deposit object information be transmitted to it is described circle deposit terminal.
14. device according to claim 13, it is characterised in that the message, which records module, to be included:
3rd modification unit, gets for changing the 3rd acquiring unit according to default analog form First data message in the circle deposit object information, obtain second data message.
15. a kind of analogue means, it is characterised in that described device includes:
Processor;Memory for storing the processor-executable instruction;Network interface;
Wherein, the network interface, which is used to deposit in circle, carries out data information transfer between terminal and IC-card piece During, corresponding first data message of the data message is recorded by first passage;
The processor, for changing first data message according to default analog form, obtains the Two data messages;
The network interface is additionally operable to amended second data of the processor by second channel Message return to it is described circle deposit terminal, for it is described circle deposit terminal perform it is related to second data message Operation flow.
CN201610031154.6A 2016-01-18 2016-01-18 Analogy method, device and the analogue means of non-contact IC card Pending CN106980889A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201610031154.6A CN106980889A (en) 2016-01-18 2016-01-18 Analogy method, device and the analogue means of non-contact IC card
TW105143379A TW201732703A (en) 2016-01-18 2016-12-27 Simulation method and device for contactless ic card, and simulation apparatus
PCT/CN2017/070655 WO2017124939A1 (en) 2016-01-18 2017-01-09 Simulation method and device for contactless ic card, and simulation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610031154.6A CN106980889A (en) 2016-01-18 2016-01-18 Analogy method, device and the analogue means of non-contact IC card

Publications (1)

Publication Number Publication Date
CN106980889A true CN106980889A (en) 2017-07-25

Family

ID=59339919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610031154.6A Pending CN106980889A (en) 2016-01-18 2016-01-18 Analogy method, device and the analogue means of non-contact IC card

Country Status (3)

Country Link
CN (1) CN106980889A (en)
TW (1) TW201732703A (en)
WO (1) WO2017124939A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862225A (en) * 2017-11-08 2018-03-30 北京银联金卡科技有限公司 Contactless IC card is simulated and data real time parsing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08102772A (en) * 1994-09-30 1996-04-16 Matsushita Electric Ind Co Ltd Protocol analyzer
CN1852178A (en) * 2005-11-16 2006-10-25 华为技术有限公司 Protocol testing apparatus and method thereof
CN101159074A (en) * 2007-11-16 2008-04-09 北京飞天诚信科技有限公司 Self-help values charging system and method
CN101819695A (en) * 2009-12-15 2010-09-01 北京华大智宝电子系统有限公司 Method for realizing synchronization of IC card/purse transaction and system accounting
CN102594589A (en) * 2012-02-01 2012-07-18 北京经纬恒润科技有限公司 Ethernet fault injection method, device and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7342892B2 (en) * 2002-06-26 2008-03-11 Sbc Properties, L.P. Controlled exception-based routing protocol validation
JP2005070835A (en) * 2003-08-25 2005-03-17 Fujitsu Ltd Test supporting program and test supporting method
KR100962532B1 (en) * 2007-12-18 2010-06-14 한국전자통신연구원 System for load regenerating using packets of load test and its method
US9385935B2 (en) * 2013-03-06 2016-07-05 Microsoft Technology Licensing, Llc Transparent message modification for diagnostics or testing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08102772A (en) * 1994-09-30 1996-04-16 Matsushita Electric Ind Co Ltd Protocol analyzer
CN1852178A (en) * 2005-11-16 2006-10-25 华为技术有限公司 Protocol testing apparatus and method thereof
CN101159074A (en) * 2007-11-16 2008-04-09 北京飞天诚信科技有限公司 Self-help values charging system and method
CN101819695A (en) * 2009-12-15 2010-09-01 北京华大智宝电子系统有限公司 Method for realizing synchronization of IC card/purse transaction and system accounting
CN102594589A (en) * 2012-02-01 2012-07-18 北京经纬恒润科技有限公司 Ethernet fault injection method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862225A (en) * 2017-11-08 2018-03-30 北京银联金卡科技有限公司 Contactless IC card is simulated and data real time parsing system
CN107862225B (en) * 2017-11-08 2020-12-29 北京银联金卡科技有限公司 Non-contact IC card simulation and data real-time analysis system

Also Published As

Publication number Publication date
TW201732703A (en) 2017-09-16
WO2017124939A1 (en) 2017-07-27

Similar Documents

Publication Publication Date Title
TWI706368B (en) Block chain-based service leasing method, device, system and electronic equipment
CN109118214B (en) Method and device for operating intelligent contract
US10628833B2 (en) Computer architecture incorporating blockchain based immutable audit ledger for compliance with data regulations
CN104009977B (en) A kind of method and system of information protection
CN105229485B (en) Multifactor position verification method
JP6382334B2 (en) A system for measuring and automatically accumulating various cyber risks and methods for dealing with them
US9083534B2 (en) Method and system for propagating a client identity
CN109313685A (en) The encryption application of block catenary system
CN105389488B (en) Identity identifying method and device
CN107665432A (en) The system and method that suspicious user behavior is identified in the interacting of user and various bank services
CN111767578B (en) Data inspection method, device and equipment
CN109784870A (en) Measure of managing contract, device, computer equipment and computer readable storage medium
US9392012B2 (en) Application security testing system
CN110874742B (en) Payment method and device based on block chain and intelligent contract
CN105100029A (en) Method and device for user identity verification
Schapranow et al. Costs of authentic pharmaceuticals: research on qualitative and quantitative aspects of enabling anti-counterfeiting in RFID-aided supply chains
CN101567110A (en) Consumer socialization zero-cash payment method and system
CN112035350A (en) Test method and device for block chain system and computer equipment
CN111950009B (en) Block chain-based method and device for detecting replacement sales data
CN113205340A (en) Data processing method and related device for bank-enterprise direct connection platform
CN103236011A (en) Electronic currency transaction monitoring method
WO2018072405A1 (en) Fee-charging promotion method, apparatus, device, and computer storage medium
CN106980889A (en) Analogy method, device and the analogue means of non-contact IC card
CN109858903A (en) A kind of comment information credibility evaluation method and device based on block chain
CN114066451A (en) Method and system for managing fund transaction and electronic equipment

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1239907

Country of ref document: HK

RJ01 Rejection of invention patent application after publication

Application publication date: 20170725

RJ01 Rejection of invention patent application after publication