CN109348476A - A kind of communication connecting method and device - Google Patents

A kind of communication connecting method and device Download PDF

Info

Publication number
CN109348476A
CN109348476A CN201811128057.4A CN201811128057A CN109348476A CN 109348476 A CN109348476 A CN 109348476A CN 201811128057 A CN201811128057 A CN 201811128057A CN 109348476 A CN109348476 A CN 109348476A
Authority
CN
China
Prior art keywords
radio
time limit
communication
request message
connection request
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.)
Withdrawn
Application number
CN201811128057.4A
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.)
Jiang Hua Emerald New Energy Energy Storage Technology Co Ltd
Original Assignee
Jiang Hua Emerald New Energy Energy Storage Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiang Hua Emerald New Energy Energy Storage Technology Co Ltd filed Critical Jiang Hua Emerald New Energy Energy Storage Technology Co Ltd
Priority to CN201811128057.4A priority Critical patent/CN109348476A/en
Publication of CN109348476A publication Critical patent/CN109348476A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/38Connection release triggered by timers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a kind of communication connecting method and devices.Wherein, communication connecting method includes: the first time limit of setting;Connection request message is sent by magnet passage;Judge within first time limit, if the response message of the connection request message is received by radio-frequency channel;Decided whether to establish radio communication connection according to judging result.Communication link includes: the first setup module, for being arranged for the first time limit;First sending module, for sending connection request message by magnet passage;First judgment module, for judging within first time limit, if receive the response message of the connection request message by radio-frequency channel;First processing module establishes radio communication connection for deciding whether according to the judging result of the first judgment module.Communication connecting method and device of the invention limits the interaction time of instruction by the setting time limit, reduces the chance of success of attacker's attack, so as to the safety of improve data transfer.

Description

A kind of communication connecting method and device
Technical field
The present invention relates to wireless communication field more particularly to a kind of communication connecting methods and device.
Background technique
With popularizing for mobile terminal, become very urgent using the demand that mobile terminal carries out e-payment.Currently, sharp Carry out the technology of e-payment there are many implementation with mobile terminal, one of scheme be by mobile phone SIM card or Radio-frequency communication module, magnetic coupling coil and the magnetic induction processing module that working frequency points are 2.4GHz are integrated in SD card to realize 's.This scheme is by the intensity of SIM card or SD card detection magnetic coupled signal in the mobile phone and receives magnetic channel information, To activate the 2.4GHz radio-frequency communication module in SIM card or SD card to carry out data trade communication.Due to the energy of magnetic coupling signal Decay in space with 3 powers of distance, and there is extraordinary consistency for different mobile phones, so this scheme is being realized While the exchange of radio frequency high-speed data, SIM card or the distance of SD card RF data communications on various mobile phones can be controlled well, To become a kind of reliable electronic payment of mobile terminal solution.In addition, entire receiving processing system is integrated in one In SIM card or SD card, do not need to carry out mobile phone any transformation, therefore there is fabulous application and popularization value.
But in above scheme, by then passing through the data between radio-frequency channel of the magnetic channel of low speed to bind high speed Interaction, once the data parameters of magnetic transmission are intercepted, will lead to the data of the radio-frequency channel of high speed, there are security risks.
Summary of the invention
Technical problem to be solved by the invention is to provide a kind of communication connecting method and device, the peaces of improve data transfer Quan Xing.
In order to solve the above technical problems, the invention proposes a kind of communication connecting methods, comprising:
First time limit was set;
Connection request message is sent by magnet passage;
Judge within first time limit, if the response message of the connection request message is received by radio-frequency channel;
Decided whether to establish radio communication connection according to judging result.
Further, above-mentioned communication connecting method can also have the characteristics that, first time limit is less than or equal to third Side obtains, handles and forwards the sum of the time of the connection request message.
Further, above-mentioned communication connecting method can also have the characteristics that, further includes:
Second time limit was set;
After radio communication connection is established, pass through radio-frequency channel sending application data information;
Judge within second time limit, if the response message of the application data information is received by radio-frequency channel;
Decided whether to disconnect radio communication connection according to judging result.
Further, above-mentioned communication connecting method can also have the characteristics that, encryption is carried in the connection request message Key, the response message of the connection request message are to carry out encrypted ciphertext with the encryption key.
In order to solve the above technical problems, the invention proposes a kind of communication links, comprising:
First setup module, for being arranged for the first time limit;
First sending module, for sending connection request message by magnet passage;
First judgment module, for judging within first time limit, if receive the connection by radio-frequency channel and ask Seek the response message of message;
First processing module, for deciding whether that establishing radio communication connects according to the judging result of the first judgment module It connects.
Further, above-mentioned communication link can also have the characteristics that, first time limit is less than or equal to third Side obtains, handles and forwards the sum of the time of the connection request message.
Further, above-mentioned communication link can also have the characteristics that, further includes:
Second setup module, for being arranged for the second time limit;
Second sending module, for passing through radio-frequency channel sending application data information after radio communication connection is established;
Second judgment module, for judging within second time limit, if receive the application number by radio-frequency channel It is believed that the response message of breath;
Second processing module, for deciding whether that disconnecting radio communication connects according to the judging result of second judgment module It connects.
Further, above-mentioned communication link can also have the characteristics that, encryption is carried in the connection request message Key, the response message of the connection request message are to carry out encrypted ciphertext with the encryption key.
In order to solve the above technical problems, the invention also provides a kind of communication means, comprising:
Second time limit was set;
After radio communication connection is established, pass through radio-frequency channel sending application data information;
Judge within second time limit, if the response message of the application data information is received by radio-frequency channel;
Decided whether to disconnect radio communication connection according to judging result.
Further, above-mentioned communication means can also have the characteristics that, second time limit is obtained less than or equal to third party Take, handle and forward the sum of the time of the application data information.
In order to solve the above technical problems, the invention also provides a kind of communication devices, comprising:
Second setup module, for being arranged for the second time limit;
Second sending module, for passing through radio-frequency channel sending application data information after radio communication connection is established;
Second judgment module, for judging within second time limit, if receive the application number by radio-frequency channel It is believed that the response message of breath;
Second processing module, for deciding whether that disconnecting radio communication connects according to the judging result of second judgment module It connects.
Further, above-mentioned communication device can also have the characteristics that, second time limit is obtained less than or equal to third party Take, handle and forward the sum of the time of the application data information.
In order to solve the above technical problems, the invention also provides a kind of radio-frequency unit, including any communication link above-mentioned Connection device, and/or, any communication device above-mentioned.
Communication connecting method and device of the invention, the interaction time of instruction is limited by the setting time limit, and reduction is attacked The chance of success of the person's of hitting attack, so as to the safety of improve data transfer.
Detailed description of the invention
Fig. 1 is the flow chart of communication connecting method in the embodiment of the present invention;
Fig. 2 is the structure chart of communication link in the embodiment of the present invention;
Fig. 3 is the flow chart of communication means in the embodiment of the present invention;
Fig. 4 is the structure chart of communication device in the embodiment of the present invention;
Fig. 5 is that the instruction interaction process in the embodiment of the present invention in the communication connection of radio-frequency card reader and radio-frequency SIM card is shown It is intended to.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and It is non-to be used to limit the scope of the invention.
Fig. 1 is the flow chart of communication connecting method in the embodiment of the present invention.As shown in Figure 1, in the present embodiment, communication connection The process of method includes the following steps:
Step 101, the first time limit was set;
First time limit was used to limit the instruction interaction time between master and slave equipment in radio communication connection establishment process, To reduce the security risk that data are transmitted on radio-frequency channel.The executor of communication connecting method of the present invention is main equipment.Main equipment It can be the radio-frequency card reader etc. with magnetic flux telecommunication function.
Step 102, connection request message is sent by magnet passage;
Connection request message can be magnetic channel data information, due to the magnetic channel data information be randomly generated and It is to be accessed effectively when secondary, therefore can be avoided attacker and attacked using the method that substep disassembles attack process, so as to To help to further increase the safety of communications connection procedure.
It should be noted that connection request message refers to the initiation message of communication connection herein, and it is not limited solely to name Referred to as a kind of specific message of its letter, for example, the card seeking data that the radio-frequency card reader with magnetic flux telecommunication function is issued Frame is also a kind of connection request message.
Further, encryption key can be carried in connection request message, so that from equipment with the encryption key to connection The response message of request message is encrypted.
Step 103, judge in the first time limit set by step 101, if connection request is received by radio-frequency channel The response message of message thens follow the steps 104 if receiving, no to then follow the steps 105;
Wherein, the time point for starting timing is when connection request message is sent.Preferably, the first time limit can be small It obtains in or equal to third party, the sum of time of processing and forwarding connection request message.Here, third party refers to that normal communication is double Another party except side is usually to steal the illegal communication side of the communication information, such as attacker referred to herein.
If carrying encryption key in connection request message, the response message of the connection request message returned from equipment It is with the encryption key to carrying out encrypted ciphertext.It is close with encrypting after main equipment receives the response message of connection request message The plaintext that can be obtained by message is decrypted in key.Certainly, this example is simplest cipher mode, of the invention In other embodiments, encrypting from equipment utilization main equipment in the data that the information that magnet passage transmits transmits radio-frequency channel can Using any cipher mode.
Step 104, radio communication connection is established;
If having received the response message of connection request message by radio-frequency channel within the first time limit, then explanation is at this In communications connection procedure, connection request message does not have person's attack under attack or connection request message person's attack under attack The probability very little of (such as connection request message is intercepted and captured, handled and is forwarded), then it can be assumed that this communication connection is peace Complete, therefore, it is believed that the response message of connection request message is authentic and valid, the sender of permission and the response message Radio communication connection is established, is carried out subsequent using data interaction.
It after establishing radio communication connection, can be carried out subsequent using data interaction, implemented specific by radio-frequency channel Communication service.
Step 105, connection request message is retransmitted.If not receiving connection by radio-frequency channel within the first time limit The response message of request message, then it is assumed that this communication connection failure retransmits connection request message, and initiation connects next time Process.
If not receiving the response message of connection request message by radio-frequency channel within the first time limit, then explanation is at this In secondary communications connection procedure, the attack of connection request message person subject to attacks or connection request message person under attack are attacked The probability hit is very big, then it can be assumed that this communication connection is dangerous, therefore, the response message of this connection request message exists Security risk is forbidden establishing radio communication connection and be carried out subsequent using data interaction.
In the embodiment of the present invention, by being arranged for the first time limit, the friendship of connection request message Yu its response message can be limited The mutual time, reduce attacker by intercepting and capturing connection request message, to connection request message handle and forward process after company The chance of success that this mode of request message is attacked is connect, so as to improve the safety of communications connection procedure, Jin Erwei Data transmission after communication connection is established provides safety guarantee.
For example, attacker is during the radio-frequency card reader with magnetic flux telecommunication function establishes connection with radio-frequency SIM card Make by analyzing the magnetic channel parameter for obtaining radio-frequency card reader and being sent to radio-frequency SIM card, and magnetic channel parameter is handled After be transmitted to radio-frequency SIM card, should during obtain magnetic channel parameter, magnetic channel parameter is handled, is handled after be forwarded, If the first time limit of setting is less than the total time of this series of action process, the attack of attacker can not succeed.Even if attacking The person of hitting, which will acquire magnetic channel parameter by corresponding device and method, magnetic channel parameter is handled, is forwarded this after processing is Total used time of column movement less than the first time limit, then when by the interaction of the instruction of limitation of radio frequency card reader and radio-frequency SIM card Between, the attack difficulty of attacker can be also improved, so that the safety of communications connection procedure is improved, after establishing for radio communication connection The data transmission carried out by radio-frequency channel provides safety guarantee.
Therefore the communication connecting method of the embodiment of the present invention, it can be improved the safety of data transmission.
Fig. 2 is the structure chart of communication link in the embodiment of the present invention.Communication link 200 shown in Fig. 2 to Implement communication connecting method shown in FIG. 1.As shown in Fig. 2, communication link 200 includes the first setting mould in the present embodiment Block 210, the first sending module 220, first judgment module 230 and first processing module 240.First setup module 210 is for setting Set for the first time limit.First sending module 220 is used to send connection request message by magnet passage.First judgment module 230 is used for Judge in first time limit set by the first setup module 210, if the sound of connection request message is received by radio-frequency channel Answer message.First processing module 240 is used to decide whether to establish according to the judging result of first judgment module 230 radio communication and connects It connects.If the response message of connection request message is had received by radio-frequency channel within the first time limit, then it is assumed that this communication link It is connected into function, first processing module 240 establishes radio communication connection;, whereas if not having within the first time limit by radio-frequency channel Receive the response message of connection request message, then it is assumed that this communication connection failure, the instruction of first processing module 240 first are sent Module 220 retransmits connection request message, initiates connection procedure next time.
Preferably, the first time limit set by the first setup module 210 is less than or equal to third party and obtains, handles and forward The sum of time of connection request message.Here, third party refers to another party except normal communication both sides, is usually to steal communication The illegal communication side of information, such as attacker referred to herein.
Wherein, connection request message transmitted by the first sending module 220 can be the magnetic number of channel being randomly generated it is believed that Breath.Since magnetic channel data information is to be randomly generated and is to work as time access effectively, it can be avoided attacker and use and divide The method of step dismantling attack process is attacked, so as to help to further increase the safety of communications connection procedure.
Wherein, encryption key can be carried in connection request message, so that from equipment with the encryption key to connection request The response message of message is encrypted.If carrying encryption key in connection request message, the connection returned from equipment is asked The response message for seeking message is with the encryption key to carrying out encrypted ciphertext.Main equipment receives the response of connection request message After message, the plaintext that can be obtained by message is decrypted with encryption key.Certainly, this example is simplest encryption Mode in other embodiments of the invention transmits radio-frequency channel from equipment utilization main equipment in the information that magnet passage transmits Data carry out encryption can be using any cipher mode.
In the embodiment of the present invention, by being arranged for the first time limit, the friendship of connection request message Yu its response message can be limited The mutual time, reduce attacker by intercepting and capturing connection request message, to connection request message handle and forward process after company The chance of success that this mode of request message is attacked is connect, so as to improve the safety of communications connection procedure, Jin Erwei Data transmission after communication connection is established provides safety guarantee.Therefore, the communication link of the embodiment of the present invention, can be improved The safety of data transmission.
Fig. 3 is the flow chart of communication means in the embodiment of the present invention.As shown in figure 3, in the present embodiment, the stream of communication means Journey includes the following steps:
Step 301, the second time limit was set;
Second time limit was used to limit the instruction between master and slave equipment after radio communication connection is established in data transmission procedure Interaction time, to reduce the security risk that data are transmitted on radio-frequency channel.
Step 302, after radio communication connection is established, pass through radio-frequency channel sending application data information;
Here, application data information refers to the data for specific communication service transmitted by radio-frequency channel, and not only It is limited only to a kind of specifying information of its entitled letter, for example, there is the radio-frequency card reader of magnetic flux telecommunication function and have Credit card transaction information between the radio-frequency SIM card of magnetic flux telecommunication function is exactly a kind of application data information.
Step 303, judge the response message for whether receiving application data information by radio-frequency channel within the second time limit, if It receives and thens follow the steps 305, it is no to then follow the steps 304;
Wherein, the time point for starting timing is when application data information is sent.Preferably, the second time limit can be small It obtains in or equal to third party, the sum of time of processing and forwarding application data information.Here, third party refers to that normal communication is double Another party except side is usually to steal the illegal communication side of the communication information, such as attacker referred to herein.
Step 304, radio communication connection is disconnected;
If not receiving the response message of application data information by radio-frequency channel within the second time limit, then explanation is at this In secondary communications connection procedure, the attack of application data information person subject to attacks or application data information person under attack are attacked The probability hit is very big, then it can be assumed that the data interaction of this radio-frequency channel is dangerous, therefore, the sound of this application data information It answers message there are security risk, forbids continuing through radio-frequency channel and carry out using data interaction, and disconnect radio communication connection.
Step 305, continue using data interaction, until completing.Entirely using in data exchange process, it is to be ensured that The application data interaction time each time was both less than for the second time limit.
If having received the response message of application data information by radio-frequency channel within the second time limit, then explanation is at this In the data exchange process of radio-frequency channel, application data information do not have person under attack attack or application data information by Attacker attacks the probability very little of (such as application data information is intercepted and captured, handles and forwarded), then it can be assumed that this is penetrated The data interaction in frequency channel be it is safe, therefore, it is believed that the response message of application data information be it is authentic and valid, allow Radio-frequency channel, which is continued through, with the sender of the response message carries out data interaction.
In the embodiment of the present invention, by being arranged for the second time limit, the friendship of data application information Yu its response message can be limited The mutual time.If the second time limit be less than attacker's intercepted data application message, to data application message handle and forwarding at The temporal summation of data application information this series of actions after reason, then the attack of attacker will not succeed.Even if attacker cuts It obtains data application information, data application information this series of actions after processing and forward process is carried out to data application message Temporal summation is less than the second time limit, by limiting the interaction time of data application information and its response message with the second time limit, The attack difficulty of attacker can be improved.As it can be seen that the chance of success of attacker's attack can be reduced by the second time limit of setting, from And it can be improved the safety of the data transmission procedure after radio communication connection is established.Therefore, the communication party of the embodiment of the present invention Method can be improved the safety of data transmission.
Fig. 4 is the structure chart of communication device in the embodiment of the present invention.Communication device 400 shown in Fig. 4 is to implementing Fig. 3 institute The communication means process shown.As shown in figure 4, communication device 400 is sent including the second setup module 410, second in the present embodiment Module 420, the second judgment module 430 and Second processing module 440.Second setup module 410 is for being arranged for the second time limit.Second Sending module 420 is used for after radio communication connection is established, and passes through radio-frequency channel sending application data information.Second judgment module 430 for judging in second time limit set by the second setup module 410, if is received by radio-frequency channel and is believed using data The response message of breath.Second processing module 440 is used to be decided whether according to the judging result of the second judgment module 430 to disconnect radio frequency Communication connection.If having received the response message of application data information by radio-frequency channel, then second processing within the second time limit Module 440 not will disconnect radio communication connection, and continues through radio-frequency channel and carry out using data interaction, until completing.If Within the second time limit, the response message of application data information is not received by radio-frequency channel, then Second processing module 440 disconnects Radio communication connection.
Preferably, the second time limit set by the second setup module 410 can be less than or equal to third party obtain, processing and Forward the sum of the time of application data information.The time point that second time limit started timing is that the second sending module 420 has sent and answers When data information.Third party refers to another party except normal communication both sides, is usually to steal the illegal of the communication information to lead to Letter side, such as attacker referred to herein.
Application data information transmitted by second sending module 420, which refers to, to be communicated by what radio-frequency channel was transmitted for specific The data of business, and it is not limited solely to a kind of specifying information of its entitled letter, for example, with magnetic flux telecommunication function Credit card transaction information between radio-frequency card reader and radio-frequency SIM card with magnetic flux telecommunication function is exactly a kind of application data information.
In the embodiment of the present invention, by being arranged for the second time limit, the friendship of data application information Yu its response message can be limited The mutual time.If the second time limit be less than attacker's intercepted data application message, to data application message handle and forwarding at The temporal summation of data application information this series of actions after reason, then the attack of attacker will not succeed.Even if attacker cuts It obtains data application information, data application information this series of actions after processing and forward process is carried out to data application message Temporal summation is less than the second time limit, by limiting the interaction time of data application information and its response message with the second time limit, The attack difficulty of attacker can be improved.As it can be seen that the chance of success of attacker's attack can be reduced by the second time limit of setting, from And it can be improved the safety of the data transmission procedure after radio communication connection is established.Therefore, the communication dress of the embodiment of the present invention Set the safety that can be improved data transmission.
It can also both include communication connecting method shown in FIG. 1 in one embodiment of communication connecting method of the present invention Process, and including communication means process shown in Fig. 3.That is, the first time limit and the second time limit is respectively set, with the first time limit and The application data exchange process after establishing is connected with radio communication in second time limit difference limitation of radio frequency communication connection establishment process In the instruction interaction time.
It correspondingly, can also both include communication link shown in Fig. 2 in one embodiment of communication link of the present invention Connection device 200, and including communication device 400 shown in Fig. 4.In this embodiment, it is filled using communication link 200 and communication It sets 400 and the first time limit and the second time limit is respectively set, established with the first time limit and the difference limitation of radio frequency communication connection of the second time limit Connected in the process with radio communication establish after using the instruction interaction time in data exchange process.
Come below by a specific example to not only including communication connecting method process shown in FIG. 1, but also including shown in Fig. 3 The communication connecting method of communication means process be further elaborated.
By taking radio-frequency card reader as an example, the communication system where radio-frequency card reader includes radio-frequency card reader and radio-frequency SIM card, and Radio-frequency card reader and radio-frequency SIM card all have magnetic flux telecommunication function.
The structure of the radio-frequency card reader and radio-frequency SIM card is respectively:
Radio-frequency card reader includes that the first microcontroller, the first RF receiving and transmission module, the first radio-frequency antenna and magnetic signal occur Device.First microcontroller handles the information of the first RF receiving and transmission module transmitting-receiving, generates magnetic channel data information.First radio frequency is received Hair module is connect with the first microcontroller and the first radio-frequency antenna, for transmitting and receiving radiofrequency signal.First radio-frequency antenna is used In detection and radiated radio frequency (RF) signal.Magnetic signal generating device is connect with the first microcontroller, sends what the first microcontroller generated Magnetic channel data information.
Radio-frequency SIM card includes the second RF receiving and transmission module, the second radio-frequency antenna, the second microcontroller, magnetic induction and information Receiving module and SIM card module.Second RF receiving and transmission module is connect with the second radio-frequency antenna and the second microcontroller respectively, is used for Transmitting and reception radiofrequency signal.Radio-frequency information that second microcontroller is used to receive and dispatch the second RF receiving and transmission module, magnetic induction and The received magnetic channel information of information receiving module is handled.Second radio-frequency antenna is for detecting and radiated radio frequency (RF) signal.SIM card The SIM card application of resume module mobile terminal.Magnetic induction and information receiving module are used to incude the magnetic signal hair of radio-frequency card reader The magnetic signal strength that generating apparatus is sent, and magnetic channel data information is connect, to confirm radio-frequency SIM card whether in radio-frequency card reader Short distance distance range in.
Fig. 5 is that the instruction interaction process in the embodiment of the present invention in the communication connection of radio-frequency card reader and radio-frequency SIM card is shown It is intended to.Assuming that radio-frequency card reader setting first when be limited to 8ms (millisecond), second when, is limited to 500ms.As shown in figure 5, radio frequency is read Instruction interaction process in the communication connection of card device and radio-frequency SIM card includes:
Radio-frequency card reader sends magnetic channel data information 501 to radio-frequency SIM card by magnetic signal generating device;Radio frequency card reading After device has sent magnetic channel data information, irreversible transformation is carried out to magnetic channel data information, generates radio frequency frequency with transformation results Point and address, and start the first RF receiving and transmission module and receive response message in radio-frequency channel.
Radio-frequency SIM card near field communication range in radio-frequency card reader detects that magnetic signal strength is more than setting Value, and be activated after receiving magnetic channel data information, radio-frequency channel data are responded to radio-frequency card reader within the time of T1 502, T1 are less than 8ms;Radio-frequency SIM card carries out the magnetic channel data information received identical with radio-frequency card reader end irreversible Transformation generates RF spot and address with transformation results and identical algorithm, and radio-frequency responsive letter is sent in the radio-frequency channel It ceases to radio-frequency card reader.
After radio-frequency card reader receives radio-frequency channel data 502, radio-frequency channel data 503 are sent in radio-frequency channel;Radio frequency Card reader starts timing after having sent magnetic channel data information, as do not received radio frequency in the first time limit (being 8ms in this example) The radio-frequency channel data 502 of SIM card then think that this communication failure, radio-frequency card reader retransmit magnetic channel data information, carry out again Secondary card seeking.
After radio-frequency SIM card receives radio-frequency channel data 503, radio-frequency channel is responded to radio-frequency card reader within the time of T2 Data 504, complete the access procedure of radio-frequency card reader and radio-frequency SIM card, and T2 is less than 8ms;After establishing radio frequency connection, start radio frequency Apply data interaction in channel.
Radio-frequency card reader sends radio-frequency channel application data 505 to radio-frequency SIM card;
Radio-frequency SIM card responds radio-frequency channel application data 506 to radio-frequency card reader within the time of T3, and T3 is less than 500ms. Radio-frequency card reader starts timing after having sent radio-frequency channel application data 505, and the second time limit, (being 500ms in this example) be not if interior had Have receive radio-frequency SIM card response radio-frequency channel application data 506, then it is assumed that this time communication failure, radio-frequency card reader disconnect and The radio frequency of current radio frequency SIM card connects.
The communication connecting method of various embodiments of the present invention is suitable for the radio-frequency unit with magnetic flux telecommunication function, such as with magnetic The radio-frequency card reader of communication function.The communication link of various embodiments of the present invention can be loaded into penetrating with magnetic flux telecommunication function In frequency device.
The invention also provides a kind of radio-frequency unit, the radio-frequency unit include any communication link above-mentioned and/ Or communication device.The radio-frequency unit may include communication link 200 shown in Fig. 2, also may include communication shown in Fig. 4 Device 400 can also not only include communication link 200 shown in Fig. 2 but also include communication device 400 shown in Fig. 4.
Wherein, which can be radio-frequency card reader.
Radio-frequency unit of the invention limits the interaction time of data, energy by the first time limit of setting and/or the second time limit Reduce the chance of success of attacker's attack, enough so as to the safety of improve data transfer.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of communication connecting method characterized by comprising
First time limit was set;
Connection request message is sent by magnet passage;
Judge within first time limit, if the response message of the connection request message is received by radio-frequency channel;
Decided whether to establish radio communication connection according to judging result.
2. communication connecting method according to claim 1, which is characterized in that first time limit is less than or equal to third party Obtain, handle and forward the sum of the time of the connection request message.
3. communication connecting method according to claim 1, which is characterized in that further include:
Second time limit was set;
After radio communication connection is established, pass through radio-frequency channel sending application data information;
Judge within second time limit, if the response message of the application data information is received by radio-frequency channel;
Decided whether to disconnect radio communication connection according to judging result.
4. communication connecting method according to claim 1, which is characterized in that it is close to carry encryption in the connection request message Key, the response message of the connection request message are to carry out encrypted ciphertext with the encryption key.
5. a kind of communication link characterized by comprising
First setup module, for being arranged for the first time limit;
First sending module, for sending connection request message by magnet passage;
First judgment module, for judging within first time limit, if receive the connection request by radio-frequency channel and disappear The response message of breath;
First processing module establishes radio communication connection for deciding whether according to the judging result of the first judgment module.
6. communication link according to claim 5, which is characterized in that first time limit is less than or equal to third party Obtain, handle and forward the sum of the time of the connection request message.
7. communication link according to claim 5, which is characterized in that further include:
Second setup module, for being arranged for the second time limit;
Second sending module, for passing through radio-frequency channel sending application data information after radio communication connection is established;
Second judgment module, for judging within second time limit, if the application data are received by radio-frequency channel and are believed The response message of breath;
Second processing module disconnects radio communication connection for deciding whether according to the judging result of second judgment module.
8. communication connecting method according to claim 5, which is characterized in that it is close to carry encryption in the connection request message Key, the response message of the connection request message are to carry out encrypted ciphertext with the encryption key.
9. a kind of communication means characterized by comprising
Second time limit was set;
After radio communication connection is established, pass through radio-frequency channel sending application data information;
Judge within second time limit, if the response message of the application data information is received by radio-frequency channel;
Decided whether to disconnect radio communication connection according to judging result.
10. communication means according to claim 9, which is characterized in that second time limit is obtained less than or equal to third party Take, handle and forward the sum of the time of the application data information.
CN201811128057.4A 2018-09-26 2018-09-26 A kind of communication connecting method and device Withdrawn CN109348476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811128057.4A CN109348476A (en) 2018-09-26 2018-09-26 A kind of communication connecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811128057.4A CN109348476A (en) 2018-09-26 2018-09-26 A kind of communication connecting method and device

Publications (1)

Publication Number Publication Date
CN109348476A true CN109348476A (en) 2019-02-15

Family

ID=65306707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811128057.4A Withdrawn CN109348476A (en) 2018-09-26 2018-09-26 A kind of communication connecting method and device

Country Status (1)

Country Link
CN (1) CN109348476A (en)

Similar Documents

Publication Publication Date Title
RU2597526C2 (en) Gateway communication with security ensuring
CN105610783B (en) A kind of data transmission method and Internet of things system
CN107005927A (en) Cut-in method, equipment and the system of user equipment (UE)
CN106559783B (en) Authentication method, device and system for WIFI network
EP1787486A1 (en) Bootstrapping authentication using distinguished random challenges
CN102026180A (en) M2M transmission control method, device and system
CN105430603A (en) Secure connection method and system for Bluetooth equipment
CN103024736A (en) Communication connecting method and device
CN103312677B (en) Terminal, server and the method for building up of communication connection
WO2016134608A1 (en) Method and apparatus for identifying pseudo base station
US9350721B2 (en) Air interface security method and device
EP2725736B1 (en) Methods and terminals for secure radio frequency communication
CN109348476A (en) A kind of communication connecting method and device
CN105873034A (en) Safe hot spot information processing method
US11363455B2 (en) Near field communication forum data exchange format (NDEF) messages with authenticated encryption
CN107466466A (en) Method, controlled device and the equipment of secure communication, remote control and equipment
CN103428693B (en) A kind of means of communication, communicating terminal and system
CN106533895A (en) Password-based instant communication method and system
CN106028327A (en) Method for realizing hotspot security through authentication server
Ji et al. Improved Chameleon: A Lightweight Method for Identity Verification in Near Field Communication
US20150303734A1 (en) Induction Charger
CN109041025A (en) A kind of personal identification method of near-field communication
CN111034241B (en) Performing key agreement recovery procedures
CN102244663A (en) User identification method and system based on transmission control protocol (TCP) data packet construction technology
CN105873036A (en) Safe AP (access point) information processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190215

WW01 Invention patent application withdrawn after publication