CN110035416A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN110035416A
CN110035416A CN201810029863.XA CN201810029863A CN110035416A CN 110035416 A CN110035416 A CN 110035416A CN 201810029863 A CN201810029863 A CN 201810029863A CN 110035416 A CN110035416 A CN 110035416A
Authority
CN
China
Prior art keywords
bracelet
terminal device
module
clock
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.)
Pending
Application number
CN201810029863.XA
Other languages
Chinese (zh)
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.)
Alibaba China Co Ltd
Original Assignee
Guangdong Shenma Search Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Shenma Search Technology Co Ltd filed Critical Guangdong Shenma Search Technology Co Ltd
Priority to CN201810029863.XA priority Critical patent/CN110035416A/en
Publication of CN110035416A publication Critical patent/CN110035416A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present invention provides a kind of data transmission method and device, this method comprises: bracelet starts the Bluetooth function of the bracelet in predetermined time;The bracelet searches for the terminal device matched in advance with the bracelet within a preset range;After the bracelet searches the terminal device, the bracelet and terminal device establish bluetooth connection;The bracelet sends the data information collected to the terminal device by bluetooth.Improve the timeliness of data transmission.

Description

Data transmission method and device
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of data transmission methods and device.
Background technique
With the continuous development of science and technology, Intelligent bracelet (hereinafter referred bracelet) using more and more extensive.Bracelet can With data informations such as the motion conditions and the body parameters that acquire user in real time, and data information will be collected and be sent to other ends End equipment (such as mobile phone, computer etc.).
In actual application, in order to guarantee the convenient to wear of bracelet, the volume of bracelet is usually smaller, so that hand Electricity and the data space of bracelet of the component, bracelet that can be set in ring etc. are limited.Based on this, in existing skill In art, bracelet only carries out data acquisition in normal operating conditions, when need the data information transfer for acquiring bracelet to other When terminal device, it usually needs manually bracelet is connected with other terminal devices, and by the data information transfer in bracelet to its Its terminal device, in this way, it is not only complicated for operation, and the timeliness for causing data to be transmitted is poor.
Summary of the invention
The embodiment of the present invention provides a kind of data transmission method and device, improves the timeliness of data transmission.
In a first aspect, the embodiment of the present invention provides a kind of data transmission method, comprising:
Bracelet starts the Bluetooth function of the bracelet in predetermined time;
The bracelet searches for the terminal device matched in advance with the bracelet within a preset range;
After the bracelet searches the terminal device, the bracelet and terminal device establish bluetooth connection;
The bracelet sends the data information collected to the terminal device by bluetooth.
In a kind of possible embodiment, when the predetermined time is one after clock arrival time or clock reach It carves, the bracelet starts before the Bluetooth function of the bracelet, further includes:
The bracelet receives the clock information that the terminal device is sent, include in the clock information current time, when The duration of clock duration and distance clock next time;
The bracelet updates the clock in the bracelet according to the clock information.
In alternatively possible embodiment, the first short-range communication NFC module, the end are provided in the bracelet The second NFC module is provided in end equipment;The bracelet receives the clock information that the terminal device is sent, comprising:
When the bracelet is less than pre-determined distance at a distance from the terminal device, the bracelet passes through the first NFC Module receives the clock information that the terminal device is sent by second NFC module.
In alternatively possible embodiment, the terminal device starts the terminal device when the clock reaches Bluetooth function, the predetermined time is located at after the clock arrival time, and the predetermined time and the clock reach Moment differs preset duration.
In alternatively possible embodiment, the bracelet and terminal device establish bluetooth connection, comprising:
The bracelet sends bluetooth to the terminal device and establishes request;
The bracelet receives the bluetooth that the terminal device is sent and is successfully established response.
In alternatively possible embodiment, the bracelet is collected by bluetooth to terminal device transmission After data information, further includes:
The bracelet closes the Bluetooth function of the bracelet;
The bracelet deletes the data information.
Second aspect, the embodiment of the present invention provide a kind of data transmission method, comprising:
Terminal device is to bracelet tranmitting data register information, so that the bracelet updates in the bracelet according to the clock information Clock, the clock information includes the duration at current time, clock duration and distance clock next time;
In clock arrival time, the terminal device starts the Bluetooth function of the terminal device;
After the bracelet searches the terminal device, the terminal device and the bracelet establish bluetooth connection;
The terminal device receives the data information that the bracelet is sent by bluetooth.
In a kind of possible embodiment, the first short-range communication NFC module, the terminal are provided in the bracelet The second NFC module is provided in equipment;The terminal device to bracelet tranmitting data register information, including
When the bracelet is less than pre-determined distance at a distance from the terminal device, the terminal device passes through described second NFC module sends the clock information to the first NFC module of the bracelet.
In alternatively possible embodiment, the terminal device and the bracelet establish bluetooth connection, comprising:
The terminal device receives the bluetooth that the bracelet is sent and establishes request;
The terminal device sends bluetooth to the bracelet and is successfully established response.
In alternatively possible embodiment, the terminal device, which receives the data that the bracelet is sent by bluetooth, to be believed After breath, further includes:
The terminal device closes the Bluetooth function of the terminal device.
The third aspect, the embodiment of the present invention provide a kind of data transmission device, including starting module, search module, foundation Module and sending module, wherein
The starting module is used for, in the Bluetooth function of predetermined time starting bracelet;
Described search module is used for, and searches for the terminal device matched in advance with the bracelet within a preset range;
The module of establishing is used for, and after described search block search to the terminal device, is established with terminal device blue Tooth connection;
The sending module is used for, and sends the data information collected to the terminal device by bluetooth.
In a kind of possible embodiment, described device further includes receiving module and update module, wherein
The receiving module is used for, and before the Bluetooth function that the starting module starts the bracelet, receives the end The clock information that end equipment is sent, include in the clock information current time, clock duration and distance next time clock when It is long, wherein the predetermined time is a moment after clock arrival time or clock arrival,
The update module is used for, and according to the clock information, updates the clock in the bracelet.
In alternatively possible embodiment, the first short-range communication NFC module, the end are provided in the bracelet The second NFC module is provided in end equipment, the receiving module is specifically used for:
When the bracelet is less than pre-determined distance at a distance from the terminal device, received by first NFC module The clock information that the terminal device is sent by second NFC module.
In alternatively possible embodiment, the terminal device starts the terminal device when the clock reaches Bluetooth function, the predetermined time is located at after the clock arrival time, and the predetermined time and the clock reach Moment differs preset duration.
In alternatively possible embodiment, the sending module is also used to, and Xiang Suoshu terminal device sends bluetooth and builds Vertical request;
The receiving module is also used to, and is received the bluetooth that the terminal device is sent and is successfully established response.
In alternatively possible embodiment, described device further includes closedown module and removing module, wherein
The closedown module is used for, and sends the number collected to the terminal device by bluetooth in the sending module It is believed that closing the Bluetooth function of the bracelet after breath;
The removing module is used for, and deletes the data information.
Fourth aspect, the embodiment of the present invention provide a kind of data transmission device, including sending module, starting module, foundation Module and receiving module, wherein
The sending module is used for, Xiang Shouhuan tranmitting data register information, so that the bracelet is updated according to the clock information Clock in the bracelet, the clock information include current time, clock duration and the duration apart from clock next time;
The starting module is used for, and in clock arrival time, starts the Bluetooth function of terminal device;
The module of establishing is used for, and after the bracelet searches the terminal device, is established bluetooth with the bracelet and is connected It connects;
The receiving module is used for, and receives the data information that the bracelet is sent by bluetooth.
In a kind of possible embodiment, the first short-range communication NFC module, the terminal are provided in the bracelet The second NFC module is provided in equipment;The sending module is specifically used for:
When the bracelet is less than pre-determined distance at a distance from the terminal device, by second NFC module to institute The first NFC module for stating bracelet sends the clock information.
In alternatively possible embodiment, the receiving module is also used to, and is received the bluetooth that the bracelet is sent and is built Vertical request;
The sending module is also used to, and Xiang Suoshu bracelet sends bluetooth and is successfully established response.
In alternatively possible embodiment, described device further includes closedown module, wherein
The closedown module is used for, the receiving module by bluetooth receive data information that the bracelet is sent it Afterwards, the Bluetooth function of the terminal device is closed.
Data transmission method and device provided in an embodiment of the present invention, bracelet have Bluetooth function, bracelet do not need to When terminal device sends the data information of acquisition, the Bluetooth function in bracelet is in close state, when bracelet needs to set to terminal When preparation send the data information collected (predetermined time), bracelet just opens Bluetooth function, search end paired in advance End equipment simultaneously establishes bluetooth connection with terminal device, after bracelet and terminal device establish bluetooth connection, can pass through indigo plant Tooth sends the data information collected to terminal device.Since bracelet only is needing to send data information to terminal device When, Bluetooth function is just opened, and then the electricity of bracelet can be saved.Further, bracelet can be established with terminal device automatically Bluetooth connection, and the data information collected is sent to terminal device by bluetooth, and then realize and guaranteeing bracelet electricity Under the premise of, realize that automatically, timely terminal device sends the data information collected, which participates in without artificial, no But manpower is saved, can also realize the timeliness of improve data transfer.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the application scenarios schematic diagram of data transmission method provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram one of data transmission method provided in an embodiment of the present invention;
Fig. 3 is the configuration diagram of terminal device provided in an embodiment of the present invention and bracelet;
Fig. 4 is the schematic diagram two of data transmission method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram one of data transmission device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram two of data transmission device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram one of another data transmission device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram two of another data transmission device provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the application scenarios schematic diagram of data transmission method provided in an embodiment of the present invention.Referring to Figure 1, including hand Ring 101 and terminal device 102.Bracelet 101 is usually worn in the wrist of user.Terminal device 102 is usually user can be with The equipment that body carries, for example, terminal device 102 can be the equipment such as mobile phone, tablet computer.In bracelet 101 and terminal device 102 It is provided with bluetooth module, so that bracelet 101 and terminal device 102 are provided with Bluetooth function, so that bracelet 101 and terminal device 102 can usually bluetooth communicated.Bracelet 101 and terminal device 102 shown in the application have matched in advance, make bracelet Without manual intervention when establishing bluetooth connection between 101 and terminal device 102, for example, first in bracelet 101 and terminal device 102 It is secondary when establishing bluetooth connection, trust mode can be set by bracelet 101 and terminal device 102, in this way, in subsequent communications process In, as long as one in bracelet 101 and terminal device 102 is established bluetooth connection to other side's request, successfully establish bluetooth company It connects.
In this application, when bracelet 101 does not need to send the data information of acquisition to terminal device 102, in bracelet 101 Bluetooth function be in close state, when bracelet 101 need to terminal device 102 send collect data information when, hand Ring 101 just opens Bluetooth function, and search terminal equipment 102 simultaneously establishes bluetooth connection with terminal device 102, in bracelet 101 and eventually End equipment 102 is established after bluetooth connection, can send the data information collected to terminal device 102 by bluetooth. In above process, due to bracelet 101 only need to terminal device 102 send data information when, just unlatching Bluetooth function, In this way, the electricity of bracelet 101 can be saved.Further, bracelet 101 can establish bluetooth connection with terminal device 102 automatically, And the data information collected is sent to terminal device 102 by bluetooth, and then realize under the premise of guaranteeing bracelet electricity, Realize that automatically, timely terminal device sends the data information collected, which participates in without artificial, not only saves people Power can also realize the timeliness of improve data transfer.
In the following, technical solution shown in the application is described in detail by specific embodiment.Under it should be noted that The several specific embodiments in face can be combined with each other, and for the same or similar content, no longer carry out weight in various embodiments Multiple explanation.
Fig. 2 is the schematic diagram one of data transmission method provided in an embodiment of the present invention.Refer to Fig. 2, comprising:
S201, bracelet start the Bluetooth function of bracelet in predetermined time.
Optionally, predetermined time can be the pre-set moment, which can be artificially arranged, can also be with For bracelet factory be default setting, or be synchronized to bracelet from other terminal devices.
Optionally, predetermined time can be periodic moments, that is, the duration between every two predetermined time is identical.For example, Predetermined time can for 11 points 10 minutes, 12 points 10 minutes, 13 points 10 minutes etc..
Optionally, predetermined time can be the aperiodicity moment, that is, the duration between every two predetermined time can not phase Together.For example, predetermined time can be daily 6 points, 10 points, 13 points, 20 points, 24 points etc..
When predetermined time is artificial setting, user can be directly configured in bracelet, and user can also be other Equipment is carried out in terminal device, and the predetermined time set is synchronized to bracelet from other terminal devices.
In actual application, it when carrying out Bluetooth communication due to bracelet and terminal device, needs to guarantee bracelet and terminal The distance of equipment is within a preset range.Therefore, when predetermined time is artificial configuration, user can determine hand according to living habit At the time of ring and terminal device are closer, and predetermined time is arranged in be closer according to bracelet and terminal device at the time of.Example Such as, it is assumed that terminal device is mobile phone, and when 6 users do not get up also, mobile phone is generally positioned at beside user, and bracelet is usually worn In the wrist of user, being closer for mobile phone and bracelet then can be set as predetermined time for 6 points.
From the foregoing, it will be observed that when predetermined time is artificial configuration, it is ensured that bracelet and terminal device in predetermined time It is closer, and then guarantees that bracelet and terminal device can successfully carry out Bluetooth communication.
It should be noted that in actual application, can be set according to actual needs predetermined time, the present invention is implemented Example is not especially limited this.
In embodiments of the present invention, bracelet has Bluetooth function, and the number that acquisition is sent to terminal device is not needed in bracelet It is believed that the Bluetooth function of bracelet is in close state when breath, and then it may be implemented to save the electricity of bracelet.It is reached in predetermined time When, that is, when bracelet needs to send data information to terminal device, bracelet restarts the Bluetooth function of bracelet.
S202, bracelet search for the terminal device matched in advance with bracelet within a preset range.
Optionally, preset range is usually the range that bracelet can carry out Bluetooth communication with terminal device.For example, default model Enclose to be 5 meters, 10 meters of circumference etc..
Optionally, the terminal device matched in advance with bracelet refers to, pairing and mutual trust had been carried out with bracelet Terminal device.In this way, carrying out being not necessarily to manual intervention, bracelet and terminal device with clock synchronization in bracelet and terminal device next time Establish bluetooth connection.
S203, after bracelet searches terminal device, bracelet to terminal device send bluetooth establish request.
Optionally, bluetooth establishes the mark that bracelet can be carried in request.
It should be noted that if bracelet does not search terminal device within a preset range, then bracelet can abandon bluetooth and build Vertical request, and close the Bluetooth function of bracelet.
S204, terminal device send bluetooth to bracelet and are successfully established response.
Optionally, the device identification that trust can be set in terminal device receives bracelet transmission in terminal device Bluetooth establish request after, terminal device judge trust device identification in whether including bracelet mark, if so, terminal is set It is standby to be successfully established response to bracelet transmission bluetooth, to realize that bracelet and terminal device establish bluetooth connection.
It should be noted that if not including the mark of bracelet in the device identification that terminal device judgement is trusted, then terminal is set It is standby to show dialog box, so that the bluetooth that user chooses whether to receive bracelet transmission establishes request.
S205, bracelet send the data information collected to terminal device by bluetooth.
It optionally, may include that bracelet collects motion information, body parameter etc. in data information.Certainly, in reality In application process, the data information can be set according to actual needs, the present invention is not especially limit this.
Optionally, after bracelet sends the data information collected to terminal device by bluetooth, bracelet closes hand The Bluetooth function of ring can save the electricity of bracelet in this way.Further, bracelet can also delete the data letter sent Breath, in this way, the memory space of bracelet can be saved.
Data transmission method provided in an embodiment of the present invention, bracelet have Bluetooth function, do not need to set to terminal in bracelet When preparation send the data information of acquisition, the Bluetooth function in bracelet is in close state, when bracelet needs to send to terminal device When the data information collected (predetermined time), bracelet just opens Bluetooth function, search terminal device paired in advance, And bluetooth connection is established with terminal device, it, can be by bluetooth to end after bracelet and terminal device establish bluetooth connection End equipment sends the data information collected.Due to bracelet only need to terminal device send data information when, just open Bluetooth function is opened, and then the electricity of bracelet can be saved.Further, bracelet can establish bluetooth company with terminal device automatically It connects, and the data information collected is sent to terminal device by bluetooth, and then realize under the premise of guaranteeing bracelet electricity, Realize that automatically, timely terminal device sends the data information collected, which participates in without artificial, not only saves people Power can also realize the timeliness of improve data transfer.
On the basis of embodiment shown in Fig. 2, in order to save the electricity of terminal device, terminal device can also need to connect When receiving the data information that bracelet is sent, just need to open Bluetooth function.Correspondingly, can be arranged in terminal device and bracelet close Distance communication (Near Field Communication, abbreviation NFC) module and bluetooth module, carry out clock by NFC module It is synchronous, data information transfer is carried out by bluetooth module.Specifically, referring to Fig. 3-embodiment shown in Fig. 4.
Fig. 3 is the configuration diagram of terminal device provided in an embodiment of the present invention and bracelet.Fig. 3 is referred to, in bracelet 301 It is provided with the first NFC module and the first bluetooth module, the second NFC module and the second bluetooth module are provided in terminal device 302.
Terminal device can be by the second NFC module to the first NFC module tranmitting data register information of bracelet, so that in bracelet Clock it is synchronous with the clock in terminal device.In this way, terminal device can start with bracelet according to synchronous clock, Yi Jiguan Respective bluetooth module is closed, after terminal device and bracelet start bluetooth module, bracelet can be by bluetooth to terminal Equipment sends data information, and after data information transfer completion, terminal device and bracelet can close respective bluetooth mould Block, to realize that getting married is to cross electricity.
On the basis of architecture diagram shown in Fig. 3, in the following, by embodiment shown in Fig. 4, to this kind of data transmission method into Row is described in detail.
Fig. 4 is the schematic diagram two of data transmission method provided in an embodiment of the present invention.Refer to Fig. 4, comprising:
S401, terminal device detect the distance between terminal device and bracelet.
Optionally, terminal device can detect the first NFC mould in the second NFC module and bracelet by the second NFC module The distance between block.Since the second NFC module is arranged in terminal device, the first NFC module is arranged in bracelet, therefore, the The distance between one NFC module and the second NFC module are equal to the distance between bracelet and terminal device.
Optionally, other terminal devices interfere the clock of bracelet in order to prevent or terminal device is to other hands The clock of ring interferes, and can match to terminal device and bracelet, so that the terminal device and bracelet of only pairing can To carry out NFC communication.Wherein, terminal device and bracelet described in the embodiment of the present invention are the terminal device matched in advance, that is, this Terminal device and bracelet in inventive embodiments can carry out NFC communication.
S402, when terminal device determines that bracelet is less than pre-determined distance at a distance from terminal device, terminal device passes through the First NFC module tranmitting data register information of two NFC modules to bracelet.
Wherein, clock information includes current time, clock duration and the duration apart from clock next time.
In actual application, as long as the distance between the first NFC and the 2nd NFC is less than pre-determined distance, the first NFC Connection can be established with the 2nd NFC, so that terminal device can carry out NFC communication with bracelet.
Optionally, pre-determined distance is usually the distance that can carry out NFC communication.For example, the pre-determined distance can be 10 lis Rice, 20 centimetres etc..
Optionally, terminal device can be by the second NFC module to after the first NFC module tranmitting data register information, bracelet Clock information can be received by the first NFC module.
S403, bracelet update the clock in bracelet according to clock information.
After bracelet receives clock information, can be judged according to clock information clock in bracelet with receive when Whether clock information matches, if so, bracelet can ignore the clock information, if it is not, then bracelet can be according to the clock received Clock in information update bracelet.
By S401-S403, it is synchronous with the clock in bracelet that terminal device may be implemented.Due to being established by NFC module Connection speed is fast, data transmission bauds is fast and power consumption is extremely low, and therefore, terminal can be saved by being synchronized by NFC module progress clock The electric quantity consumption of equipment and bracelet.Further, since the volume and weight of NFC module is smaller, bracelet and terminal will not be occupied The more volume of equipment.
It should be noted that in actual application, it can also be by other feasible between terminal device and bracelet Implementation carries out clock and synchronizes, and the present invention is not especially limit this.
S404, in clock arrival time, terminal device starts the Bluetooth function of terminal device.
Optionally, terminal device can be by the bluetooth module in the equipment that opens a terminal, to realize starting terminal device Bluetooth function.
S405, bracelet wait preset duration after clock arrival time, and start the Bluetooth function of bracelet.
Optionally, preset duration can be 1 second, 2 seconds, 3 seconds etc., in actual application, can be according to actual needs The preset duration is set, and the present invention is not especially limit this.
It should be noted that bracelet can also start Bluetooth function in clock arrival time.
In actual application, after terminal device starts Bluetooth function, it usually needs after one section of duration, Its equipment just may search for terminal device.Therefore, bracelet restarts hand after waiting preset duration after clock arrival time The Bluetooth function of ring can not search terminal device after starting Bluetooth function to avoid bracelet.
S406, bracelet search for the terminal device within a preset range.
S407, after bracelet searches the terminal device, bracelet to terminal device send bluetooth establish request.
S408, terminal device send bluetooth to bracelet and are successfully established response.
S409, bracelet send the data information collected to terminal device by bluetooth.
It should be noted that the implementation procedure of S406-S409 may refer to the implementation procedure of S202-S205, herein no longer It is repeated.
S410, bracelet send data to terminal device by bluetooth and are transmitted message.
Wherein, data are transmitted message for indicating that this data information transfer is completed to terminal device.
S411, bracelet close Bluetooth function.
S412, bracelet delete the data information sent.
It should be noted that not having sequencing between S411 and S412, S411 and S412 can be executed sequentially, can also be with It is parallel to execute.
S413, terminal device close Bluetooth function.
After bracelet is transmitted data information to terminal device, terminal device just closes Bluetooth function, and then can be with Save the electricity of terminal device.
In any one above-mentioned embodiment, bracelet can send data information to terminal device in time.In terminal device After receiving data information, terminal device can be analyzed data information, can if analysis obtains data information exception To execute corresponding operation.
For example, it is assumed that terminal device detects that body parameter is abnormal (such as heartbeat is abnormal), then can sound the alarm, with Remind user;Alternatively, distress signals can also be sent to the terminal device of other users, to request the help of other users.
Fig. 5 is a kind of structural schematic diagram one of data transmission device provided in an embodiment of the present invention.Fig. 5 is referred to, including Starting module 11, establishes module 13 and sending module 14 at search module 12, wherein
The starting module 11 is used for, in the Bluetooth function of predetermined time starting bracelet;
Described search module 12 is used for, and searches for the terminal device matched in advance with the bracelet within a preset range;
The module 13 of establishing is used for, and after described search block search to the terminal device, is established with terminal device Bluetooth connection;
The sending module 14 is used for, and sends the data information collected to the terminal device by bluetooth.
Data transmission device described in the embodiment of the present invention can execute technical solution shown in above method embodiment, Realization principle and beneficial effect are similar, are no longer repeated herein.
Fig. 6 is a kind of structural schematic diagram two of data transmission device provided in an embodiment of the present invention.Embodiment shown in Fig. 5 On the basis of, Fig. 6 is referred to, described device further includes receiving module 15 and update module 16, wherein
The receiving module 15 is used for, and before the starting module 11 starts the Bluetooth function of the bracelet, receives institute The clock information of terminal device transmission is stated, includes current time, clock duration and distance clock next time in the clock information Duration, wherein the predetermined time is a moment after clock arrival time or clock reach,
The update module 16 is used for, and according to the clock information, updates the clock in the bracelet.
In a kind of possible embodiment, the first short-range communication NFC module, the terminal are provided in the bracelet The second NFC module is provided in equipment, the receiving module 15 is specifically used for:
When the bracelet is less than pre-determined distance at a distance from the terminal device, received by first NFC module The clock information that the terminal device is sent by second NFC module.
In alternatively possible embodiment, the terminal device starts the terminal device when the clock reaches Bluetooth function, the predetermined time is located at after the clock arrival time, and the predetermined time and the clock reach Moment differs preset duration.
In alternatively possible embodiment, the sending module 14 is also used to, and Xiang Suoshu terminal device sends bluetooth Establish request;
The receiving module 15 is also used to, and is received the bluetooth that the terminal device is sent and is successfully established response.
In alternatively possible embodiment, described device further includes closedown module 17 and removing module 18, wherein
The closedown module 17 is used for, and is collected by bluetooth to terminal device transmission in the sending module 14 Data information after, close the Bluetooth function of the bracelet;
The removing module 18 is used for, and deletes the data information.
Data transmission device described in the embodiment of the present invention can execute technical solution shown in above method embodiment, Realization principle and beneficial effect are similar, are no longer repeated herein.
Fig. 7 is the structural schematic diagram one of another data transmission device provided in an embodiment of the present invention.Fig. 7 is referred to, is wrapped It includes sending module 21, starting module 22, establish module 23 and receiving module 24, wherein
The sending module 21 is used for, Xiang Shouhuan tranmitting data register information so that the bracelet according to the clock information more Clock in the new bracelet, the clock information include current time, clock duration and the duration apart from clock next time;
The starting module 22 is used for, and in clock arrival time, starts the Bluetooth function of terminal device;
The module 23 of establishing is used for, and after the bracelet searches the terminal device, establishes bluetooth with the bracelet Connection;
The receiving module 24 is used for, and receives the data information that the bracelet is sent by bluetooth.
Data transmission device described in the embodiment of the present invention can execute technical solution shown in above method embodiment, Realization principle and beneficial effect are similar, are no longer repeated herein.
In a kind of possible embodiment, the first short-range communication NFC module, the terminal are provided in the bracelet The second NFC module is provided in equipment;The sending module 21 is specifically used for:
When the bracelet is less than pre-determined distance at a distance from the terminal device, by second NFC module to institute The first NFC module for stating bracelet sends the clock information.
In alternatively possible embodiment, the receiving module 24 is also used to, and receives the bluetooth that the bracelet is sent Establish request;
The sending module 21 is also used to, and Xiang Suoshu bracelet sends bluetooth and is successfully established response.
Fig. 8 is the structural schematic diagram two of another data transmission device provided in an embodiment of the present invention, implementation shown in Fig. 7 On the basis of example, Fig. 8 is referred to, described device further includes closedown module 25, wherein
The closedown module 25 is used for, and the data information that the bracelet is sent is received by bluetooth in the receiving module 24 Later, the Bluetooth function of the terminal device is closed.
Data transmission device described in the embodiment of the present invention can execute technical solution shown in above method embodiment, Realization principle and beneficial effect are similar, are no longer repeated herein.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than to it Limitation;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, those skilled in the art It is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, either to part of or All technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution this hair The range of bright example scheme.

Claims (20)

1. a kind of data transmission method characterized by comprising
Bracelet starts the Bluetooth function of the bracelet in predetermined time;
The bracelet searches for the terminal device matched in advance with the bracelet within a preset range;
After the bracelet searches the terminal device, the bracelet and terminal device establish bluetooth connection;
The bracelet sends the data information collected to the terminal device by bluetooth.
2. the method according to claim 1, wherein the predetermined time is that clock arrival time or clock reach A moment afterwards, the bracelet start before the Bluetooth function of the bracelet, further includes:
The bracelet receives the clock information that the terminal device is sent, when including current time, clock in the clock information Duration long and apart from clock next time;
The bracelet updates the clock in the bracelet according to the clock information.
3. according to the method described in claim 2, it is characterized in that, being provided with the first short-range communication NFC mould in the bracelet Block is provided with the second NFC module in the terminal device;The bracelet receives the clock information that the terminal device is sent, packet It includes:
When the bracelet is less than pre-determined distance at a distance from the terminal device, the bracelet passes through first NFC module Receive the clock information that the terminal device is sent by second NFC module.
4. according to the method in claim 2 or 3, which is characterized in that the terminal device starts when the clock reaches The Bluetooth function of the terminal device, the predetermined time were located at after the clock arrival time, and the predetermined time with The clock arrival time differs preset duration.
5. method according to claim 1-3, which is characterized in that the bracelet and terminal device establish bluetooth company It connects, comprising:
The bracelet sends bluetooth to the terminal device and establishes request;
The bracelet receives the bluetooth that the terminal device is sent and is successfully established response.
6. method according to claim 1-3, which is characterized in that the bracelet is set by bluetooth to the terminal Preparation is sent after the data information collected, further includes:
The bracelet closes the Bluetooth function of the bracelet;
The bracelet deletes the data information.
7. a kind of data transmission method characterized by comprising
Terminal device to bracelet tranmitting data register information so that the bracelet according to the clock information update in the bracelet when Clock, the clock information include current time, clock duration and the duration apart from clock next time;
In clock arrival time, the terminal device starts the Bluetooth function of the terminal device;
After the bracelet searches the terminal device, the terminal device and the bracelet establish bluetooth connection;
The terminal device receives the data information that the bracelet is sent by bluetooth.
8. the method according to the description of claim 7 is characterized in that being provided with the first short-range communication NFC mould in the bracelet Block is provided with the second NFC module in the terminal device;The terminal device to bracelet tranmitting data register information, including
When the bracelet is less than pre-determined distance at a distance from the terminal device, the terminal device passes through the 2nd NFC Module sends the clock information to the first NFC module of the bracelet.
9. method according to claim 7 or 8, which is characterized in that the terminal device and the bracelet establish bluetooth company It connects, comprising:
The terminal device receives the bluetooth that the bracelet is sent and establishes request;
The terminal device sends bluetooth to the bracelet and is successfully established response.
10. method according to claim 7 or 8, which is characterized in that the terminal device receives the bracelet by bluetooth After the data information of transmission, further includes:
The terminal device closes the Bluetooth function of the terminal device.
11. a kind of data transmission device, which is characterized in that including starting module, search module, module and sending module are established, Wherein,
The starting module is used for, in the Bluetooth function of predetermined time starting bracelet;
Described search module is used for, and searches for the terminal device matched in advance with the bracelet within a preset range;
The module of establishing is used for, and after described search block search to the terminal device, is established bluetooth with terminal device and is connected It connects;
The sending module is used for, and sends the data information collected to the terminal device by bluetooth.
12. device according to claim 11, which is characterized in that described device further includes receiving module and update module, Wherein,
The receiving module is used for, and before the Bluetooth function that the starting module starts the bracelet, is received the terminal and is set The clock information that preparation is sent includes the duration of current time, clock duration and distance clock next time in the clock information, In, the predetermined time is a moment after clock arrival time or clock arrival,
The update module is used for, and according to the clock information, updates the clock in the bracelet.
13. device according to claim 12, which is characterized in that be provided with the first short-range communication NFC in the bracelet Module is provided with the second NFC module in the terminal device, and the receiving module is specifically used for:
When the bracelet is less than pre-determined distance at a distance from the terminal device, by described in first NFC module reception The clock information that terminal device is sent by second NFC module.
14. device according to claim 12 or 13, which is characterized in that the terminal device is opened when the clock reaches The Bluetooth function of the terminal device is moved, the predetermined time was located at after the clock arrival time, and the predetermined time Preset duration is differed with the clock arrival time.
15. the described in any item devices of 1-13 according to claim 1, which is characterized in that
The sending module is also used to, and Xiang Suoshu terminal device sends bluetooth and establishes request;
The receiving module is also used to, and is received the bluetooth that the terminal device is sent and is successfully established response.
16. the described in any item devices of 1-13 according to claim 1, which is characterized in that described device further include closedown module and Removing module, wherein
The closedown module is used for, and sends the data collected letter to the terminal device by bluetooth in the sending module After breath, the Bluetooth function of the bracelet is closed;
The removing module is used for, and deletes the data information.
17. a kind of data transmission device, which is characterized in that including sending module, starting module, module and receiving module are established, Wherein,
The sending module is used for, Xiang Shouhuan tranmitting data register information, so that the bracelet is according to clock information update Clock in bracelet, the clock information include current time, clock duration and the duration apart from clock next time;
The starting module is used for, and in clock arrival time, starts the Bluetooth function of terminal device;
The module of establishing is used for, and after the bracelet searches the terminal device, establishes bluetooth connection with the bracelet;
The receiving module is used for, and receives the data information that the bracelet is sent by bluetooth.
18. device according to claim 17, which is characterized in that be provided with the first short-range communication NFC in the bracelet Module is provided with the second NFC module in the terminal device;The sending module is specifically used for:
When the bracelet is less than pre-determined distance at a distance from the terminal device, by second NFC module to the hand First NFC module of ring sends the clock information.
19. device described in 7 or 18 according to claim 1, which is characterized in that
The receiving module is also used to, and is received the bluetooth that the bracelet is sent and is established request;
The sending module is also used to, and Xiang Suoshu bracelet sends bluetooth and is successfully established response.
20. device described in 7 or 18 according to claim 1, which is characterized in that described device further includes closedown module, wherein
The closedown module is used for, and after the receiving module receives the data information that the bracelet is sent by bluetooth, is closed Close the Bluetooth function of the terminal device.
CN201810029863.XA 2018-01-12 2018-01-12 Data transmission method and device Pending CN110035416A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810029863.XA CN110035416A (en) 2018-01-12 2018-01-12 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810029863.XA CN110035416A (en) 2018-01-12 2018-01-12 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN110035416A true CN110035416A (en) 2019-07-19

Family

ID=67234436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810029863.XA Pending CN110035416A (en) 2018-01-12 2018-01-12 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN110035416A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277984A (en) * 2020-01-17 2020-06-12 上海纯米电子科技有限公司 Wireless local area network access method and device
CN112379774A (en) * 2020-11-12 2021-02-19 歌尔光学科技有限公司 Interaction method of VR glasses and wrist strap equipment and related components

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080057868A1 (en) * 2006-09-05 2008-03-06 Samsung Electronics Co.; Ltd Auto pairing system and method for bluetooth network
CN101754470A (en) * 2008-11-28 2010-06-23 中兴通讯股份有限公司 Method and mobile phone for realizing active signaling of blue tooth
CN106412344A (en) * 2016-08-30 2017-02-15 上海卓易科技股份有限公司 Method and device for reducing Bluetooth power consumption of bracelet
CN106686528A (en) * 2016-12-21 2017-05-17 上海斐讯数据通信技术有限公司 Data transmission method and system as well as master device and slave device
CN107197418A (en) * 2017-04-21 2017-09-22 上海掌门科技有限公司 A kind of intelligent control method worn based on wrist-watch and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080057868A1 (en) * 2006-09-05 2008-03-06 Samsung Electronics Co.; Ltd Auto pairing system and method for bluetooth network
CN101754470A (en) * 2008-11-28 2010-06-23 中兴通讯股份有限公司 Method and mobile phone for realizing active signaling of blue tooth
CN106412344A (en) * 2016-08-30 2017-02-15 上海卓易科技股份有限公司 Method and device for reducing Bluetooth power consumption of bracelet
CN106686528A (en) * 2016-12-21 2017-05-17 上海斐讯数据通信技术有限公司 Data transmission method and system as well as master device and slave device
CN107197418A (en) * 2017-04-21 2017-09-22 上海掌门科技有限公司 A kind of intelligent control method worn based on wrist-watch and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277984A (en) * 2020-01-17 2020-06-12 上海纯米电子科技有限公司 Wireless local area network access method and device
CN112379774A (en) * 2020-11-12 2021-02-19 歌尔光学科技有限公司 Interaction method of VR glasses and wrist strap equipment and related components

