CN104601207A - Data transmission method, user terminal and system - Google Patents

Data transmission method, user terminal and system Download PDF

Info

Publication number
CN104601207A
CN104601207A CN201410746659.1A CN201410746659A CN104601207A CN 104601207 A CN104601207 A CN 104601207A CN 201410746659 A CN201410746659 A CN 201410746659A CN 104601207 A CN104601207 A CN 104601207A
Authority
CN
China
Prior art keywords
bluetooth equipment
distance
data
user terminal
described bluetooth
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.)
Granted
Application number
CN201410746659.1A
Other languages
Chinese (zh)
Other versions
CN104601207B (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.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Shenzhen Tencent Computer Systems 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 Tencent Computer Systems Co Ltd filed Critical Shenzhen Tencent Computer Systems Co Ltd
Priority to CN201410746659.1A priority Critical patent/CN104601207B/en
Publication of CN104601207A publication Critical patent/CN104601207A/en
Application granted granted Critical
Publication of CN104601207B publication Critical patent/CN104601207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a data transmission method, a device and a system. The method includes the steps: receiving Bluetooth signals broadcasted by a Bluetooth device; determining the distance between a user terminal and the Bluetooth device according to the Bluetooth signals; connecting the user terminal with the Bluetooth device when the distance between the user terminal and the Bluetooth device reaches a first preset threshold value; transmitting data to the Bluetooth device based on connection. Before the user terminal is connected with the Bluetooth device, the distance between the user terminal and the Bluetooth device is detected, pairing connection operation is automatically performed when the distance reaches the first preset threshold value, a data transmission request is transmitted after pairing, the data are transmitted, transaction is finished, data transmission time is integrally shortened, and data processing efficiency is improved.

Description

A kind of data transmission method, user terminal and system
Technical field
The invention belongs to communication technical field, particularly relate to a kind of data transmission method, user terminal and system.
Background technology
Along with developing rapidly of computer and Internet technology, terminal obtains universal and development quite widely, and therefore, the function of terminal support also gets more and more.
For example, user uses mobile terminal (as mobile phone) by carrying out offline electronic payment, and that is, user uses its mobile phone to consumed commodity or service is logical carries out account offline electronic payment, to meet the demand of user.Comparatively common mobile phone offline electronic payment is wireless near field communication (NFC at present, Near FieldCommunication) transaction of swiping the card, mobile phone is set up standby (as POS (Point of sales) machine etc.) to initiate transaction near receiving by user, thus can by being integrated in NFC chip in mobile phone and POS connects and concludes the business.
To in the research and practice process of prior art, the present inventor finds, just start to attempt when payment transaction initiated by mobile phone mobile phone and receipts set up between pairing attended operation, just can carry out transfer of data and complete transaction after having matched, thus cause overall payment flow consuming time longer, user can be caused to queue up, and efficiency is lower.
Summary of the invention
The object of the present invention is to provide a kind of data transmission method, user terminal and system, shorten the time of transfer of data, improve the efficiency of data processing.
For solving the problems of the technologies described above, the embodiment of the present invention provides following technical scheme:
A kind of data transmission method, wherein said method comprises:
Receive the Bluetooth signal of bluetooth equipment broadcast;
The distance between described bluetooth equipment is determined according to described Bluetooth signal;
When determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, connect with described bluetooth equipment;
Transfer of data is carried out based on described connection and described bluetooth equipment.
For solving the problems of the technologies described above, the embodiment of the present invention provides following technical scheme:
A kind of data transmission terminal, wherein said terminal comprises:
Receiver module, for receiving the Bluetooth signal of bluetooth equipment broadcast;
Determination module, for determining the distance between described bluetooth equipment according to described Bluetooth signal;
Connection establishment module, for when determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, connects with described bluetooth equipment;
Transmission control module, for carrying out transfer of data based on described connection and described bluetooth equipment.
A kind of data transmission system, wherein said system comprises bluetooth equipment and user terminal;
Described user terminal is used for: the Bluetooth signal receiving bluetooth equipment broadcast; The distance between described bluetooth equipment is determined according to described Bluetooth signal; When determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, connect with described bluetooth equipment; Transfer of data is carried out based on described connection and described bluetooth equipment.
Relative to prior art, in the present embodiment, user terminal receives the Bluetooth signal of bluetooth equipment broadcast; And determine the distance between bluetooth equipment according to Bluetooth signal; When determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, user terminal and bluetooth equipment connect; Thereafter transfer of data is carried out based on this connection and bluetooth equipment.The present invention is before user terminal is connected with bluetooth equipment, first distance is between the two detected, automatically pairing attended operation is carried out when distance reaches the first predetermined threshold value, the request (as payment transaction) initiating transfer of data after having matched again is then carried out transfer of data and completes transaction, thus shorten the time of transfer of data on the whole, improve the efficiency of data processing.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, by the specific embodiment of the present invention describe in detail, will make technical scheme of the present invention and other beneficial effect apparent.
Fig. 1 is the schematic flow sheet of the data transmission method that first embodiment of the invention provides;
The schematic flow sheet of the data transmission method that Fig. 2 provides for second embodiment of the invention;
The structural representation of the user terminal that Fig. 3 provides for third embodiment of the invention;
The structural representation of the user terminal that Fig. 4 provides for fourth embodiment of the invention;
The structural representation of the terminal that Fig. 5 provides for fifth embodiment of the invention;
Fig. 6 is the structural representation of the data transmission system that sixth embodiment of the invention provides;
Fig. 7 is the scene schematic diagram of the data transmission system that seventh embodiment of the invention provides.
Embodiment
Please refer to graphic, wherein identical element numbers represents identical assembly, and principle of the present invention implements to illustrate in a suitable computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should not be regarded as limiting the present invention not at other specific embodiment that this describes in detail.
In the following description, specific embodiments of the invention illustrate, unless otherwise stating clearly with reference to the step performed by or multi-section computer and symbol.Therefore, these steps and operation will have to mention for several times and performed by computer, and computer execution as referred to herein includes by representing with the operation of the computer processing unit of the electronic signal of the data in a structuring pattern.These data of this operation transformation or the position maintained in the memory system of this computer, its reconfigurable or other running changing this computer in the mode known by the tester of this area.The data structure that these data maintain is the provider location of this internal memory, and it has the particular characteristics defined by this data format.But the principle of the invention illustrates with above-mentioned word, it is not represented as a kind of restriction, and this area tester can recognize that the plurality of step of the following stated and operation also may be implemented in the middle of hardware.
Principle of the present invention uses other wide usages many or specific purpose computing, communication environment or configuration to operate.The known example being suitable for arithmetic system of the present invention, environment and configuration can include, but is not limited to cell-phone, personal computer, server, multicomputer system, microcomputer are system, body frame configuration computer and the distributed computing environment led, which includes any said system or device.
Term as used herein " module " can regard the software object as performing in this arithmetic system as.Different assembly as herein described, module, engine and service can be regarded as the objective for implementation in this arithmetic system.And device and method as herein described is preferably implemented in the mode of software, certainly also can implement on hardware, all within scope.
And word used herein " preferably " means to be used as example, example or illustration.Any aspect that Feng Wen is described as " preferably " or design need not be interpreted as than other aspects or design more favourable.On the contrary, the use of word " preferably " is intended to propose concept in a concrete fashion.Term "or" as used in this application is intended to the "or" that means to comprise and the "or" of non-excluded.That is, unless otherwise or clear from the context, " X uses A or B " means any one that nature comprises arrangement.That is, if X uses A; X uses B; Or X uses both A and B, then " X uses A or B " is met in aforementioned arbitrary example.
And although illustrate and describe the disclosure relative to one or more implementation, those skilled in the art are based on to the reading of this specification and accompanying drawing with understand and will expect equivalent variations and amendment.The disclosure comprises all such amendments and modification, and is only limited by the scope of claims.Especially about the various functions performed by said modules (such as element, resource etc.), term for describing such assembly is intended to the random component (unless otherwise instructed) corresponding to the appointed function (such as it is functionally of equal value) performing described assembly, even if be not structurally equal to the open structure of the function performed in exemplary implementations of the present disclosure shown in this article.In addition, although special characteristic of the present disclosure relative in some implementations only one be disclosed, this feature can with can be such as expect and other Feature Combinations one or more of other favourable implementations for given or application-specific.And, " comprise " with regard to term, " having ", " containing " or its distortion be used in embodiment or claim with regard to, such term is intended to comprise " to comprise " similar mode to term.
First embodiment
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the data transmission method that first embodiment of the invention provides.Described method step comprises:
In step S101, receive the Bluetooth signal of bluetooth equipment broadcast.
Wherein, the executive agent of described data transmission method can be a user terminal, described user terminal can by portable, possess storage element and microprocessor be installed and the terminating machine with operational capability is formed, and described user terminal possesses short-range communication function (as bluetooth).
In the present embodiment, described user terminal can by low-power consumption bluetooth (BLE under off-line state, Bluetooth low energy) technology and service terminal (as bluetooth equipment) complete the transmission of message data, described user terminal can be tablet personal computer (PC, personal computer), mobile phone etc., the present invention does not do concrete restriction to this.
Be understandable that, carry out the mutual bluetooth equipment of transfer of data with described user terminal and can think a service terminal, in this embodiment, same, described bluetooth equipment completes the transmission of message data under off-line state by low-power consumption bluetooth BLE technology and user terminal, thus offline electronic payment can be carried out, transfer accounts, refund etc.
In embodiments of the present invention, described bluetooth equipment make use of Bluetooth signal transmission that Beacon (beacon) technology broadcasted to 50m distance far away, and the user terminal in this transmission range can receive described Bluetooth signal thus can realize location; And described bluetooth equipment can realize carrying out short time small data transmission by Bluetooth Low Energy agreement BLE, be characterized in that power consumption is very low, and the speed connected is faster, thus greatly shortens data transmission period.
Further, the receipts that bluetooth equipment described in the present embodiment can be specially bluetooth enable set up standby, as the Cash collecting equipment etc. of POS (the Point of sales) machine in market, the cash register in public transport, subway gateway can be specifically applied to, concrete restriction is not done to it herein.
It should be noted that, data transmission method provided by the invention can realize based on the mode of the close range communication techniques such as bluetooth, infrared, sound wave, is only described this thought for bluetooth herein, does not form limitation of the invention.
In step s 102, the distance between described bluetooth equipment is determined according to described Bluetooth signal.
In step s 103, when determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, connect with described bluetooth equipment.
In step S104, carry out transfer of data based on described connection and described bluetooth equipment.
Be understandable that, described step S102 to step S104 can specifically comprise:
In the embodiment of the present invention, described user terminal, after receiving described Bluetooth signal, before connecting with described bluetooth equipment, first determines the distance between itself and described bluetooth equipment according to the Bluetooth signal received.
Namely the connection of setting up between the two is determined whether according to the distance between described user terminal and bluetooth equipment, in this embodiment, when the distance that described user terminal is determined between itself and described bluetooth equipment reaches the first predetermined threshold value, trigger Bluetooth matches, and carries out with described bluetooth equipment the operation that connects.
Upon establishment of a connection, user terminal and bluetooth equipment can carry out transfer of data based on this connection, due to before data is transmitted, carry out from being dynamically connected in advance according to distance between user terminal and bluetooth equipment, namely the operation triggering transfer of data between the two based on data transfer request etc. is first connected in advance, after described bluetooth equipment receives described data transfer request, data batchmove process is carried out (as paid according to described data transfer request, transfer accounts, refund), due to automatically to connect in advance, therefore user terminal and bluetooth equipment actual time of carrying out data processing can be reduced further, also improve Consumer's Experience simultaneously.
From the above, in the present embodiment, user terminal receives the Bluetooth signal of bluetooth equipment broadcast; And determine the distance between bluetooth equipment according to Bluetooth signal; When determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, user terminal and bluetooth equipment connect; Thereafter transfer of data is carried out based on this connection and bluetooth equipment.The present invention is before user terminal is connected with bluetooth equipment, first distance is between the two detected, automatically pairing attended operation is carried out when distance reaches the first predetermined threshold value, the request (as payment transaction) initiating transfer of data after having matched again is then carried out transfer of data and completes transaction, thus shorten the time of transfer of data on the whole, improve the efficiency of data processing.
Second embodiment
Refer to Fig. 2, the schematic flow sheet of the data transmission method that Fig. 2 provides for second embodiment of the invention.Wherein, data transmission method provided by the invention can realize based on the mode of the close range communication techniques such as bluetooth, infrared, sound wave, is only described this thought for bluetooth herein, does not form limitation of the invention.
In this embodiment, described method step comprises:
In step s 201, the Bluetooth signal of bluetooth equipment broadcast is received;
In the present embodiment, the executive agent of described data transmission method can be a user terminal, described user terminal can by portable, possess storage element and microprocessor be installed and the terminating machine with operational capability is formed, and described user terminal possesses short-range communication function (as bluetooth).
Described user terminal can complete the transmission of message data under off-line state by low-power consumption bluetooth BLE technology and service terminal (as bluetooth equipment), described user terminal can be tablet personal computer PC, mobile phones etc., the present invention does not do concrete restriction to this.
Corresponding, carry out the mutual bluetooth equipment of transfer of data with described user terminal and can think a service terminal, same, described bluetooth equipment completes the transmission of message data under off-line state by low-power consumption bluetooth BLE technology and user terminal, thus offline electronic payment can be carried out, transfer accounts, refund etc.
Further, described bluetooth equipment can set up standby for the receipts of bluetooth enable, as being specifically applied to the Cash collecting equipment etc. of the POS in market, the cash register in public transport, subway gateway, does not do concrete restriction herein to it.
Be understandable that, described bluetooth equipment broadcasts Bluetooth signal within the time interval of presetting, and make use of Bluetooth signal transmission that Beacon (beacon) technology broadcasted to 50m distance far away, user terminal in this transmission range can receive described Bluetooth signal, and as wake source, trigger it and perform follow-up operation; Wherein, the Bluetooth signal of Beacon broadcast also carries the identity information of corresponding bluetooth equipment.
In step S202, detect the power level of described Bluetooth signal;
In step S203, obtain the rated power information of described bluetooth equipment;
In step S204, determine the distance between described bluetooth equipment according to described power level and described rated power information.
In step S205, when determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, determine corresponding bluetooth equipment according to described Bluetooth signal, and connect with described bluetooth equipment.
Be understandable that, described step S202 to step S205 can specifically comprise:
Wherein, step S202 to step S204 is a kind of optimal way that described user terminal detects itself and described bluetooth equipment, concrete, because described bluetooth equipment outwards launches Bluetooth signal with a specified power, and the power level of described Bluetooth signal reduces gradually along with the increase of distance, and there is linear relationship, so user terminal is according to the comparison between the performance number of the Bluetooth signal detected somewhere and the power-handling capability of described bluetooth equipment, the distance herein between distance bluetooth equipment can be calculated.
Utilize this principle, the performance number of the Bluetooth signal received according to user terminal in the present embodiment estimates the distance between itself and bluetooth equipment, and the operation preset is performed in corresponding distance, like this before user terminal starts performing data transmission, user terminal and bluetooth equipment is made to have carried out the pairing of bluetooth and establish the link in advance, greatly reduce user awareness to data processing time (as swipe the card transaction etc.), improve Consumer's Experience simultaneously.
Be understandable that, in some embodiments, the rated power of described bluetooth equipment can be carried in described Bluetooth signal, thus user terminal can obtain described rated power; In some embodiments, user terminal, when getting Bluetooth signal, corresponding can get the facility information of corresponding bluetooth equipment, comprise identity information and rated power information etc., illustrate herein and do not form limitation of the invention.
When the distance that user terminal is determined between itself and described bluetooth equipment reaches the first predetermined threshold value, the bluetooth equipment identity information that can carry according to Bluetooth signal determines corresponding bluetooth equipment, thus initiate the request of setting up, to connect with described bluetooth equipment.
Wherein, described first predetermined threshold value can prestore in the user terminal, can arrange according to concrete application scenarios, is not construed as limiting this concrete value herein.
In step S206, when determining that the distance between described bluetooth equipment reaches described second predetermined threshold value, connect based on described the data processing request receiving user and trigger;
In step S207, described data processing request is sent to described bluetooth equipment, carries out data processing to make described bluetooth equipment according to described data transfer request.
Be understandable that, described step S206 and step S207 can specifically comprise:
In the embodiment of the present invention, described user terminal, after receiving described Bluetooth signal, before connecting with described bluetooth equipment, first determines the distance between itself and described bluetooth equipment according to the Bluetooth signal received.
Namely the connection of setting up between the two is determined whether according to the distance between described user terminal and bluetooth equipment, in this embodiment, when the distance that described user terminal is determined between itself and described bluetooth equipment reaches the first predetermined threshold value, trigger Bluetooth matches, and carries out with described bluetooth equipment the operation that connects.
Upon establishment of a connection, user terminal is further adjusted the distance and is judged, carries out transfer of data to trigger with described bluetooth equipment; In this embodiment when determining that the distance between described bluetooth equipment reaches described second predetermined threshold value, connect based on described the data processing request receiving user and trigger, described bluetooth equipment carries out data processing according to described data transfer request thereafter.
For convenience of describing, in the embodiment of the present invention, to judge whether to carry out Bluetooth pairing and the distance reference value that connects is referred to as the first predetermined threshold value, after setting up bluetooth connection, to judge whether that the distance reference value of carrying out transfer of data is referred to as the second predetermined threshold value, described first predetermined threshold value is greater than described second predetermined threshold value, and the value size that " first ", " second " are only reference value of adjusting the distance herein is distinguished, and does not form limitation of the invention.
Be understandable that, due to before data is transmitted, carry out from being dynamically connected in advance according to distance between user terminal and bluetooth equipment, namely the operation triggering transfer of data between the two based on data transfer request etc. is first connected in advance, after described bluetooth equipment receives described data transfer request, data batchmove process is carried out (as paid according to described data transfer request, transfer accounts, refund), due to automatically to connect in advance, therefore user terminal and bluetooth equipment actual time of carrying out data processing can be reduced further, also improve Consumer's Experience simultaneously.
Another it is contemplated that in the present embodiment, the data of request process are all be encrypted by asymmetric encryption, namely utilize public-key cryptography (publickey) and private cipher key (privatekey) to carry out data encryption.Wherein public-key cryptography and private cipher key are a pair, if be encrypted data with public-key cryptography, only had and could decipher with corresponding private cipher key; If be encrypted data with private cipher key, so only had and could decipher with corresponding public-key cryptography, obtain larger guarantee to make the fail safe of data batchmove (as paid, transferring accounts, refund etc.).
From the above, in the present embodiment, user terminal receives the Bluetooth signal of bluetooth equipment broadcast; And determine the distance between bluetooth equipment according to Bluetooth signal; When determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, user terminal and bluetooth equipment connect; Thereafter transfer of data is carried out based on this connection and bluetooth equipment.The present invention is before user terminal is connected with bluetooth equipment, first distance is between the two detected, automatically pairing attended operation is carried out when distance reaches the first predetermined threshold value, after having matched, further, when distance reaches the second predetermined threshold value, the request (as payment transaction) initiating transfer of data is more then carried out transfer of data and completes transaction, namely the operation of pairing connection and the operation of transfer of data is triggered respectively by the judgement of twice distance, thus the time of transfer of data can be shortened on the whole, improve the efficiency of data processing.
3rd embodiment
For ease of better implementing the data transmission method that the embodiment of the present invention provides, the user terminal that the embodiment of the present invention also provides a kind of and above-mentioned data transmission method corresponding.Wherein the implication of noun is identical with above-mentioned data transmission method, and specific implementation details can explanation in reference method embodiment.
Refer to Fig. 3, the structural representation of the user terminal that Fig. 3 provides for third embodiment of the invention, wherein said user terminal comprises: receiver module 301, determination module 302, connection establishment module 303 and transmission control module 304.
Wherein said receiver module 301, for receiving the Bluetooth signal of bluetooth equipment broadcast;
In this embodiment, described user terminal can by portable, possess storage element and microprocessor be installed and the terminating machine with operational capability is formed, and described user terminal possesses short-range communication function (as bluetooth).
Described user terminal can complete the transmission of message data under off-line state by low-power consumption bluetooth BLE technology and service terminal (as bluetooth equipment), described user terminal can be tablet personal computer PC, mobile phone etc., and the present invention does not do concrete restriction to this.
Be understandable that, carry out the mutual bluetooth equipment of transfer of data with described user terminal and can think a service terminal, in this embodiment, same, described bluetooth equipment completes the transmission of message data under off-line state by low-power consumption bluetooth BLE technology and user terminal, thus offline electronic payment can be carried out, transfer accounts, refund etc.
Described bluetooth equipment make use of Bluetooth signal transmission that Beacon (beacon) technology broadcasted to 50m distance far away, and the user terminal in this transmission range can receive described Bluetooth signal, thus can realize location; Further, described bluetooth equipment can realize carrying out short time small data transmission by Bluetooth Low Energy agreement BLE, is characterized in that power consumption is very low, and the speed connected is faster, thus greatly shortens data transmission period.
Further, the receipts that bluetooth equipment described in the present embodiment can be specially bluetooth enable set up standby, as being specifically applied to the Cash collecting equipment etc. of the POS in market, the cash register in public transport, subway gateway, do not do concrete restriction herein to it.
It should be noted that, data transmission method provided by the invention can realize based on the mode of the close range communication techniques such as bluetooth, infrared, sound wave, is only described this thought for bluetooth herein, does not form limitation of the invention.
Described determination module 302, for determining the distance between described bluetooth equipment according to described Bluetooth signal; Described connection establishment module 303, for when determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, connects with described bluetooth equipment; Described transmission control module 304, for carrying out transfer of data based on described connection and described bluetooth equipment.
In the embodiment of the present invention, described user terminal, after receiving described Bluetooth signal, before connecting with described bluetooth equipment, first determines the distance between itself and described bluetooth equipment according to the Bluetooth signal received.
Namely the connection of setting up between the two is determined whether according to the distance between described user terminal and bluetooth equipment, in this embodiment, when the distance that described user terminal is determined between itself and described bluetooth equipment reaches the first predetermined threshold value, trigger Bluetooth matches, and carries out with described bluetooth equipment the operation that connects.
Upon establishment of a connection, user terminal and bluetooth equipment can carry out transfer of data based on this connection, due to before data is transmitted, carry out from being dynamically connected in advance according to distance between user terminal and bluetooth equipment, namely the operation triggering transfer of data between the two based on data transfer request etc. is first connected in advance, after described bluetooth equipment receives described data transfer request, data batchmove process is carried out (as paid according to described data transfer request, transfer accounts, refund), due to automatically to connect in advance, therefore user terminal and bluetooth equipment actual time of carrying out data processing can be reduced further, also improve Consumer's Experience simultaneously.
From the above, the user terminal provided in the present embodiment, receives the Bluetooth signal of bluetooth equipment broadcast; And determine the distance between bluetooth equipment according to Bluetooth signal; When determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, user terminal and bluetooth equipment connect; Thereafter transfer of data is carried out based on this connection and bluetooth equipment.The present invention is before user terminal is connected with bluetooth equipment, first distance is between the two detected, automatically pairing attended operation is carried out when distance reaches the first predetermined threshold value, the request (as payment transaction) initiating transfer of data after having matched again is then carried out transfer of data and completes transaction, thus shorten the time of transfer of data on the whole, improve the efficiency of data processing.
4th embodiment
Refer to Fig. 4, the structural representation of the user terminal that Fig. 4 provides for fourth embodiment of the invention.
It should be noted that, user terminal provided by the invention can carry out transfer of data based on the mode of the close range communication techniques such as bluetooth, infrared, sound wave, is only described this thought for bluetooth herein, does not form limitation of the invention.
Described user terminal can by portable, possess storage element and microprocessor be installed and the terminating machine with operational capability is formed, and described user terminal possesses short-range communication function (as bluetooth); Described user terminal can complete the transmission of message data under off-line state by low-power consumption bluetooth BLE technology and service terminal (as bluetooth equipment), described user terminal can be tablet personal computer PC, mobile phones etc., the present invention does not do concrete restriction to this.
Wherein said user terminal comprises: receiver module 401, determination module 402, connection establishment module 403 and transmission control module 404, be understandable that, in this embodiment, the function of above-mentioned each functional module may correspond to the associated description with reference to receiver module 301, determination module 302, connection establishment module 303 and the transmission control module 304 in the 3rd embodiment, does not repeat herein.
Be understandable that, described bluetooth equipment broadcasts Bluetooth signal within the time interval of presetting, and make use of Bluetooth signal transmission that Beacon (beacon) technology broadcasted to 50m distance far away, user terminal in this transmission range can receive described Bluetooth signal, and as wake source, trigger it and perform follow-up operation; Wherein, the Bluetooth signal of Beacon broadcast also carries the identity information of corresponding bluetooth equipment.
Described bluetooth equipment can think a service terminal, same, and described bluetooth equipment completes the transmission of message data under off-line state by low-power consumption bluetooth BLE technology and user terminal, thus offline electronic payment can be carried out, transfer accounts, refund etc.
Further, described bluetooth equipment can set up standby for the receipts of bluetooth enable, as being specifically applied to the Cash collecting equipment etc. of the POS in market, the cash register in public transport, subway gateway, does not do concrete restriction herein to it.
Further, in the present embodiment, described determination module 402 comprises: detecting unit 4021, acquiring unit 4022 and determining unit 4023.
Wherein said detecting unit 4021, for detecting the power level of described Bluetooth signal; Described acquiring unit 4022, for obtaining the rated power information of described bluetooth equipment; Described determining unit 4023, for determining the distance between described bluetooth equipment according to described power level and described rated power information.
In this embodiment, because described bluetooth equipment outwards launches Bluetooth signal with a specified power, and the power level of described Bluetooth signal reduces gradually along with the increase of distance, and there is linear relationship, so user terminal is according to the comparison between the performance number of the Bluetooth signal detected somewhere and the power-handling capability of described bluetooth equipment, the distance herein between distance bluetooth equipment can be calculated.
Utilize this principle, the performance number of the Bluetooth signal received according to user terminal in the present embodiment estimates the distance between itself and bluetooth equipment, and the operation preset is performed in corresponding distance, like this before user terminal starts performing data transmission, user terminal and bluetooth equipment is made to have carried out the pairing of bluetooth and establish the link in advance, greatly reduce user awareness to data processing time (as swipe the card transaction etc.), improve Consumer's Experience simultaneously.
Be understandable that, in some embodiments, the rated power of described bluetooth equipment can be carried in described Bluetooth signal, thus user terminal can obtain described rated power; In some embodiments, user terminal, when getting Bluetooth signal, corresponding can get the facility information of corresponding bluetooth equipment, comprise identity information and rated power information etc., illustrate herein and do not form limitation of the invention.
Based on this, described connection establishment module 403, also for when determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, determines corresponding bluetooth equipment according to described Bluetooth signal, and connects with described bluetooth equipment.
Namely when the distance determining between itself and described bluetooth equipment when user terminal reaches the first predetermined threshold value, the bluetooth equipment identity information that can carry according to Bluetooth signal determines corresponding bluetooth equipment, thus initiate the request of setting up, to connect with described bluetooth equipment.
Wherein, described first predetermined threshold value can prestore in the user terminal, can arrange according to concrete application scenarios, is not construed as limiting this concrete value herein.
Preferably, described transmission control module 404 also for: when determining that the distance between described bluetooth equipment reaches the second predetermined threshold value, carry out transfer of data based on described connection and described bluetooth equipment, described first predetermined threshold value is greater than described second predetermined threshold value.
Further preferred, described transmission control module 404 also for: when determining that the distance between described bluetooth equipment reaches described second predetermined threshold value, connect based on described the data processing request receiving user and trigger; Described data processing request is sent to described bluetooth equipment, carries out data processing to make described bluetooth equipment according to described data transfer request.
In the embodiment of the present invention, described user terminal, after receiving described Bluetooth signal, before connecting with described bluetooth equipment, first determines the distance between itself and described bluetooth equipment according to the Bluetooth signal received.
Namely the connection of setting up between the two is determined whether according to the distance between described user terminal and bluetooth equipment, in this embodiment, when the distance that described user terminal is determined between itself and described bluetooth equipment reaches the first predetermined threshold value, trigger Bluetooth matches, and carries out with described bluetooth equipment the operation that connects.
Upon establishment of a connection, user terminal is further adjusted the distance and is judged, carries out transfer of data to trigger with described bluetooth equipment; In this embodiment when determining that the distance between described bluetooth equipment reaches described second predetermined threshold value, connect based on described the data processing request receiving user and trigger, described bluetooth equipment carries out data processing according to described data transfer request thereafter.
Wherein, described second predetermined threshold value can prestore in the user terminal, can arrange according to concrete application scenarios, is not construed as limiting this concrete value herein.
For convenience of describing, in the embodiment of the present invention, to judge whether to carry out Bluetooth pairing and the distance reference value that connects is referred to as the first predetermined threshold value, after setting up bluetooth connection, to judge whether that the distance reference value of carrying out transfer of data is referred to as the second predetermined threshold value, described first predetermined threshold value is greater than described second predetermined threshold value, and the value size that " first ", " second " are only reference value of adjusting the distance herein is distinguished, and does not form limitation of the invention.
Be understandable that, due to before data is transmitted, carry out from being dynamically connected in advance according to distance between user terminal and bluetooth equipment, namely the operation triggering transfer of data between the two based on data transfer request etc. is first connected in advance, after described bluetooth equipment receives described data transfer request, data batchmove process is carried out (as paid according to described data transfer request, transfer accounts, refund), due to automatically to connect in advance, therefore user terminal and bluetooth equipment actual time of carrying out data processing can be reduced further, also improve Consumer's Experience simultaneously.
Another it is contemplated that in the present embodiment, the data of request process are all be encrypted by asymmetric encryption, namely utilize public-key cryptography and private cipher key to carry out data encryption.Wherein public-key cryptography and private cipher key are a pair, if be encrypted data with public-key cryptography, only had and could decipher with corresponding private cipher key; If be encrypted data with private cipher key, so only had and could decipher with corresponding public-key cryptography, obtain larger guarantee to make the fail safe of data batchmove (as paid, transferring accounts, refund etc.).
From the above, the user terminal provided in the present embodiment, receives the Bluetooth signal of bluetooth equipment broadcast; And determine the distance between bluetooth equipment according to Bluetooth signal; When determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, user terminal and bluetooth equipment connect; Thereafter transfer of data is carried out based on this connection and bluetooth equipment.The present invention is before user terminal is connected with bluetooth equipment, first distance is between the two detected, automatically pairing attended operation is carried out when distance reaches the first predetermined threshold value, after having matched, further, when distance reaches the second predetermined threshold value, the request (as payment transaction) initiating transfer of data is more then carried out transfer of data and completes transaction, namely the operation of pairing connection and the operation of transfer of data is triggered respectively by the judgement of twice distance, thus the time of transfer of data can be shortened on the whole, improve the efficiency of data processing.
5th embodiment
The embodiment of the present invention also provides a kind of terminal, as shown in Figure 5, it illustrates the structural representation of the terminal involved by the embodiment of the present invention, and specifically, described terminal can be a service terminal;
This terminal can comprise radio frequency (RF, Radio Frequency) circuit 501, the memory 502 including one or more computer-readable recording mediums, input unit 503, display unit 504, transducer 505, voicefrequency circuit 506, Wireless Fidelity (WiFi, Wireless Fidelity) module 507, include the parts such as processor 508 and power supply 509 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 5, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 501 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 508 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 501 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM, Subscriber IdentityModule) card, transceiver, coupler, low noise amplifier (LNA, Low Noise Amplifier), duplexer etc.In addition, RF circuit 501 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, includes 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 (WCDMA) WCDMA, Long Term Evolution LTE etc.
Memory 502 can be used for storing software program and module, and processor 508 is stored in software program and the module of memory 502 by running, thus performs the application of various function and data processing.Memory 502 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal.
In addition, memory 502 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 502 can also comprise Memory Controller, to provide the access of processor 508 and input unit 503 pairs of memories 502.
Input unit 503 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, in a specific embodiment, input unit 503 can comprise Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface or near Touch sensitive surface such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.
Optionally, Touch sensitive surface can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 508, and the order that energy receiving processor 508 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface.Except Touch sensitive surface, input unit 503 can also comprise other input equipments.Particularly, other input equipments can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 504 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 504 can comprise display floater, optionally, the forms such as liquid crystal display (LCD, Liquid Crystal Display), Organic Light Emitting Diode (OLED, OrganicLight-Emitting Diode) can be adopted to configure display floater.
Further, Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends processor 508 to determine the type of touch event, provide corresponding vision to export with preprocessor 508 on a display panel according to the type of touch event.Although in Figure 5, Touch sensitive surface and display floater be as two independently parts realize inputting and input function, in certain embodiments, can by Touch sensitive surface and display floater integrated and realize input and output function.
Terminal also can comprise at least one transducer 505, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater, and proximity transducer at fast mobile terminal to time in one's ear, can cut out display floater and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 506, loud speaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 506 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker, by loud speaker be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone, voice data is converted to after being received by voicefrequency circuit 906, after again voice data output processor 508 being processed, through RF circuit 501 to send to such as another terminal, or export voice data to memory 502 to process further.Voicefrequency circuit 506 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal.
WiFi belongs to short range wireless transmission technology, and by WiFi module 507, terminal can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 5 shows WiFi module 507, be understandable that, it does not belong to must forming of terminal, can omit in the scope of essence not changing invention as required completely.
Processor 508 is control centres of terminal, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 502 and/or module is stored in by running or performing, and call the data be stored in memory 502, perform various function and the deal with data of terminal, thus integral monitoring is carried out to mobile phone.
Optionally, processor 508 can comprise one or more process core; Preferably, processor 508 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 508.
Terminal also comprises the power supply 509 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 508 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 509 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, processor 508 in terminal can according to following instruction, executable file corresponding for the process of one or more application program is loaded in memory 502, and the application program be stored in memory 502 is run by processor 508, thus realize various function:
Receive the Bluetooth signal of bluetooth equipment broadcast;
The distance between described bluetooth equipment is determined according to described Bluetooth signal;
When determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, connect with described bluetooth equipment;
Transfer of data is carried out based on described connection and described bluetooth equipment.
Be understandable that, bluetooth equipment described in the present embodiment can be specifically applied to the Cash collecting equipment etc. of the POS in market, the cash register in public transport, subway gateway, does not do concrete restriction herein.
It should be noted that, terminal provided by the invention can realize based on the mode of the close range communication techniques such as bluetooth, infrared, sound wave, is only described this thought for bluetooth herein, does not form limitation of the invention.
Preferably, described processor 508 can also be used for: the power level detecting described Bluetooth signal; Obtain the rated power information of described bluetooth equipment; The distance between described bluetooth equipment is determined according to described power level and described rated power information.
Preferably, described processor 508 can also be used for: when determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, determines corresponding bluetooth equipment according to described Bluetooth signal, and connects with described bluetooth equipment.
Preferably, described processor 508 can also be used for: when determining that the distance between described bluetooth equipment reaches the second predetermined threshold value, carry out transfer of data based on described connection and described bluetooth equipment, described first predetermined threshold value is greater than described second predetermined threshold value.
Preferably, described processor 508 can also be used for: when determining that the distance between described bluetooth equipment reaches described second predetermined threshold value, connects based on described the data processing request receiving user and trigger; Described data processing request is sent to described bluetooth equipment, carries out data processing to make described bluetooth equipment according to described data transfer request.
Be understandable that, in the above-described embodiment, the description of each embodiment all emphasized particularly on different fields in certain embodiment, there is no the part described in detail, see the detailed description of data transmission method corresponding above, can repeat no more herein.
From the above, the terminal that the present embodiment provides, this terminal receives the Bluetooth signal of bluetooth equipment broadcast; And determine the distance between bluetooth equipment according to Bluetooth signal; When determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, terminal and bluetooth equipment connect; Thereafter transfer of data is carried out based on this connection and bluetooth equipment.The present invention is before user terminal is connected with bluetooth equipment, first distance is between the two detected, automatically pairing attended operation is carried out when distance reaches the first predetermined threshold value, after having matched, further, when distance reaches the second predetermined threshold value, the request (as payment transaction) initiating transfer of data is more then carried out transfer of data and completes transaction, namely the operation of pairing connection and the operation of transfer of data is triggered respectively by the judgement of twice distance, thus the time of transfer of data can be shortened on the whole, improve the efficiency of data processing.
6th embodiment
For ease of better implementing the method for the transfer of data that the embodiment of the present invention provides, the embodiment of the present invention also provides a kind of based on the above-mentioned system based on data transmission method.Wherein the implication of noun is identical with above-mentioned data transmission method, and specific implementation details can explanation in reference method embodiment.
Refer to Fig. 6, the structural representation of the data transmission system that Fig. 6 provides for sixth embodiment of the invention, described data transmission system comprises: bluetooth equipment 601, user terminal 602, and wherein, described user terminal 602 receives the Bluetooth signal of bluetooth equipment broadcast; The distance between described bluetooth equipment is determined according to described Bluetooth signal; When determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, connect with described bluetooth equipment; Transfer of data is carried out based on described connection and described bluetooth equipment.
Be understandable that, bluetooth equipment 601 described in the present embodiment can be specifically applied to the Cash collecting equipment etc. of the POS in market, the cash register in public transport, subway gateway, does not do concrete restriction herein.
It should be noted that, data transmission system provided by the invention can realize based on the mode of the close range communication techniques such as bluetooth, infrared, sound wave, is only described this thought for bluetooth herein, does not form limitation of the invention.
Corresponding, described bluetooth equipment 601 is for broadcasting Bluetooth signal; When distance between user terminal 602 reaches the first predetermined threshold value, connect with described user terminal 602, wherein, the distance between described and user terminal 602 is determined according to described Bluetooth signal by described user terminal 602; Transfer of data is carried out based on described connection and described user terminal 602.
Preferably, described user terminal 602 can also be used for: the power level detecting described Bluetooth signal; Obtain the rated power information of described bluetooth equipment 601; The distance between described bluetooth equipment 601 is determined according to described power level and described rated power information.
Preferably, described user terminal 602 can also be used for: when determining that the distance between described bluetooth equipment 601 reaches the first predetermined threshold value, determines corresponding bluetooth equipment 601 according to described Bluetooth signal, and connects with described bluetooth equipment 601.
Preferably, described user terminal 602 can also be used for: when determining that the distance between described bluetooth equipment 601 reaches the second predetermined threshold value, carry out transfer of data based on described connection and described bluetooth equipment 601, described first predetermined threshold value is greater than described second predetermined threshold value.
Preferably, described user terminal 602 can also be used for: when determining that the distance between described bluetooth equipment 601 reaches described second predetermined threshold value, connects based on described the data processing request receiving user and trigger; Described data processing request is sent to described bluetooth equipment 601, carries out data processing to make described bluetooth equipment 601 according to described data transfer request.
In this data transmission system, because described bluetooth equipment 601 outwards launches Bluetooth signal with a specified power, and the power level of described Bluetooth signal reduces gradually along with the increase of distance, and there is linear relationship, so user terminal 602 is according to the comparison between the performance number of the Bluetooth signal detected somewhere and the power-handling capability of described bluetooth equipment 601, the distance herein between distance bluetooth equipment 601 can be calculated.
Utilize this principle, the performance number of the Bluetooth signal received according to user terminal 602 in the present embodiment estimates the distance between itself and bluetooth equipment 601, and the operation preset is performed in corresponding distance, like this before user terminal 602 starts performing data transmission, user terminal 602 and bluetooth equipment 601 is made to have carried out the pairing of bluetooth and establish the link in advance, greatly reduce user awareness to data processing time (as swipe the card transaction etc.), improve Consumer's Experience simultaneously.
From the above, the data transmission system that the present embodiment provides, user terminal 602 receives the Bluetooth signal that bluetooth equipment 601 is broadcasted; And the distance between bluetooth equipment 601 is determined according to Bluetooth signal; When determining that the distance between described bluetooth equipment 601 reaches the first predetermined threshold value, user terminal 602 and bluetooth equipment 601 connect; Thereafter transfer of data is carried out based on this connection and bluetooth equipment 601.The present invention is before user terminal 602 is connected with bluetooth equipment 601, first distance is between the two detected, automatically pairing attended operation is carried out when distance reaches the first predetermined threshold value, after having matched, further, when distance reaches the second predetermined threshold value, the request (as payment transaction) initiating transfer of data is more then carried out transfer of data and completes transaction, namely the operation of pairing connection and the operation of transfer of data is triggered respectively by the judgement of twice distance, thus the time of transfer of data can be shortened on the whole, improve the efficiency of data processing.
7th embodiment
Technical scheme for a better understanding of the present invention, based on above-mentioned data transmission system, is described described data transmission system with an embody rule scene below:
Concrete, please also refer to Fig. 7, Fig. 7 is the concrete scene schematic diagram of this application scenarios, in this application scenarios, comprises and is arranged on beacon bluetooth Cash collecting equipment (i.e. aforementioned Bluetooth equipment 601) on bus and mobile phone (aforementioned user terminal 602).
When this bus sails within the scope of user 50m, within the scope of this and the mobile phone being provided with particular clients (the micro-letter of mobile phone QQ/) can receive the Bluetooth signal of described bluetooth Cash collecting equipment broadcast, obtain the power level of described Bluetooth signal and the rated power of this bluetooth Cash collecting equipment, calculate the distance between itself and described bluetooth Cash collecting equipment, as shown in Figure 7, if when detecting that this distance reaches described first predetermined threshold value, mobile phone and bluetooth Cash collecting equipment can carry out matching and attended operation automatically.
Meanwhile, mobile phone can receive the information pushed by described beacon bluetooth Cash collecting equipment, and whether be used to indicate user has and need to carry out bluetooth payment.When user clicks pushed information, then ejection operation prompting, guides user to get on the bus and near bluetooth Cash collecting equipment, carries out to make described bluetooth Cash collecting equipment operation of withholing.As shown in Figure 7, when the distance that mobile phone detects between itself and bluetooth Cash collecting equipment reaches the second predetermined threshold value, mobile phone and bluetooth Cash collecting equipment can carry out transfer of data, such as: user by mobile phone near described bluetooth Cash collecting equipment, request is paid to send bluetooth to described bluetooth Cash collecting equipment, bluetooth Cash collecting equipment is withholdd according to this request, and is consulted to mobile phone for user by the result feedback of success or not of withholing, and all data interactions are all undertaken by bluetooth.
This programme can by judging that mobile phone triggers different operations from the distance of bluetooth Cash collecting equipment.When mobile phone judging distance bluetooth Cash collecting equipment is the first predetermined threshold value, establish the link operation with regard to trigger Bluetooth pairing; When after arrival second predetermined threshold value (namely mobile phone distance bluetooth Cash collecting equipment is nearer than the first predetermined threshold value), the operation of transaction is completed with regard to trigger Bluetooth transfer of data, such user awareness to the very short time only having transfer of data, and the time established the link has completed in advance, greatly reduce exchange to take time, improve Consumer's Experience.Further, the second predetermined threshold value can carry out arranging flexibly according to scene, can control it in a safe distance, decrease the risk of stolen brush, improve fail safe.
Meanwhile, the effective range paid due to bluetooth can be very long, there is the potential safety hazard stealing brush; Therefore preferred, the size of control first predetermined threshold value and the first predetermined threshold value can be passed through, the application scenarios of diversification can be adapted to, promote coefficient of safety, prevent from stealing brush risk.
It is contemplated that the Cash collecting equipment of bluetooth described in the present embodiment can be specifically applied to the Cash collecting equipment etc. of the POS in market, the cash register in public transport, subway gateway, illustrate herein and do not form limitation of the invention.
It should be noted that, data transmission system provided by the invention can realize based on the mode of the close range communication techniques such as bluetooth, infrared, sound wave, is only described this thought for bluetooth herein, does not form limitation of the invention.
In the above-described embodiments, all emphasize particularly on different fields to the description of each embodiment, the part do not described in detail in this embodiment, the detailed description see aforementioned data transmission method that can be corresponding, repeats no more herein.
From the above, the data transmission system that the present embodiment provides, mobile phone receives the Bluetooth signal of bluetooth Cash collecting equipment broadcast; And the distance between bluetooth Cash collecting equipment is determined according to Bluetooth signal; When determining that the distance between described bluetooth Cash collecting equipment reaches the first predetermined threshold value, mobile phone and bluetooth Cash collecting equipment connect; Thereafter transfer of data is carried out based on this connection and bluetooth Cash collecting equipment.The present invention is before mobile phone is connected with bluetooth Cash collecting equipment, first distance is between the two detected, automatically pairing attended operation is carried out when distance reaches the first predetermined threshold value, after having matched, further, when distance reaches the second predetermined threshold value, the request (as payment transaction) initiating transfer of data is more then carried out transfer of data and completes transaction, namely the operation of pairing connection and the operation of transfer of data is triggered respectively by the judgement of twice distance, thus the time of transfer of data can be shortened on the whole, improve the efficiency of data processing.
The described user terminal that the embodiment of the present invention provides, be for example computer, panel computer, the mobile phone with touch function etc., the described user terminal data transmission method corresponding with foregoing embodiments belongs to same design, described user terminal correspondingly can run the either method provided in described data transmission method embodiment, its specific implementation process refers to corresponding described data transmission method embodiment, repeats no more herein.
It should be noted that, for data transmission method of the present invention, this area common test personnel are appreciated that all or part of flow process realizing data transmission method described in the embodiment of the present invention, that the hardware that can control to be correlated with by computer program has come, described computer program can be stored in a computer read/write memory medium, as being stored in the memory of terminal, and performed by least one processor in this terminal, can comprise in the process of implementation as described in the flow process of embodiment of method of identification authentication.Wherein, described storage medium can be magnetic disc, CD, read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory) etc.
For the user terminal for transfer of data of the embodiment of the present invention, its each functional module can be integrated in a process chip respectively, also can be that the independent physics of modules exists, also can two or more module integrations in a module.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium, described storage medium such as be read-only memory, disk or CD etc.
Above a kind of data transmission method, user terminal and system that the embodiment of the present invention provides are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for those skilled in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (11)

1. a data transmission method, is characterized in that, described method comprises:
Receive the Bluetooth signal of bluetooth equipment broadcast;
The distance between described bluetooth equipment is determined according to described Bluetooth signal;
When determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, connect with described bluetooth equipment;
Transfer of data is carried out based on described connection and described bluetooth equipment.
2. data transmission method according to claim 1, is characterized in that, the described distance determining between described bluetooth equipment according to described Bluetooth signal, comprising:
Detect the power level of described Bluetooth signal;
Obtain the rated power information of described bluetooth equipment;
The distance between described bluetooth equipment is determined according to described power level and described rated power information.
3. data transmission method according to claim 1, is characterized in that, when determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, connecting, comprising with described bluetooth equipment:
When determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, determine corresponding bluetooth equipment according to described Bluetooth signal, and connect with described bluetooth equipment.
4. data transmission method according to claim 1, is characterized in that, describedly carries out transfer of data based on described connection and described bluetooth equipment, comprising:
When determining that the distance between described bluetooth equipment reaches the second predetermined threshold value, carry out transfer of data based on described connection and described bluetooth equipment, described first predetermined threshold value is greater than described second predetermined threshold value.
5. data transmission method according to claim 3, is characterized in that, describedly carries out transfer of data based on described connection and described bluetooth equipment, comprising:
When determining that the distance between described bluetooth equipment reaches described second predetermined threshold value, connect based on described the data processing request receiving user and trigger;
Described data processing request is sent to described bluetooth equipment, carries out data processing to make described bluetooth equipment according to described data transfer request.
6. a user terminal, is characterized in that, described user terminal comprises:
Receiver module, for receiving the Bluetooth signal of bluetooth equipment broadcast;
Determination module, for determining the distance between described bluetooth equipment according to described Bluetooth signal;
Connection establishment module, for when determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, connects with described bluetooth equipment;
Transmission control module, for carrying out transfer of data based on described connection and described bluetooth equipment.
7. user terminal according to claim 6, is characterized in that, described determination module comprises:
Detecting unit, for detecting the power level of described Bluetooth signal;
Acquiring unit, for obtaining the rated power information of described bluetooth equipment;
Determining unit, for determining the distance between described bluetooth equipment according to described power level and described rated power information.
8. user terminal according to claim 6, it is characterized in that, described connection establishment module, also for when determining that the distance between described bluetooth equipment reaches the first predetermined threshold value, determine corresponding bluetooth equipment according to described Bluetooth signal, and connect with described bluetooth equipment.
9. user terminal according to claim 6, is characterized in that, described transmission control module also for:
When determining that the distance between described bluetooth equipment reaches the second predetermined threshold value, carry out transfer of data based on described connection and described bluetooth equipment, described first predetermined threshold value is greater than described second predetermined threshold value.
10. user terminal according to claim 6, is characterized in that, described transmission control module also for:
When determining that the distance between described bluetooth equipment reaches described second predetermined threshold value, connect based on described the data processing request receiving user and trigger;
Described data processing request is sent to described bluetooth equipment, carries out data processing to make described bluetooth equipment according to described data transfer request.
11. 1 kinds of data transmission systems, is characterized in that, described system comprises bluetooth equipment, and the user terminal as described in any one of claim 6 to 10.
CN201410746659.1A 2014-12-08 2014-12-08 A kind of data transmission method, user terminal and system Active CN104601207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410746659.1A CN104601207B (en) 2014-12-08 2014-12-08 A kind of data transmission method, user terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410746659.1A CN104601207B (en) 2014-12-08 2014-12-08 A kind of data transmission method, user terminal and system

Publications (2)

Publication Number Publication Date
CN104601207A true CN104601207A (en) 2015-05-06
CN104601207B CN104601207B (en) 2016-08-17

Family

ID=53126758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410746659.1A Active CN104601207B (en) 2014-12-08 2014-12-08 A kind of data transmission method, user terminal and system

Country Status (1)

Country Link
CN (1) CN104601207B (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069875A (en) * 2015-07-28 2015-11-18 北京京东尚科信息技术有限公司 Electronic key, electronic devices and electronic device networking/pairing method
CN105139198A (en) * 2015-08-31 2015-12-09 北京意锐新创科技有限公司 Mobile payment method, device and system
CN105721916A (en) * 2016-04-11 2016-06-29 江苏惠通集团有限责任公司 Master device, slave device and pairing method of master device and slave device
CN106096949A (en) * 2016-06-08 2016-11-09 福建联迪商用设备有限公司 Subway method of payment and system based on Bluetooth communication
CN106358139A (en) * 2015-07-16 2017-01-25 群光电子股份有限公司 Communication system
CN106384235A (en) * 2016-08-30 2017-02-08 上海创功通讯技术有限公司 Payment method and system and mobile terminal
CN107633420A (en) * 2017-08-22 2018-01-26 康体佳智能科技(深圳)有限公司 A kind of method of commerce that deduction consumption is announced by promoting
CN108124053A (en) * 2016-11-28 2018-06-05 财团法人资讯工业策进会 Mobile device and operation method
CN108133521A (en) * 2016-12-01 2018-06-08 Xid系统公司 Simple university for the aged turns out for work device
CN108419225A (en) * 2018-03-16 2018-08-17 上海百联集团股份有限公司 Authorization location is authorized to end, server and authorization method
CN108898379A (en) * 2018-06-21 2018-11-27 深圳市丰鑫科技服务有限公司 Near field payment, near field connection and data transmission method between BLE bluetooth equipment
CN108985749A (en) * 2018-06-07 2018-12-11 阿里巴巴集团控股有限公司 A kind of method of payment, distance measuring method, payment plant and distance-measuring equipment
CN109451444A (en) * 2018-12-28 2019-03-08 桂林飞宇科技股份有限公司 A kind of stabilizer communication system and its method
CN109644215A (en) * 2016-07-19 2019-04-16 霍尼韦尔国际公司 Cluster conversation feature for earmuff
CN110166985A (en) * 2019-05-28 2019-08-23 阿里巴巴集团控股有限公司 A kind of service awaking method and applications client
WO2019228008A1 (en) * 2018-05-31 2019-12-05 阿里巴巴集团控股有限公司 Data interaction method, device and equipment
CN111885571A (en) * 2020-07-21 2020-11-03 歌尔科技有限公司 Bluetooth device pairing method, device and storage medium
US10931814B2 (en) 2019-05-28 2021-02-23 Advanced New Technologies Co., Ltd. Service recommendation
CN112911560A (en) * 2021-01-20 2021-06-04 青岛海信网络科技股份有限公司 Electronic business card transmission method and device
CN113347560A (en) * 2021-05-24 2021-09-03 荣耀终端有限公司 Bluetooth connection method, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7613829B2 (en) * 2006-05-22 2009-11-03 Nokia Corporation Proximity enforcement in heterogeneous network environments
CN102685330A (en) * 2012-05-15 2012-09-19 江苏中科梦兰电子科技有限公司 Method for logging in operation system by taking cell phone as authentication tool
CN103927654A (en) * 2014-04-17 2014-07-16 福建联迪商用设备有限公司 Mobile terminal and POS machine contact communication method and device and payment method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7613829B2 (en) * 2006-05-22 2009-11-03 Nokia Corporation Proximity enforcement in heterogeneous network environments
CN102685330A (en) * 2012-05-15 2012-09-19 江苏中科梦兰电子科技有限公司 Method for logging in operation system by taking cell phone as authentication tool
CN103927654A (en) * 2014-04-17 2014-07-16 福建联迪商用设备有限公司 Mobile terminal and POS machine contact communication method and device and payment method

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358139A (en) * 2015-07-16 2017-01-25 群光电子股份有限公司 Communication system
CN105069875A (en) * 2015-07-28 2015-11-18 北京京东尚科信息技术有限公司 Electronic key, electronic devices and electronic device networking/pairing method
CN105069875B (en) * 2015-07-28 2017-07-21 北京京东尚科信息技术有限公司 Electron key, electronic equipment and electronic equipment networking/matching method
CN105139198A (en) * 2015-08-31 2015-12-09 北京意锐新创科技有限公司 Mobile payment method, device and system
CN105139198B (en) * 2015-08-31 2019-03-29 北京意锐新创科技有限公司 Method of mobile payment, apparatus and system
CN105721916A (en) * 2016-04-11 2016-06-29 江苏惠通集团有限责任公司 Master device, slave device and pairing method of master device and slave device
CN106096949A (en) * 2016-06-08 2016-11-09 福建联迪商用设备有限公司 Subway method of payment and system based on Bluetooth communication
CN109644215B (en) * 2016-07-19 2021-06-25 霍尼韦尔国际公司 Group conversation feature for earmuffs
CN109644215A (en) * 2016-07-19 2019-04-16 霍尼韦尔国际公司 Cluster conversation feature for earmuff
CN106384235A (en) * 2016-08-30 2017-02-08 上海创功通讯技术有限公司 Payment method and system and mobile terminal
CN108124053A (en) * 2016-11-28 2018-06-05 财团法人资讯工业策进会 Mobile device and operation method
CN108133521A (en) * 2016-12-01 2018-06-08 Xid系统公司 Simple university for the aged turns out for work device
CN108133521B (en) * 2016-12-01 2020-10-23 Xid系统公司 Simple and easy old university device of attendance
CN107633420A (en) * 2017-08-22 2018-01-26 康体佳智能科技(深圳)有限公司 A kind of method of commerce that deduction consumption is announced by promoting
CN108419225A (en) * 2018-03-16 2018-08-17 上海百联集团股份有限公司 Authorization location is authorized to end, server and authorization method
CN108811178B (en) * 2018-05-31 2021-06-29 创新先进技术有限公司 Data interaction method, device and equipment
WO2019228008A1 (en) * 2018-05-31 2019-12-05 阿里巴巴集团控股有限公司 Data interaction method, device and equipment
TWI696404B (en) * 2018-05-31 2020-06-11 香港商阿里巴巴集團服務有限公司 Data interaction method, device and equipment
CN108985749A (en) * 2018-06-07 2018-12-11 阿里巴巴集团控股有限公司 A kind of method of payment, distance measuring method, payment plant and distance-measuring equipment
TWI706349B (en) * 2018-06-07 2020-10-01 香港商阿里巴巴集團服務有限公司 Payment method, distance measurement method, payment equipment and distance measurement equipment
WO2019233145A1 (en) * 2018-06-07 2019-12-12 阿里巴巴集团控股有限公司 Payment method, distance measurement method, payment device, and distance measurement device
CN108898379B (en) * 2018-06-21 2019-06-14 深圳市丰鑫科技服务有限公司 Near field payment, near field connection and data transmission method between BLE bluetooth equipment
CN108898379A (en) * 2018-06-21 2018-11-27 深圳市丰鑫科技服务有限公司 Near field payment, near field connection and data transmission method between BLE bluetooth equipment
CN109451444A (en) * 2018-12-28 2019-03-08 桂林飞宇科技股份有限公司 A kind of stabilizer communication system and its method
CN110166985B (en) * 2019-05-28 2020-08-21 阿里巴巴集团控股有限公司 Service calling method and application client
CN110166985A (en) * 2019-05-28 2019-08-23 阿里巴巴集团控股有限公司 A kind of service awaking method and applications client
TWI717190B (en) * 2019-05-28 2021-01-21 開曼群島商創新先進技術有限公司 Service arousal method and application client
CN112272367A (en) * 2019-05-28 2021-01-26 创新先进技术有限公司 Service calling method and application client
US10931814B2 (en) 2019-05-28 2021-02-23 Advanced New Technologies Co., Ltd. Service recommendation
CN112272367B (en) * 2019-05-28 2023-03-07 创新先进技术有限公司 Service calling method and application client
CN111885571A (en) * 2020-07-21 2020-11-03 歌尔科技有限公司 Bluetooth device pairing method, device and storage medium
CN112911560A (en) * 2021-01-20 2021-06-04 青岛海信网络科技股份有限公司 Electronic business card transmission method and device
CN113347560A (en) * 2021-05-24 2021-09-03 荣耀终端有限公司 Bluetooth connection method, electronic device and storage medium

Also Published As

Publication number Publication date
CN104601207B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN104601207A (en) Data transmission method, user terminal and system
CN104936128A (en) Off-line data transfer method, device and system
CN103729765B (en) A kind of authentication control method, terminal, server, terminal device and system
CN103716331B (en) Method, terminal, server and system for numerical value transfer
CN104519485A (en) Communication method between terminals, devices and system
CN104796275A (en) Abnormal state processing method, system and device
CN104392350A (en) Virtual resource data processing method, device and system
CN103731810A (en) Access point sharing method and device
CN105024984A (en) Permission setting method, apparatus and system
CN104954402A (en) Application recommending method, system and apparatus
CN108834132B (en) Data transmission method and equipment and related medium product
CN104135728B (en) Method for connecting network and device
CN104901991A (en) Methods, devices and system for transferring virtual resource
CN104899672A (en) Article transfer apparatus, system and method
CN104426963A (en) Terminal associating method and terminal
CN104954233A (en) Information push method, device and system
CN103177217B (en) A kind of file scanning method, system and client and server
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN103068016B (en) The method of mobile terminal and reduction power consumption thereof
CN104901806A (en) Method, device and system for processing virtual resources
CN104363590A (en) Access point connection method and device
US10476889B2 (en) Information interaction method, apparatus and system
CN103200077B (en) The method of data interaction during a kind of voice call, Apparatus and system
CN103561155B (en) Send the method for note, device and terminal
CN104901992A (en) Resource transfer method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant