CN105704642B - Data exchange method based on ibeacon technology - Google Patents

Data exchange method based on ibeacon technology Download PDF

Info

Publication number
CN105704642B
CN105704642B CN201410712535.1A CN201410712535A CN105704642B CN 105704642 B CN105704642 B CN 105704642B CN 201410712535 A CN201410712535 A CN 201410712535A CN 105704642 B CN105704642 B CN 105704642B
Authority
CN
China
Prior art keywords
mobile terminal
data
data exchange
mobile
ibeacon
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
CN201410712535.1A
Other languages
Chinese (zh)
Other versions
CN105704642A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410712535.1A priority Critical patent/CN105704642B/en
Publication of CN105704642A publication Critical patent/CN105704642A/en
Application granted granted Critical
Publication of CN105704642B publication Critical patent/CN105704642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

In the data exchange method based on the ibeacon technology, the first mobile terminal is configured into the first base station by using the ibeacon technology, the first base station obtains the detection request of the second mobile terminal, the linear distance between the second mobile terminal and the first mobile terminal is calculated according to the detection request, and when the linear distance is detected to be smaller than or equal to the preset distance threshold, the data exchange between the first mobile terminal and the second mobile terminal is realized, the data packet exchange efficiency is improved, and the communication between users is convenient.

Description

Data exchange method based on ibeacon technology
Technical Field
The invention relates to the technical field of computers, in particular to a data exchange method based on ibeacon technology.
Background
Along with the development of modern science and technology, people's life is more convenient, and information transmission is more and more frequent, uses electronic equipment to add or share individual business card or data card through modes such as scanning two-dimensional code, click to link, input serial number each other, carries out the short-range transmission and is a convenient mode that people adopted. At present, mobile phones and mobile phones, that is, other digital devices transmit data through bluetooth specifications and the like, and there are two ways, one is a way requiring pairing and verification, and the other is temporary transmission. However, both of the two methods have complicated operations, and particularly in public places, it is difficult to find a counterpart to be transmitted in a device searching list, which is also caused by the current bluetooth transmission verification mechanism.
The existing scheme needs complicated checking mechanism or manual operation of a user, so that the use efficiency is influenced, and timely information exchange is not facilitated.
Disclosure of Invention
In view of this, the embodiment of the present invention provides a data exchange method based on ibeacon technology
An object of the present invention is to provide a data exchange method based on ibeacon technology, the method including:
configuring the first mobile terminal according to the ibeacon base station condition;
the first mobile terminal acquires a detection request of a second mobile terminal;
the first mobile terminal calculates the distance between the first mobile terminal and the second mobile terminal according to the detection request;
and when the distance is less than or equal to a preset distance threshold value, the first mobile terminal and the second mobile terminal perform data exchange.
Preferably, the data exchange between the first mobile terminal and the second mobile terminal includes:
the first mobile terminal sends first data to the second mobile terminal; or/and
and the first mobile terminal receives second data sent by the second mobile terminal.
Preferably, the obtaining, by the first mobile terminal, the probe request frame of the second mobile terminal includes:
and the first mobile terminal and the second mobile terminal establish a data exchange channel.
Preferably, after the first mobile terminal establishes a data exchange channel with the second mobile terminal, the method further includes:
the first mobile terminal sends a beacon frame to the second mobile terminal, and the target address of the beacon frame is the first mobile terminal, so that the second mobile terminal is associated with the first mobile terminal according to the beacon frame.
Preferably, the preset distance threshold is 0 to 100 centimeters.
Preferably, the preset distance threshold is 45 cm, 50 cm, 55 cm or 60 cm.
Preferably, the first data includes business card information.
Preferably, the sending, by the first mobile terminal, the first data to the second mobile terminal specifically includes:
the first mobile terminal automatically sends the first data to the second mobile terminal, or
And the first mobile terminal sends the first data to the second mobile terminal after authorization.
Preferably, after the first mobile terminal receives the second data sent by the second mobile terminal, the method further includes:
the first mobile terminal automatically stores the second data after receiving the second data, or
And the first mobile terminal stores or deletes the second data according to the selection of the user after receiving the second data.
According to the technical scheme, the embodiment of the invention has the following advantages:
the first mobile terminal is configured according to the ibeacon base station condition by using the ibeacon technology, the first base station acquires the detection request of the second mobile terminal, calculates the linear distance between the second mobile terminal and the first mobile terminal according to the detection request, and when the linear distance is detected to be smaller than or equal to a preset distance threshold value, data exchange between the first mobile terminal and the second mobile terminal is realized, the data packet exchange efficiency is improved, and communication between users is facilitated.
Drawings
Fig. 1 is a flowchart of an embodiment of a data exchange method based on ibeacon technology in the present invention;
fig. 2 is a flowchart of another embodiment of a data exchange method based on ibeacon technology in accordance with the present invention;
fig. 3 is a schematic diagram of an application scenario of the data exchange method based on the ibeacon technology in the present invention.
Detailed Description
The embodiment of the invention provides a data exchange method based on ibeacon technology, which is used for data packet exchange between short-distance mobile terminals, improves the data packet exchange efficiency and facilitates communication among users.
In order to make the technical solutions of the present invention better understood, 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.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, 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 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.
Referring to fig. 1, an embodiment of a data exchange method based on ibeacon technology provided in the present invention includes:
s101, configuring the first mobile terminal according to the ibeacon base station condition.
The first mobile terminal is configured as a first base station that can send beacon frames outwards, other mobile terminals can know the existence of the first base station through scanning, the first base station can be configured as a hotspot, and a GPRS (chinese: General Packet Radio Service) or 3G (chinese: 3rd Generation) signal received by the mobile terminal is converted into a wireless signal and then sent out, so that the mobile terminal becomes a wireless hotspot.
ibeacons is that the apple has promoted an accurate micro positioning technology based on bluetooth 4.0 on 2013's WWDC, and when your handheld device was close to a Beacon base station, the device just can sense the Beacon signal, and the scope can be from several millimeters to 50 meters. ibeacons does not require pairing, accuracy and distance compared to the original bluetooth technology. The common transmission distance of the common Bluetooth is 0.1-10 m, the ibeacon signals can be accurate to millimeter level, the maximum range can be supported to 50m, the power consumption is lower, signals sent by other ibeacon base stations in a certain range can be received through the ibeacon technical equipment, and meanwhile, the information of the current ibeacon base stations can be transmitted to other mobile terminals in a certain range.
It should be noted that, the first mobile terminal and the second mobile terminal herein may be mobile phones, tablet computers, etc., and the first mobile terminal and the second mobile terminal further have a storage module and a processing module, where the first data is stored in the storage module of the first mobile terminal, the second data is stored in the storage module of the second mobile terminal, the processing module operates the work of the mobile terminal, and is not limited specifically, and is installed with a module supporting bluetooth 4.0 technology, for example, a hardware added with bluetooth Beacon of Bright Beacon manufactured by Bright Beacon company, the hardware has a three-proofing standard, TI CC2541 bluetooth chip, CR2477 button cell and circuit voltage stabilizing chip, and in addition, the mobile phone or the tablet computer supporting bluetooth 4.0 technology may be an IOS device (iPhone4s and above, iPad third generation and above, iPad mini first generation and above, ipod touch fifth generation) supporting bluetooth 4.0 technology, Apple computers and android systems 4.3 versions and above (such as samsung Galaxy S3/S4/S4Mini, samsung Galaxy not 2/3, HTC One, Google/LGNexus 72013version/Nexus4/Nexus 5, HTC Butterfly, OnePlus One) supporting OS X Mavericks 10.9 operating system and Bluetooth 4.0, devices supporting Lumia Cyan and above update service Windows Phone can be flexibly selected according to requirements without limitation.
S102, the first mobile terminal obtains a detection request of a second mobile terminal.
The second mobile terminal may send a probe request to the surrounding environment at regular or irregular time, where the probe request may be a probe request frame to scan available wireless networks in the surrounding environment, the first mobile terminal may receive the probe request frame sent by the second mobile terminal after being configured as a first base station, and the first base station may respond to the probe request frame, and may enable the second mobile terminal to be associated with the first base station after authorization.
And S103, the first mobile terminal calculates a linear distance between the first mobile terminal and the second mobile terminal according to the detection request.
By utilizing the ibeacon micro-positioning technology, the first mobile terminal calculates the linear distance between the first mobile terminal and the second mobile terminal according to the detection request frame, and this way can be adopted, when the second mobile terminal is close to the first base station, the first base station can sense the Beacon frame, the range can be from several millimeters to 50 meters, the Beacon frame is processed to obtain the linear distance between the second mobile terminal and the first base station, certainly, the measurement calculation of the linear distance is specifically realized, and the ordinary skilled person in the art should understand that the description is omitted. .
And S104, when the straight-line distance is smaller than a preset distance threshold, the first mobile terminal and the second mobile terminal exchange data.
The data exchange between the first mobile terminal and the second mobile terminal may include the first mobile terminal sending first data to the second mobile terminal; or/and the first mobile terminal receives second data sent by the second mobile terminal, and transmits the data between the first mobile terminal and the second mobile terminal, specifically, the first mobile terminal sends first data to the second mobile terminal and receives second data sent by the second mobile terminal at the same time, or only the first mobile terminal receives second data sent by the second mobile terminal.
The first mobile terminal judges the calculated linear distance, when the linear distance is smaller than a preset distance threshold, the first mobile terminal sends first data positioned on the first mobile terminal to the second mobile terminal, the second mobile terminal can send second data to the first mobile terminal after receiving the first data of the first mobile terminal, of course, the first mobile terminal and the second mobile terminal can simultaneously send respective stored data to each other, and when the linear distance between the first mobile terminal and the second mobile terminal is detected to be smaller than the preset distance threshold, the first mobile terminal can inform the second mobile terminal of starting data exchange through messages when detecting that the linear distance between the first mobile terminal and the second mobile terminal is smaller than the preset distance threshold, the first mobile terminal can be configured according to actual needs, in addition, the distance of the preset distance threshold can also be set according to the actual needs, for example, in order to prevent misoperation or data disturbance, the value set by the distance threshold value can be reduced, so that the direct distance of the mobile terminal can reach the preset distance threshold value only when the distance is close to a certain range, data exchange with other mobile terminals in unconsciousness is avoided, the confidentiality degree of personal information can be improved, and privacy is prevented from being revealed.
In the data exchange method based on the ibeacon technology, the first mobile terminal is configured into the first base station by using the ibeacon technology, the first base station acquires the probe request frame of the second mobile terminal, the linear distance between the second mobile terminal and the first mobile terminal is calculated according to the probe request frame, and when the linear distance is detected to be smaller than or equal to the preset distance threshold, the data exchange between the first mobile terminal and the second mobile terminal is realized, the data packet exchange efficiency is improved, and the communication between users is facilitated.
Referring to fig. 2, another embodiment of the data exchange method based on ibeacon technology provided by the present invention includes:
s201, configuring the first mobile terminal according to the ibeacon base station condition.
S202, the first mobile terminal obtains a detection request frame of a second mobile terminal.
S203, the first mobile terminal and the second mobile terminal establish a data exchange channel.
The establishment of the data exchange channel facilitates data exchange when the linear distance between the mobile terminals reaches a preset distance threshold, and the data exchange channel transmits data by using a wireless network, which is understood by those skilled in the art and will not be described in detail.
S204, the first base station sends a beacon frame to the second mobile terminal, and the target address of the beacon frame is the first mobile terminal, so that the second mobile terminal is associated with the first base station according to the beacon frame.
The beacon frame sending is to respond to the received probe request frame of the second mobile terminal, the first base station configures the target address of the beacon frame into the first mobile terminal, and the second mobile terminal receives the beacon frame and is associated to the first mobile terminal according to the target address in the beacon frame.
And S205, the first mobile terminal calculates a linear distance between the first mobile terminal and the second mobile terminal according to the detection request frame.
S206, judging whether the straight line distance is smaller than or equal to a preset distance threshold value, and executing S207 if the straight line distance is smaller than or equal to the preset distance threshold value; otherwise, S205 is performed.
S207, the first mobile terminal sends first data to the second mobile terminal.
S208, the first mobile terminal receives second data sent by the second mobile terminal.
Aiming at the problem that a first mobile terminal sends first data to a second mobile terminal, the invention provides two implementation modes:
the first implementation manner is that when the linear distance between the first mobile terminal and the second mobile terminal reaches a preset distance threshold value, namely the linear distance is smaller than the preset distance threshold value, the first mobile terminal automatically sends the first data stored by the first mobile terminal to the second mobile terminal, so that a user does not need to perform corresponding operation, the program is relatively simple, and the exchange efficiency is improved.
The second implementation manner is that the first mobile terminal sends the first data to the second mobile terminal after authorization, the authorization method may be selected by the user at the first mobile terminal, and the confirmation may be operable, so that the mobile terminal may complete the operation of sending the first data to the second mobile terminal after the confirmation, of course, the authorization method may also adopt other manners, such as verifying a password, a fingerprint, and the like, to verify the user operation, which may improve the security of information and reduce the risk of privacy leakage.
The invention provides two implementation modes aiming at how a first mobile terminal receives second data of a second mobile terminal for operation:
the first implementation mode is that the first mobile terminal automatically stores the second data of the second mobile terminal after receiving the second data, and the first mobile terminal does not need to be confirmed by a user, so that the efficiency of receiving the data is improved, and the operation is simple.
The second implementation manner is that the first mobile terminal stores or deletes the second data according to the selection of the user after receiving the second data, and the user selection manner may be that the first mobile terminal prompts the user after receiving the second data, provides an option, for example, the storage determination or the deletion determination is performed, and the setting is performed according to the actual needs, and the specific limitation is not performed, so that the processing of the second data needs to be selected by the user, and thus, the operation can be more humanized, the unnecessary data can be processed in time, and the extra memory space of the mobile terminal is saved.
The distance threshold provided in the present invention can be set according to the requirement, for example, the preset distance threshold can be set to a value in the range of 0 to 100 cm,
preferably, the preset distance threshold is 45 cm, 50 cm, 55 cm or 60 cm, and the distance threshold is 50 cm for example, when the preset distance threshold is selected to be 50 cm, when the distance between the first mobile terminal and the second mobile terminal is less than or equal to 50 cm, data exchange can be performed, the distance threshold can also be set according to an actual situation, a value set by the distance threshold is reduced, a distance to be reached during data exchange is limited, and data missending under an unconscious situation is avoided, so that when data exchange is required, two mobile terminals are intentionally and actively approached to a certain extent, and the safety of information is improved; of course, the value of the distance threshold value can be set to be increased according to needs, the distance between the mobile terminals during data exchange is increased, the problem that data cannot be exchanged due to the fact that the distance is not easy to approach is solved, and the adaptability of data exchange occasions is improved.
Preferably, the data packet includes business card information, and the first data and the second data may be electronic business cards or other electronic files, and may be transmitted wirelessly, which is not limited thereto.
For the data exchange method between the first mobile terminal and the second mobile terminal, the receiving, by the first mobile terminal, the second data sent by the second mobile terminal may further include one of the following implementation manners:
the first mobile terminal and the second mobile terminal are both configured to be base stations and perform mutual detection, and when the distance between the first mobile terminal and the second mobile terminal reaches a preset distance threshold, the first mobile terminal and the second mobile terminal can both detect, and data exchange is achieved.
For the case that the second mobile terminal is configured as the second base station, the following description is specifically made:
the method for configuring the first mobile terminal as the first base station has been described above, and is not described herein again.
The second mobile terminal is configured as a second base station.
The configuration process and method are the same as the first mobile terminal, and are described herein in detail.
And the second mobile terminal acquires a second detection request frame of the first mobile terminal.
The first mobile terminal is itself configured to become the first base station and also takes into account the original functionality of the mobile terminal, i.e. the configuration of the first base station can be understood to be a function of the first mobile terminal, and the second mobile terminal is configured to become the second base station for the same reason. The first mobile terminal broadcasts a second detection request frame outwards to scan a wireless network of the surrounding environment, and the second mobile terminal acquires the first detection request frame and can respond to the second detection request frame.
And the second mobile terminal calculates the linear distance between the second mobile terminal and the first mobile terminal according to the second detection request frame.
The second mobile station may also calculate a linear distance between the first mobile station and the second mobile station according to the second probe request frame, which may be performed simultaneously with the calculation of the linear distance between the first mobile station and the second mobile station by the first mobile station, and then may cause the data to be simultaneously transmitted to the other party.
And when the linear distance is smaller than a preset distance threshold, the second mobile terminal sends second data to the first mobile terminal and receives the first data sent by the first mobile terminal.
In this embodiment, the second mobile terminal is configured according to the ibeacon base station condition, so that the distance between the two mobile terminals can be detected at the same time, and further, when the linear distance reaches a preset distance threshold, the data exchange can be performed at the same time, the data exchange efficiency is improved, and the operation time is saved.
Referring to fig. 3, an application scenario is provided below for the ibeacon technology-based data exchange method described above, taking a distance threshold of 50 cm and two mobile phones supporting bluetooth 4.0 technology as an example, so as to facilitate understanding of the present invention.
For the convenience of distinguishing, two mobile phones are respectively defined as a first mobile phone and a second mobile phone, the first mobile phone is configured according to an ibeacon base station, so that the first mobile phone has an ibeacon base station function, the second mobile phone sends a detection request frame outwards, a network around the second mobile phone is scanned, the first mobile phone receives the detection request frame of the second mobile phone, a response of an SSID (service set identifier) with the network of the first mobile phone is returned to the second mobile phone, so that the second mobile phone is associated to the base station of the first mobile phone, a distance between the second mobile phone and the first mobile phone can be obtained through an ibeacon micro-positioning technology, the first mobile phone compares the distance with a distance threshold, when the distance is less than or equal to 50 cm, the first mobile phone sends business card information to the second mobile phone to complete data exchange, through the ibeacon micro-positioning technology, a distance value can be detected, and further, when a straight-line distance reaches a preset distance threshold, the data exchange can be simultaneously carried out, the data exchange efficiency is improved, and the operation time is saved. The following describes a data exchange method based on ibeacon technology among a plurality of mobile terminals, and data exchange among three mobile terminals is taken as an example to describe:
for convenience of understanding, the step-by-step explanation includes the first mobile terminal, the second mobile terminal and the third mobile terminal in the embodiment.
The first part realizes data exchange between the first mobile terminal and the second mobile terminal and between the first mobile terminal and the third mobile terminal respectively
Configuring the first mobile terminal as a first base station;
the first mobile terminal acquires a detection request frame of a second mobile terminal;
the first mobile terminal acquires a detection request frame of a third mobile terminal;
the first mobile terminal calculates a first linear distance between the first mobile terminal and the second mobile terminal according to the detection request frame;
the first mobile terminal calculates a second linear distance between the first mobile terminal and the third mobile terminal according to the detection request frame;
when the first linear distance is smaller than a preset distance threshold, the first mobile terminal sends first data to the second mobile terminal and receives second data sent by the second mobile terminal.
And when the second straight-line distance is smaller than a preset distance threshold, the first mobile terminal sends first data to the third mobile terminal and the first mobile terminal receives third data sent by the third mobile terminal.
And the second part is used for realizing data exchange between the second mobile terminal and the third mobile terminal.
Configuring the second mobile terminal as a second base station;
the second mobile terminal acquires a detection request frame of a third mobile terminal;
the second mobile terminal calculates a third linear distance with the third mobile terminal according to the detection request frame;
and when the third straight-line distance is smaller than a preset distance threshold, the second mobile terminal sends second data to the third mobile terminal, and the second mobile terminal receives third data sent by the third mobile terminal.
It should be noted that, in this embodiment, the contents of the first part and the second part may be performed simultaneously, that is, there is no time sequence, and the data exchange is completed simultaneously, so that the time is saved, and the data exchange efficiency is improved.
In the data exchange method based on the ibeacon technology, the ibeacon technology is utilized, the linear distance between the mobile terminals is calculated according to the detection request frame, and when the linear distance is detected to be smaller than or equal to the preset distance threshold, the data exchange between the mobile terminals is realized, the data packet exchange efficiency is improved, and the communication between users is facilitated.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, or the like.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware that is instructed to implement by a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
While the ibeacon technology-based data exchange method provided by the present invention has been described in detail, for a person skilled in the art, the idea of the embodiment of the present invention may be changed in the specific implementation manner and the application scope, and in summary, the content of the present description should not be construed as a limitation to the present invention.

Claims (8)

1. A data exchange method based on ibeacon technology, characterized in that the method comprises:
configuring a first mobile terminal and a second mobile terminal according to the ibeacon base station condition;
the method comprises the steps that a first mobile terminal obtains a detection request frame of a second mobile terminal, a data exchange channel is established between the first mobile terminal and the second mobile terminal, the data exchange channel is established so that data exchange can be carried out when the linear distance between the mobile terminals reaches a preset distance threshold value, the first mobile terminal sends a beacon frame to the second mobile terminal, and the target address of the beacon frame is the first mobile terminal, so that the second mobile terminal is related to the first mobile terminal according to the beacon frame;
the second mobile terminal acquires a second detection request frame of the first mobile terminal;
the first mobile terminal calculates a first distance between the first mobile terminal and the second mobile terminal according to the probe request frame by combining an ibeacon micro-positioning technology;
the second mobile terminal calculates a second distance from the first mobile terminal according to the second detection request frame;
when the first distance is smaller than or equal to a preset distance threshold value, the first mobile terminal automatically sends first data stored by the first mobile terminal to a second mobile terminal;
and when the second distance is smaller than or equal to a preset distance threshold, the second mobile terminal automatically sends the second data stored by the second mobile terminal to the first mobile terminal.
2. The method of claim 1, wherein the data exchange between the first mobile terminal and the second mobile terminal comprises:
the first mobile terminal sends first data to the second mobile terminal; or/and
and the first mobile terminal receives second data sent by the second mobile terminal.
3. The method of claim 1, wherein the preset distance threshold is 0 to 100 centimeters.
4. The method of claim 3, wherein the preset distance threshold is 45 centimeters, 50 centimeters, 55 centimeters, or 60 centimeters.
5. The method of claim 2, wherein the first data includes business card information.
6. The method according to claim 2, wherein the sending, by the first mobile terminal, the first data to the second mobile terminal specifically includes:
the first mobile terminal automatically sends the first data to the second mobile terminal, or
And the first mobile terminal sends the first data to the second mobile terminal after authorization.
7. The method according to claim 2, wherein after the first mobile terminal receives the second data sent by the second mobile terminal, the method further comprises:
the first mobile terminal automatically stores the second data after receiving the second data, or
And the first mobile terminal stores or deletes the second data according to the selection of the user after receiving the second data.
8. A storage medium having stored therein computer-executable instructions, which when loaded and executed by a processor, implement a method for data exchange based on ibeacon technology as claimed in any one of claims 1 to 7.
CN201410712535.1A 2014-11-28 2014-11-28 Data exchange method based on ibeacon technology Active CN105704642B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410712535.1A CN105704642B (en) 2014-11-28 2014-11-28 Data exchange method based on ibeacon technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410712535.1A CN105704642B (en) 2014-11-28 2014-11-28 Data exchange method based on ibeacon technology

Publications (2)

Publication Number Publication Date
CN105704642A CN105704642A (en) 2016-06-22
CN105704642B true CN105704642B (en) 2020-09-08

Family

ID=56230491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410712535.1A Active CN105704642B (en) 2014-11-28 2014-11-28 Data exchange method based on ibeacon technology

Country Status (1)

Country Link
CN (1) CN105704642B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276639B (en) * 2017-06-12 2021-06-25 上海金念信息技术有限公司 Bluetooth near field data communication circuit board for IOS mobile terminal and communication method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365957A (en) * 2012-04-25 2013-10-23 微软公司 Photo sharing based on proximity and connection
CN103929297A (en) * 2014-04-17 2014-07-16 福建联迪商用设备有限公司 Communication method, encryption method and device for POS and mobile terminal and POS
CN104077169A (en) * 2014-07-21 2014-10-01 北京深思数盾科技有限公司 BLE (Bluetooth Low Energy) device, information safety device and automatic start-up method of application program
CN104158568A (en) * 2014-07-09 2014-11-19 惠州Tcl移动通信有限公司 Information sharing method and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130225078A1 (en) * 2012-02-24 2013-08-29 Karl-Anders Reinhold JOHANSSON Method and apparatus for interconnected devices
CN104105218B (en) * 2014-07-25 2017-12-12 Tcl通讯(宁波)有限公司 Android system mobile phone focus WPS connection realization method and systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365957A (en) * 2012-04-25 2013-10-23 微软公司 Photo sharing based on proximity and connection
CN103929297A (en) * 2014-04-17 2014-07-16 福建联迪商用设备有限公司 Communication method, encryption method and device for POS and mobile terminal and POS
CN104158568A (en) * 2014-07-09 2014-11-19 惠州Tcl移动通信有限公司 Information sharing method and terminal
CN104077169A (en) * 2014-07-21 2014-10-01 北京深思数盾科技有限公司 BLE (Bluetooth Low Energy) device, information safety device and automatic start-up method of application program

Also Published As

Publication number Publication date
CN105704642A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN104349423B (en) From the method, system and device of the WLAN (wireless local area network) that is dynamically connected
CN104967997B (en) A kind of Wi-Fi cut-in method, Wi-Fi equipment, terminal device and system
US9615257B2 (en) Data integrity for proximity-based communication
KR102279422B1 (en) Wi-Fi hotspot connection method and terminal
CN109074443B (en) Unlocking method and device
US20140141750A1 (en) Data integrity for proximity-based communication
CN105263142A (en) Method and device for identifying pseudo base station
CN102883449A (en) Method, related terminals and system for implementing data sharing
US10178223B1 (en) Fraudulent subscriber identity module (SIM) swap detection
CN103501482A (en) Network access method, network access device and terminal
KR102374740B1 (en) Electronic apparatus and Method for operating bidirectional communication in the Electronic apparatus
CN104392500A (en) Checking-in method
KR101808217B1 (en) Wireless access method and relevant device and system
CN106664296B (en) Seamless peer-to-peer internet connectivity
CN104346838A (en) Terminal and system
CN105594292B (en) Method for establishing network connection through WPS and mobile Wi-Fi device
CN106413032B (en) Hotspot establishing method and terminal equipment
JP2017520207A (en) Information transmission method, apparatus and system
US20160249162A1 (en) Communication device and communication method
CN105704642B (en) Data exchange method based on ibeacon technology
MX2015006136A (en) Apparatus and methods for anonymous paired device discovery in wireless communications systems.
CN108605207B (en) Call record synchronization method, cloud platform and terminal
EP2887731B1 (en) Acquiring neighbour cell information
KR102025363B1 (en) Portable Terminal
EP2654354B1 (en) Providing a current position while reducing an overall power consumption

Legal Events

Date Code Title Description
C06 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