Similar Documents

Publication Publication Date Title
CN110191442A (en) A kind of Bluetooth connecting method, equipment and system
CN103312543B (en) A kind of intelligence speed-raising client and intelligent accelerating method thereof
CN107251594A (en) Information processor
CN102299729B (en) A kind of information transferring method and device
CN107426069A (en) Intelligent domestic system and its control method based on bluetooth
CN104066076B (en) Mobile terminal method for parameter configuration and parameter configuration device
CN110267150A (en) Wireless headset, earphone charging box and communication means, system, computer media
CN107179678A (en) A kind of intelligent alarm clock control system and method
CN110035416A (en) Data transmission method and device
CN106482789A (en) SCM Based wireless environment monitoring system and method
CN105554237A (en) Anti-disturb mode management method and user terminal
CN103312387B (en) Data sharing method and device of wireless body area network
CN105516338B (en) A kind of Intelligent hardware networking method, gateway and system for wearing
CN104156066A (en) Method, device and system for wirelessly receiving upload data by smart mobile terminal
CN209103286U (en) Earphone translation system
CN110376641A (en) A kind of 5G of the wireless seismic detector and 4G combination means of communication and system
CN104506598A (en) Power terminal management method for hybrid networking
CN110415724A (en) Transmission method, device, system and the computer readable storage medium of alert data
CN107749789B (en) Time synchronization method and related device
CN107547631A (en) A kind of communication control method and Internet of Things server
CN105703982B (en) A kind of method and device that collaboration human body equipment is communicated
CN106307774A (en) Intelligent running shoe and intelligent running shoe management system and method
CN201018499Y (en) Contact type bluetooth matching device and system
CN104688176B (en) A kind of wireless sight test means based on ZigBee
CN109257717A (en) Low-power consumption continuous data transmission method, wireless sensing node and wireless sensor network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200417

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 13 layer self unit 01

Applicant before: Guangdong Shenma Search Technology Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20190719

RJ01 Rejection of invention patent application after publication