CN106686537B - Information exchange method and system based on NFC - Google Patents

Information exchange method and system based on NFC Download PDF

Info

Publication number
CN106686537B
CN106686537B CN201710107980.9A CN201710107980A CN106686537B CN 106686537 B CN106686537 B CN 106686537B CN 201710107980 A CN201710107980 A CN 201710107980A CN 106686537 B CN106686537 B CN 106686537B
Authority
CN
China
Prior art keywords
action
action event
wearable device
user equipment
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710107980.9A
Other languages
Chinese (zh)
Other versions
CN106686537A (en
Inventor
符莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL China Star Optoelectronics Technology Co Ltd
Original Assignee
Shenzhen China Star Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen China Star Optoelectronics Technology Co Ltd filed Critical Shenzhen China Star Optoelectronics Technology Co Ltd
Priority to CN201710107980.9A priority Critical patent/CN106686537B/en
Publication of CN106686537A publication Critical patent/CN106686537A/en
Application granted granted Critical
Publication of CN106686537B publication Critical patent/CN106686537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

An information exchange method and system based on NFC comprises the following steps: after reading the identity of the wearable device by the user equipment in an NFC mode, detecting whether a first-stage appointed action event occurs simultaneously with the user equipment and the wearable device, and if so, transmitting wireless access configuration information of the user equipment to the wearable device in the NFC mode; after receiving the wireless access configuration information of the user equipment, the wearable equipment detects whether a second-stage appointed action event occurs simultaneously with the user equipment, and if so, the wearable equipment is accessed to the user equipment according to the wireless access configuration information of the user equipment; and transmitting the information to be exchanged existing in the wearable device to the user equipment. The binding efficiency between the wearable device and the user equipment can be improved, and therefore the information exchange efficiency between the wearable device and the user equipment is improved.

Description

Information exchange method and system based on NFC
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an information exchange method and system based on NFC.
Background
With the rapid development of science and technology, wearable devices (such as smart watches) have gradually entered our lives, and it is a common thing to wear the wearable devices for children and young people. After a user purchases a wearable device (such as a smart watch), the wearable device is usually bound with a user device (such as a smart phone), so that information can be exchanged between the wearable device and the user device. In practical application, when a user binds a wearable device to a user device, wireless access configuration information (such as access configuration information of bluetooth and Wi-Fi of a smart phone) of the user device is usually set on the wearable device manually, so that the wearable device can access the user device according to the wireless access configuration information of the user device, thereby realizing binding between the wearable device and the user device.
However, in practice, it is found that such setting the wireless access configuration information of the user equipment on the wearable device in a manual manner reduces the binding efficiency between the wearable device and the user equipment, thereby reducing the information exchange efficiency between the wearable device and the user equipment.
Disclosure of Invention
The embodiment of the invention discloses an information exchange method and system based on NFC, which can improve the binding efficiency between wearable equipment and user equipment, thereby improving the information exchange efficiency between the wearable equipment and the user equipment.
The first aspect of the embodiments of the present invention discloses an information exchange method based on NFC, including:
after reading an identity of wearable equipment by user equipment in an NFC (Near Field Communication), detecting whether a first-stage appointed action event occurs simultaneously with the wearable equipment or not by the user equipment, and if so, transmitting wireless access configuration information of the user equipment to the wearable equipment in the NFC mode;
after receiving the wireless access configuration information of the user equipment, the wearable equipment detects whether a second-stage appointed action event occurs simultaneously with the user equipment, and if so, the wearable equipment is accessed to the user equipment according to the wireless access configuration information of the user equipment; and transmitting the information to be exchanged existing in the wearable device to the user equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the detecting, by the user equipment, whether the first-stage specified action event occurs simultaneously with the user equipment and the wearable device includes:
the user equipment detects whether the user equipment comprises a first action event or not, if the user equipment comprises the first action event, the user equipment detects whether the wearable equipment comprises a second action event or not in an NFC mode, if the user equipment comprises the first action event, the user equipment judges whether an action starting place included in the first action event is the same as an action starting place included in the second action event or not, if the action starting place included in the first action event is the same as the action starting place included in the second action event, the user equipment judges whether an action direction included in the first action event and an action direction included in the second action event are both the same as a first specified direction or not, and if the action direction included in the first action event and the action direction included in the second action event are both the same as the first specified direction, judging whether the difference value between the starting time of the first action event and the starting time of the second action event is smaller than a first specified preset threshold value or not, and whether the difference value between the action duration of the first action event and the action duration of the second action event is smaller than a second specified preset threshold value or not; and if the difference value between the starting time of the first action event and the starting time of the second action event is smaller than the first specified preset threshold value, and the difference value between the action duration time of the first action event and the action duration time of the second action event is smaller than the second specified preset threshold value, the user equipment detects that the user equipment and the wearable equipment simultaneously generate a first-stage specified action event.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the detecting, by the wearable device, whether a second specified action event occurs at the same time with the user equipment includes:
the wearable device detects whether the wearable device generates a third action event, if the wearable device generates the third action event, the wearable device detects whether the user device generates a fourth action event in an NFC mode, if the user device generates the fourth action event, whether an action starting place included in the third action event is the same as an action starting place included in the fourth action event is judged, if the action starting place included in the third action event is the same as the action starting place included in the fourth action event, whether an action direction included in the third action event and an action direction included in the fourth action event are both the same as a second specified direction is judged, and if the action direction included in the third action event and the action direction included in the fourth action event are both the same as the second specified direction, judging whether the difference value between the starting time of the third action event and the starting time of the fourth action event is smaller than a third specified preset threshold value or not, and whether the difference value between the action duration of the third action event and the action duration of the fourth action event is smaller than a fourth specified preset threshold value or not; if the difference value between the starting time of the third action event and the starting time included by the fourth action event is smaller than the third specified preset threshold value, and the difference value between the action duration included by the third action event and the action duration included by the fourth action event is smaller than the fourth specified preset threshold value, the wearable device detects that the wearable device and the user equipment simultaneously generate the second-stage specified action event.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after detecting that the user equipment and the wearable device have a first-stage specified action event at the same time, and before transferring the wireless access configuration information of the user equipment to the wearable device in the NFC manner, the method further includes:
the user equipment detects whether the face image of a legal user is bound with the identity identification of the wearable equipment or not, and if the face image of the legal user is stored, the user equipment scans the face image of the field user;
the user equipment carries out binarization processing on the face image of the field user;
the user equipment divides the face image of the on-site user after binarization processing into a plurality of pixel blocks, and performs OR operation on pixel values corresponding to all pixels in each pixel block to obtain an OR operation result of each pixel block to form a down-sampling picture of the face image of the on-site user;
the user equipment divides the down-sampling picture into a plurality of pixel areas, and obtains the characteristic information of each pixel area forming the face image of the on-site user by summing the OR operation results of all pixel points in each pixel area;
the user equipment judges whether the facial image of the field user is matched with the facial image of the legal user bound with the identity identification of the wearable equipment according to the characteristic information of each pixel region of the facial image of the field user; and if the wireless access configuration information is matched with the NFC configuration information, the wireless access configuration information of the user equipment is transmitted to the wearable equipment in the NFC mode.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the wearable device transfers information to be exchanged, which is present in the wearable device, to the user equipment, the method further includes:
the wearable device detects whether the wearable device is connected with a wireless earphone or not, and if the wearable device is connected with the wireless earphone, voice signals are transmitted to the wireless earphone; wherein the voice signal is used for describing information to be exchanged which the wearable device already has the wearable device.
A second aspect of an embodiment of the present invention discloses an NFC-based information exchange system, including:
the user equipment is used for detecting whether a first-stage appointed action event occurs simultaneously with the wearable equipment after reading the identity of the wearable equipment in an NFC mode, and if so, transmitting wireless access configuration information of the user equipment to the wearable equipment in the NFC mode;
the wearable device is used for detecting whether a second-stage appointed action event occurs simultaneously with the user equipment after receiving the wireless access configuration information of the user equipment, and if so, accessing the user equipment according to the wireless access configuration information of the user equipment; and transmitting the information to be exchanged existing in the wearable device to the user equipment.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, a manner that the user equipment detects whether the first-stage specified action event occurs simultaneously with the user equipment and the wearable equipment is specifically:
the user equipment is configured to detect whether the user equipment includes a first action event, detect whether the wearable device includes a second action event in the NFC manner if the user equipment includes the first action event, determine whether an action starting location included in the first action event is the same as an action starting location included in the second action event if the wearable device includes the second action event, determine whether an action direction included in the first action event and an action direction included in the second action event are both the same as a first specified direction if the action starting location included in the first action event is the same as the action starting location included in the second action event, and if the action direction included in the first action event and the action direction included in the second action event are both the same as the first specified direction, judging whether the difference value between the starting time of the first action event and the starting time of the second action event is smaller than a first specified preset threshold value or not, and whether the difference value between the action duration of the first action event and the action duration of the second action event is smaller than a second specified preset threshold value or not; and if the difference value between the starting time of the first action event and the starting time of the second action event is smaller than the first specified preset threshold value, and the difference value between the action duration time of the first action event and the action duration time of the second action event is smaller than the second specified preset threshold value, detecting that the user equipment and the wearable equipment simultaneously generate a first-stage specified action event.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the manner in which the wearable device detects whether the wearable device and the user device have a second specified action event at the same time is specifically:
the wearable device is configured to detect whether the wearable device includes a third action event, detect whether the user device has a fourth action event in the NFC manner if the wearable device has the third action event, determine whether an action starting location included in the third action event is the same as an action starting location included in the fourth action event if the user device has the fourth action event, determine whether an action direction included in the third action event and an action direction included in the fourth action event are both the same as a second specified direction if the action starting location included in the third action event is the same as the action starting location included in the fourth action event, and if the action direction included in the third action event and the action direction included in the fourth action event are both the same as the second specified direction, judging whether the difference value between the starting time of the third action event and the starting time of the fourth action event is smaller than a third specified preset threshold value or not, and whether the difference value between the action duration of the third action event and the action duration of the fourth action event is smaller than a fourth specified preset threshold value or not; and if the difference value between the starting time of the third action event and the starting time included by the fourth action event is smaller than the third specified preset threshold value, and the difference value between the action duration included by the third action event and the action duration included by the fourth action event is smaller than the fourth specified preset threshold value, detecting that the wearable device and the user equipment simultaneously generate a second-stage specified action event.
As an alternative implementation, in the second aspect of the embodiment of the present invention:
the user equipment is also used for detecting whether the face image of the legal user is bound with the identity identifier of the wearable equipment is stored or not after detecting that the user equipment and the wearable equipment simultaneously generate a first-stage specified action event, and if the face image of the on-site user is stored, scanning the face image of the on-site user;
carrying out binarization processing on the face image of the on-site user;
dividing the face image of the on-site user after binarization processing into a plurality of pixel blocks, and performing OR operation on pixel values corresponding to all pixels in each pixel block to obtain an OR operation result of each pixel block to form a down-sampling picture of the face image of the on-site user;
dividing the down-sampling picture into a plurality of pixel areas, and summing the OR operation results of all pixel points in each pixel area to obtain the characteristic information of each pixel area forming the face image of the on-site user;
judging whether the facial image of the field user is matched with the facial image of the legal user bound with the identity identifier of the wearable device or not according to the characteristic information of each pixel region of the facial image of the field user; and if the wireless access configuration information is matched with the NFC configuration information, the wireless access configuration information of the user equipment is transmitted to the wearable equipment in the NFC mode.
As an alternative implementation, in the second aspect of the embodiment of the present invention:
the wearable device is also used for detecting whether the wearable device is connected with a wireless earphone or not after transmitting the information to be exchanged existing in the wearable device to the user equipment, and transmitting a voice signal to the wireless earphone if the wearable device is connected with the wireless earphone; wherein the voice signal is used for describing information to be exchanged which the wearable device already has the wearable device.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, after the user equipment reads the identity identifier of the wearable equipment in an NFC mode, if the user equipment also detects that the user equipment and the wearable equipment simultaneously generate a first-stage specified action event, the user equipment can transmit wireless access configuration information (such as access configuration information of Bluetooth and Wi-Fi of the user equipment) of the user equipment to the wearable equipment in the NFC mode; correspondingly, after the wearable device receives the wireless access configuration information of the user equipment, if the wearable device detects that the wearable device and the user equipment simultaneously generate a second-stage specified action event, the wearable device can be accessed to the user equipment according to the wireless access configuration information of the user equipment and transmits information to be exchanged existing in the wearable device to the user equipment. Therefore, the embodiment of the invention can realize automatic binding between the wearable device and the user equipment, and compared with a mode of setting the wireless access configuration information of the user equipment on the wearable device in a manual mode, the embodiment of the invention can improve the binding efficiency between the wearable device and the user equipment, thereby improving the information exchange efficiency between the wearable device and the user equipment.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an NFC-based information exchange method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another NFC-based information exchange method disclosed in the embodiment of the present invention;
fig. 3 is a schematic flowchart of another NFC-based information exchange method disclosed in the embodiment of the present invention;
fig. 4 is a schematic structural diagram of an NFC-based information exchange system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, of embodiments of the present invention are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses an information exchange method and system based on NFC, which can improve the binding efficiency between wearable equipment and user equipment, thereby improving the information exchange efficiency between the wearable equipment and the user equipment. The following detailed description is made with reference to the accompanying drawings.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an NFC-based information exchange method according to an embodiment of the present invention. As shown in fig. 1, the information exchange method may include the following steps.
101. After reading the identity of the wearable device by the user equipment in an NFC mode, detecting whether a first-stage appointed action event occurs at the same time with the wearable device or not; if not, ending the process; if so, go to step 102.
In the embodiment of the present invention, the user equipment may include, but is not limited to, various devices such as a smart phone, a Mobile tablet, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), and the like; wherein the user equipment may support network technologies including, but not limited to: global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), wideband Code Division Multiple Access (W-CDMA), CDMA2000, IMT Single Carrier (IMT Single Carrier), Enhanced Data rate GSM Evolution (Enhanced Data Rates for GSM Evolution, EDGE), Long-term Evolution (Long-term Evolution, LTE), advanced Long-term Evolution (LTE), Time-Division Long-term Evolution (Time-Division LTE, TD-LTE), High-Performance Radio Local Area Network (High-Performance Radio Local Area Network, High-Performance lan), High-Performance wide Area Network (High wan), Local multi-point SDMA (Local multi-point SDMA) Service (LMDS), Worldwide Interoperability for Microwave Access (WiMAX), bluetooth (orthogonal frequency Division multiplexing Access), and High-capacity space Division multiplexing (ZigBee-space Division multiplexing (hcc), Universal Mobile Telecommunications System (UMTS), universal mobile telecommunications system time division duplex (UMTS-TDD), evolved high speed packet access (HSPA +), time division synchronous code division multiple access (TD-SCDMA), evolution data optimized (EV-DO), Digital Enhanced Cordless Telecommunications (DECT), and others.
In the embodiment of the present invention, the wearable device may include various wearable smart devices such as a smart watch, a telephone watch, and a smart bracelet, which is not limited in the embodiment of the present invention.
As an optional implementation manner, in step 101, the user device may detect whether the first-stage designated action event occurs simultaneously with the wearable device by the user device, and the method may include:
the user equipment can detect (such as through a motion sensor) whether a first action event occurs on the user equipment, wherein the first action event comprises event information such as an action starting place, a starting time, an action direction and an action duration;
if the user equipment generates a first action event, whether a second action event occurs to the wearable equipment is detected in an NFC mode; when the wearable device detects (e.g., through the motion sensor) that a second motion event occurs, the wearable device may store the second motion event, and similarly, the second motion event includes event information such as a motion starting place, a starting time, a motion direction, and a motion duration; the user equipment can read a second action event stored by the wearing equipment in an NFC mode;
if the wearable device generates a second action event, the user device may determine whether an action starting place included in the first action event is the same as an action starting place included in the second action event, and if the action starting place included in the first action event is the same as the action starting place included in the second action event, may determine whether an action direction included in the first action event and an action direction included in the second action event are both the same as a first specified direction; for example, the first specified direction may be first downward and then upward;
if the action direction included by the first action event and the action direction included by the second action event are both the same as the first specified direction, judging whether the difference value between the starting time of the first action event and the starting time included by the second action event is smaller than a first specified preset threshold (such as 0.02 second) or not, and whether the difference value between the action duration included by the first action event and the action duration included by the second action event is smaller than a second specified preset threshold (such as 0.02 second) or not;
if the difference between the starting time of the first action event and the starting time included by the second action event is smaller than a first specified preset threshold value, and the difference between the action duration included by the first action event and the action duration included by the second action event is smaller than a second specified preset threshold value, the user equipment can detect that the first-stage specified action event occurs simultaneously on the user equipment and the wearable equipment.
According to the embodiment, the user equipment can accurately detect whether the first-stage appointed action event occurs simultaneously with the user equipment, so that the accuracy of mutual binding of the user equipment and the user equipment can be improved.
102. The user equipment transmits the wireless access configuration information of the user equipment to the wearable equipment in an NFC mode.
In the embodiment of the present invention, the wireless access configuration information of the user equipment may include access configuration information of bluetooth and Wi-Fi of the user equipment. Further, the access configuration information of the bluetooth and the Wi-Fi of the user equipment may be the bluetooth and the Wi-Fi identification, the access password, and the like of the user equipment, which is not limited in the embodiment of the present invention.
103. After the wearable device receives the wireless access configuration information of the user equipment, whether the wearable device and the user equipment simultaneously generate a second-stage appointed action event is detected, and if not, the process is ended; if so, step 104 is performed.
As an optional implementation manner, in step 103, the manner that the wearable device detects whether the wearable device and the user device have the second specified action event at the same time may be:
the wearable device can detect (e.g., through the motion sensor) whether a third motion event occurs on the wearable device, where the third motion event includes event information such as a motion starting place, a starting time, a motion direction, and a motion duration;
if the wearable device generates a third action event, the wearable device can detect whether a fourth action event occurs to the user device in an NFC mode, wherein when the user device detects (such as through an action sensor) that the fourth action event occurs to the user device, the user device can transmit the fourth action event to the wearable device in the NFC mode, and similarly, the fourth action event comprises event information such as an action starting place, starting time, an action direction and action duration;
if the user equipment generates a fourth action event, the wearable equipment can judge whether an action starting place included by the third action event is the same as an action starting place included by the fourth action event, and if the action starting place included by the third action event is the same as the action starting place included by the fourth action event, judge whether an action direction included by the third action event and an action direction included by the fourth action event are both the same as a second specified direction; for example, the second designated direction may be first upward and then downward, i.e., the second designated direction is opposite to the first designated direction;
if the action direction included by the third action event and the action direction included by the fourth action event are both the same as the second specified direction, the wearable device may determine whether a difference between the activation time of the third action event and the activation time included by the fourth action event is less than a third specified preset threshold (e.g., 0.02 seconds), and whether a difference between the action duration included by the third action event and the action duration included by the fourth action event is less than a fourth specified preset threshold (e.g., 0.02 seconds);
if the difference between the starting time of the third action event and the starting time included by the fourth action event is smaller than a third specified preset threshold, and the difference between the action duration included by the third action event and the action duration included by the fourth action event is smaller than a fourth specified preset threshold, the wearable device can detect that the wearable device and the user equipment simultaneously generate the second-stage specified action event.
According to the implementation of the method, the wearable device can accurately detect whether the first-stage appointed action event occurs simultaneously with the user equipment, so that the accuracy of mutual binding of the wearable device and the user equipment can be improved.
104. The wearable device is accessed to the user equipment according to the wireless access configuration information of the user equipment, and the information to be exchanged existing in the wearable device is transmitted to the user equipment.
As an optional implementation manner, the information to be exchanged that exists in the wearable device may be information preset on the wearable device by a user, or information received by the wearable device and transmitted by another device, which is not limited in the embodiment of the present invention.
As another optional implementation, the information to be exchanged that exists in the wearable device may also be combination information of an application icon and an application name of an application program installed in the wearable device, that is, "application icon + application name," which is not limited in the embodiment of the present invention.
As another optional implementation, the information to be exchanged that is present on the wearable device may also be a cartoon image preset by the wearable device and matching the instant emotion of the user wearing the wearable device. In this embodiment, after the wearable device accesses the user device according to the wireless access configuration information of the user device and before the wearable device transmits the information to be exchanged, which exists in the wearable device, to the user device, the following steps may be further performed:
the wearable device collects electrocardiogram data of a user;
the wearable device carries out denoising processing on the electrocardiogram data;
the wearable device extracts an R wave peak value in the electrocardiogram data subjected to denoising processing by adopting an electrocardiogram R wave extraction algorithm, and calculates an RR interval between adjacent R waves in the electrocardiogram data subjected to denoising processing;
the wearable device calculates a frequency domain index, a time domain index and a nonlinear index of the RR interval; wherein, the frequency domain index comprises parasympathetic nerve activity index, and the time domain index comprises short-range heart rate variability index; the short-range heart rate variability index is calculated by obtaining the root mean square of the sum of the squares of the RR interval differences; the parasympathetic activity indicator is calculated by a fast fourier transform; calculating a nonlinear index by a fractal dimension calculation method;
the wearable device analyzes the emotion vitality value of the user of the mobile device according to the frequency domain index, the time domain index and the nonlinear index; the activity value is calculated according to a multiple linear regression equation established by a time domain index, a frequency domain index and a nonlinear index;
the wearable device identifies the instant emotion type of the user wearing the wearable device according to the vitality value, selects a target cartoon image matched with the instant emotion type of the user wearing the wearable device from a cartoon image set stored by the wearable device as information to be exchanged existing in the wearable device, and transmits the information to be exchanged existing in the wearable device to the user device. For example, when the wearable device recognizes that the instant emotion type of the user wearing the wearable device is "sad" according to the vitality value, a target cartoon image "smile" matched with the instant emotion type "sad" of the user wearing the wearable device may be selected from a cartoon image set stored by the wearable device as information to be exchanged existing in the wearable device, that is, the information to be exchanged existing in the wearable device may be information to be exchanged for improving the instant bad emotion of the user, and a step of transmitting the information to be exchanged existing in the wearable device to the user device is performed. The implementation of the embodiment is beneficial to improving the bad emotion of the user wearing the wearable device, and the user experience is improved.
The method described in fig. 1 can realize automatic binding between the wearable device and the user equipment, and compared with a mode of setting wireless access configuration information of the user equipment on the wearable device manually, the method can improve the binding efficiency between the wearable device and the user equipment, thereby improving the information exchange efficiency between the wearable device and the user equipment.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another NFC-based information exchange method according to an embodiment of the present invention. As shown in fig. 2, the information exchange method may include the following steps.
201. After reading the identity of the wearable device by the user equipment in an NFC mode, detecting whether a first-stage appointed action event occurs at the same time with the wearable device or not; if not, ending the process; if so, step 202 is performed.
In the embodiment of the present invention, the wearable device may include various wearable smart devices such as a smart watch, a telephone watch, and a smart bracelet, which is not limited in the embodiment of the present invention.
As an optional implementation manner, in step 201, the user device may detect whether the first-stage designated action event occurs simultaneously with the wearable device by:
the user equipment can detect (such as through a motion sensor) whether a first action event occurs on the user equipment, wherein the first action event comprises event information such as an action starting place, a starting time, an action direction and an action duration;
if the user equipment generates a first action event, whether a second action event occurs to the wearable equipment is detected in an NFC mode; when the wearable device detects (e.g., through the motion sensor) that a second motion event occurs, the wearable device may store the second motion event, and similarly, the second motion event includes event information such as a motion starting place, a starting time, a motion direction, and a motion duration; the user equipment can read a second action event stored by the wearing equipment in an NFC mode;
if the wearable device generates a second action event, the user device may determine whether an action starting place included in the first action event is the same as an action starting place included in the second action event, and if the action starting place included in the first action event is the same as the action starting place included in the second action event, may determine whether an action direction included in the first action event and an action direction included in the second action event are both the same as a first specified direction; for example, the first specified direction may be first downward and then upward;
if the action direction included by the first action event and the action direction included by the second action event are both the same as the first specified direction, judging whether the difference value between the starting time of the first action event and the starting time included by the second action event is smaller than a first specified preset threshold (such as 0.02 second) or not, and whether the difference value between the action duration included by the first action event and the action duration included by the second action event is smaller than a second specified preset threshold (such as 0.02 second) or not;
if the difference between the starting time of the first action event and the starting time included by the second action event is smaller than a first specified preset threshold value, and the difference between the action duration included by the first action event and the action duration included by the second action event is smaller than a second specified preset threshold value, the user equipment can detect that the first-stage specified action event occurs simultaneously on the user equipment and the wearable equipment.
According to the embodiment, the user equipment can accurately detect whether the first-stage appointed action event occurs simultaneously with the user equipment, so that the accuracy of mutual binding of the user equipment and the user equipment can be improved.
202. The user equipment detects whether the face image of the legal user is bound with the identity identifier of the wearable equipment or not, and if the face image of the legal user is not stored, the flow is ended; if so, step 203 to step 205 are executed.
203. The user equipment scans the face image of the on-site user and carries out binarization processing on the face image of the on-site user; and dividing the face image of the on-site user after the binarization processing into a plurality of pixel blocks, and performing OR operation on pixel values corresponding to all pixels in each pixel block to obtain a downsampled picture of the face image of the on-site user, wherein the OR operation result of each pixel block forms the downsampled picture of the face image of the on-site user.
204. The user equipment divides the down-sampling picture into a plurality of pixel areas, and obtains the characteristic information of each pixel area forming the face image of the on-site user by summing the OR operation results of all pixel points in each pixel area.
205. The user equipment judges whether the face image of the field user is matched with the face image of the legal user bound with the identity identifier of the wearable equipment or not according to the characteristic information of each pixel region of the face image of the field user; if not, ending the process; if there is a match, step 206 is performed.
By implementing the above steps 202 to 205, the user equipment may transmit the wireless access configuration information of the user equipment to the wearable device in an NFC manner only when recognizing that the face image of the user is matched with the face image of the valid user bound to the identity identifier of the wearable device, so that the security and reliability of transmitting the wireless access configuration information of the user equipment to the wearable device in an NFC manner by the user equipment may be improved.
206. The user equipment transmits the wireless access configuration information of the user equipment to the wearable equipment in an NFC mode.
207. After the wearable device receives the wireless access configuration information of the user equipment, whether the wearable device and the user equipment simultaneously generate a second-stage appointed action event is detected, and if not, the process is ended; if so, step 208 is performed.
As an alternative implementation manner, in step 207, the manner that the wearable device detects whether the wearable device and the user device have the second specified action event at the same time may be:
the wearable device can detect (e.g., through the motion sensor) whether a third motion event occurs on the wearable device, where the third motion event includes event information such as a motion starting place, a starting time, a motion direction, and a motion duration;
if the wearable device generates a third action event, the wearable device can detect whether a fourth action event occurs to the user device in an NFC mode, wherein when the user device detects (such as through an action sensor) that the fourth action event occurs to the user device, the user device can transmit the fourth action event to the wearable device in the NFC mode, and similarly, the fourth action event comprises event information such as an action starting place, starting time, an action direction and action duration;
if the user equipment generates a fourth action event, the wearable equipment can judge whether an action starting place included by the third action event is the same as an action starting place included by the fourth action event, and if the action starting place included by the third action event is the same as the action starting place included by the fourth action event, judge whether an action direction included by the third action event and an action direction included by the fourth action event are both the same as a second specified direction; for example, the second designated direction may be first upward and then downward, i.e., the second designated direction is opposite to the first designated direction;
if the action direction included by the third action event and the action direction included by the fourth action event are both the same as the second specified direction, the wearable device may determine whether a difference between the activation time of the third action event and the activation time included by the fourth action event is less than a third specified preset threshold (e.g., 0.02 seconds), and whether a difference between the action duration included by the third action event and the action duration included by the fourth action event is less than a fourth specified preset threshold (e.g., 0.02 seconds);
if the difference between the starting time of the third action event and the starting time included by the fourth action event is smaller than a third specified preset threshold, and the difference between the action duration included by the third action event and the action duration included by the fourth action event is smaller than a fourth specified preset threshold, the wearable device can detect that the wearable device and the user equipment simultaneously generate the second-stage specified action event.
According to the implementation of the method, the wearable device can accurately detect whether the first-stage appointed action event occurs simultaneously with the user equipment, so that the accuracy of mutual binding of the wearable device and the user equipment can be improved.
208. The wearable device is accessed to the user equipment according to the wireless access configuration information of the user equipment, and the information to be exchanged existing in the wearable device is transmitted to the user equipment.
As an optional implementation manner, the information to be exchanged that exists in the wearable device may be information preset on the wearable device by a user, or information received by the wearable device and transmitted by another device, which is not limited in the embodiment of the present invention.
As another optional implementation, the information to be exchanged that exists in the wearable device may also be combination information of an application icon and an application name of an application program installed in the wearable device, that is, "application icon + application name," which is not limited in the embodiment of the present invention.
As another optional implementation, the information to be exchanged that is present on the wearable device may also be a cartoon image preset by the wearable device and matching the instant emotion of the user wearing the wearable device. In this embodiment, after the wearable device accesses the user device according to the wireless access configuration information of the user device and before the wearable device transmits the information to be exchanged, which exists in the wearable device, to the user device, the following steps may be further performed:
the wearable device collects electrocardiogram data of a user;
the wearable device carries out denoising processing on the electrocardiogram data;
the wearable device extracts an R wave peak value in the electrocardiogram data subjected to denoising processing by adopting an electrocardiogram R wave extraction algorithm, and calculates an RR interval between adjacent R waves in the electrocardiogram data subjected to denoising processing;
the wearable device calculates a frequency domain index, a time domain index and a nonlinear index of the RR interval; wherein, the frequency domain index comprises parasympathetic nerve activity index, and the time domain index comprises short-range heart rate variability index; the short-range heart rate variability index is calculated by obtaining the root mean square of the sum of the squares of the RR interval differences; the parasympathetic activity indicator is calculated by a fast fourier transform; calculating a nonlinear index by a fractal dimension calculation method;
the wearable device analyzes the emotion vitality value of the user of the mobile device according to the frequency domain index, the time domain index and the nonlinear index; the activity value is calculated according to a multiple linear regression equation established by a time domain index, a frequency domain index and a nonlinear index;
the wearable device identifies the instant emotion type of the user wearing the wearable device according to the vitality value, selects a target cartoon image matched with the instant emotion type of the user wearing the wearable device from a cartoon image set stored by the wearable device as information to be exchanged existing in the wearable device, and transmits the information to be exchanged existing in the wearable device to the user device. For example, when the wearable device recognizes that the instant emotion type of the user wearing the wearable device is "sad" according to the vitality value, a target cartoon image "smile" matched with the instant emotion type "sad" of the user wearing the wearable device may be selected from a cartoon image set stored by the wearable device as information to be exchanged existing in the wearable device, that is, the information to be exchanged existing in the wearable device may be information to be exchanged for improving the instant bad emotion of the user, and a step of transmitting the information to be exchanged existing in the wearable device to the user device is performed. The implementation of the embodiment is beneficial to improving the bad emotion of the user wearing the wearable device, and the user experience is improved.
The method described in fig. 2 can safely and reliably realize automatic binding between the wearable device and the user equipment, and compared with a mode of setting wireless access configuration information of the user equipment on the wearable device in a manual mode, the method and the device can improve binding efficiency between the wearable device and the user equipment, so that information exchange efficiency between the wearable device and the user equipment is improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating another NFC-based information exchange method according to an embodiment of the present invention. As shown in fig. 3, the information exchange method may include the following steps.
Step 301 to step 308 are the same as step 201 to step 208 in the previous embodiment, and are not described herein again in this embodiment of the present invention.
309. The wearable device detects whether the wearable device is connected with the wireless earphone, and if the wearable device is not connected with the wireless earphone, the process is ended; if the wearable device is connected to the wireless headset, step 310 is performed.
310. The wearable device transmits a voice signal to the wireless earphone; wherein, the voice signal is used for describing the information to be exchanged that the wearable device already exists the wearable device.
As an alternative embodiment, after determining that the wearable device is connected to the wireless headset, and before performing step 310, the wearable device may perform the following steps:
the wearable device acquires the position of the wearable device;
the wearable device acquires the position of the wireless earphone;
the wearable device calculates the distance between the position of the wearable device and the position of the wireless headset;
the wearable device determines whether the distance exceeds a specified distance, and if so, performs step 3108; otherwise, if the specified distance value is not exceeded, the flow is ended.
In practical applications, the legitimate user of the wearable device and the legitimate user of the user device may not be the same person, for example, the legitimate user of the wearable device is a child, and the legitimate user of the user device is a parent; when the legal user of the user equipment is not noticed by the legal user of the wearable equipment, the user equipment and the wearable equipment are automatically bound, the wearable equipment transmits the information to be exchanged which exists in the user equipment to the user equipment, and then the wearable equipment can transmit the voice signal to the wireless earphone which is worn by the legal user and connected with the wearable equipment, so that the legal user of the wearable equipment can timely know that the information to be exchanged which exists in the wearable equipment is transmitted to the user equipment.
The method described in fig. 3 can safely and reliably realize automatic binding between the wearable device and the user equipment, and compared with a mode of setting wireless access configuration information of the user equipment on the wearable device in a manual mode, the method and the device can improve binding efficiency between the wearable device and the user equipment, so that information exchange efficiency between the wearable device and the user equipment is improved. Moreover, the method described in fig. 3 can be implemented to enable a legal user of the wearable device to timely know that the wearable device has transmitted the information to be exchanged, which is present in the wearable device, to the user device, so as to prevent the legal user of the wearable device from knowing that the wearable device has leaked the information.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of an NFC-based information exchange system according to an embodiment of the present invention. As shown in fig. 4, the information exchange system may include:
the user equipment 401 is configured to detect whether the user equipment 401 and the wearable equipment 402 have a first-stage specified action event at the same time after reading the identity of the wearable equipment 402 in an NFC manner, and if so, transmit the wireless access configuration information of the user equipment 401 to the wearable equipment 402 in the NFC manner;
the wearable device 402 is configured to detect whether a second-stage specified action event occurs simultaneously with the user equipment 401 after receiving the wireless access configuration information of the user equipment 401, and if so, access the user equipment 401 according to the wireless access configuration information of the user equipment 401; and communicating information to be exchanged that the wearable device 402 exists to the user device 401.
As an optional implementation, the way for the user device 401 to detect whether the user device 401 and the wearable device have the first-stage specified action event simultaneously may be:
the user equipment 401 is configured to detect whether the user equipment 401 includes a first action event, detect whether the wearable device 402 has a second action event through the NFC method if the user equipment 401 has the first action event, determine whether an action starting location included in the first action event is the same as an action starting location included in the second action event if the wearable device 402 has the second action event, determine whether an action direction included in the first action event and an action direction included in the second action event are both the same as a first specified direction if the action starting location included in the first action event is the same as the action starting location included in the second action event, and if the action direction included in the first action event and the action direction included in the second action event are both the same as the first specified direction, judging whether the difference value between the starting time of the first action event and the starting time of the second action event is smaller than a first specified preset threshold value or not, and whether the difference value between the action duration of the first action event and the action duration of the second action event is smaller than a second specified preset threshold value or not; if the difference between the starting time of the first action event and the starting time included in the second action event is smaller than the first specified preset threshold, and the difference between the action duration included in the first action event and the action duration included in the second action event is smaller than the second specified preset threshold, it is detected that the first-stage specified action event occurs to the user equipment 401 and the wearable equipment 402 at the same time.
As an alternative embodiment, the way for the wearable device 402 to detect whether the wearable device 402 and the user device 401 have the second specified action event occurred at the same time may be:
the wearable device 402 is configured to detect whether the wearable device 402 includes a third action event, detect whether the user device 401 has a fourth action event through an NFC manner if the wearable device 402 has the third action event, determine whether an action starting location included in the third action event is the same as an action starting location included in the fourth action event if the user device 401 has the fourth action event, determine whether an action direction included in the third action event and an action direction included in the fourth action event are both the same as a second specified direction if the action starting location included in the third action event is the same as the action starting location included in the fourth action event, determine whether a difference between a starting time of the third action event and a starting time included in the fourth action event is smaller than a third specified preset threshold if the action direction included in the third action event and the action direction included in the fourth action event are both the same as the second specified direction, whether the difference value between the action duration included by the third action event and the action duration included by the fourth action event is smaller than a fourth specified preset threshold value or not is judged; and if the difference value between the starting time of the third action event and the starting time included by the fourth action event is smaller than a third specified preset threshold value, and the difference value between the action duration included by the third action event and the action duration included by the fourth action event is smaller than a fourth specified preset threshold value, detecting that the wearable device 402 and the user equipment 401 simultaneously generate the second-stage specified action event.
As an alternative implementation, in the system shown in fig. 4:
the user equipment 401 is further configured to detect whether a face image of a legal user is bound to an identity identifier of the wearable equipment 402 is stored after detecting that a first-stage specified action event occurs at the same time between the user equipment 401 and the wearable equipment 402, and if so, scan the face image of the on-site user;
carrying out binarization processing on the face image of the on-site user;
dividing the face image of the on-site user after binarization processing into a plurality of pixel blocks, and performing OR operation on pixel values corresponding to all pixels in each pixel block to obtain a downsampled picture of the face image of the on-site user formed by OR operation results of each pixel block;
dividing the down-sampling picture into a plurality of pixel areas, and summing the OR operation results of all pixel points in each pixel area to obtain the characteristic information of each pixel area of the face image of the on-site user;
judging whether the facial image of the field user is matched with the facial image of the legal user bound with the identity identifier of the wearable device 402 or not according to the characteristic information of each pixel region of the facial image of the field user; and if the wireless access configuration information of the user equipment 401 is matched, the wireless access configuration information is transmitted to the wearable equipment 402 in the NFC mode.
As an alternative implementation, in the system shown in fig. 4:
the wearable device 402 is further configured to detect whether the wearable device 402 is connected with a wireless headset after transmitting information to be exchanged, which is present in the wearable device 402, to the user equipment 401, and transmit a voice signal to the wireless headset if the wearable device 402 is connected with the wireless headset; wherein the voice signal is used for describing the information to be exchanged that the wearable device 402 has the wearable device 402 present
As an alternative embodiment, after determining that the wearable device is connected to the wireless headset and before transmitting the voice signal to the wireless headset, the wearable device 402 may perform the following steps:
the wearable device 402 acquires the position of the wearable device;
the wearable device 402 acquires the location of the wireless headset;
the wearable device 402 calculates a distance between the location of the wearable device and the location of the wireless headset;
the wearable device 402 determines whether the distance exceeds a specified distance, and if so, performs step 3108; otherwise, if the specified distance value is not exceeded, the flow is ended.
In practical applications, the legitimate user of the wearable device and the legitimate user of the user device may not be the same person, for example, the legitimate user of the wearable device is a child, and the legitimate user of the user device is a parent; when the legal user of the user equipment is not noticed by the legal user of the wearable equipment, the user equipment and the wearable equipment are automatically bound, the wearable equipment transmits the information to be exchanged which exists in the user equipment to the user equipment, and then the wearable equipment can transmit the voice signal to the wireless earphone which is worn by the legal user and connected with the wearable equipment, so that the legal user of the wearable equipment can timely know that the information to be exchanged which exists in the wearable equipment is transmitted to the user equipment.
The system described in fig. 4 can safely and reliably realize automatic binding between the wearable device and the user equipment, and compared with a mode of setting wireless access configuration information of the user equipment on the wearable device in a manual mode, the embodiment of the invention can improve the binding efficiency between the wearable device and the user equipment, thereby improving the information exchange efficiency between the wearable device and the user equipment. Moreover, the system described in fig. 4 can be implemented to enable a legal user of the wearable device to timely know that the wearable device has transmitted the information to be exchanged, which is present in the wearable device, to the user device, so as to prevent the legal user of the wearable device from knowing that the wearable device has leaked the information.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The method and system for information exchange based on NFC disclosed in the embodiments of the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. An information exchange method based on NFC, characterized by comprising:
after reading the identity of the wearable device by the user equipment in an NFC mode, detecting whether a first-stage appointed action event occurs simultaneously with the user equipment and the wearable device, and if so, transmitting wireless access configuration information of the user equipment to the wearable device in the NFC mode;
after receiving the wireless access configuration information of the user equipment, the wearable equipment detects whether a second-stage appointed action event occurs simultaneously with the user equipment, and if so, the wearable equipment is accessed to the user equipment according to the wireless access configuration information of the user equipment; transmitting the information to be exchanged existing in the wearable device to the user equipment;
the wearable device detects whether the wearable device is connected with a wireless earphone or not, and if the wearable device is connected with the wireless earphone, the position of the wearable device is obtained; acquiring the position of the wireless earphone; calculating a distance between the position of the wearable device and the position of the wireless headset; judging whether the distance exceeds a specified distance, and if so, transmitting a voice signal to the wireless earphone; the voice signal is used for describing that the wearable device transmits information to be exchanged, which is present in the wearable device, to user equipment.
2. The information exchange method according to claim 1, wherein the user device detects whether the user device and the wearable device simultaneously have a first-stage specific action event, and the method comprises:
the user equipment detects whether the user equipment comprises a first action event or not, if the user equipment comprises the first action event, the user equipment detects whether the wearable equipment comprises a second action event or not in an NFC mode, if the user equipment comprises the first action event, the user equipment judges whether an action starting place included in the first action event is the same as an action starting place included in the second action event or not, if the action starting place included in the first action event is the same as the action starting place included in the second action event, the user equipment judges whether an action direction included in the first action event and an action direction included in the second action event are both the same as a first specified direction or not, and if the action direction included in the first action event and the action direction included in the second action event are both the same as the first specified direction, judging whether the difference value between the starting time of the first action event and the starting time of the second action event is smaller than a first specified preset threshold value or not, and whether the difference value between the action duration of the first action event and the action duration of the second action event is smaller than a second specified preset threshold value or not; and if the difference value between the starting time of the first action event and the starting time of the second action event is smaller than the first specified preset threshold value, and the difference value between the action duration time of the first action event and the action duration time of the second action event is smaller than the second specified preset threshold value, the user equipment detects that the user equipment and the wearable equipment simultaneously generate a first-stage specified action event.
3. The information exchange method according to claim 1 or 2, wherein the wearable device detects whether a second specified action event occurs simultaneously with the user device, and comprises:
the wearable device detects whether the wearable device generates a third action event, if the wearable device generates the third action event, the wearable device detects whether the user device generates a fourth action event in an NFC mode, if the user device generates the fourth action event, whether an action starting place included in the third action event is the same as an action starting place included in the fourth action event is judged, if the action starting place included in the third action event is the same as the action starting place included in the fourth action event, whether an action direction included in the third action event and an action direction included in the fourth action event are both the same as a second specified direction is judged, and if the action direction included in the third action event and the action direction included in the fourth action event are both the same as the second specified direction, judging whether the difference value between the starting time of the third action event and the starting time of the fourth action event is smaller than a third specified preset threshold value or not, and whether the difference value between the action duration of the third action event and the action duration of the fourth action event is smaller than a fourth specified preset threshold value or not; if the difference value between the starting time of the third action event and the starting time included by the fourth action event is smaller than the third specified preset threshold value, and the difference value between the action duration included by the third action event and the action duration included by the fourth action event is smaller than the fourth specified preset threshold value, the wearable device detects that the wearable device and the user equipment simultaneously generate the second-stage specified action event.
4. The information exchange method according to claim 1 or 2, wherein after detecting that the user device and the wearable device have a first-stage specific action event at the same time, and before transferring the wireless access configuration information of the user device to the wearable device in the NFC manner, the method further comprises:
the user equipment detects whether the face image of a legal user is bound with the identity identification of the wearable equipment or not, and if the face image of the legal user is stored, the user equipment scans the face image of the field user;
the user equipment carries out binarization processing on the face image of the field user;
the user equipment divides the face image of the on-site user after binarization processing into a plurality of pixel blocks, and performs OR operation on pixel values corresponding to all pixels in each pixel block to obtain an OR operation result of each pixel block to form a down-sampling picture of the face image of the on-site user;
the user equipment divides the down-sampling picture into a plurality of pixel areas, and obtains the characteristic information of each pixel area forming the face image of the on-site user by summing the OR operation results of all pixel points in each pixel area;
the user equipment judges whether the facial image of the field user is matched with the facial image of the legal user bound with the identity identification of the wearable equipment according to the characteristic information of each pixel region of the facial image of the field user; and if the wireless access configuration information is matched with the NFC configuration information, the wireless access configuration information of the user equipment is transmitted to the wearable equipment in the NFC mode.
5. An NFC-based information exchange system, comprising:
the user equipment is used for detecting whether a first-stage appointed action event occurs simultaneously with the wearable equipment after reading the identity of the wearable equipment in an NFC mode, and if so, transmitting wireless access configuration information of the user equipment to the wearable equipment in the NFC mode;
the wearable device is used for detecting whether a second-stage appointed action event occurs simultaneously with the user equipment after receiving the wireless access configuration information of the user equipment, and if so, accessing the user equipment according to the wireless access configuration information of the user equipment; transmitting the information to be exchanged existing in the wearable device to the user equipment;
the wearable device is also used for detecting whether the wearable device is connected with the wireless earphone or not, and acquiring the position of the wearable device if the wearable device is connected with the wireless earphone; acquiring the position of the wireless earphone; calculating a distance between the position of the wearable device and the position of the wireless headset; judging whether the distance exceeds a specified distance, and if so, transmitting a voice signal to the wireless earphone; the voice signal is used for describing that the wearable device transmits information to be exchanged, which is present in the wearable device, to user equipment.
6. The information exchange system according to claim 5, wherein the manner for the user equipment to detect whether the first-stage specific action event occurs simultaneously with the user equipment and the wearable equipment is specifically:
the user equipment is configured to detect whether the user equipment includes a first action event, detect whether the wearable device includes a second action event in the NFC manner if the user equipment includes the first action event, determine whether an action starting location included in the first action event is the same as an action starting location included in the second action event if the wearable device includes the second action event, determine whether an action direction included in the first action event and an action direction included in the second action event are both the same as a first specified direction if the action starting location included in the first action event is the same as the action starting location included in the second action event, and if the action direction included in the first action event and the action direction included in the second action event are both the same as the first specified direction, judging whether the difference value between the starting time of the first action event and the starting time of the second action event is smaller than a first specified preset threshold value or not, and whether the difference value between the action duration of the first action event and the action duration of the second action event is smaller than a second specified preset threshold value or not; and if the difference value between the starting time of the first action event and the starting time of the second action event is smaller than the first specified preset threshold value, and the difference value between the action duration time of the first action event and the action duration time of the second action event is smaller than the second specified preset threshold value, detecting that the user equipment and the wearable equipment simultaneously generate a first-stage specified action event.
7. The information exchange system according to claim 5 or 6, wherein the manner for the wearable device to detect whether the wearable device and the user device have the second specified action event occurred at the same time is specifically:
the wearable device is configured to detect whether the wearable device includes a third action event, detect whether the user device has a fourth action event in the NFC manner if the wearable device has the third action event, determine whether an action starting location included in the third action event is the same as an action starting location included in the fourth action event if the user device has the fourth action event, determine whether an action direction included in the third action event and an action direction included in the fourth action event are both the same as a second specified direction if the action starting location included in the third action event is the same as the action starting location included in the fourth action event, and if the action direction included in the third action event and the action direction included in the fourth action event are both the same as the second specified direction, judging whether the difference value between the starting time of the third action event and the starting time of the fourth action event is smaller than a third specified preset threshold value or not, and whether the difference value between the action duration of the third action event and the action duration of the fourth action event is smaller than a fourth specified preset threshold value or not; and if the difference value between the starting time of the third action event and the starting time included by the fourth action event is smaller than the third specified preset threshold value, and the difference value between the action duration included by the third action event and the action duration included by the fourth action event is smaller than the fourth specified preset threshold value, detecting that the wearable device and the user equipment simultaneously generate a second-stage specified action event.
8. The information exchange system according to claim 5 or 6, wherein:
the user equipment is also used for detecting whether the face image of the legal user is bound with the identity identifier of the wearable equipment is stored or not after detecting that the user equipment and the wearable equipment simultaneously generate a first-stage specified action event, and if the face image of the on-site user is stored, scanning the face image of the on-site user;
carrying out binarization processing on the face image of the on-site user;
dividing the face image of the on-site user after binarization processing into a plurality of pixel blocks, and performing OR operation on pixel values corresponding to all pixels in each pixel block to obtain an OR operation result of each pixel block to form a down-sampling picture of the face image of the on-site user;
dividing the down-sampling picture into a plurality of pixel areas, and summing the OR operation results of all pixel points in each pixel area to obtain the characteristic information of each pixel area forming the face image of the on-site user;
judging whether the facial image of the field user is matched with the facial image of the legal user bound with the identity identifier of the wearable device or not according to the characteristic information of each pixel region of the facial image of the field user; and if the wireless access configuration information is matched with the NFC configuration information, the wireless access configuration information of the user equipment is transmitted to the wearable equipment in the NFC mode.
CN201710107980.9A 2017-02-27 2017-02-27 Information exchange method and system based on NFC Active CN106686537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710107980.9A CN106686537B (en) 2017-02-27 2017-02-27 Information exchange method and system based on NFC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710107980.9A CN106686537B (en) 2017-02-27 2017-02-27 Information exchange method and system based on NFC

Publications (2)

Publication Number Publication Date
CN106686537A CN106686537A (en) 2017-05-17
CN106686537B true CN106686537B (en) 2020-07-03

Family

ID=58862333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710107980.9A Active CN106686537B (en) 2017-02-27 2017-02-27 Information exchange method and system based on NFC

Country Status (1)

Country Link
CN (1) CN106686537B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107205036A (en) * 2017-06-19 2017-09-26 深圳市盛路物联通讯技术有限公司 The Internet of Things information interacting method and system of a kind of driver's eyes fatigue triggering
CN107230382A (en) * 2017-06-19 2017-10-03 深圳市盛路物联通讯技术有限公司 The parking management method and system of a kind of smart city
CN107248310A (en) * 2017-06-19 2017-10-13 深圳市盛路物联通讯技术有限公司 A kind of Car park payment management-control method and system based on free parking stall
CN107424345A (en) * 2017-06-19 2017-12-01 深圳市盛路物联通讯技术有限公司 A kind of outdoor parking charging method and system based on wireless vehicle mounted terminal
CN107248308A (en) * 2017-06-19 2017-10-13 深圳市盛路物联通讯技术有限公司 The Internet of Things information interacting method and system of a kind of user's parking triggering
CN107393025A (en) * 2017-06-19 2017-11-24 深圳市盛路物联通讯技术有限公司 A kind of stopping charging system and method for unattended formula
CN107464297A (en) * 2017-06-19 2017-12-12 深圳市盛路物联通讯技术有限公司 Charge management method and system under a kind of more parking lot scenes
CN107274693A (en) * 2017-06-19 2017-10-20 深圳市盛路物联通讯技术有限公司 The information interacting method and system of a kind of driver's emotional instability triggering
CN107205037A (en) * 2017-06-19 2017-09-26 深圳市盛路物联通讯技术有限公司 A kind of parking management method and system based on convergence platform
CN107464445A (en) * 2017-06-21 2017-12-12 深圳市盛路物联通讯技术有限公司 Parking guide method and system based on driver's quotation with free taxi parking stall
CN107358813A (en) * 2017-06-21 2017-11-17 深圳市盛路物联通讯技术有限公司 A kind of parking guide method and system based on driver's quotation
CN107205038A (en) * 2017-06-21 2017-09-26 深圳市盛路物联通讯技术有限公司 A kind of data processing method and system caused by parking
CN107231428A (en) * 2017-06-21 2017-10-03 深圳市盛路物联通讯技术有限公司 A kind of centralized management method and system of outdoor parking
CN107230383A (en) * 2017-06-21 2017-10-03 深圳市盛路物联通讯技术有限公司 It is a kind of based on the parking position guiding method bidded and system
CN107562360A (en) * 2017-09-05 2018-01-09 广东小天才科技有限公司 Wearable device control method and wearable device under a kind of black state

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096506A (en) * 2013-01-07 2013-05-08 东莞宇龙通信科技有限公司 Terminal devices, wireless fidelity (WIFI) connection method and system
CN204168282U (en) * 2014-10-30 2015-02-18 深圳中科讯联科技有限公司 A kind of wearable device pair system
CN104679334A (en) * 2015-03-02 2015-06-03 南京物联传感技术有限公司 Data interaction display system and data interaction display method
CN105007167A (en) * 2015-08-12 2015-10-28 宇龙计算机通信科技(深圳)有限公司 Communication verification method, terminal and wearable device
CN105068730A (en) * 2015-08-27 2015-11-18 广东欧珀移动通信有限公司 Content switching method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090171180A1 (en) * 2007-12-28 2009-07-02 Trevor Pering Method and apparatus for configuring wearable sensors

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096506A (en) * 2013-01-07 2013-05-08 东莞宇龙通信科技有限公司 Terminal devices, wireless fidelity (WIFI) connection method and system
CN204168282U (en) * 2014-10-30 2015-02-18 深圳中科讯联科技有限公司 A kind of wearable device pair system
CN104679334A (en) * 2015-03-02 2015-06-03 南京物联传感技术有限公司 Data interaction display system and data interaction display method
CN105007167A (en) * 2015-08-12 2015-10-28 宇龙计算机通信科技(深圳)有限公司 Communication verification method, terminal and wearable device
CN105068730A (en) * 2015-08-27 2015-11-18 广东欧珀移动通信有限公司 Content switching method and mobile terminal

Also Published As

Publication number Publication date
CN106686537A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN106686537B (en) Information exchange method and system based on NFC
US10425410B2 (en) Identity authentication method and apparatus, and user equipment
EP3277027B1 (en) Wi-fi connection method, mobile terminal and storage medium
US10469488B2 (en) Security verification method, apparatus, and system
CN106249854B (en) Mobile terminal and operating method thereof
EP3211932A1 (en) Identity authentication method and wearable device
EP3313060A2 (en) Mobile terminal and operating method thereof
US11323937B2 (en) Electronic device for providing call continuity in weak electric field environment and control method
JP6154876B2 (en) Electronic device and control method
CN104363585A (en) Wireless local area network access method
EP3562257A1 (en) Wireless fidelity (wi-fi) connection method and related product
CN109523672B (en) Access control method and device
CN104363665A (en) Terminal
CN108093404B (en) Information processing method and device
CN111901353A (en) Identity recognition preprocessing method, identity recognition method, and equipment and system thereof
CN105306202B (en) Auth method, device and server
EP3364693B1 (en) Wi-fi connection method, mobile terminal and storage medium
CN105872980B (en) A kind of method and device scanning wireless network signal
CN103200325A (en) Peripheral device for mobile terminal and communication method for mobile terminal and peripheral device
US20170302784A1 (en) Mobile electronic device, security control method, and security control code
CN106028323B (en) network access method, terminal and access point
CN108628434A (en) A kind of wearable device induction Verification System and method
CN107529171B (en) Method for detecting terminal access pseudo base station and related product
CN108235228B (en) Safety verification method and device
CN106792698A (en) A kind of Wireless Fidelity Wi Fi connection methods and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant