CN117835200A - Control method of near field communication device, electronic equipment, vehicle and storage medium - Google Patents
Control method of near field communication device, electronic equipment, vehicle and storage medium Download PDFInfo
- Publication number
- CN117835200A CN117835200A CN202211196863.1A CN202211196863A CN117835200A CN 117835200 A CN117835200 A CN 117835200A CN 202211196863 A CN202211196863 A CN 202211196863A CN 117835200 A CN117835200 A CN 117835200A
- Authority
- CN
- China
- Prior art keywords
- communication device
- near field
- field communication
- radio frequency
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 265
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000002618 waking effect Effects 0.000 claims abstract description 20
- 230000003993 interaction Effects 0.000 claims abstract description 12
- 230000004044 response Effects 0.000 claims description 20
- 230000007958 sleep Effects 0.000 claims description 14
- 238000001514 detection method Methods 0.000 description 39
- 230000007774 longterm Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000013459 approach Methods 0.000 description 5
- 238000004590 computer program Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 239000002184 metal Substances 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000005059 dormancy Effects 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000001680 brushing effect Effects 0.000 description 1
- 230000017525 heat dissipation Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a control method of a near field communication device, electronic equipment, a vehicle and a storage medium, wherein the control method comprises the following steps: judging whether a triggering condition for waking up the first near field communication device is met when the first near field communication device is in a dormant state; if the triggering condition is met, detecting whether a second near field communication device exists in a preset signal range of the first communication device; and if the second near field communication device exists, waking up the first near field communication device, so that the first near field communication device and the second near field communication device perform information interaction. According to the control method of the near field communication device, after the trigger condition for waking up the first near field communication device is determined to be met, whether the second near field communication device exists in the preset signal range of the first communication device is further judged, and the first near field communication device is woken up only when the second near field communication device exists, so that the first near field communication device can be prevented from being woken up by mistake, and power consumption can be reduced.
Description
Technical Field
The present disclosure relates to the field of communications devices, and in particular, to a control method of a near field communications device, an electronic device, a vehicle, and a storage medium.
Background
The keyless entry system (Passive Keyless Enter, PKE), also called a smart key system, adopts RFID (Radio Frequency Identification) wireless radio frequency technology and a vehicle identity code identification system, and is one of key applications of the current automobile smart technology, namely a miniaturized and low-power radio frequency antenna, a remote control system and a keyless system.
In the prior art, when a vehicle is in low power consumption dormancy, an NFC (Near Field Communication, near field wireless communication technology) device on the vehicle is in a dormancy state, a vehicle owner can wake up the NFC device by swiping an NFC card, and the NFC device enters a normal mode after being awakened and sends out continuous carrier signals to communicate with the NFC card for a long time, so that identity authentication of the vehicle owner is realized to unlock the whole vehicle. However, the existing NFC device is easily interfered by external factors and is awakened by mistake, and because the working current of the NFC device in the normal mode can reach 100 mA-200 mA, such large static power consumption can consume the electric energy of the battery in a short time, resulting in power shortage of the vehicle, so that the vehicle cannot be started normally.
Disclosure of Invention
In order to solve the technical problems described above or at least partially solve the technical problems described above, the present disclosure provides a control method of a near field communication device, an electronic apparatus, a vehicle, and a storage medium.
To achieve the above object, the present application provides a control method of a near field communication device, including: judging whether a triggering condition for waking up the first near field communication device is met when the first near field communication device is in a dormant state; if the triggering condition is met, detecting whether a second near field communication device exists in a preset signal range of the first near field communication device; and if the second near field communication device exists in the preset signal range of the first near field communication device, waking up the first near field communication device, and enabling the first near field communication device to interact information with the second near field communication device.
According to the control method of the near field communication device, after the triggering condition of waking up the first near field communication device is confirmed, whether the second near field communication device exists in the preset signal range of the first near field communication device is further judged, and the first near field communication device is not woken up until the second near field communication device exists in the preset signal range of the first near field communication device is confirmed, so that the problem that the first near field communication device is easy to wake up by mistake can be effectively solved, power consumption can be reduced, duration of endurance can be prolonged, and damage to the first near field communication device due to continuous entering of a long-time authentication transaction state can be avoided.
Optionally, the detecting whether the second near field communication device exists within the preset signal range of the first near field communication device includes: the first near field communication device is controlled to periodically output a first radio frequency signal, and a response signal received by the first near field communication device is obtained; wherein the response signal is a signal fed back to the first near field communication device by the second near field communication device in response to the first radio frequency signal; and if the response signal is acquired, determining that a second near field communication device exists in the preset signal range of the first near field communication device.
Optionally, the control method further includes: and when the duration of periodically outputting the first radio frequency signal by the first near field communication device is controlled to reach the first duration and the response signal is not acquired, determining that a second near field communication device does not exist in the preset signal range of the first near field communication device.
Optionally, the control method further includes: if the fact that the second near field communication device does not exist in the preset signal range of the first near field communication device is determined, the first near field communication device is controlled to enter a pause state so as to pause outputting the first radio frequency signal; and when the duration of the pause state reaches a second duration, controlling the first near field communication device to reenter the sleep state.
Optionally, the determining whether a trigger condition for waking up the first near field communication device is satisfied includes: the first near field communication device is controlled to periodically output a second radio frequency signal, radio frequency field intensity generated by the second radio frequency signal is detected through the first near field communication device, and whether the variation of the radio frequency field intensity reaches a preset radio frequency field intensity variation threshold value is judged; and if the variation of the radio frequency field intensity reaches the preset radio frequency field intensity variation threshold, determining that the triggering condition is met.
Optionally, the first near field communication device comprises an antenna; the controlling the first near field communication device to periodically output a second radio frequency signal, detecting a radio frequency field intensity generated by the second radio frequency signal through the first near field communication device, and judging whether the variation of the radio frequency field intensity reaches a preset radio frequency field intensity variation threshold value, including: and controlling the first near field communication device to periodically output the second radio frequency signal through the antenna, detecting the impedance on the antenna through the first near field communication device, and judging whether the variation of the impedance on the antenna reaches a preset impedance variation threshold value. If the variation of the radio frequency field intensity reaches the preset radio frequency field intensity variation threshold, determining that the triggering condition is met comprises: and if the variation of the impedance on the antenna reaches the preset impedance variation threshold, determining that the triggering condition is met.
Optionally, the output period of the first radio frequency signal is a predetermined period, and the predetermined period includes a signal output time and an interval time.
Optionally, the predetermined period is less than or equal to 30 milliseconds and the first duration is greater than or equal to 500 milliseconds.
Optionally, the signal strength of the first radio frequency signal is greater than the signal strength of the second radio frequency signal.
Optionally, the control method further includes: after the information interaction between the first near field communication device and the second near field communication device is finished, controlling the first near field communication device to enter a silent state so as to suspend the information interaction; and when the duration of the silence state reaches a third duration, controlling the first near field communication device to reenter the dormant state.
The application also provides an electronic device comprising a memory and a processor. Wherein the memory is configured to store executable instructions. The processor is configured to execute the executable instructions stored in the memory to implement the control method described above.
The application also provides a vehicle, which comprises the first near field communication device and the electronic equipment, wherein the first near field communication device is electrically connected with the electronic equipment.
The present application also provides a computer-readable storage medium storing executable instructions that, when executed by a processor, implement the control method described above.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
Fig. 1 is a schematic view of a scenario in which a first near field communication device is applied to a vehicle.
Fig. 2 is a timing diagram of the operation of the conventional first near field communication device.
Fig. 3 is another operational timing diagram of the existing first near field communication device.
Fig. 4 is a flowchart of a control method of the first near field communication device according to the embodiment of the present application.
Fig. 5 is a flowchart of another control method of the first near field communication device according to the embodiment of the present application.
Fig. 6 is a timing chart of the operation of the first near field communication device according to the embodiment of the present application in response to an external interference factor.
Fig. 7 is a working timing chart of a first near field communication device provided in the embodiment of the present application when a second near field communication device exists in a preset signal range.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
The reference numerals are explained as follows:
vehicle 1
First near field communication device 2
Second near field communication device 3
Antennas 21, 31
Sleep state 100
Radio frequency detection signal 101
Long-term authenticated transaction state 200
Normal power detection signal 1011
Low power detection signal 1012
Detecting state 300
First radio frequency signal 301
Pause state 400
Silence state 500
Period T1, T2
Steps 610-690, 611, 612, 621, 622
Electronic device 10
Processor 120
Memory 110
The following detailed description will illustrate the application in conjunction with the above-described drawings.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without undue burden, are within the scope of the present application.
In the description of the present application, it should be noted that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Near field communication is a radio technology of short distance and high frequency, and operates within 10cm distance under the operating frequency of 13.56MHz + -7 kHz, and the transmission speed is three of 106Kbit/s, 212Kbit/s or 424 Kbit/s. Currently, NFC technology has become a related international standard and is widely used. NFC mobile devices (e.g., cell phones, tablet computers, wearable electronic devices with wireless communication capabilities, etc.) refer to mobile devices with NFC hardware. NFC mobile devices can support many corresponding applications. Generally, the above-described mobile devices have three application modes, namely a card reader mode, a point-to-point (P2P) mode, and a card emulation mode. In the reader mode, i.e. NFC mobile device is used as a contactless reader. Such as reading the relevant information from the NFC tag of the poster or display. In this mode, the NFC mobile device with read-write function may collect data from the NFC tag and then process the data. Typical scenarios based on this mode include electronic advertisement reading and ticket, movie theatre ticket vending, etc. For example, if an NFC tag is attached to a movie poster, a user may use an NFC enabled mobile device to attach to the movie poster in order to obtain detailed information about the movie, or immediately purchase movie tickets online using a credit card. The card reader mode can also be used for simple data acquisition, such as acquisition of bus stop information, park map and the like. And in the point-to-point mode, namely, the two NFC mobile devices are connected, so that point-to-point data transmission is realized. Based on the mode, a plurality of digital cameras with NFC functions, tablet computers and mobile phones can be wirelessly interconnected, and data exchange is achieved. Typical application scenarios based on this mode are fast setup of bluetooth connections, exchange of contact business cards, etc. In the card simulation mode, the NFC card reader is an active device, an NFC radio frequency field is generated, the NFC mobile device is a passive device, and a non-contact radio frequency card conforming to the NFC standard is simulated to conduct data interaction with the NFC card reader. Typical scenarios based on this mode include local payment, access control, etc.
As shown in fig. 1, in the prior art, a first near field communication device 2 (also referred to as an NFC key transceiver) may be applied to a vehicle 1 for authenticating an owner of the vehicle 1. The first near field communication device 2 may be fixedly arranged within the body of the vehicle 1 or within the housing of the rear view mirror, for example. When the vehicle 1 is in a sleep state with low power consumption, the first near field communication device 2 on the vehicle 1 is in a sleep state, and the vehicle owner can wake up the first near field communication device 2 by brushing the second near field communication device 3 (comprising an NFC card or NFC mobile equipment such as a mobile phone), enter a long-term authentication transaction state after the first near field communication device 2 is wakened up, and send out continuous carrier signals to communicate with the second near field communication device 3 for a long time, so that the identity authentication of the vehicle owner is realized, and the whole vehicle is unlocked after the authentication is passed. The vehicle 1 further comprises an electronic device 10 electrically connected to said first near field communication means 2, said electronic device 10 being arranged to control the operational state of the first near field communication means 2.
As shown in fig. 2, when the first near field communication device 2 on the vehicle 1 is in the sleep state 100, the electronic apparatus 10 controls the first near field communication device 2 to periodically output the radio frequency detection signal 101 to determine whether a trigger condition for waking up the first near field communication device 2 is satisfied. The electronic device 10 wakes up the first near field communication device 2 when it is determined that a trigger condition for waking up the first near field communication device is satisfied, so that the first near field communication device 2 enters a long-term authentication transaction state 200 to enable information interaction (e.g. identity authentication) with the second near field communication device 3. The first near field communication device 2 quiets for a preset time after finishing the information interaction, and reenters the sleep state 100. However, in an actual application scenario, the first near field communication device 2 is easily awakened by an external interference factor, such as voltage/current variation, rain, foreign object coverage, and approach of a metal object, where the first near field communication device 2 may be awakened by an error, which may cause the first near field communication device 2 to continuously enter the long-term authentication transaction state 200 as shown in fig. 3. Since the working current of the first near field communication device 2 in the long-term authentication transaction state 200 can reach 100 mA-200 mA, such large static power consumption can consume the electric energy of the battery in a short time, resulting in power shortage of the vehicle 1, so that the vehicle 1 cannot be started normally, and serious people may even cause damage to the first near field communication device 2 due to continuous heating.
In order to solve the problem that the first near field communication device 2 is easily awakened by mistake, please refer to fig. 1 and fig. 4 together, the embodiment of the present application provides a control method of a near field communication device, which includes the following steps:
in step 610, when the first near field communication device 2 is in the sleep state 100, it is determined whether a trigger condition for waking up the first near field communication device 2 is satisfied. If the trigger condition for waking up the first near field communication device 2 is satisfied, step 620 is executed, otherwise step 610 is continued. As described above, when it is detected that the second near field communication device 3 is close to the near field communication device 2, that is, the second near field communication device 3 enters a preset signal range (for example, a signal radiation range of 6 cm) of the first near field communication device 2, it is determined that a trigger condition for waking up the first near field communication device 2 is satisfied. Furthermore, when disturbance factors such as voltage/current variation, rain, foreign matter coverage, approach of metal objects, etc. occur, it may also be determined that a trigger condition for waking up the first near field communication device 2 is satisfied. It should be noted that, in the embodiment of the present application, when the first near field communication device 2 is in the sleep state 100, it does not imply that the first near field communication device 2 is completely disconnected, but merely that most of the components of the first near field communication device 2 are in the sleep state 100 or the low power state. That is, part of the components of the first near field communication device 2 still operate, thereby enabling to determine whether a trigger condition for waking up the first near field communication device 2 is satisfied in the sleep state 100.
Step 620, detecting whether the second near field communication device 3 is present within a preset signal range of the first near field communication device 2. If it is determined that the second near field communication device 3 exists within the preset signal range of the first near field communication device 2, step 630 is executed, otherwise, step 610 is returned to, and whether the triggering condition for waking up the first near field communication device 2 is satisfied is continuously determined.
Step 630, wake up the first near field communication device 2, so that the first near field communication device 2 and the second near field communication device 3 perform information interaction to perform identity authentication on the vehicle owner. Illustratively, after the first near field communication device is woken up by the second near field communication device 2, the radio frequency signal emitted by the antenna 21 may be communicated with the second near field communication device 3. The second near field communication device 3 may sense radio frequency signals emitted by the first near field communication device, in particular the antenna 31 (or coil) of the second near field communication device 3 is the load of the antenna 21 (or coil) of the first near field communication device 2, such that the second near field communication device 3 causes the first near field communication device 2 to be modulated by changing parameters of the antenna loop, such as resonance and detuning, such that the second near field communication device 3 may transmit data back to the first near field communication device 2, enabling data transmission from the first near field communication device 2 with weak energy. The power consumption of the second near field communication device 3 can be greatly reduced by the capability of obtaining data backhaul by means of the load modulation technique.
Step 640, determining whether the identity authentication of the vehicle owner is successful. If the vehicle owner identity authentication is successful, step 650 is executed, otherwise, step 610 is returned to continue to periodically output the rf detection signal 101 to determine whether the triggering condition for waking up the first near field communication device 2 is satisfied.
Step 650, outputting an unlocking command to an unlocking device (not shown) in the vehicle 1, so as to unlock a lock (not shown) in the vehicle 1, thereby realizing the function of the keyless entry system.
According to the control method of the near field communication device, after the trigger condition for waking up the first near field communication device 2 is determined to be met, whether the second near field communication device 3 exists in the preset signal range of the first near field communication device 2 is further judged, and the first near field communication device 2 is only woken up when the second near field communication device 3 exists in the preset signal range of the first near field communication device 2 is determined, the problem that the first near field communication device 2 is easy to wake up by mistake can be effectively solved, the duration of a battery in the vehicle 1 can be prolonged, and damage to the first near field communication device 2 due to continuous entering into a long-term authentication transaction state can be avoided.
Referring to fig. 1 and fig. 5 to fig. 7 together, fig. 5 is a flowchart of another control method of a near field communication device according to an embodiment of the present application, in which steps 611 to 612 are refinement steps 610 in the embodiment shown in fig. 4, and steps 621 to 622 are refinement steps 620 in the embodiment shown in fig. 4. The control method of the near field communication device specifically comprises the following steps:
in step 611, when the first near field communication device 2 is in the sleep state 100, the first near field communication device 2 is controlled to periodically output a second radio frequency signal (i.e. the radio frequency detection signal 101), and the radio frequency field intensity generated by the second radio frequency signal is detected by the first near field communication device 2. Illustratively, step 611 specifically includes: the first near field communication device 2 is controlled to periodically output the second radio frequency signal through the antenna 21 and to detect the impedance on the antenna 21 through the first near field communication device 2. As shown in fig. 6, the second rf signal includes a normal power detect signal (also referred to as a polling signal) 1011 and a low power detect (Low Power Card Detection, LPCD) signal 1012. The carrier signal of the normal power detection signal 1011 is continuous, the signal strength is large, the detection range is large (up to 10 cm), and considerable power consumption is required. In order to reduce the power consumption of the first near field communication device 2 in the dormant state, the application uses low power polling, i.e. inserting the low power detection signal 1012 in the second radio frequency signal. Where low power polling refers to a detection technique capable of detecting the presence or absence of a possible second near field communication device 3 nearby, which detection technique may be implemented by transmitting a radio frequency signal of short duration (i.e. the low power detection signal 1012) and then detecting a change in radio frequency field strength, the ratio of the duration t1 of the normal power detection signal 1011 to the duration of the low power detection signal 1012 is illustratively between tens to hundreds. As its name suggests, the power consumption of the output low power detection signal 1012 is smaller than the power consumption of the output normal power detection signal 1011. It will be appreciated that the longer the duration T1 of the normal power detection signal 1011, the smaller the probability of occurrence of a missed detection, preferably the duration T1 of the normal power detection signal 1011 is greater than or equal to 10 ms and the period T1 of the second radio frequency signal is less than or equal to 500 ms. Therefore, the power consumption is reduced, meanwhile, the detection reliability can be considered, and the problem of missed detection is avoided. In other embodiments, the first near field communication device 2 may output the low power detection signal 1012 several times in one detection period and then output the normal power detection signal 1011 once more to enhance the reliability of the detection. Alternatively, the first near field communication device 2 may output only the low power detection signal 1012, so that power consumption can be further reduced. It will be appreciated that the detection range of the low power detection signal 1012 has a positive correlation with its power consumption and duration, and thus the duration of the low power detection signal 1012 can be adjusted as desired.
Step 612, determining whether the variation of the rf field intensity reaches a preset rf field intensity variation threshold. If the variation of the rf field intensity reaches the preset rf field intensity variation threshold, the method enters a detection state 300 and executes a step 621, otherwise, returns to the step 611 to continuously control the first near field communication device 2 to periodically output a second rf signal, and detects the rf field intensity generated by the second rf signal through the first near field communication device 2. Illustratively, step 612 specifically includes: and judging whether the variation of the impedance on the antenna reaches a preset impedance variation threshold value. If the variation of the impedance of the antenna reaches the preset impedance variation threshold, step 621 is performed, otherwise, step 611 is returned. Wherein when the second near field communication device 3 approaches the first near field communication device 2, an antenna oscillating circuit (not shown) of the second near field communication device 3 is coupled with an antenna oscillating circuit (not shown) of the first near field communication device 2, thereby causing an impedance on an antenna 21 of the first near field communication device 2 to change. In an actual application scenario, external interference factors (such as voltage/current variation, rain, foreign object coverage, metal object approach, etc.) may also cause the impedance on the antenna 21 of the first near field communication device 2 to vary, that is, the approach of the second near field communication device 3 to the first near field communication device 2 is a sufficiently unnecessary condition that the variation of the impedance on the antenna 21 reaches the preset impedance variation threshold, and the external interference factors easily cause the first near field communication device 2 to be awakened by mistake.
In step 621, the first near field communication device 2 is controlled to periodically output the first radio frequency signal 301, and determine whether the first near field communication device 2 receives a response signal. If the first near field communication device 2 receives the response signal, it is determined that there is a second near field communication device 3 within the preset signal range of the first near field communication device 2, and step 630 is performed, otherwise step 622 is performed. Wherein the response signal is a signal fed back to the first near field communication device 2 by the second near field communication device 3 in response to the first radio frequency signal 301. Illustratively, the first radio frequency signal 301 may include at least one active card instruction (i.e., an active card instruction) and at least one detect card instruction (i.e., a detected card instruction), where the second near field communication device 3 is activated in response to the received active card instruction and feeds back the response signal to the first near field communication device 2 in response to the received detected card instruction, and the first near field communication device 2 determines that the second near field communication device 3 exists within a preset signal range of the first near field communication device 2 after receiving the response signal, that is, that the wake-up is not caused by an external interference factor. In this embodiment of the present application, the signal strength of the first radio frequency signal 301 is greater than the signal strength of the second radio frequency signal, so that the detection range can be enlarged (for example, the detection range is enlarged from 6cm to 10 cm), the sensitivity and reliability of detection can be improved, and the problem of missed detection can be avoided. It is understood that the output period of the first rf signal 301 is a predetermined period T2, and the shorter the predetermined period T2 is, the smaller the probability of occurrence of missed detection is, preferably, the predetermined period T2 is less than or equal to 30 ms. As shown in fig. 6 to 7, in the embodiment of the present application, the predetermined period T2 includes a signal output time T301 and an interval time, that is, after the first radio frequency signal 301 is output for the signal output time T301 and the interval time is paused in one predetermined period T2, the next predetermined period T2 is entered. In this way, adding an interval time to a predetermined period T2 can enable the first near field communication device 2 to dissipate heat in the interval time, so that the first near field communication device 2 can be prevented from being damaged by heating due to continuously outputting radio frequency signals.
Step 630, wake up the first near field communication device 2, so that the first near field communication device 2 and the second near field communication device 3 perform information interaction to perform identity authentication on the vehicle owner.
Step 640, determining whether the identity authentication of the vehicle owner is successful. If the vehicle owner identity authentication is successful, step 650 is performed, otherwise step 660 is performed.
Step 650, outputting an unlocking command to an unlocking device (not shown) in the vehicle 1, so as to unlock a lock (not shown) in the vehicle 1, thereby realizing the function of the keyless entry system.
Step 660, controlling the first near field communication device 2 to enter a silence state 500 to suspend information interaction.
Step 670, when the duration of the silence state 500 reaches the third duration t500, controlling the first near field communication device 2 to reenter the sleep state 100, and returning to step 611. As shown in fig. 7, when it is determined that the second near field communication device 3 exists within the preset signal range of the first near field communication device 2, the first near field communication device 2 is controlled to enter a long-term authentication transaction state 200 with a duration of t200, and t200 is preferably greater than or equal to 1 second in order to ensure that the first near field communication device 2 and the second near field communication device 3 can complete information interaction. It can be understood that, in general, after the long-term authentication is completed, the card swiping authentication is not performed by the vehicle owner in a short time, so that the power consumption can be reduced, the heat dissipation time can be provided for the first near field communication device 2, and the first near field communication device 2 can be protected by controlling the first near field communication device 2 to silence for the third duration t 500. Preferably, the third duration t500 is greater than or equal to 1 second.
In step 622, it is determined whether the duration of the first rf signal 301 periodically output by the first nfc device 2 is controlled to reach the first duration t300. If the duration of the first rf signal 301 is controlled to be periodically output by the first near field communication device 2 for the first duration t300, it is determined that the second near field communication device 3 does not exist in the preset signal range of the first near field communication device 2, and step 680 is performed, otherwise, step 621 is returned to, to continuously control the first near field communication device 2 to periodically output the first rf signal 301, and determine whether the first near field communication device 2 receives a response signal. It can be understood that the longer the first duration t300 is, the smaller the probability of missing detection is, preferably, the first duration t300 is greater than or equal to 500 ms, so that the requirements of various NFC cards or NFC mobile devices on the detection duration can be met, and the missing detection problem can be avoided.
In step 680, the first near field communication device 2 is controlled to enter a suspend state 400 to suspend outputting the first radio frequency signal 301.
Step 690, when the duration of the pause state 400 reaches the second duration t400, controlling the first near field communication device to reenter the sleep state 100, and returning to step 611. Normally, if the wake-up is caused by an external interference factor, the interference factor may still exist after determining that the second near field communication device 3 does not exist within the preset signal range of the first near field communication device 2, and therefore, the first near field communication device 2 is prevented from being affected by the interference factor again after passing through the suspend state 400 and power consumption can be further reduced. Optionally, the second duration t400 is greater than or equal to 500 milliseconds.
Referring to fig. 8, based on the same inventive concept, the present application also provides an electronic device 10, the electronic device 10 including a memory 110 and a processor 120. Wherein the memory 110 is configured to store executable instructions. The processor 120 is configured to execute executable instructions stored in the memory to implement the control method of the near field communication device.
Based on the same inventive concept, the present application also provides a vehicle 1, the vehicle 1 comprising the electronic device 10 and the first near field communication device 2, the first near field communication device 2 being electrically connected with the electronic device 10. Alternatively, the electronic device may be provided separately or may be integrated in the first near field communication device 2.
Based on the same inventive concept, the present application also provides a computer readable storage medium storing executable instructions that when executed by a processor implement the control method of the near field communication device described above.
It is understood that the computer-readable storage medium may include: any entity or device capable of carrying a computer program, a recording medium, a USB flash disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read-only memory (ROM), a random access memory (RAM, random Access Memory), a software distribution medium, and so forth. The computer program comprises computer program code. The computer program code may be in the form of source code, object code, executable files, or in some intermediate form, among others. The computer readable storage medium may include: any entity or device capable of carrying computer program code, a recording medium, a USB flash disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read-only memory (ROM), a random access memory (RAM, random Access Memory), a software distribution medium, and so forth.
In some embodiments of the present invention, the processor may be a single-chip microcomputer chip, integrated with a memory, a communication module, etc. The processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (ApplicationSpecific Integrated Circuit, ASIC), off-the-shelf Programmable gate arrays (FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, system that includes a processing module, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.
Claims (13)
1. A control method of a near field communication device, comprising:
judging whether a triggering condition for waking up the first near field communication device is met when the first near field communication device is in a dormant state;
if the triggering condition is met, detecting whether a second near field communication device exists in a preset signal range of the first near field communication device;
and if the second near field communication device exists in the preset signal range of the first near field communication device, waking up the first near field communication device, and enabling the first near field communication device to interact information with the second near field communication device.
2. The method for controlling a near field communication device according to claim 1, wherein the detecting whether a second near field communication device exists within a preset signal range of the first near field communication device comprises:
the first near field communication device is controlled to periodically output a first radio frequency signal, and a response signal received by the first near field communication device is obtained; wherein the response signal is a signal fed back to the first near field communication device by the second near field communication device in response to the first radio frequency signal;
and if the response signal is acquired, determining that a second near field communication device exists in the preset signal range of the first near field communication device.
3. The control method of a near field communication device of claim 2, wherein the control method further comprises:
and when the duration of periodically outputting the first radio frequency signal by the first near field communication device is controlled to reach the first duration and the response signal is not acquired, determining that a second near field communication device does not exist in the preset signal range of the first near field communication device.
4. A control method of a near field communication device according to claim 3, wherein the control method further comprises:
if the fact that the second near field communication device does not exist in the preset signal range of the first near field communication device is determined, the first near field communication device is controlled to enter a pause state so as to pause outputting the first radio frequency signal;
and when the duration of the pause state reaches a second duration, controlling the first near field communication device to reenter the sleep state.
5. The method of controlling a near field communication device according to claim 2, wherein the determining whether a trigger condition for waking up the first near field communication device is satisfied comprises:
the first near field communication device is controlled to periodically output a second radio frequency signal, radio frequency field intensity generated by the second radio frequency signal is detected through the first near field communication device, and whether the variation of the radio frequency field intensity reaches a preset radio frequency field intensity variation threshold value is judged;
and if the variation of the radio frequency field intensity reaches the preset radio frequency field intensity variation threshold, determining that the triggering condition is met.
6. The control method of a near field communication device of claim 5, wherein the first near field communication device comprises an antenna; the controlling the first near field communication device to periodically output a second radio frequency signal, detecting a radio frequency field intensity generated by the second radio frequency signal through the first near field communication device, and judging whether the variation of the radio frequency field intensity reaches a preset radio frequency field intensity variation threshold value, including:
the first near field communication device is controlled to periodically output the second radio frequency signal through the antenna, impedance on the antenna is detected through the first near field communication device, and whether the variation of the impedance on the antenna reaches a preset impedance variation threshold value is judged;
if the variation of the radio frequency field intensity reaches the preset radio frequency field intensity variation threshold, determining that the triggering condition is met comprises:
and if the variation of the impedance on the antenna reaches the preset impedance variation threshold, determining that the triggering condition is met.
7. A control method of a near field communication device according to claim 3, wherein the output period of the first radio frequency signal is a predetermined period, the predetermined period including a signal output time and an interval time.
8. The control method of a near field communication device of claim 7, wherein the predetermined period is less than or equal to 30 milliseconds and the first duration is greater than or equal to 500 milliseconds.
9. The control method of a near field communication device according to claim 5 or 6, wherein a signal strength of the first radio frequency signal is greater than a signal strength of the second radio frequency signal.
10. The control method of a near field communication device according to any one of claims 1 to 8, wherein the control method further comprises:
after the information interaction between the first near field communication device and the second near field communication device is finished, controlling the first near field communication device to enter a silent state so as to suspend the information interaction;
and when the duration of the silence state reaches a third duration, controlling the first near field communication device to reenter the dormant state.
11. An electronic device, comprising:
a memory for storing executable instructions;
a processor for executing executable instructions stored in said memory to implement the method of any one of claims 1 to 10.
12. A vehicle, characterized by comprising:
a first near field communication device; and
the electronic device of claim 11, the first near field communication means being electrically connected to the electronic device.
13. A computer readable storage medium, characterized in that executable instructions are stored, which when executed by a processor, implement the method of any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211196863.1A CN117835200A (en) | 2022-09-28 | 2022-09-28 | Control method of near field communication device, electronic equipment, vehicle and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211196863.1A CN117835200A (en) | 2022-09-28 | 2022-09-28 | Control method of near field communication device, electronic equipment, vehicle and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117835200A true CN117835200A (en) | 2024-04-05 |
Family
ID=90515924
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211196863.1A Pending CN117835200A (en) | 2022-09-28 | 2022-09-28 | Control method of near field communication device, electronic equipment, vehicle and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117835200A (en) |
-
2022
- 2022-09-28 CN CN202211196863.1A patent/CN117835200A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8401596B2 (en) | Communication device, communication method, program and communication system | |
KR101538040B1 (en) | Reducing power consumption for connection establishment in near field communication systems | |
US9325387B2 (en) | Communication device, communication method, program and communication system | |
CN101739583B (en) | Radio frequency SIM card, radio frequency card reader and magnetic induction control method for radio frequency communication | |
EP2541995B1 (en) | Method and apparatus for reducing power consumption of a NFC powered device | |
US20090221240A1 (en) | Low power device activated by an external near-field reader | |
US8532619B2 (en) | System for authorizing the use of communication devices by proximity | |
US20230239006A1 (en) | Communication device and operating method | |
CN113497641A (en) | Communication device and method of operation | |
CN118153598A (en) | Method for assisting card reader in realizing card searching, card searching method and NFC tag | |
US11005533B2 (en) | Active near-field communication device facilitation of low power card detection | |
WO2009020264A1 (en) | Mobile terminal power up by external device | |
US20130137370A1 (en) | Modified connection establishment for reducing power consumption in near field communication systems | |
JP2013185344A (en) | Electronic key with charging function | |
CN117835200A (en) | Control method of near field communication device, electronic equipment, vehicle and storage medium | |
JP2003108934A (en) | Communication control system, communication device, communication controlling method, recording medium, and program | |
CN107368764B (en) | Electromagnetic coupling reader | |
CN214311864U (en) | Noninductive passing key access control system | |
JP3557342B2 (en) | Communications system | |
CN118107493A (en) | Control method and device of near field communication device, electronic equipment, vehicle and medium | |
CN102467678B (en) | Radio-frequency subscriber identity module (SIM) card with double-frequency communication mechanism | |
EP1763182B1 (en) | Alerting a smart card reader of probable wireless communication | |
US20230280813A1 (en) | Electronic card | |
CN118590096A (en) | Circuit unit for implementing near field communication and NFC device | |
JP2001312711A (en) | Method and system for preventing illegal utilization of card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |