WO2013026366A1 - Method, system and apparatus for avoiding communication conflict - Google Patents

Method, system and apparatus for avoiding communication conflict Download PDF

Info

Publication number
WO2013026366A1
WO2013026366A1 PCT/CN2012/080254 CN2012080254W WO2013026366A1 WO 2013026366 A1 WO2013026366 A1 WO 2013026366A1 CN 2012080254 W CN2012080254 W CN 2012080254W WO 2013026366 A1 WO2013026366 A1 WO 2013026366A1
Authority
WO
WIPO (PCT)
Prior art keywords
radio frequency
conflict
conflict detection
channel
information
Prior art date
Application number
PCT/CN2012/080254
Other languages
French (fr)
Chinese (zh)
Inventor
刘勇
Original Assignee
国民技术股份有限公司
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 国民技术股份有限公司 filed Critical 国民技术股份有限公司
Publication of WO2013026366A1 publication Critical patent/WO2013026366A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to a method, apparatus, and system for preventing communication conflicts.
  • the radio frequency adopts UHF (Ultra High Frequency (UHF) technology enables the RF module to be transmitted after being embedded in the mobile terminal, thereby realizing the function of stable data transmission without changing the existing structure of the mobile terminal.
  • UHF Ultra High Frequency
  • the technical problem to be solved by the present invention is to provide a method, device and system for preventing communication conflicts, preventing communication conflicts and improving user experience.
  • the present invention provides the following technical solutions:
  • a method for preventing communication conflicts comprising: The conflict detection information is sent out through the magnetic channel; the conflict detection result of the external feedback is received through the radio frequency channel, and the anti-collision processing is performed according to the conflict detection result.
  • the conflict detection information is sent out through the magnetic channel, specifically: a primary radio frequency device that has established a radio frequency communication connection with the radio frequency device, and the conflict detection information is sent out through the magnetic channel, the conflict detection information. Carrying local information of the slave radio frequency device.
  • the conflict detection result of the external feedback is received through the radio frequency channel,
  • the anti-collision processing is performed according to the conflict detection result.
  • the main radio device determines whether an external feedback conflict response message is received, and if the conflict response message is received, disconnects the radio frequency connection.
  • the conflict detection information is sent out through the magnetic channel.
  • the first primary radio device sends the low frequency card search information through the magnetic channel.
  • the conflict detection result of the external feedback is received through the radio frequency channel
  • the anti-collision processing is performed according to the conflict detection result: the slave radio frequency device that receives the low frequency card search information feeds back a conflict response message to the second master radio frequency device that has established the radio frequency communication connection through the radio frequency channel; The two primary radio devices receive the conflict response message through the radio frequency channel, and disconnect the radio frequency connection with the slave radio frequency device.
  • the conflict detection result of the external feedback is received through the radio frequency channel
  • the anti-collision processing is performed according to the conflict detection result, where the first primary radio frequency device receives the low frequency fed back by the second slave radio frequency device through the radio frequency channel in a state that the first primary radio frequency device has established a communication connection with the first slave radio frequency device.
  • the response message of the card search information is received, the radio frequency connection with the first slave radio frequency device is disconnected.
  • a method for preventing a communication conflict includes: receiving, by using a magnetic channel, externally sent conflict detection information; generating a conflict detection result according to the conflict detection information, and transmitting, by using a radio frequency channel, the conflict detection result for implementing anti-collision processing .
  • the conflict detection information carries local information of a slave radio frequency device that has established a radio frequency communication connection with the sender.
  • the method for generating the conflict detection result according to the conflict detection information, and the method for transmitting the conflict detection result for implementing the anti-collision processing by using the radio frequency channel is specifically: determining that the conflict detection information is carried Whether the local information of the slave radio frequency device is consistent with its own local information, if not, generates a conflict response message, and sends the conflict response message for implementing anti-collision processing to the outside through the radio frequency channel.
  • the conflict detection information is low frequency card search information sent by the first primary radio device.
  • the method for generating the conflict detection result according to the conflict detection information, and the method for transmitting the conflict detection result for implementing the anti-collision processing by using the radio frequency channel is specifically: receiving the low frequency card search information
  • the slave radio frequency device generates a conflict response message according to the low frequency card search information, and feeds back a conflict response message to the second master radio frequency device that has established the radio frequency communication connection through the radio frequency channel.
  • An apparatus for preventing a communication conflict includes: a first sending module, configured to send the conflict detection information by using a magnetic channel; and a first receiving module, configured to receive a conflict detection result of the external feedback through the radio frequency channel; the first processing module, And used for performing anti-collision processing according to the conflict detection result.
  • the first sending module includes a first sending unit, configured to send conflict detection information through the magnetic channel after the primary radio device establishes a radio frequency communication connection with the radio frequency device, where the conflict occurs.
  • the local information of the slave radio frequency device is carried in the detection information.
  • the first receiving module includes a first receiving unit, configured to notify the first processing module to perform corresponding anti-collision processing after receiving the conflict response message of the external feedback;
  • the processing module is used to disconnect the radio frequency.
  • the first sending module is configured to send the low frequency card search information through the magnetic channel;
  • the first receiving module includes a second determining module, configured to determine that the radio frequency connection has been established with the first slave radio frequency device. a response message of the low frequency card search information fed back by the second radio frequency device through the radio frequency channel;
  • the first processing module includes a fourth processing unit, configured to receive the response message in the determining result The RF connection to the first slave RF device is disconnected.
  • An apparatus for preventing communication conflicts comprising: a second receiving module, configured to receive externally sent conflict detection information by using a magnetic channel; and a second processing module, configured to generate a conflict detection result according to the conflict detection information; And for transmitting, by using the radio frequency channel, the conflict detection result for implementing anti-collision processing.
  • the conflict detection information carries local information of a slave radio frequency device that has established a radio frequency communication connection with the sender;
  • the second processing module includes a second processing unit, configured to determine the conflict. Whether the local information of the slave radio frequency device carried in the detection information is consistent with the local information of the radio device, and if not, generates a conflict response message;
  • the second sending module is configured to send the conflict response for implementing anti-collision processing by using the radio channel. Message.
  • the second receiving module includes a first determining module, configured to determine whether the low frequency card search information of the magnetic channel is received in a state in which the radio frequency connection has been established; the second processing module includes a third processing unit, configured to generate a conflict response message when the determining result is that the magnetic channel low frequency card search information is received; the second sending module is configured to send the foregoing for implementing anti-collision processing by using a radio frequency channel Conflict response message.
  • the method, device and system for preventing communication conflicts of the present invention can detect whether a communication conflict currently exists by transmitting collision detection information during radio frequency communication after the establishment of the radio frequency connection to the completion of the radio frequency transaction, and can timely discover and perform the communication conflict. Processing, thereby effectively preventing communication conflicts and improving the user experience.
  • FIG. 1 is a flow chart of a method for preventing communication conflicts in an embodiment of the present invention
  • FIG. 2 is a structural diagram of a radio frequency card reader and a radio frequency SIM card
  • 3 is a model diagram of conflicts of multiple radio frequency SIM cards in an embodiment of the present invention.
  • FIG. 4 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention
  • FIG. 5 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention
  • FIG. 6 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention
  • FIG. 7 is a structural diagram of an apparatus for preventing communication conflicts according to an embodiment of the present invention.
  • FIG. 8 is another structural diagram of an apparatus for preventing communication conflicts according to an embodiment of the present invention.
  • FIG. 9 is another flowchart of a method for preventing communication conflicts according to an embodiment of the present invention.
  • FIG. 10 is still another flowchart of a method for preventing communication conflicts according to an embodiment of the present invention.
  • FIG. 11 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention.
  • FIG. 12 is still another structural diagram of an apparatus for preventing communication conflicts according to an embodiment of the present invention.
  • the present invention mainly includes the following four solutions:
  • the first solution after the first primary radio frequency device has established a radio frequency connection with a slave radio frequency device (the first slave radio frequency device), the first main radio frequency device continuously sends out through the magnetic channel.
  • Collision detection information the conflict detection information carries local information of the first slave radio frequency device that has established a radio frequency connection with the first primary radio frequency device, and the other radio frequency device in the first main radio frequency device receives the local radio frequency device
  • the conflict detection information is determined, the local information of the radio frequency device carried in the conflict detection information is inconsistent with the information stored by the radio detection device, and the radio frequency channel (which can be calculated by the collision detection information) sends a collision to the first primary radio device.
  • the detection result is that after the first primary radio frequency device receives the conflict detection result, disconnecting the radio frequency connection with the first slave radio frequency device;
  • the conflict detection result may also be sent to the first primary radio frequency device by using a radio frequency channel (which is different from the normal radio frequency channel between the first primary radio frequency device and the first secondary radio frequency device), and the first primary radio frequency device receives After the conflict detection result, disconnecting the radio frequency connection with the first slave radio frequency device;
  • the first slave radio frequency device receives the low frequency card search information sent by the other main radio frequency device (the second main radio frequency device) through the magnetic channel in a state that the radio frequency device has established a radio frequency connection with the first main radio frequency device.
  • the first slave radio frequency device sends a conflict detection result to the first master radio frequency device through the radio frequency channel, and after receiving the conflict detection result, the first master radio frequency device disconnects the radio frequency connection with the first slave radio frequency device.
  • the first primary radio frequency device receives the low frequency card search information sent from the radio frequency device in a state that the radio frequency connection has been established with the first slave radio frequency device (the low frequency card search information is the first main radio frequency information)
  • the first primary radio device disconnects the radio frequency connection with the first slave radio device by receiving response information from the device prior to establishing a radio frequency connection with the first slave radio device.
  • FIG. 1 is a flowchart of a method for preventing communication conflicts according to an embodiment of the present invention. As shown in FIG. 1, in this embodiment, a method for preventing a communication conflict includes the following steps:
  • Step a11 The first primary radio frequency device that has established a radio frequency connection with the first slave radio frequency device sends the conflict detection information through the magnetic channel.
  • the first primary radio device After the first primary radio device and the first slave radio device complete the access process, the first primary radio device immediately transmits the data information transmitted by the first slave radio device through the radio frequency channel through the low frequency magnetic channel (ie, the local information of the first slave radio device) Information) as collision detection data (i.e., collision detection information), the collision detection data is repeatedly transmitted until the current transaction is completed, and then continues to be accessed and traded with the currently connected first slave radio frequency device.
  • the data information transmitted by the first slave radio device through the radio frequency channel through the low frequency magnetic channel (ie, the local information of the first slave radio device) Information
  • collision detection data i.e., collision detection information
  • the first slave radio frequency device and the first master radio frequency device perform irreversible transformation by using the collision detection data, and generate the radio frequency frequency and address by using the transformation result and the same algorithm, and are used for the radio frequency frequency and address of the collision detection communication.
  • Step a12 Each slave radio frequency device (possibly including the first slave radio frequency device) in the magnetic signal radiation area of the first primary radio frequency device receives the collision detection information through the magnetic channel;
  • each of the slave radio frequency devices determines the conflict detection information, determines whether the local information of the slave radio frequency device carried in the conflict detection information is consistent with the information stored by itself, and generates a conflict detection result according to the determination result;
  • Step a14 in step a12, each of the slave radio frequency devices sends a collision detection result through the radio frequency channel;
  • the frequency and address of the radio frequency channel may be an irreversible transformation by the radio frequency device using the collision detection data, and the radio frequency frequency and address generated by the transformation result and the setting algorithm, that is, the above-mentioned communication for collision detection communication.
  • RF frequency and address may be an irreversible transformation by the radio frequency device using the collision detection data, and the radio frequency frequency and address generated by the transformation result and the setting algorithm, that is, the above-mentioned communication for collision detection communication.
  • the radio frequency frequency and address used for the collision detection communication may also be determined according to other manners, for example, the radio frequency frequency and address directly used for the collision detection communication, or other
  • the algorithm generates RF frequency points and addresses for collision detection communication.
  • the radio frequency frequency and address used for collision detection communication determined in any manner must be different from the first primary radio frequency device and the first secondary radio frequency device for normal communication.
  • RF frequency and address To ensure this, the radio frequency band for collision detection communication can be specified such that the radio frequency band used for collision detection communication is different from the radio frequency band used for normal communication.
  • step a15 the first primary radio device receives each conflict detection result through the radio frequency channel
  • step a16 the first primary radio frequency device performs anti-collision processing according to the conflict detection result received in step a15.
  • the primary radio frequency device has a magnetic transmitting device
  • the secondary radio frequency device has a magnetic receiving device.
  • the primary radio device can be a radio frequency card reader and the slave radio frequency device can be a radio frequency SIM card.
  • the structure of the RF card reader and the RF SIM card can be as shown in FIG. 2.
  • the radio frequency card reader 100 includes a microcontroller 103, a radio frequency transceiver module 101, a radio frequency antenna 102, and a magnetic signal generating device 104.
  • the microcontroller 103 is equivalent to the first processing module, processes the information sent and received by the radio frequency transceiver module 101, generates magnetic channel data information, and performs anti-collision processing according to the conflict detection result received by the radio frequency transceiver module 101.
  • the radio frequency transceiver module 101 is connected to the microcontroller 103 and the radio frequency antenna 102.
  • the radio frequency antenna 102 is used for detecting and radiating radio frequency signals.
  • the radio frequency transceiver module 101 and the radio frequency antenna 102 are equivalent to the first receiving module, and are used for transmitting and receiving radio frequency signals, such as The conflict detection result of the external feedback is received through the RF channel.
  • the magnetic signal generating device 104 is connected to the microcontroller 103 and is equivalent to the first transmitting module for transmitting the conflict detection information generated by the microcontroller 103 through the magnetic channel.
  • the radio frequency SIM card 200 includes a radio frequency transceiver module 201, a radio frequency antenna 202, a microcontroller 203, a magnetic induction and information receiving module 204, and a SIM card module 205.
  • the radio frequency antenna 202 is configured to detect and radiate radio frequency signals
  • the radio frequency transceiver module 201 is respectively connected to the radio frequency antenna 202 and the micro controller 203, and is equivalent to the second sending module, and is configured to send out a conflict for implementing anti-collision processing through the radio frequency channel. Test results.
  • the magnetic induction and information receiving module 204 is configured to sense the magnetic signal strength sent by the magnetic signal generating device 104, and receive the magnetic channel information to confirm whether the radio frequency SIM card 200 is within the short-range communication range of the radio frequency card reader 100, which is equivalent to
  • the second receiving module is configured to receive the externally sent conflict detection information through the magnetic channel.
  • the microcontroller 203 is configured to process the radio frequency information sent and received by the radio frequency transceiver module 201 and the magnetic channel information received by the magnetic induction and information receiving module 204, and is equivalent to the second processing module, and is configured to generate a conflict detection result according to the conflict detection information.
  • the SIM card module 205 processes the SIM card application of the mobile terminal.
  • FIG. 3 is a model diagram of conflicts of multiple radio frequency SIM cards in an embodiment of the present invention.
  • both the radio frequency SIM card 302 and the radio frequency SIM card 303 are within the short-range communication range of the radio frequency card reader 301 (the inner area of the dotted line in FIG. 3 indicates the short-range communication range of the radio frequency card reader 301), both of which are
  • the low frequency card seek command of the radio frequency card reader 301 can be received to establish a radio frequency connection with the radio frequency card reader 301, thereby forming a multi-card collision.
  • the radio frequency card reader 301 randomly accesses one of the radio frequency SIM cards for transaction, but the user cannot identify the transaction being processed. Is the radio frequency SIM card 302 or the radio frequency SIM card 303.
  • the collision situation shown in FIG. 3 can be avoided by using the method for preventing communication conflicts shown in FIG. 1.
  • the process of preventing communication conflicts is as follows:
  • Step b11 assume that the radio frequency card reader 301 randomly accesses the radio frequency SIM card 302;
  • step b12 after establishing a radio frequency connection with the radio frequency SIM card 302, the radio frequency card reader 301 immediately starts to send the conflict detection information through the low frequency magnetic channel, the conflict detection information carries the local information of the radio frequency SIM card 302, and then the radio frequency card reader 301 Continue to access and trade with the currently connected radio frequency SIM card 302;
  • the radio frequency SIM card 302 can transmit its local information to the radio frequency card reader 301 through the radio frequency channel during the connection and establishment of the connection with the radio frequency card reader 301.
  • Step b13 the radio frequency SIM card 302 and the radio frequency SIM card 303 in the conflict area of the radio frequency card reader 301 (ie, within the short-range communication range) receive the conflict detection information;
  • Step b14 the radio frequency SIM card 302 compares the received conflict detection information with the local information, and finds that the comparison result is consistent, the radio frequency SIM card 302 does not perform any processing, continues the transaction, and the radio frequency SIM card 303 compares and finds the received If the conflict detection information is inconsistent with the local information, the radio frequency SIM card 303 determines that the collision has occurred, and the radio frequency SIM card 303 will continue to send the 20 ms conflict response message on the conflicting radio frequency and address.
  • the radio frequency SIM card that receives the collision detection information when it is determined that the local information of the self is consistent with the local information in the conflict detection information, the method of not performing any processing is adopted. In this case, the conflict detection result is that the primary radio frequency device (such as a radio frequency card reader) is not received on the radio frequency channel. Conflict response message.
  • the radio frequency SIM card when it is determined that the local information of itself is consistent with the local information in the conflict detection information, The radio frequency SIM card can also send a notification or message to the primary radio device (such as a radio frequency card reader) through the radio frequency channel to inform the main radio device that the radio frequency SIM card does not conflict.
  • the radio frequency SIM card can detect the conflict without conflict by sending no response message or by sending a notification or message carrying the non-conflict information.
  • the result informs the primary radio device (eg, a radio frequency reader).
  • step b15 when the radio frequency card reader 301 receives the conflict response message, it determines that a collision has occurred in the conflict area, and disconnects the currently communicating radio frequency SIM card 302.
  • the radio frequency SIM card 303 will also perform the collision detection processing as above.
  • FIG. 4 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention.
  • the radio frequency SIM card 402 is not connected to the radio frequency card reader 401 in the accessible range, but is connected to the radio frequency card reader 403 due to the radio frequency channel frequency point and address conflict.
  • the RF card reader 401 is connected to the RF SIM card 404.
  • the inner area of the broken line indicates the short-range communication range, that is, the access range.
  • the accessible range refers to the short-range communication range, which will not be described one by one below.
  • the collision situation shown in FIG. 4 can be avoided by using the method for preventing communication conflicts shown in FIG. 1.
  • the process of preventing communication conflicts is as follows:
  • the radio frequency card reader 401 and the radio frequency card reader 403 start to send the conflict detection information through the low frequency magnetic channel after the radio frequency connection is established respectively.
  • the conflict detection information sent by the radio frequency card reader 401 carries the radio frequency SIM card 404.
  • the local information of the radio frequency SIM card 402 is carried in the conflict detection information sent by the radio frequency card reader 403;
  • the radio frequency SIM card 402 receives the conflict detection information of the radio frequency card reader 401, and the radio frequency SIM card 404 receives the conflict detection information of the radio frequency card reader 403, and compares it with its own local information, and the radio frequency SIM card 402 finds If the received conflict detection information is inconsistent with its local information, it is judged that a card search address conflict has occurred.
  • the conflict response message is sent on a specific radio frequency frequency and address for 20 ms, and the current bit is set.
  • the abnormal state similarly, the radio frequency SIM card 404 also finds that the received conflict detection information is inconsistent with its own local information, and then determines that a card search address conflict has occurred, and after completing the current radio frequency transmission and reception, it continues for 20 ms at a specific radio frequency frequency and address. Send a conflict response message and set the current bit abnormal state;
  • the specific RF frequency and address refer to the RF frequency and address generated by the transformation result and the setting algorithm by irreversible transformation of the collision detection information, that is, the aforementioned RF frequency point for collision detection communication.
  • the address is not explained one by one below.
  • the radio frequency frequency and address used for the collision detection communication may also be determined according to other manners, for example, the radio frequency frequency and address for the collision detection communication are directly agreed, or the other algorithms agreed by the two parties are used to generate the communication for the collision detection communication. RF frequency and address.
  • the radio frequency card reader 401 receives the conflict response message from the radio frequency SIM card 404 through the radio frequency channel, and the radio frequency card reader 403 receives the conflict response message from the radio frequency SIM card 402 through the radio frequency channel, and the radio frequency card reader 401 and The radio frequency card reader 403 directly sends a close message to end the current radio frequency connection when transmitting the communication next time.
  • FIG. 5 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention.
  • the radio frequency SIM card 502 is not connected to the radio frequency card reader 501 in the accessible range, but is connected to the radio frequency card reader outside the access range.
  • 503 establishes a connection.
  • the inner area of the broken line indicates the short-range communication range, that is, the access range.
  • the collision situation shown in FIG. 5 can be avoided by using the method for preventing communication conflicts shown in FIG. 1.
  • the process of preventing communication conflicts is as follows:
  • step b31 after the radio frequency card reader 503 establishes a radio frequency connection with the radio frequency SIM card 502, the radio frequency SIM card 502 transmits the conflict detection information, and the conflict detection information carries the local information of the radio frequency SIM card 502.
  • Step b32 after receiving the conflict detection information, the radio frequency SIM card 504 in the reachable range of the radio frequency card reader 503 determines that the collision is caused by itself, and continuously transmits the conflict response message of 20 ms directly on the specific radio frequency frequency and address;
  • step b33 the radio frequency card reader 503 receives the conflict response message from the radio frequency SIM card 504 through the radio frequency channel, and disconnects the radio frequency connection with the radio frequency SIM card 502 in the next transmission state.
  • FIG. 6 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention.
  • the radio frequency SIM card 702 does not establish a radio frequency connection with the radio frequency card reader 701 in the accessible range, but the radio frequency reading card is outside the reachable range.
  • the 704 establishes a radio frequency connection, and the radio frequency card reader 701 establishes a connection with the radio frequency SIM card 703 within the accessible range.
  • the collision situation shown in FIG. 5 can be avoided by using the method for preventing communication conflicts shown in FIG. 1.
  • the process of preventing communication conflicts is as follows:
  • the radio frequency card reader 701 and the radio frequency card reader 704 respectively transmit the collision detection information through the low frequency magnetic channel after the radio frequency connection is established, and the conflict detection information sent by the radio frequency card reader 701 carries the local information of the radio frequency SIM card 703.
  • the conflict detection information sent by the radio frequency card reader 704 carries the local information of the radio frequency SIM card 702;
  • Step b42 the radio frequency SIM card 702 and the radio frequency SIM card 703 receive the conflict detection information from the radio frequency card reader 701 through the magnetic channel, and the radio frequency SIM card 702 compares the received conflict detection information with its local information, and finds that the inconsistency is inconsistent. Then, the current abnormal state is set, and a 20ms conflict response message is sent on a specific radio frequency frequency and address; the radio frequency SIM card 703 compares the received conflict detection information with the local information line, and finds that the comparison result is consistent, then the radio frequency SIM card 703 does not perform any processing and continues the transaction; since there is no radio frequency SIM card in the accessible range of the radio frequency card reader 704, all radio frequency SIM cards will not receive the conflict detection information from the radio frequency card reader 704;
  • the radio frequency card reader 704 receives the conflict response message of the radio frequency SIM card 702 through the radio frequency channel, and disconnects the radio frequency connection with the radio frequency SIM card 702 in the next transmission state.
  • the method for preventing communication conflicts in the embodiment of the present invention determines whether a communication conflict currently occurs by continuously transmitting collision detection information during radio frequency communication after the establishment of the radio frequency connection to the completion of the radio frequency transaction, and can timely discover and process the communication conflict. Thereby effectively preventing communication conflicts and improving the user experience.
  • the present invention also proposes means for preventing communication collisions.
  • the apparatus for preventing communication collisions shown in FIG. 7 and FIG. 8 below is used to implement the method flow for preventing communication conflicts shown in FIG. 1.
  • FIG. 7 is a structural diagram of an apparatus for preventing communication conflicts according to an embodiment of the present invention.
  • the apparatus 810 for preventing communication conflict includes a first sending module 811, a first receiving module 812, and a first processing module 813.
  • the first sending module 811, the first receiving module 812, and the first processing module 813 are sequentially connected.
  • the first sending module 811 is configured to send conflict detection information through the magnetic channel.
  • the first receiving module 812 is configured to receive a collision detection result by using a radio frequency channel.
  • the first processing module 813 is configured to perform anti-collision processing according to the conflict detection result received by the first receiving module 812.
  • the first sending module 811 may further include a first sending unit.
  • the first sending unit is configured to send the conflict detection information by using the magnetic channel after the primary radio frequency device establishes a radio frequency communication connection with the first slave radio frequency device, where the conflict detection information carries the local information of the first slave radio frequency device.
  • the first slave radio frequency device may be a slave radio frequency device within a short range communication range of the main radio frequency device, or may be a slave radio frequency device outside the short range communication range of the main radio frequency device.
  • the first receiving module 812 may further include a first receiving unit.
  • the first receiving unit is configured to receive the conflict response message by using the radio frequency channel, where the conflict detection result is that the conflict response message is received or the conflict response message is not received, that is, whether the conflict response message is received. If the first receiving unit receives the conflict response message, the first processing module 813 disconnects the current radio frequency connection.
  • the primary radio frequency device continuously detects the current communication conflict by continuously sending the collision detection information during the radio frequency communication after the radio frequency connection is established to the radio frequency transaction completion, and can timely discover and generate the communication conflict. Processing, thereby effectively preventing communication conflicts and improving the user experience.
  • FIG. 8 is another structural diagram of an apparatus for preventing communication conflicts according to an embodiment of the present invention.
  • the apparatus 820 for preventing communication conflict includes a second receiving module 821, a second processing module 822, and a second sending module 823.
  • the second receiving module 821, the second processing module 822, and the second sending module 823 are sequentially connected.
  • the second receiving module 821 is configured to receive conflict detection information through the magnetic channel.
  • the second processing module 822 is configured to determine the conflict detection information received by the second receiving module 821, and generate a conflict detection result according to the determination result.
  • the second sending module 823 is configured to send the conflict detection result generated by the second processing module 822 through the radio frequency channel.
  • the conflict detection information received by the second receiving module 821 may carry local information of the first slave radio frequency device.
  • the second processing module 822 can further include a second processing unit.
  • the second processing unit is configured to determine whether the local information of the first slave radio frequency device carried in the conflict detection information is consistent with its local information, and if not, generate a conflict response message.
  • the second sending module 823 may further include a second sending unit.
  • the second sending unit is configured to send a conflict detection result to the primary radio frequency device by using the radio frequency channel, so that the primary radio frequency device performs anti-collision processing according to the conflict detection result.
  • the slave radio frequency device in which the device for preventing communication conflicts shown in FIG. 8 may be a slave radio frequency device within a short-range communication range of the main radio frequency device, or may be a slave radio frequency device outside the short-range communication range of the main radio frequency device. .
  • the device for preventing communication collision shown in FIG. 7 is placed in the primary radio device, and the device for preventing communication collision shown in FIG. 8 is placed in the slave radio device.
  • the primary radio device may be a radio frequency card reader
  • the slave radio frequency device may be a radio frequency SIM card.
  • the device for preventing communication conflicts in the embodiment of the present invention continuously compares the conflict detection information during the radio frequency communication after the radio frequency connection is established to the completion of the radio frequency transaction to determine whether a communication conflict currently occurs, and can generate a communication conflict when a communication conflict occurs.
  • the main RF device is discovered and notified in time for processing, thereby effectively preventing communication conflicts and improving the user experience.
  • FIG. 9 is another flow chart of a method for preventing communication conflicts according to an embodiment of the present invention. As shown in FIG. 9, in this embodiment, a method for preventing a communication conflict includes the following steps:
  • Step a21 it is determined from the radio frequency device whether the low frequency card search information of the magnetic channel is received in the state that the radio frequency connection has been established, if yes, step a22 is performed, otherwise step a23 is performed;
  • Step a22 Sending, by the radio frequency device, a conflict response message to the primary radio frequency device that has established a radio frequency connection with the radio frequency channel, so that the main radio frequency device disconnects the radio frequency connection according to the conflict response message;
  • step a23 the radio frequency device is not processed to maintain the current radio frequency connection.
  • FIG. 10 is still another flowchart of a method for preventing communication conflicts according to an embodiment of the present invention. As shown in FIG. 10, in this embodiment, the process of the method for preventing communication conflict includes the following steps:
  • step a31 the primary radio frequency device determines whether the low frequency card search information of the radio frequency channel is received in the state that the radio frequency connection has been established (the low frequency card search information is sent out before the primary radio frequency device establishes a radio frequency connection with a slave radio frequency device). Response information, if yes, proceed to step a32, otherwise perform step a33;
  • step a32 the primary radio device disconnects the current radio frequency connection
  • step a33 the primary radio device maintains the current radio frequency connection.
  • the flow of the method of preventing communication collisions shown in FIG. 9 is applied to a slave radio frequency device, such as a radio frequency SIM card.
  • the flow of the method of preventing communication collisions shown in FIG. 10 is applied to a primary radio frequency device, such as a radio frequency card reader.
  • FIG. 11 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention.
  • the radio frequency SIM card 602 does not establish a radio frequency connection with the radio frequency card reader 601 in the accessible range, but establishes a radio frequency connection with the radio frequency card reader 603.
  • the collision situation shown in Fig. 11 can be avoided by using the method of preventing communication collisions shown in Figs. 9 and 10.
  • the process of preventing communication conflicts is as follows:
  • Step b51 after the radio frequency card reader 603 establishes a radio frequency connection with the radio frequency SIM card 602, the radio frequency card reader 601 continues to transmit low frequency card search information in the magnetic channel;
  • the radio frequency SIM card 602 receives the low frequency card search information sent by the radio frequency card reader 601 through the magnetic channel when the radio frequency connection state is in the radio frequency connection state, thereby determining that a conflict has occurred, and the radio frequency SIM card 602 marks the current abnormal state and passes the Sending a conflict response message to the RF card reader 603 by using an application message or a connection control message;
  • step b53 after receiving the conflict response message from the radio frequency SIM card 602, the radio frequency card reader 603 disconnects the radio frequency SIM card 602 in the next transmission state.
  • the radio frequency device continuously determines whether the low frequency card search information of the magnetic channel is received under the state that the radio frequency connection has been established, after the radio frequency connection is established and the radio frequency communication is completed. In order to detect whether a communication conflict occurs, the main radio device can be detected and notified in time when a communication conflict occurs, thereby effectively preventing communication conflicts and improving the user experience.
  • FIG. 12 is still another structural diagram of an apparatus for preventing communication conflicts according to an embodiment of the present invention.
  • the apparatus for preventing communication collision shown in FIG. 12 is used to implement the method flow for preventing communication collision shown in FIG.
  • the apparatus 920 for preventing a communication conflict includes a second receiving module 921, a second processing module 922, and a second sending module 923.
  • the second receiving module 921 includes a first determining module 921a for determining that the radio frequency has been established.
  • the second processing module 922 includes a third processing unit 922a, configured to generate a conflict response message when the determination result is that the magnetic channel low frequency card search information is received;
  • the second sending module 923 is configured to send, by using the radio frequency channel, the conflict response message for implementing anti-collision processing, so that the primary radio device disconnects the radio frequency according to the conflict response message.
  • the device for preventing communication conflicts in the embodiment of the present invention continuously determines whether the low frequency card search information of the magnetic channel is received under the state that the radio frequency connection has been established during the radio frequency communication after the radio frequency connection is established and after the radio frequency transaction is completed. In order to detect whether a communication conflict occurs, the main radio device can be detected and notified in time when a communication conflict occurs, thereby effectively preventing communication conflicts and improving the user experience.

Abstract

A method, system and apparatus for avoiding a communication conflict are provided. The method for avoiding the communication conflict includes the following steps: sending conflict detection information to external via a magnetic channel; receiving a conflict detection result of external feedback via a radio frequency channel; processing anti-conflict according to the conflict detection result. During radio frequency communication from establishment of radio frequency connection to accomplishment of radio frequency transaction, the conflict detection information is sent to determine whether the communication conflict occurs currently, and the communication conflict can be detected and processed in time when the communication conflict is produced, thus the communication conflict is effectively prevented and user experience is improved.

Description

一种防止通信冲突的方法、装置及系统  Method, device and system for preventing communication conflict 技术领域Technical field
本发明涉及无线通信领域,尤其涉及一种防止通信冲突的方法、装置及系统。 The present invention relates to the field of wireless communications, and in particular, to a method, apparatus, and system for preventing communication conflicts.
背景技术Background technique
随着移动终端的普及,利用移动终端进行移动支付的应用需求非常迫切,当前已经出现了在移动终端SIM(Subscriber Identity Module)卡、SD(Secure Digital Memory Card)卡、Micro-SD卡或移动终端主板中,增加射频功能,使得移动终端成为一个可以充值、消费、交易、身份认证的超级智能终端。在该方案中,射频采用UHF(Ultra High Frequency,超高频)技术,使得射频模块嵌入移动终端后,仍可以透射出来,从而实现不必改变移动终端现有结构就能达到数据稳定传输的功能。With the popularity of mobile terminals, the application requirements for mobile payment using mobile terminals are very urgent, and there has been a mobile terminal SIM (Subscriber Identity). Module), SD (Secure Digital Memory) In the Card) card, Micro-SD card or mobile terminal board, the RF function is added to make the mobile terminal become a super intelligent terminal that can be recharged, consumed, traded, and authenticated. In this scheme, the radio frequency adopts UHF (Ultra High Frequency (UHF) technology enables the RF module to be transmitted after being embedded in the mobile terminal, thereby realizing the function of stable data transmission without changing the existing structure of the mobile terminal.
当多个上述移动终端同时位于一个通信终端(如射频读卡器)的射频通信范围内或是上述多个移动终端同时位于多个通信终端的射频通信范围内时,上述移动终端与通信终端之间将不可避免的会出现通信冲突的问题,从而影响用户的使用体验。When the plurality of mobile terminals are simultaneously located in a radio communication range of a communication terminal (such as a radio frequency card reader) or when the plurality of mobile terminals are simultaneously located in a radio communication range of the plurality of communication terminals, the mobile terminal and the communication terminal There will inevitably be a problem of communication conflicts, which will affect the user experience.
技术问题technical problem
本发明所要解决的技术问题是提供一种防止通信冲突的方法、装置及系统,防止通信冲突,提升用户体验。 The technical problem to be solved by the present invention is to provide a method, device and system for preventing communication conflicts, preventing communication conflicts and improving user experience.
技术解决方案Technical solution
为解决上述技术问题,本发明提供以下技术方案:In order to solve the above technical problems, the present invention provides the following technical solutions:
一种防止通信冲突的方法,其特征在于,包括: 通过磁通道向外发送冲突检测信息;通过射频通道接收外部反馈的冲突检测结果,根据所述冲突检测结果进行防冲突处理。A method for preventing communication conflicts, comprising: The conflict detection information is sent out through the magnetic channel; the conflict detection result of the external feedback is received through the radio frequency channel, and the anti-collision processing is performed according to the conflict detection result.
在本发明一实施例中,通过磁通道向外发送冲突检测信息具体为:与一从射频装置已建立射频通信连接的主射频装置,通过磁通道向外发送冲突检测信息,所述冲突检测信息中携带所述从射频装置的本地信息。In an embodiment of the present invention, the conflict detection information is sent out through the magnetic channel, specifically: a primary radio frequency device that has established a radio frequency communication connection with the radio frequency device, and the conflict detection information is sent out through the magnetic channel, the conflict detection information. Carrying local information of the slave radio frequency device.
在本发明一实施例中, 通过射频通道接收外部反馈的冲突检测结果, 根据所述冲突检测结果进行防冲突处理具体为:所述主射频装置判断是否接收到外部反馈的冲突响应消息,若收到冲突响应消息,则断开射频连接。In an embodiment of the invention, the conflict detection result of the external feedback is received through the radio frequency channel, The anti-collision processing is performed according to the conflict detection result. The main radio device determines whether an external feedback conflict response message is received, and if the conflict response message is received, disconnects the radio frequency connection.
在本发明一实施例中,通过磁通道向外发送冲突检测信息具体为:第一主射频装置通过磁通道向外发送低频寻卡信息。In an embodiment of the invention, the conflict detection information is sent out through the magnetic channel. The first primary radio device sends the low frequency card search information through the magnetic channel.
在本发明一实施例中,通过射频通道接收外部反馈的冲突检测结果, 根据所述冲突检测结果进行防冲突处理具体为:接收到所述低频寻卡信息的从射频装置,通过射频通道向与其已建立射频通信连接的第二主射频装置反馈冲突响应消息;所述第二主射频装置通过射频通道接收所述冲突响应消息,断开与所述从射频装置的射频连接。In an embodiment of the invention, the conflict detection result of the external feedback is received through the radio frequency channel, The anti-collision processing is performed according to the conflict detection result: the slave radio frequency device that receives the low frequency card search information feeds back a conflict response message to the second master radio frequency device that has established the radio frequency communication connection through the radio frequency channel; The two primary radio devices receive the conflict response message through the radio frequency channel, and disconnect the radio frequency connection with the slave radio frequency device.
在本发明一实施例中,通过射频通道接收外部反馈的冲突检测结果, 根据所述冲突检测结果进行防冲突处理具体为:所述第一主射频装置在已与第一从射频装置建立通信连接的状态下,通过射频通道接收到第二从射频装置反馈的所述低频寻卡信息的响应消息时,断开与第一从射频装置的射频连接。In an embodiment of the invention, the conflict detection result of the external feedback is received through the radio frequency channel, The anti-collision processing is performed according to the conflict detection result, where the first primary radio frequency device receives the low frequency fed back by the second slave radio frequency device through the radio frequency channel in a state that the first primary radio frequency device has established a communication connection with the first slave radio frequency device. When the response message of the card search information is received, the radio frequency connection with the first slave radio frequency device is disconnected.
一种防止通信冲突的方法,包括:通过磁通道接收外部发送的冲突检测信息;根据所述冲突检测信息生成冲突检测结果,通过射频通道向外发送用于实现防冲突处理的所述冲突检测结果。A method for preventing a communication conflict includes: receiving, by using a magnetic channel, externally sent conflict detection information; generating a conflict detection result according to the conflict detection information, and transmitting, by using a radio frequency channel, the conflict detection result for implementing anti-collision processing .
在本发明一实施例中,所述冲突检测信息中携带与发送方已建立射频通信连接的一从射频装置的本地信息。In an embodiment of the invention, the conflict detection information carries local information of a slave radio frequency device that has established a radio frequency communication connection with the sender.
在本发明一实施例中,根据所述冲突检测信息生成冲突检测结果,通过射频通道向外发送用于实现防冲突处理的所述冲突检测结果的方法具体为:判断所述冲突检测信息中携带的从射频装置的本地信息是否与自身的本地信息一致,若不一致则生成冲突响应消息,通过射频通道向外发送用于实现防冲突处理的所述冲突响应消息。In an embodiment of the present invention, the method for generating the conflict detection result according to the conflict detection information, and the method for transmitting the conflict detection result for implementing the anti-collision processing by using the radio frequency channel is specifically: determining that the conflict detection information is carried Whether the local information of the slave radio frequency device is consistent with its own local information, if not, generates a conflict response message, and sends the conflict response message for implementing anti-collision processing to the outside through the radio frequency channel.
在本发明一实施例中,所述冲突检测信息为第一主射频装置发出的低频寻卡信息。In an embodiment of the invention, the conflict detection information is low frequency card search information sent by the first primary radio device.
在本发明一实施例中,根据所述冲突检测信息生成冲突检测结果,通过射频通道向外发送用于实现防冲突处理的所述冲突检测结果的方法具体为:接收到所述低频寻卡信息的从射频装置,根据所述低频寻卡信息生成冲突响应消息,通过射频通道向与其已建立射频通信连接的第二主射频装置反馈冲突响应消息。In an embodiment of the present invention, the method for generating the conflict detection result according to the conflict detection information, and the method for transmitting the conflict detection result for implementing the anti-collision processing by using the radio frequency channel is specifically: receiving the low frequency card search information The slave radio frequency device generates a conflict response message according to the low frequency card search information, and feeds back a conflict response message to the second master radio frequency device that has established the radio frequency communication connection through the radio frequency channel.
一种防止通信冲突的装置,包括:第一发送模块,用于通过磁通道向外发送冲突检测信息;第一接收模块,用于通过射频通道接收外部反馈的冲突检测结果;第一处理模块,用于根据所述冲突检测结果进行防冲突处理。An apparatus for preventing a communication conflict includes: a first sending module, configured to send the conflict detection information by using a magnetic channel; and a first receiving module, configured to receive a conflict detection result of the external feedback through the radio frequency channel; the first processing module, And used for performing anti-collision processing according to the conflict detection result.
在本发明一实施例中,所述第一发送模块包括第一发送单元,用于在主射频装置与一从射频装置建立射频通信连接后,通过磁通道向外发送冲突检测信息,所述冲突检测信息中携带所述从射频装置的本地信息。In an embodiment of the present invention, the first sending module includes a first sending unit, configured to send conflict detection information through the magnetic channel after the primary radio device establishes a radio frequency communication connection with the radio frequency device, where the conflict occurs. The local information of the slave radio frequency device is carried in the detection information.
在本发明一实施例中,所述第一接收模块包括第一接收单元,用于在接收到外部反馈的冲突响应消息后,通知所述第一处理模块进行相应防冲突处理;所述第一处理模块用于断开射频连接。In an embodiment of the present invention, the first receiving module includes a first receiving unit, configured to notify the first processing module to perform corresponding anti-collision processing after receiving the conflict response message of the external feedback; The processing module is used to disconnect the radio frequency.
在本发明一实施例中,第一发送模块,用于通过磁通道向外发送低频寻卡信息;第一接收模块包括第二判断模块,用于判断在已与第一从射频装置建立射频连接的状态下是否收到第二从射频装置通过射频通道反馈的所述低频寻卡信息的响应消息;第一处理模块包括第四处理单元,用于在所述判断结果为收到所述响应消息时断开与第一从射频装置的射频连接。In an embodiment of the invention, the first sending module is configured to send the low frequency card search information through the magnetic channel; the first receiving module includes a second determining module, configured to determine that the radio frequency connection has been established with the first slave radio frequency device. a response message of the low frequency card search information fed back by the second radio frequency device through the radio frequency channel; the first processing module includes a fourth processing unit, configured to receive the response message in the determining result The RF connection to the first slave RF device is disconnected.
一种防止通信冲突的装置,包括:第二接收模块,用于通过磁通道接收外部发送的冲突检测信息;第二处理模块,用于根据所述冲突检测信息生成冲突检测结果;第二发送模块,用于通过射频通道向外发送用于实现防冲突处理的所述冲突检测结果。An apparatus for preventing communication conflicts, comprising: a second receiving module, configured to receive externally sent conflict detection information by using a magnetic channel; and a second processing module, configured to generate a conflict detection result according to the conflict detection information; And for transmitting, by using the radio frequency channel, the conflict detection result for implementing anti-collision processing.
在本发明一实施例中,所述冲突检测信息中携带与发送方已建立射频通信连接的一从射频装置的本地信息;所述第二处理模块包括第二处理单元,用于判断所述冲突检测信息中携带的从射频装置的本地信息是否与自身的本地信息一致,若不一致则生成冲突响应消息;第二发送模块用于通过射频通道向外发送用于实现防冲突处理的所述冲突响应消息。In an embodiment of the invention, the conflict detection information carries local information of a slave radio frequency device that has established a radio frequency communication connection with the sender; the second processing module includes a second processing unit, configured to determine the conflict. Whether the local information of the slave radio frequency device carried in the detection information is consistent with the local information of the radio device, and if not, generates a conflict response message; the second sending module is configured to send the conflict response for implementing anti-collision processing by using the radio channel. Message.
在本发明一实施例中,所述第二接收模块包括第一判断模块,用于判断在已经建立射频连接的状态下是否收到磁通道的低频寻卡信息;所述第二处理模块包括第三处理单元,用于在所述判断结果为收到磁通道低频寻卡信息时,生成冲突响应消息;所述第二发送模块用于通过射频通道向外发送用于实现防冲突处理的所述冲突响应消息。In an embodiment of the present invention, the second receiving module includes a first determining module, configured to determine whether the low frequency card search information of the magnetic channel is received in a state in which the radio frequency connection has been established; the second processing module includes a third processing unit, configured to generate a conflict response message when the determining result is that the magnetic channel low frequency card search information is received; the second sending module is configured to send the foregoing for implementing anti-collision processing by using a radio frequency channel Conflict response message.
有益效果Beneficial effect
本发明的防止通信冲突的方法、装置及系统,通过在射频连接建立后至射频交易完成的射频通信期间,发送冲突检测信息来判断当前是否出现通信冲突,在产生通信冲突时能够及时发现并进行处理,从而有效防止了通信冲突,提升了用户的使用体验。 The method, device and system for preventing communication conflicts of the present invention can detect whether a communication conflict currently exists by transmitting collision detection information during radio frequency communication after the establishment of the radio frequency connection to the completion of the radio frequency transaction, and can timely discover and perform the communication conflict. Processing, thereby effectively preventing communication conflicts and improving the user experience.
附图说明DRAWINGS
图1为本发明实施例中防止通信冲突的方法的一种流程图;1 is a flow chart of a method for preventing communication conflicts in an embodiment of the present invention;
图2为射频读卡器和射频SIM卡的结构图;2 is a structural diagram of a radio frequency card reader and a radio frequency SIM card;
图3为本发明实施例中多个射频SIM卡冲突的模型图;3 is a model diagram of conflicts of multiple radio frequency SIM cards in an embodiment of the present invention;
图4为本发明实施例中射频通道频点与地址冲突情形一的模型图;4 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention;
图5为本发明实施例中射频通道频点与地址冲突情形二的模型图;FIG. 5 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention; FIG.
图6为本发明实施例中射频通道频点与地址冲突情形三的模型图;6 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention;
图7为本发明实施例中防止通信冲突的装置的一种结构图;FIG. 7 is a structural diagram of an apparatus for preventing communication conflicts according to an embodiment of the present invention; FIG.
图8为本发明实施例中防止通信冲突的装置的另一种结构图;FIG. 8 is another structural diagram of an apparatus for preventing communication conflicts according to an embodiment of the present invention; FIG.
图9为本发明实施例中防止通信冲突的方法的另一种流程图;FIG. 9 is another flowchart of a method for preventing communication conflicts according to an embodiment of the present invention; FIG.
图10为本发明实施例中防止通信冲突的方法的再一种流程图;FIG. 10 is still another flowchart of a method for preventing communication conflicts according to an embodiment of the present invention; FIG.
图11为本发明实施例中射频通道频点与地址冲突情形四的模型图;11 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention;
图12为本发明实施例中防止通信冲突的装置的再一种结构图。FIG. 12 is still another structural diagram of an apparatus for preventing communication conflicts according to an embodiment of the present invention.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
本发明的实施方式Embodiments of the invention
以下结合附图和实施例对本发明的原理和特征进行描述,所举实例只用于解释本发明,并非用于限定本发明的范围。The principles and features of the present invention are described in the following with reference to the accompanying drawings and embodiments.
本发明主要包括以下四种方案:第一种方案,第一主射频装置已与一从射频装置(第一从射频装置)建立射频连接之后,第一主射频装置不断地通过磁通道向外发送冲突检测信息,该冲突检测信息中携带与第一主射频装置已建立射频连接的该第一从射频装置的本地信息,第一主射频装置的磁信号辐射区域内的其他从射频装置接收到该冲突检测信息之后,判断该冲突检测信息中携带的从射频装置的本地信息与自身存储的信息不一致,则通过射频通道(该射频通道可以通过冲突检测信息计算得到)向第一主射频装置发送冲突检测结果,第一主射频装置收到冲突检测结果之后,断开与第一从射频装置的射频连接;The present invention mainly includes the following four solutions: In the first solution, after the first primary radio frequency device has established a radio frequency connection with a slave radio frequency device (the first slave radio frequency device), the first main radio frequency device continuously sends out through the magnetic channel. Collision detection information, the conflict detection information carries local information of the first slave radio frequency device that has established a radio frequency connection with the first primary radio frequency device, and the other radio frequency device in the first main radio frequency device receives the local radio frequency device After the conflict detection information is determined, the local information of the radio frequency device carried in the conflict detection information is inconsistent with the information stored by the radio detection device, and the radio frequency channel (which can be calculated by the collision detection information) sends a collision to the first primary radio device. The detection result is that after the first primary radio frequency device receives the conflict detection result, disconnecting the radio frequency connection with the first slave radio frequency device;
第二种方案,该第一从射频装置接收到其他主射频装置通过磁通道向外发送的冲突检测信息之后,如果判断出该冲突检测信息中携带的从射频装置的本地信息与自身存储的信息不一致,则也可以通过射频通道(该射频通道与第一主射频装置、第一从射频装置之间的正常射频通道不同)向该第一主射频装置发送冲突检测结果,第一主射频装置收到冲突检测结果之后,断开与第一从射频装置的射频连接;In the second solution, after the first radio frequency device receives the conflict detection information sent by the other main radio equipment through the magnetic channel, if the local information of the slave radio frequency device carried in the conflict detection information and the information stored by itself are determined, Inconsistent, the conflict detection result may also be sent to the first primary radio frequency device by using a radio frequency channel (which is different from the normal radio frequency channel between the first primary radio frequency device and the first secondary radio frequency device), and the first primary radio frequency device receives After the conflict detection result, disconnecting the radio frequency connection with the first slave radio frequency device;
第三种方案,该第一从射频装置在已与第一主射频装置建立射频连接的状态下,接收到其他主射频装置(第二主射频装置)通过磁通道向外发送的低频寻卡信息,则该第一从射频装置通过射频通道向该第一主射频装置发送冲突检测结果,第一主射频装置收到冲突检测结果之后,断开与第一从射频装置的射频连接。In a third solution, the first slave radio frequency device receives the low frequency card search information sent by the other main radio frequency device (the second main radio frequency device) through the magnetic channel in a state that the radio frequency device has established a radio frequency connection with the first main radio frequency device. The first slave radio frequency device sends a conflict detection result to the first master radio frequency device through the radio frequency channel, and after receiving the conflict detection result, the first master radio frequency device disconnects the radio frequency connection with the first slave radio frequency device.
第四种方案,该第一主射频装置在已与第一从射频装置建立射频连接的状态下,接收到其他从射频装置发送的低频寻卡信息(该低频寻卡信息为该第一主射频装置在与第一从射频装置建立射频连接之前向外发送的)的响应信息,该第一主射频装置断开与第一从射频装置的射频连接。In a fourth solution, the first primary radio frequency device receives the low frequency card search information sent from the radio frequency device in a state that the radio frequency connection has been established with the first slave radio frequency device (the low frequency card search information is the first main radio frequency information) The first primary radio device disconnects the radio frequency connection with the first slave radio device by receiving response information from the device prior to establishing a radio frequency connection with the first slave radio device.
第一种方案如图1所示,图1为本发明实施例中防止通信冲突的方法的一种流程图。如图1所示,本实施例中,防止通信冲突的方法包括如下步骤:The first scheme is shown in FIG. 1. FIG. 1 is a flowchart of a method for preventing communication conflicts according to an embodiment of the present invention. As shown in FIG. 1, in this embodiment, a method for preventing a communication conflict includes the following steps:
步骤a11,与第一从射频装置已建立射频连接的第一主射频装置通过磁通道向外发送冲突检测信息;Step a11: The first primary radio frequency device that has established a radio frequency connection with the first slave radio frequency device sends the conflict detection information through the magnetic channel.
第一主射频装置与第一从射频装置完成接入过程后,第一主射频装置立即通过低频磁通道发送由第一从射频装置通过射频通道传送的数据信息(即第一从射频装置的本地信息)作为冲突检测数据(即冲突检测信息),该冲突检测数据重复发送直到当前交易完成,然后继续与当前连接的第一从射频装置进行接入和交易。After the first primary radio device and the first slave radio device complete the access process, the first primary radio device immediately transmits the data information transmitted by the first slave radio device through the radio frequency channel through the low frequency magnetic channel (ie, the local information of the first slave radio device) Information) as collision detection data (i.e., collision detection information), the collision detection data is repeatedly transmitted until the current transaction is completed, and then continues to be accessed and traded with the currently connected first slave radio frequency device.
第一从射频装置和第一主射频装置利用冲突检测数据进行不可逆的变换,用变换结果及相同的算法生成射频频点与地址,用于冲突检测通信的射频频点与地址。The first slave radio frequency device and the first master radio frequency device perform irreversible transformation by using the collision detection data, and generate the radio frequency frequency and address by using the transformation result and the same algorithm, and are used for the radio frequency frequency and address of the collision detection communication.
步骤a12,第一主射频装置的磁信号辐射区域内的各个从射频装置(可能包括第一从射频装置)通过磁通道接收冲突检测信息;Step a12: Each slave radio frequency device (possibly including the first slave radio frequency device) in the magnetic signal radiation area of the first primary radio frequency device receives the collision detection information through the magnetic channel;
步骤a13,步骤a12中各个从射频装置对冲突检测信息进行判断,判断冲突检测信息中携带的从射频装置的本地信息是否与自身存储的信息一致,并根据判断结果生成冲突检测结果;Step a13, in step a12, each of the slave radio frequency devices determines the conflict detection information, determines whether the local information of the slave radio frequency device carried in the conflict detection information is consistent with the information stored by itself, and generates a conflict detection result according to the determination result;
步骤a14,步骤a12中各个从射频装置通过射频通道发送冲突检测结果;Step a14, in step a12, each of the slave radio frequency devices sends a collision detection result through the radio frequency channel;
本步骤中,射频通道的频点及地址可以是由从射频装置利用冲突检测数据进行不可逆的变换,用变换结果及设定算法生成的射频频点与地址,即上述的用于冲突检测通信的射频频点与地址。In this step, the frequency and address of the radio frequency channel may be an irreversible transformation by the radio frequency device using the collision detection data, and the radio frequency frequency and address generated by the transformation result and the setting algorithm, that is, the above-mentioned communication for collision detection communication. RF frequency and address.
当然,在本发明的其他实施例中,还可以按照其他方式确定用于冲突检测通信的射频频点与地址,例如直接约定用于冲突检测通信的射频频点与地址,或者按照双方约定的其他算法来生成用于冲突检测通信的射频频点与地址。Certainly, in other embodiments of the present invention, the radio frequency frequency and address used for the collision detection communication may also be determined according to other manners, for example, the radio frequency frequency and address directly used for the collision detection communication, or other The algorithm generates RF frequency points and addresses for collision detection communication.
需要说明的是,本发明中,不管用何种方式确定的用于冲突检测通信的射频频点与地址,都必须不同于第一主射频装置和第一从射频装置之间用于正常通信的射频频点和地址。为确保这一点,可以规定用于冲突检测通信的射频频段,使得用于冲突检测通信的射频频段与用于正常通信的射频频段不同。It should be noted that, in the present invention, the radio frequency frequency and address used for collision detection communication determined in any manner must be different from the first primary radio frequency device and the first secondary radio frequency device for normal communication. RF frequency and address. To ensure this, the radio frequency band for collision detection communication can be specified such that the radio frequency band used for collision detection communication is different from the radio frequency band used for normal communication.
步骤a15,第一主射频装置通过射频通道接收各个冲突检测结果;In step a15, the first primary radio device receives each conflict detection result through the radio frequency channel;
步骤a16,第一主射频装置根据步骤a15中接收的冲突检测结果进行防冲突处理。In step a16, the first primary radio frequency device performs anti-collision processing according to the conflict detection result received in step a15.
其中,主射频装置具有磁发射装置,从射频装置具有磁接收装置。例如,主射频装置可以是射频读卡器,从射频装置可以是射频SIM卡。射频读卡器和射频SIM卡的结构可以如图2所示。Wherein, the primary radio frequency device has a magnetic transmitting device, and the secondary radio frequency device has a magnetic receiving device. For example, the primary radio device can be a radio frequency card reader and the slave radio frequency device can be a radio frequency SIM card. The structure of the RF card reader and the RF SIM card can be as shown in FIG. 2.
图2为射频读卡器和射频SIM卡的结构图。如图2所示,射频读卡器100包含微控制器103、射频收发模块101、射频天线102,和磁信号发生装置104。微控制器103相当于第一处理模块,处理射频收发模块101收发的信息,产生磁信道数据信息,并根据射频收发模块101接收到的冲突检测结果进行防冲突处理。射频收发模块101与微控制器103和射频天线102连接,射频天线102用于检测和辐射射频信号,射频收发模块101与射频天线102相当于第一接收模块,用于发射和接收射频信号,如通过射频通道接收外部反馈的冲突检测结果。磁信号发生装置104与微控制器103连接,相当于第一发送模块,用于通过磁通道向外发送微控制器103产生的冲突检测信息。2 is a structural diagram of a radio frequency card reader and a radio frequency SIM card. As shown in FIG. 2, the radio frequency card reader 100 includes a microcontroller 103, a radio frequency transceiver module 101, a radio frequency antenna 102, and a magnetic signal generating device 104. The microcontroller 103 is equivalent to the first processing module, processes the information sent and received by the radio frequency transceiver module 101, generates magnetic channel data information, and performs anti-collision processing according to the conflict detection result received by the radio frequency transceiver module 101. The radio frequency transceiver module 101 is connected to the microcontroller 103 and the radio frequency antenna 102. The radio frequency antenna 102 is used for detecting and radiating radio frequency signals. The radio frequency transceiver module 101 and the radio frequency antenna 102 are equivalent to the first receiving module, and are used for transmitting and receiving radio frequency signals, such as The conflict detection result of the external feedback is received through the RF channel. The magnetic signal generating device 104 is connected to the microcontroller 103 and is equivalent to the first transmitting module for transmitting the conflict detection information generated by the microcontroller 103 through the magnetic channel.
射频SIM卡200包括射频收发模块201、射频天线202、微控制器203、磁感应及信息接收模块204和SIM卡模块205。射频天线202用于检测和辐射射频信号,射频收发模块201分别与射频天线202和微控制器203连接,相当于第二发送模块,用于通过射频通道向外发送用于实现防冲突处理的冲突检测结果。磁感应及信息接收模块204用于感应磁信号发生装置104发送的磁信号强度,并接收接磁信道信息,以确认射频SIM卡200是否在射频读卡器100的近距离通信范围内,相当于第二接收模块,用于通过磁通道接收外部发送的冲突检测信息。微控制器203用于对射频收发模块201收发的射频信息及磁感应及信息接收模块204接收的磁信道信息进行处理,相当于第二处理模块,用于根据冲突检测信息生成冲突检测结果。SIM卡模块205处理移动终端的SIM卡应用。The radio frequency SIM card 200 includes a radio frequency transceiver module 201, a radio frequency antenna 202, a microcontroller 203, a magnetic induction and information receiving module 204, and a SIM card module 205. The radio frequency antenna 202 is configured to detect and radiate radio frequency signals, and the radio frequency transceiver module 201 is respectively connected to the radio frequency antenna 202 and the micro controller 203, and is equivalent to the second sending module, and is configured to send out a conflict for implementing anti-collision processing through the radio frequency channel. Test results. The magnetic induction and information receiving module 204 is configured to sense the magnetic signal strength sent by the magnetic signal generating device 104, and receive the magnetic channel information to confirm whether the radio frequency SIM card 200 is within the short-range communication range of the radio frequency card reader 100, which is equivalent to The second receiving module is configured to receive the externally sent conflict detection information through the magnetic channel. The microcontroller 203 is configured to process the radio frequency information sent and received by the radio frequency transceiver module 201 and the magnetic channel information received by the magnetic induction and information receiving module 204, and is equivalent to the second processing module, and is configured to generate a conflict detection result according to the conflict detection information. The SIM card module 205 processes the SIM card application of the mobile terminal.
下面我们将图1所示的防止通信冲突的方法运用到几种具体的冲突情形中,以进一步阐述本发明的原理。In the following we apply the method of preventing communication conflicts shown in Figure 1 to several specific conflict situations to further illustrate the principles of the present invention.
图3为本发明实施例中多个射频SIM卡冲突的模型图。如图3所示,射频SIM卡302、射频SIM卡303都在射频读卡器301的近距离通信范围内(图3中的虚线内部区域表示射频读卡器301的近距离通信范围),都能够接收到射频读卡器301的低频寻卡指令而与射频读卡器301建立射频连接,从而形成多卡冲突。这时,由于多张射频SIM卡同时位于同一个射频读卡器301的可接入范围内,射频读卡器301会随机接入其中一张射频SIM卡进行交易,但用户无法识别被交易的是射频SIM卡302还是射频SIM卡303。FIG. 3 is a model diagram of conflicts of multiple radio frequency SIM cards in an embodiment of the present invention. As shown in FIG. 3, both the radio frequency SIM card 302 and the radio frequency SIM card 303 are within the short-range communication range of the radio frequency card reader 301 (the inner area of the dotted line in FIG. 3 indicates the short-range communication range of the radio frequency card reader 301), both of which are The low frequency card seek command of the radio frequency card reader 301 can be received to establish a radio frequency connection with the radio frequency card reader 301, thereby forming a multi-card collision. At this time, since the plurality of radio frequency SIM cards are simultaneously located in the accessible range of the same radio frequency card reader 301, the radio frequency card reader 301 randomly accesses one of the radio frequency SIM cards for transaction, but the user cannot identify the transaction being processed. Is the radio frequency SIM card 302 or the radio frequency SIM card 303.
运用图1所示的防止通信冲突的方法可以避免图3所示的冲突情形。针对图3所示的冲突情形,防止通信冲突的过程如下:The collision situation shown in FIG. 3 can be avoided by using the method for preventing communication conflicts shown in FIG. 1. For the conflict situation shown in Figure 3, the process of preventing communication conflicts is as follows:
步骤b11,假设射频读卡器301随机接入了射频SIM卡302;Step b11, assume that the radio frequency card reader 301 randomly accesses the radio frequency SIM card 302;
步骤b12,在与射频SIM卡302建立射频连接后,射频读卡器301立即开始通过低频磁通道发送冲突检测信息,该冲突检测信息中携带射频SIM卡302的本地信息,然后射频读卡器301继续与当前连接的射频SIM卡302进行接入和交易;In step b12, after establishing a radio frequency connection with the radio frequency SIM card 302, the radio frequency card reader 301 immediately starts to send the conflict detection information through the low frequency magnetic channel, the conflict detection information carries the local information of the radio frequency SIM card 302, and then the radio frequency card reader 301 Continue to access and trade with the currently connected radio frequency SIM card 302;
其中,射频SIM卡302可以在与射频读卡器301的接入和建立连接过程中,通过射频通道将自身的本地信息传送给射频读卡器301。The radio frequency SIM card 302 can transmit its local information to the radio frequency card reader 301 through the radio frequency channel during the connection and establishment of the connection with the radio frequency card reader 301.
步骤b13,处于射频读卡器301冲突区域(即近距离通信范围内)的射频SIM卡302、射频SIM卡303都收到冲突检测信息;Step b13, the radio frequency SIM card 302 and the radio frequency SIM card 303 in the conflict area of the radio frequency card reader 301 (ie, within the short-range communication range) receive the conflict detection information;
步骤b14,射频SIM卡302将收到的冲突检测信息与本地信息进行比较,发现比较结果一致,则射频SIM卡302不做任何处理,继续交易,而射频SIM卡303经过比较,发现接收到的冲突检测信息与自身的本地信息不一致,则射频SIM卡303判断自已导致了冲突,射频SIM卡303将持续在冲突的射频频点与地址上发送20ms的冲突响应消息;Step b14, the radio frequency SIM card 302 compares the received conflict detection information with the local information, and finds that the comparison result is consistent, the radio frequency SIM card 302 does not perform any processing, continues the transaction, and the radio frequency SIM card 303 compares and finds the received If the conflict detection information is inconsistent with the local information, the radio frequency SIM card 303 determines that the collision has occurred, and the radio frequency SIM card 303 will continue to send the 20 ms conflict response message on the conflicting radio frequency and address.
在本实施例中,当接收到冲突检测信息的射频SIM卡经过比较, 判断自身的本地信息与冲突检测信息中的本地信息一致时,采用不做任何处理的方式,这种情形的冲突检测结果是,主射频装置(例如射频读卡器)在射频通道上没有接收到冲突响应消息。在本发明的其他实施例中,当射频SIM卡经过比较, 判断自身的本地信息与冲突检测信息中的本地信息一致时, 射频SIM卡也可以通过射频通道向主射频装置(例如射频读卡器)发送通知或者消息,来告知主射频装置该射频SIM卡不冲突。也就是说,在冲突检测结果为不冲突时,射频SIM卡既可以通过不发送任何响应消息的方式,也可以通过发送载有不冲突信息的通知或消息的方式,来将不冲突这个冲突检测结果告知主射频装置(例如射频读卡器)。In this embodiment, when the radio frequency SIM card that receives the collision detection information is compared, When it is determined that the local information of the self is consistent with the local information in the conflict detection information, the method of not performing any processing is adopted. In this case, the conflict detection result is that the primary radio frequency device (such as a radio frequency card reader) is not received on the radio frequency channel. Conflict response message. In other embodiments of the invention, when the radio frequency SIM card is compared, When it is determined that the local information of itself is consistent with the local information in the conflict detection information, The radio frequency SIM card can also send a notification or message to the primary radio device (such as a radio frequency card reader) through the radio frequency channel to inform the main radio device that the radio frequency SIM card does not conflict. That is to say, when the conflict detection result is not conflict, the radio frequency SIM card can detect the conflict without conflict by sending no response message or by sending a notification or message carrying the non-conflict information. The result informs the primary radio device (eg, a radio frequency reader).
步骤b15,当射频读卡器301收到冲突响应消息,则判断在冲突区域内发生了冲突,断开当前通信的射频SIM卡302。In step b15, when the radio frequency card reader 301 receives the conflict response message, it determines that a collision has occurred in the conflict area, and disconnects the currently communicating radio frequency SIM card 302.
反之,如果射频读卡器301随机接入的是射频SIM卡303,射频SIM卡303也将作如上的冲突检测处理。On the other hand, if the radio frequency card reader 301 randomly accesses the radio frequency SIM card 303, the radio frequency SIM card 303 will also perform the collision detection processing as above.
图4为本发明实施例中射频通道频点与地址冲突情形一的模型图。如图4所示,由于出现了射频通道频点与地址冲突,射频SIM卡402与可接入范围内的射频读卡器401未建立起连接,却与射频读卡器403建立了连接,而射频读卡器401却与射频SIM卡404建立了连接。图4中,虚线内部区域表示近距离通信范围,即可接入范围。本文中,可接入范围指近距离通信范围,下面不再一一说明。FIG. 4 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention. As shown in FIG. 4, the radio frequency SIM card 402 is not connected to the radio frequency card reader 401 in the accessible range, but is connected to the radio frequency card reader 403 due to the radio frequency channel frequency point and address conflict. The RF card reader 401 is connected to the RF SIM card 404. In Fig. 4, the inner area of the broken line indicates the short-range communication range, that is, the access range. In this paper, the accessible range refers to the short-range communication range, which will not be described one by one below.
运用图1所示的防止通信冲突的方法可以避免图4所示的冲突情形。针对图4所示的冲突情形,防止通信冲突的过程如下:The collision situation shown in FIG. 4 can be avoided by using the method for preventing communication conflicts shown in FIG. 1. For the conflict situation shown in Figure 4, the process of preventing communication conflicts is as follows:
步骤b21,射频读卡器401、射频读卡器403在分别建立射频连接后,都开始通过低频磁通道发送冲突检测信息,其中,射频读卡器401发送的冲突检测信息中携带射频SIM卡404的本地信息,而射频读卡器403发送的冲突检测信息中携带射频SIM卡402的本地信息;In step b21, the radio frequency card reader 401 and the radio frequency card reader 403 start to send the conflict detection information through the low frequency magnetic channel after the radio frequency connection is established respectively. The conflict detection information sent by the radio frequency card reader 401 carries the radio frequency SIM card 404. The local information of the radio frequency SIM card 402 is carried in the conflict detection information sent by the radio frequency card reader 403;
步骤b22,射频SIM卡402收到射频读卡器401的冲突检测信息,射频SIM卡404收到射频读卡器403的冲突检测信息,并分别与自身的本地信息进行比较,射频SIM卡402发现收到的冲突检测信息与自身的本地信息不一致,则判断产生了寻卡地址冲突,在完成当前射频收发后,持续20ms在特定的射频频点和地址上发送冲突响应消息,并置位当前位异常状态,同样,射频SIM卡404也发现收到的冲突检测信息与自身的本地信息不一致,则判断产生了寻卡地址冲突,在完成当前射频收发后,持续20ms在特定的射频频点和地址上发送冲突响应消息,并置位当前位异常状态; In step b22, the radio frequency SIM card 402 receives the conflict detection information of the radio frequency card reader 401, and the radio frequency SIM card 404 receives the conflict detection information of the radio frequency card reader 403, and compares it with its own local information, and the radio frequency SIM card 402 finds If the received conflict detection information is inconsistent with its local information, it is judged that a card search address conflict has occurred. After the current radio frequency transmission and reception is completed, the conflict response message is sent on a specific radio frequency frequency and address for 20 ms, and the current bit is set. The abnormal state, similarly, the radio frequency SIM card 404 also finds that the received conflict detection information is inconsistent with its own local information, and then determines that a card search address conflict has occurred, and after completing the current radio frequency transmission and reception, it continues for 20 ms at a specific radio frequency frequency and address. Send a conflict response message and set the current bit abnormal state;
本文中,特定的射频频点和地址是指通过对冲突检测信息进行不可逆的变换,用变换结果及设定算法生成的射频频点与地址,即前述的用于冲突检测通信的射频频点与地址,下面不再一一说明。当然,还可以按照其他方式确定用于冲突检测通信的射频频点与地址,例如直接约定用于冲突检测通信的射频频点与地址,或者按照双方约定的其他算法来生成用于冲突检测通信的射频频点与地址。In this paper, the specific RF frequency and address refer to the RF frequency and address generated by the transformation result and the setting algorithm by irreversible transformation of the collision detection information, that is, the aforementioned RF frequency point for collision detection communication. The address is not explained one by one below. Certainly, the radio frequency frequency and address used for the collision detection communication may also be determined according to other manners, for example, the radio frequency frequency and address for the collision detection communication are directly agreed, or the other algorithms agreed by the two parties are used to generate the communication for the collision detection communication. RF frequency and address.
步骤b23,射频读卡器401通过射频通道收到来自射频SIM卡404的冲突响应消息,射频读卡器403通过射频通道收到来自射频SIM卡402的冲突响应消息,则射频读卡器401和射频读卡器403都在下一次发送通信时直接发送close消息结束当前射频连接。In step b23, the radio frequency card reader 401 receives the conflict response message from the radio frequency SIM card 404 through the radio frequency channel, and the radio frequency card reader 403 receives the conflict response message from the radio frequency SIM card 402 through the radio frequency channel, and the radio frequency card reader 401 and The radio frequency card reader 403 directly sends a close message to end the current radio frequency connection when transmitting the communication next time.
图5为本发明实施例中射频通道频点与地址冲突情形二的模型图。如图5所示,由于出现了射频通道频点与地址冲突,射频SIM卡502与可接入范围内的射频读卡器501未建立起连接,却与可接入范围外的射频读卡器503建立起连接。图5中,虚线内部区域表示近距离通信范围,即可接入范围。FIG. 5 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention. As shown in FIG. 5, due to the occurrence of radio frequency channel frequency and address conflict, the radio frequency SIM card 502 is not connected to the radio frequency card reader 501 in the accessible range, but is connected to the radio frequency card reader outside the access range. 503 establishes a connection. In Fig. 5, the inner area of the broken line indicates the short-range communication range, that is, the access range.
运用图1所示的防止通信冲突的方法可以避免图5所示的冲突情形。针对图5所示的冲突情形,防止通信冲突的过程如下:The collision situation shown in FIG. 5 can be avoided by using the method for preventing communication conflicts shown in FIG. 1. For the conflict situation shown in Figure 5, the process of preventing communication conflicts is as follows:
步骤b31,射频读卡器503在与射频SIM卡502建立射频连接后,通过低频磁通道发送冲突检测信息,该冲突检测信息中携带射频SIM卡502的本地信息;In step b31, after the radio frequency card reader 503 establishes a radio frequency connection with the radio frequency SIM card 502, the radio frequency SIM card 502 transmits the conflict detection information, and the conflict detection information carries the local information of the radio frequency SIM card 502.
步骤b32,处于射频读卡器503的可接入范围内的射频SIM卡504收到冲突检测信息后,判断自己导致冲突,直接在特定的射频频点和地址上持续发送20ms的冲突响应消息;Step b32, after receiving the conflict detection information, the radio frequency SIM card 504 in the reachable range of the radio frequency card reader 503 determines that the collision is caused by itself, and continuously transmits the conflict response message of 20 ms directly on the specific radio frequency frequency and address;
步骤b33,射频读卡器503通过射频通道接收到来自射频SIM卡504的冲突响应消息,在下一个发送状态断开与射频SIM卡502的射频连接。 In step b33, the radio frequency card reader 503 receives the conflict response message from the radio frequency SIM card 504 through the radio frequency channel, and disconnects the radio frequency connection with the radio frequency SIM card 502 in the next transmission state.
图6为本发明实施例中射频通道频点与地址冲突情形三的模型图。如图6所示,由于出现了射频通道频点与地址冲突,射频SIM卡702与可接入范围内的射频读卡器701未建立起射频连接,却与可接入范围外的射频读卡器704建立起了射频连接,而射频读卡器701与可接入范围内的射频SIM卡703建立了连接。FIG. 6 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention. As shown in FIG. 6, the radio frequency SIM card 702 does not establish a radio frequency connection with the radio frequency card reader 701 in the accessible range, but the radio frequency reading card is outside the reachable range. The 704 establishes a radio frequency connection, and the radio frequency card reader 701 establishes a connection with the radio frequency SIM card 703 within the accessible range.
运用图1所示的防止通信冲突的方法可以避免图5所示的冲突情形。针对图5所示的冲突情形,防止通信冲突的过程如下:The collision situation shown in FIG. 5 can be avoided by using the method for preventing communication conflicts shown in FIG. 1. For the conflict situation shown in Figure 5, the process of preventing communication conflicts is as follows:
步骤b41,射频读卡器701、射频读卡器704在分别建立射频连接后,都通过低频磁信道发送冲突检测信息,射频读卡器701发送的冲突检测信息中携带射频SIM卡703的本地信息,射频读卡器704发送的冲突检测信息中携带射频SIM卡702的本地信息;In step b41, the radio frequency card reader 701 and the radio frequency card reader 704 respectively transmit the collision detection information through the low frequency magnetic channel after the radio frequency connection is established, and the conflict detection information sent by the radio frequency card reader 701 carries the local information of the radio frequency SIM card 703. The conflict detection information sent by the radio frequency card reader 704 carries the local information of the radio frequency SIM card 702;
步骤b42,射频SIM卡702、射频SIM卡703通过磁通道都收到来自射频读卡器701的冲突检测信息,射频SIM卡702将接收到的冲突检测信息与自身的本地信息比较,发现不一致,则置位当前为异常状态,并在特定的射频频点和地址上发送20ms冲突响应消息;射频SIM卡703将收到的冲突检测信息与本地信息行比较,发现比较结果一致,则射频SIM卡703不做任何处理,继续交易;由于射频读卡器704的可接入范围内没有射频SIM卡,则所有射频SIM卡都不会收到来自射频读卡器704的冲突检测信息;Step b42, the radio frequency SIM card 702 and the radio frequency SIM card 703 receive the conflict detection information from the radio frequency card reader 701 through the magnetic channel, and the radio frequency SIM card 702 compares the received conflict detection information with its local information, and finds that the inconsistency is inconsistent. Then, the current abnormal state is set, and a 20ms conflict response message is sent on a specific radio frequency frequency and address; the radio frequency SIM card 703 compares the received conflict detection information with the local information line, and finds that the comparison result is consistent, then the radio frequency SIM card 703 does not perform any processing and continues the transaction; since there is no radio frequency SIM card in the accessible range of the radio frequency card reader 704, all radio frequency SIM cards will not receive the conflict detection information from the radio frequency card reader 704;
步骤b43,射频读卡器704通过射频通道接收到射频SIM卡702的冲突响应消息,则在下一个发送状态断开与射频SIM卡702的射频连接。In step b43, the radio frequency card reader 704 receives the conflict response message of the radio frequency SIM card 702 through the radio frequency channel, and disconnects the radio frequency connection with the radio frequency SIM card 702 in the next transmission state.
本发明实施例的防止通信冲突的方法,通过在射频连接建立后至射频交易完成的射频通信期间不断发送冲突检测信息来判断当前是否出现通信冲突,在产生通信冲突时能够及时发现并进行处理,从而有效防止了通信冲突,提升了用户的使用体验。The method for preventing communication conflicts in the embodiment of the present invention determines whether a communication conflict currently occurs by continuously transmitting collision detection information during radio frequency communication after the establishment of the radio frequency connection to the completion of the radio frequency transaction, and can timely discover and process the communication conflict. Thereby effectively preventing communication conflicts and improving the user experience.
本发明还提出了防止通信冲突的装置。下面图7和图8所示的防止通信冲突的装置用以实施图1所示的防止通信冲突的方法流程。The present invention also proposes means for preventing communication collisions. The apparatus for preventing communication collisions shown in FIG. 7 and FIG. 8 below is used to implement the method flow for preventing communication conflicts shown in FIG. 1.
图7为本发明实施例中防止通信冲突的装置的一种结构图。如图7所示,本实施例中,防止通信冲突的装置810包括第一发送模块811、第一接收模块812和第一处理模块813。第一发送模块811、第一接收模块812和第一处理模块813顺次相连。第一发送模块811用于通过磁通道发送冲突检测信息。第一接收模块812用于通过射频通道接收冲突检测结果。第一处理模块813用于根据第一接收模块812接收的冲突检测结果进行防冲突处理。FIG. 7 is a structural diagram of an apparatus for preventing communication conflicts according to an embodiment of the present invention. As shown in FIG. 7, in this embodiment, the apparatus 810 for preventing communication conflict includes a first sending module 811, a first receiving module 812, and a first processing module 813. The first sending module 811, the first receiving module 812, and the first processing module 813 are sequentially connected. The first sending module 811 is configured to send conflict detection information through the magnetic channel. The first receiving module 812 is configured to receive a collision detection result by using a radio frequency channel. The first processing module 813 is configured to perform anti-collision processing according to the conflict detection result received by the first receiving module 812.
其中,第一发送模块811可以进一步包括第一发送单元。第一发送单元用于在主射频装置与第一从射频装置建立射频通信连接后,通过磁通道发送冲突检测信息,该冲突检测信息中携带该第一从射频装置的本地信息。第一从射频装置可以是在主射频装置的近距离通信范围内的从射频装置,也可以是在主射频装置的近距离通信范围外的从射频装置。The first sending module 811 may further include a first sending unit. The first sending unit is configured to send the conflict detection information by using the magnetic channel after the primary radio frequency device establishes a radio frequency communication connection with the first slave radio frequency device, where the conflict detection information carries the local information of the first slave radio frequency device. The first slave radio frequency device may be a slave radio frequency device within a short range communication range of the main radio frequency device, or may be a slave radio frequency device outside the short range communication range of the main radio frequency device.
其中,第一接收模块812可以进一步包括包括第一接收单元。第一接收单元用于通过射频通道接收冲突响应消息,该冲突检测结果为收到冲突响应消息或未收到冲突响应消息,即是否收到冲突响应消息。若第一接收单元收到冲突响应消息,则第一处理模块813断开当前的射频连接。The first receiving module 812 may further include a first receiving unit. The first receiving unit is configured to receive the conflict response message by using the radio frequency channel, where the conflict detection result is that the conflict response message is received or the conflict response message is not received, that is, whether the conflict response message is received. If the first receiving unit receives the conflict response message, the first processing module 813 disconnects the current radio frequency connection.
本发明实施例的防止通信冲突的装置,主射频装置通过在射频连接建立后至射频交易完成的射频通信期间不断发送冲突检测信息来判断当前是否出现通信冲突,在产生通信冲突时能够及时发现并进行处理,从而有效防止了通信冲突,提升了用户的使用体验。In the device for preventing communication conflicts in the embodiment of the present invention, the primary radio frequency device continuously detects the current communication conflict by continuously sending the collision detection information during the radio frequency communication after the radio frequency connection is established to the radio frequency transaction completion, and can timely discover and generate the communication conflict. Processing, thereby effectively preventing communication conflicts and improving the user experience.
图8为本发明实施例中防止通信冲突的装置的另一种结构图。如图8所示,本实施例中,防止通信冲突的装置820包括第二接收模块821、第二处理模块822和第二发送模块823。第二接收模块821、第二处理模块822和第二发送模块823顺次相连。第二接收模块821用于通过磁通道接收冲突检测信息。第二处理模块822用于对第二接收模块821接收的冲突检测信息进行判断,根据判断结果生成冲突检测结果。第二发送模块823用于通过射频通道发送第二处理模块822生成的冲突检测结果。FIG. 8 is another structural diagram of an apparatus for preventing communication conflicts according to an embodiment of the present invention. As shown in FIG. 8, in the embodiment, the apparatus 820 for preventing communication conflict includes a second receiving module 821, a second processing module 822, and a second sending module 823. The second receiving module 821, the second processing module 822, and the second sending module 823 are sequentially connected. The second receiving module 821 is configured to receive conflict detection information through the magnetic channel. The second processing module 822 is configured to determine the conflict detection information received by the second receiving module 821, and generate a conflict detection result according to the determination result. The second sending module 823 is configured to send the conflict detection result generated by the second processing module 822 through the radio frequency channel.
其中,第二接收模块821接收的冲突检测信息中可以携带第一从射频装置的本地信息。第二处理模块822可以进一步包括第二处理单元。第二处理单元用于判断冲突检测信息中携带的第一从射频装置的本地信息是否与自身的本地信息一致,若不一致则生成冲突响应消息。The conflict detection information received by the second receiving module 821 may carry local information of the first slave radio frequency device. The second processing module 822 can further include a second processing unit. The second processing unit is configured to determine whether the local information of the first slave radio frequency device carried in the conflict detection information is consistent with its local information, and if not, generate a conflict response message.
其中,第二发送模块823可以进一步包括第二发送单元。第二发送单元用于通过射频通道向主射频装置发送冲突检测结果,以使该主射频装置根据该冲突检测结果进行防冲突处理。The second sending module 823 may further include a second sending unit. The second sending unit is configured to send a conflict detection result to the primary radio frequency device by using the radio frequency channel, so that the primary radio frequency device performs anti-collision processing according to the conflict detection result.
其中,图8所示防止通信冲突的装置所在的从射频装置可以是在主射频装置的近距离通信范围内的从射频装置,也可以是在主射频装置的近距离通信范围外的从射频装置。The slave radio frequency device in which the device for preventing communication conflicts shown in FIG. 8 may be a slave radio frequency device within a short-range communication range of the main radio frequency device, or may be a slave radio frequency device outside the short-range communication range of the main radio frequency device. .
在本发明的一个优选实施例中,图7所示防止通信冲突的装置放置于主射频装置内,图8所示防止通信冲突的装置放置于从射频装置内。In a preferred embodiment of the present invention, the device for preventing communication collision shown in FIG. 7 is placed in the primary radio device, and the device for preventing communication collision shown in FIG. 8 is placed in the slave radio device.
本文中,主射频装置可以是射频读卡器,从射频装置可以是射频SIM卡。Herein, the primary radio device may be a radio frequency card reader, and the slave radio frequency device may be a radio frequency SIM card.
本发明实施例的防止通信冲突的装置,从射频装置通过在射频连接建立后至射频交易完成的射频通信期间,不断对冲突检测信息进行比较来判断当前是否出现通信冲突,在产生通信冲突时能够及时发现并通知主射频装置进行处理,从而有效防止了通信冲突,提升了用户的使用体验。The device for preventing communication conflicts in the embodiment of the present invention continuously compares the conflict detection information during the radio frequency communication after the radio frequency connection is established to the completion of the radio frequency transaction to determine whether a communication conflict currently occurs, and can generate a communication conflict when a communication conflict occurs. The main RF device is discovered and notified in time for processing, thereby effectively preventing communication conflicts and improving the user experience.
图9为本发明实施例中防止通信冲突的方法的另一种流程图。如图9所示,本实施例中,防止通信冲突的方法的流程包括如下步骤:FIG. 9 is another flow chart of a method for preventing communication conflicts according to an embodiment of the present invention. As shown in FIG. 9, in this embodiment, a method for preventing a communication conflict includes the following steps:
步骤a21,从射频装置判断在已经建立射频连接的状态下是否收到磁通道的低频寻卡信息,若是则执行步骤a22,否则执行步骤a23;Step a21, it is determined from the radio frequency device whether the low frequency card search information of the magnetic channel is received in the state that the radio frequency connection has been established, if yes, step a22 is performed, otherwise step a23 is performed;
步骤a22, 从射频装置通过射频通道向已与其建立射频连接的主射频装置发送冲突响应消息,以使该主射频装置根据该冲突响应消息断开射频连接;Step a22, Sending, by the radio frequency device, a conflict response message to the primary radio frequency device that has established a radio frequency connection with the radio frequency channel, so that the main radio frequency device disconnects the radio frequency connection according to the conflict response message;
步骤a23,从射频装置不作处理,保持当前射频连接。In step a23, the radio frequency device is not processed to maintain the current radio frequency connection.
图10为本发明实施例中防止通信冲突的方法的再一种流程图。如图10所示,本实施例中,防止通信冲突的方法的流程包括如下步骤:FIG. 10 is still another flowchart of a method for preventing communication conflicts according to an embodiment of the present invention. As shown in FIG. 10, in this embodiment, the process of the method for preventing communication conflict includes the following steps:
步骤a31,主射频装置判断在已经建立射频连接的状态下是否收到射频通道的低频寻卡信息(该低频寻卡信息为该主射频装置在与一从射频装置建立射频连接之前向外发送的)的响应信息,若是则执行步骤a32,否则执行步骤a33;In step a31, the primary radio frequency device determines whether the low frequency card search information of the radio frequency channel is received in the state that the radio frequency connection has been established (the low frequency card search information is sent out before the primary radio frequency device establishes a radio frequency connection with a slave radio frequency device). Response information, if yes, proceed to step a32, otherwise perform step a33;
步骤a32,主射频装置断开当前射频连接;In step a32, the primary radio device disconnects the current radio frequency connection;
步骤a33,主射频装置保持当前射频连接。In step a33, the primary radio device maintains the current radio frequency connection.
图9所示的防止通信冲突的方法的流程应用于从射频装置,例如射频SIM卡。图10所示的防止通信冲突的方法的流程应用于主射频装置,例如射频读卡器。The flow of the method of preventing communication collisions shown in FIG. 9 is applied to a slave radio frequency device, such as a radio frequency SIM card. The flow of the method of preventing communication collisions shown in FIG. 10 is applied to a primary radio frequency device, such as a radio frequency card reader.
下面我们将图9和图10所示的防止通信冲突的方法运用到具体的冲突情形中,以进一步阐述其原理。Next, we apply the method of preventing communication conflicts shown in FIG. 9 and FIG. 10 to a specific conflict situation to further explain the principle.
图11为本发明实施例中射频通道频点与地址冲突情形四的模型图。如图11所示,由于射频通道频点与地址冲突,射频SIM卡602与可接入范围内的射频读卡器601未建立起射频连接,却与射频读卡器603建立起射频连接。FIG. 11 is a model diagram of a frequency band and address conflict situation of a radio frequency channel according to an embodiment of the present invention. As shown in FIG. 11, the radio frequency SIM card 602 does not establish a radio frequency connection with the radio frequency card reader 601 in the accessible range, but establishes a radio frequency connection with the radio frequency card reader 603.
运用图9和图10所示的防止通信冲突的方法可以避免图11所示的冲突情形。针对图11所示的冲突情形,防止通信冲突的过程如下:The collision situation shown in Fig. 11 can be avoided by using the method of preventing communication collisions shown in Figs. 9 and 10. For the conflict situation shown in Figure 11, the process of preventing communication conflicts is as follows:
步骤b51,射频读卡器603在与射频SIM卡602建立射频连接后,射频读卡器601继续在磁通道发送低频寻卡信息;Step b51, after the radio frequency card reader 603 establishes a radio frequency connection with the radio frequency SIM card 602, the radio frequency card reader 601 continues to transmit low frequency card search information in the magnetic channel;
步骤b52,射频SIM卡602在处于射频连接状态时仍然通过磁通道收到射频读卡器601发送的低频寻卡信息,从而判断其产生了冲突,射频SIM卡602标记当前为异常状态,并通过应用消息或者连接控制消息将冲突响应消息发送给射频读卡器603;In step b52, the radio frequency SIM card 602 receives the low frequency card search information sent by the radio frequency card reader 601 through the magnetic channel when the radio frequency connection state is in the radio frequency connection state, thereby determining that a conflict has occurred, and the radio frequency SIM card 602 marks the current abnormal state and passes the Sending a conflict response message to the RF card reader 603 by using an application message or a connection control message;
步骤b53,射频读卡器603接收到来自射频SIM卡602的冲突响应消息后,在下一个发送状态断开与射频SIM卡602的连接。In step b53, after receiving the conflict response message from the radio frequency SIM card 602, the radio frequency card reader 603 disconnects the radio frequency SIM card 602 in the next transmission state.
本发明实施例的防止通信冲突的方法,从射频装置通过在射频连接建立后至射频交易完成的射频通信期间,不断对已经建立射频连接的状态下是否收到磁通道的低频寻卡信息进行判断,以检测是否出现通信冲突,在产生通信冲突时能够及时发现并通知主射频装置进行处理,从而有效防止了通信冲突,提升了用户的使用体验。In the method for preventing communication conflicts in the embodiment of the present invention, the radio frequency device continuously determines whether the low frequency card search information of the magnetic channel is received under the state that the radio frequency connection has been established, after the radio frequency connection is established and the radio frequency communication is completed. In order to detect whether a communication conflict occurs, the main radio device can be detected and notified in time when a communication conflict occurs, thereby effectively preventing communication conflicts and improving the user experience.
本发明又提出了一种防止通信冲突的装置。图12为本发明实施例中防止通信冲突的装置的再一种结构图。图12所示的防止通信冲突的装置用以实施图9所示的防止通信冲突的方法流程。如图12所示,防止通信冲突的装置920包括第二接收模块921、第二处理模块922和第二发送模块923,第二接收模块921包括第一判断模块921a,用于判断在已经建立射频连接的状态下是否收到磁通道的低频寻卡信息;第二处理模块922包括第三处理单元922a,用于在所述判断结果为收到磁通道低频寻卡信息时,生成冲突响应消息;第二发送模块923用于通过射频通道向外发送用于实现防冲突处理的所述冲突响应消息,以使该主射频装置根据该冲突响应消息断开射频连接。The present invention further proposes an apparatus for preventing communication collisions. FIG. 12 is still another structural diagram of an apparatus for preventing communication conflicts according to an embodiment of the present invention. The apparatus for preventing communication collision shown in FIG. 12 is used to implement the method flow for preventing communication collision shown in FIG. As shown in FIG. 12, the apparatus 920 for preventing a communication conflict includes a second receiving module 921, a second processing module 922, and a second sending module 923. The second receiving module 921 includes a first determining module 921a for determining that the radio frequency has been established. Whether the low frequency card search information of the magnetic channel is received in the connected state; the second processing module 922 includes a third processing unit 922a, configured to generate a conflict response message when the determination result is that the magnetic channel low frequency card search information is received; The second sending module 923 is configured to send, by using the radio frequency channel, the conflict response message for implementing anti-collision processing, so that the primary radio device disconnects the radio frequency according to the conflict response message.
本发明实施例的防止通信冲突的装置,从射频装置通过在射频连接建立后至射频交易完成的射频通信期间,不断对已经建立射频连接的状态下是否收到磁通道的低频寻卡信息进行判断,以检测是否出现通信冲突,在产生通信冲突时能够及时发现并通知主射频装置进行处理,从而有效防止了通信冲突,提升了用户的使用体验。The device for preventing communication conflicts in the embodiment of the present invention continuously determines whether the low frequency card search information of the magnetic channel is received under the state that the radio frequency connection has been established during the radio frequency communication after the radio frequency connection is established and after the radio frequency transaction is completed. In order to detect whether a communication conflict occurs, the main radio device can be detected and notified in time when a communication conflict occurs, thereby effectively preventing communication conflicts and improving the user experience.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.
工业实用性Industrial applicability
序列表自由内容Sequence table free content

Claims (18)

  1. 一种防止通信冲突的方法,其特征在于,包括:  A method for preventing communication conflicts, comprising:
    通过磁通道向外发送冲突检测信息;Sending collision detection information outward through the magnetic channel;
    通过射频通道接收外部反馈的冲突检测结果,根据所述冲突检测结果进行防冲突处理。The conflict detection result of the external feedback is received through the radio frequency channel, and the anti-collision processing is performed according to the conflict detection result.
  2. 根据权利要求1所述的防止通信冲突的方法,其特征在于: A method of preventing communication conflicts according to claim 1, wherein:
    通过磁通道向外发送冲突检测信息具体为:Sending conflict detection information through the magnetic channel is specifically as follows:
    与一从射频装置已建立射频通信连接的主射频装置,通过磁通道向外发送冲突检测信息,所述冲突检测信息中携带所述从射频装置的本地信息。And the primary radio frequency device that has established a radio frequency communication connection with the radio frequency device, and sends the conflict detection information to the outside through the magnetic channel, where the conflict detection information carries the local information of the slave radio frequency device.
  3. 根据权利要求1或2所述的防止通信冲突的方法,其特征在于: A method for preventing communication conflicts according to claim 1 or 2, characterized in that:
    通过射频通道接收外部反馈的冲突检测结果, 根据所述冲突检测结果进行防冲突处理具体为: The conflict detection result of the external feedback is received through the radio channel, and the anti-collision processing is performed according to the conflict detection result:
    所述主射频装置判断是否接收到外部反馈的冲突响应消息,若收到冲突响应消息,则断开射频连接。The primary radio frequency device determines whether an external feedback conflict response message is received, and if the conflict response message is received, disconnects the radio frequency connection.
  4. 根据权利要求1所述的防止通信冲突的方法,其特征在于: A method of preventing communication conflicts according to claim 1, wherein:
    通过磁通道向外发送冲突检测信息具体为:Sending conflict detection information through the magnetic channel is specifically as follows:
    第一主射频装置通过磁通道向外发送低频寻卡信息。The first primary radio device transmits low frequency card search information through the magnetic channel.
  5. 根据权利要求4所述的防止通信冲突的方法,其特征在于: A method of preventing communication conflicts according to claim 4, wherein:
    通过射频通道接收外部反馈的冲突检测结果, 根据所述冲突检测结果进行防冲突处理具体为:The conflict detection result of the external feedback is received through the radio channel, and the anti-collision processing is performed according to the conflict detection result:
    接收到所述低频寻卡信息的从射频装置,通过射频通道向与其已建立射频通信连接的第二主射频装置反馈冲突响应消息;Receiving the conflict response message from the radio frequency device that receives the low frequency card search information to the second primary radio frequency device that has established the radio frequency communication connection through the radio frequency channel;
    所述第二主射频装置通过射频通道接收所述冲突响应消息,断开与所述从射频装置的射频连接。The second primary radio frequency device receives the conflict response message through a radio frequency channel, and disconnects a radio frequency connection with the slave radio frequency device.
  6. 根据权利要求4所述的防止通信冲突的方法,其特征在于: A method of preventing communication conflicts according to claim 4, wherein:
    通过射频通道接收外部反馈的冲突检测结果, 根据所述冲突检测结果进行防冲突处理具体为:The conflict detection result of the external feedback is received through the radio channel, and the anti-collision processing is performed according to the conflict detection result:
    所述第一主射频装置在已与第一从射频装置建立通信连接的状态下,通过射频通道接收到第二从射频装置反馈的所述低频寻卡信息的响应消息时,断开与第一从射频装置的射频连接。Disconnecting and disconnecting the response message of the low frequency card search information fed back by the second slave radio frequency device through the radio frequency channel in a state that the first primary radio frequency device has established a communication connection with the first slave radio frequency device RF connection from the RF unit.
  7. 一种防止通信冲突的方法,其特征在于,包括: A method for preventing communication conflicts, comprising:
    通过磁通道接收外部发送的冲突检测信息;Receiving externally transmitted conflict detection information through a magnetic channel;
    根据所述冲突检测信息生成冲突检测结果,通过射频通道向外发送用于实现防冲突处理的所述冲突检测结果。And generating a conflict detection result according to the conflict detection information, and sending the conflict detection result for implementing anti-collision processing to the outside through the radio frequency channel.
  8. 根据权利要求7所述的防止通信冲突的方法,其特征在于: A method of preventing communication conflicts according to claim 7, wherein:
    所述冲突检测信息中携带与发送方已建立射频通信连接的一从射频装置的本地信息。 The conflict detection information carries local information of a slave radio frequency device that has established a radio frequency communication connection with the sender.
  9. 根据权利要求8所述的防止通信冲突的方法,其特征在于:A method of preventing communication conflicts according to claim 8, wherein:
    根据所述冲突检测信息生成冲突检测结果,通过射频通道向外发送用于实现防冲突处理的所述冲突检测结果具体为:The conflict detection result is generated according to the conflict detection information, and the conflict detection result that is sent out through the radio frequency channel to implement anti-collision processing is specifically:
    判断所述冲突检测信息中携带的从射频装置的本地信息是否与自身的本地信息一致,若不一致则生成冲突响应消息,通过射频通道向外发送用于实现防冲突处理的所述冲突响应消息。And determining whether the local information of the slave radio frequency device carried in the conflict detection information is consistent with the local information of the radio frequency device, and if not, generates a conflict response message, and sends the conflict response message for implementing anti-collision processing to the outside through the radio frequency channel.
  10. 根据权利要求7所述的防止通信冲突的方法,其特征在于: A method of preventing communication conflicts according to claim 7, wherein:
    所述冲突检测信息为第一主射频装置发出的低频寻卡信息。The conflict detection information is low frequency card search information sent by the first primary radio device.
  11. 根据权利要求10所述的防止通信冲突的方法,其特征在于:根据所述冲突检测信息生成冲突检测结果,通过射频通道向外发送用于实现防冲突处理的所述冲突检测结果具体为:The method for preventing a communication conflict according to claim 10, wherein the conflict detection result is generated according to the conflict detection information, and the conflict detection result sent by the radio frequency channel to implement anti-collision processing is specifically:
    接收到所述低频寻卡信息的从射频装置,根据所述低频寻卡信息生成冲突响应消息,通过射频通道向与其已建立射频通信连接的第二主射频装置反馈冲突响应消息。The slave radio frequency device that receives the low frequency card search information generates a conflict response message according to the low frequency card search information, and feeds back a conflict response message to the second master radio frequency device that has established the radio frequency communication connection through the radio frequency channel.
  12. 一种防止通信冲突的装置,其特征在于,包括: A device for preventing communication conflicts, comprising:
    第一发送模块,用于通过磁通道向外发送冲突检测信息;a first sending module, configured to send conflict detection information outward through the magnetic channel;
    第一接收模块,用于通过射频通道接收外部反馈的冲突检测结果;a first receiving module, configured to receive, by using a radio frequency channel, a conflict detection result of the external feedback;
    第一处理模块,用于根据所述冲突检测结果进行防冲突处理。The first processing module is configured to perform anti-collision processing according to the conflict detection result.
  13. 根据权利要求12所述的防止通信冲突的装置,其特征在于: The apparatus for preventing communication conflicts according to claim 12, characterized in that:
    所述第一发送模块包括第一发送单元,用于在主射频装置与一从射频装置建立射频通信连接后,通过磁通道向外发送冲突检测信息,所述冲突检测信息中携带所述从射频装置的本地信息。 The first sending module includes a first sending unit, configured to send the conflict detection information through the magnetic channel after the primary radio frequency device establishes a radio frequency communication connection with the slave radio frequency device, where the conflict detection information carries the slave radio frequency Local information of the device.
  14. 根据权利要求12所述的防止通信冲突的装置,其特征在于: The apparatus for preventing communication conflicts according to claim 12, characterized in that:
    所述第一接收模块包括第一接收单元,用于在接收到外部反馈的冲突响应消息后,通知所述第一处理模块进行相应防冲突处理;所述第一处理模块用于断开射频连接。The first receiving module includes a first receiving unit, configured to notify the first processing module to perform corresponding anti-collision processing after receiving the conflict response message of the external feedback; the first processing module is configured to disconnect the radio frequency connection .
  15. 根据权利要求12所述的防止通信冲突的装置,其特征在于: The apparatus for preventing communication conflicts according to claim 12, characterized in that:
    第一发送模块,用于通过磁通道向外发送低频寻卡信息;a first sending module, configured to send low frequency card search information through the magnetic channel;
    第一接收模块包括第二判断模块,用于判断在已与第一从射频装置建立射频连接的状态下是否收到第二从射频装置通过射频通道反馈的所述低频寻卡信息的响应消息;The first receiving module includes a second determining module, configured to determine whether a response message of the low frequency card search information fed back by the second slave radio frequency device through the radio frequency channel is received in a state that the radio frequency connection has been established with the first slave radio frequency device;
    第一处理模块包括第四处理单元,用于在所述判断结果为收到所述响应消息时断开与第一从射频装置的射频连接。The first processing module includes a fourth processing unit, configured to disconnect the radio frequency connection with the first slave radio frequency device when the determining result is that the response message is received.
  16. 一种防止通信冲突的装置,其特征在于,包括:A device for preventing communication conflicts, comprising:
    第二接收模块,用于通过磁通道接收外部发送的冲突检测信息;a second receiving module, configured to receive externally sent conflict detection information by using a magnetic channel;
    第二处理模块,用于根据所述冲突检测信息生成冲突检测结果;a second processing module, configured to generate a conflict detection result according to the conflict detection information;
    第二发送模块,用于通过射频通道向外发送用于实现防冲突处理的所述冲突检测结果。The second sending module is configured to send the conflict detection result for implementing anti-collision processing outward through the radio frequency channel.
  17. 根据权利要求16所述的防止通信冲突的装置,其特征在于:所述冲突检测信息中携带与发送方已建立射频通信连接的一从射频装置的本地信息;所述第二处理模块包括第二处理单元,用于判断所述冲突检测信息中携带的从射频装置的本地信息是否与自身的本地信息一致,若不一致则生成冲突响应消息;第二发送模块用于通过射频通道向外发送用于实现防冲突处理的所述冲突响应消息。 The device for preventing communication conflicts according to claim 16, wherein the conflict detection information carries local information of a slave radio frequency device that has established a radio frequency communication connection with the sender; the second processing module includes a second The processing unit is configured to determine whether the local information of the radio frequency device carried in the conflict detection information is consistent with the local information of the radio frequency device, and if not, generates a conflict response message; the second sending module is configured to send the external information through the radio frequency channel for sending The conflict response message that implements anti-collision processing.
  18. 根据权利要求16所述的防止通信冲突的装置,其特征在于:所述第二接收模块包括第一判断模块,用于判断在已经建立射频连接的状态下是否收到磁通道的低频寻卡信息;所述第二处理模块包括第三处理单元,用于在所述判断结果为收到磁通道低频寻卡信息时,生成冲突响应消息;所述第二发送模块用于通过射频通道向外发送用于实现防冲突处理的所述冲突响应消息。 The device for preventing communication conflicts according to claim 16, wherein the second receiving module comprises a first determining module, configured to determine whether the low frequency card search information of the magnetic channel is received in a state in which the radio frequency connection has been established. The second processing module includes a third processing unit, configured to generate a conflict response message when the determining result is that the magnetic channel low frequency card search information is received; and the second sending module is configured to send the data through the radio frequency channel The conflict response message for implementing anti-collision processing.
PCT/CN2012/080254 2011-08-22 2012-08-16 Method, system and apparatus for avoiding communication conflict WO2013026366A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110241389.5A CN102955923B (en) 2011-08-22 2011-08-22 A kind of method and device preventing communication contention aware
CN201110241389.5 2011-08-22

Publications (1)

Publication Number Publication Date
WO2013026366A1 true WO2013026366A1 (en) 2013-02-28

Family

ID=47745935

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/080254 WO2013026366A1 (en) 2011-08-22 2012-08-16 Method, system and apparatus for avoiding communication conflict

Country Status (2)

Country Link
CN (1) CN102955923B (en)
WO (1) WO2013026366A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6024541B2 (en) * 2013-03-18 2016-11-16 富士ゼロックス株式会社 Information processing apparatus and program
CN107463470B (en) * 2016-06-03 2020-10-02 中芯国际集成电路制造(上海)有限公司 Channel conflict detection method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122957A (en) * 2007-09-06 2008-02-13 复旦大学 RFID read-writing device with collision checking function and its collision checking method
CN101246604A (en) * 2008-03-17 2008-08-20 时晓明 Full-automatic work attendance and objective supervision method and system adopting radio frequency recognition technology
CN102103681A (en) * 2009-12-21 2011-06-22 Nxp股份有限公司 Intelligent RFID tag identifier

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101059872B1 (en) * 2005-01-03 2011-08-29 삼성전자주식회사 Communication collision prevention protocol using unique identifier
US7274284B2 (en) * 2005-02-04 2007-09-25 Atmel Corporation Method for RF card detection in a contactless system
CN101739539B (en) * 2008-11-06 2011-09-21 国民技术股份有限公司 Method for resisting car reading conflict by automatic frequency hopping

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122957A (en) * 2007-09-06 2008-02-13 复旦大学 RFID read-writing device with collision checking function and its collision checking method
CN101246604A (en) * 2008-03-17 2008-08-20 时晓明 Full-automatic work attendance and objective supervision method and system adopting radio frequency recognition technology
CN102103681A (en) * 2009-12-21 2011-06-22 Nxp股份有限公司 Intelligent RFID tag identifier

Also Published As

Publication number Publication date
CN102955923B (en) 2015-12-02
CN102955923A (en) 2013-03-06

Similar Documents

Publication Publication Date Title
WO2020231044A1 (en) Method for performing distance measurement and authentication concurrently and electronic device thereof
WO2018155832A1 (en) Method and apparatus for authenticating vehicle smart key
WO2016148534A1 (en) Method and apparatus for configuring connection between devices in communication system
US8050197B2 (en) Connection controller, communication system, and connection control method
WO2014010907A1 (en) Method and apparatus for providing wireless charging power to a wireless power receiver
WO2017043841A1 (en) Wireless power transmitter and method for controlling same
WO2021049748A1 (en) Electronic device for receiving data packet in bluetooth network environment and method thereof
KR100700948B1 (en) Apparatus and method for data transmission utilizing multi-channel of wireless lan in mobile communication system
US20080095089A1 (en) Wireless Communications System and Wireless Communications Device
WO2021033962A1 (en) Method for supporting multiple links in bluetooth network environment, and electronic device therefor
WO2013044646A1 (en) Communication connection method and apparatus
WO2021033893A1 (en) Electronic device for transmitting data packets in bluetooth network environment and method therefor
WO2013026366A1 (en) Method, system and apparatus for avoiding communication conflict
WO2018082417A1 (en) Method for sharing wifi hotspot of terminal device, and terminal device
WO2020122402A1 (en) Electronic device supporting addition of secondary node, and method therefor
WO2020071714A1 (en) Continuous communication method and apparatus of contactless communication device
WO2022231205A1 (en) Electronic device for transmitting/receiving data during uwb ranging, and method therefor
WO2022114596A1 (en) Electronic device for controlling power consumption of accessory device and operating method therefor
WO2022225188A1 (en) Method and device for processing back-off on basis of scan duty
WO2021201372A1 (en) Electronic device supporting dual-connectivity and method for operating the same
WO2021242011A1 (en) Electronic device for wireless communication and method of operating electronic device
WO2021060821A1 (en) Electronic device that uses virtual field to reserve transmission and reception time of radar signal and control method thereof
WO2020262892A1 (en) Method and apparatus for controlling packet duplication transmission in wireless communication system
WO2015156535A1 (en) Passive radio frequency identification (rfid) chip and communication device having passive rfid chip
CN111934763A (en) Remote starting system and method based on space optical transmission equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12825459

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 29.04.2014)

122 Ep: pct application non-entry in european phase

Ref document number: 12825459

Country of ref document: EP

Kind code of ref document: A1