CN105704252A - Low-power-consumption bluetooth equipment data transmission method and device - Google Patents

Low-power-consumption bluetooth equipment data transmission method and device Download PDF

Info

Publication number
CN105704252A
CN105704252A CN201610265818.5A CN201610265818A CN105704252A CN 105704252 A CN105704252 A CN 105704252A CN 201610265818 A CN201610265818 A CN 201610265818A CN 105704252 A CN105704252 A CN 105704252A
Authority
CN
China
Prior art keywords
data
uuid
self
service end
data transmission
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
CN201610265818.5A
Other languages
Chinese (zh)
Other versions
CN105704252B (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201610265818.5A priority Critical patent/CN105704252B/en
Publication of CN105704252A publication Critical patent/CN105704252A/en
Application granted granted Critical
Publication of CN105704252B publication Critical patent/CN105704252B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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

Abstract

The embodiment of the invention provides a low-power-consumption bluetooth equipment data transmission method and device. The method comprises the steps that a client side acquires a universally unique identifier UUID of a server side, and the UUID is corresponding to at least two feature attributes provided by a low-power-consumption bluetooth data service; a data transmission channel for data transmission between the client side and the server side is determined according to the UUID of the server side and a preset UUID in the client side; and the client side receives at least one self-defined data packet transmitted by the server side through the data transmission channel, and the data packet content of the self-defined data packet is corresponding to one of the feature attributes of the low-power-consumption bluetooth data service. According to the low-power-consumption bluetooth equipment data transmission method, the same data channel is enabled to transmit multiple types of data according to the requirements so that utilization rate of the data transmission channel can be enhanced and system resources can be saved.

Description

Low-power consumption bluetooth equipment data transmission method and device
Technical field
The present invention relates to Bluetooth communication field, particularly relate to a kind of low-power consumption bluetooth equipment data transmission method and device。
Background technology
Bluetooth is a kind of wireless technology standard, it may be achieved fixing equipment, mobile equipment and building individual move short-range data exchange (using the UHF radio wave of the ISM band of 2.4 2.485GHz) between equipment and building personal area network。Development along with Bluetooth wireless technology, bluetooth 4.0 version achieves low-power consumption on the basis of traditional bluetooth technology, bluetooth equipment extremely low power consumption can be operated, promoted low-power consumption Bluetooth technology in the extensive use in the fields such as Intelligent worn device, mobile terminal, motion recording equipment。
In prior art, the application scenarios of low-power consumption Bluetooth technology is all that the standard contextual model (profile) issued by bluetooth tissue is supported, such as battery electric quantity inquiry needs to use the battery service of standard, and the temperature data transmission of clinical thermometer needs to use clinical thermometer service etc.。A lot of application scenarios all defines relevant COS and is supported, and data content and data form in each use scene have special definition。Such as: for standard device information service profile, in this profile, defined property states the property attribute such as serial number, software version number, hardware version numbers, manufacturer's title, product type, product coding, the corresponding corresponding general unique identifier (UniversallyUniqueIdentifier of each property attribute, it is called for short UUID), the corresponding data path of each UUID, the data content that the transmission of each data path is corresponding with the property attribute of described UUID。This UUID is distributed by bluetooth official organization, and these information is pre-defined in software。Just can pass through corresponding UUID when product interconnects with other products and read corresponding facility information。
But, in prior art, data path corresponding for each UUID can only transmit the data content defined in profile, when transmitting data corresponding to multiple different types of property attribute, it is necessary to uses multiple different data path, wastes system resource。
Summary of the invention
The embodiment of the present invention provides a kind of low-power consumption bluetooth equipment data transmission method and device, the problem wasting system resource during for solving low-power consumption bluetooth equipment of the prior art transmission data。
First aspect, the embodiment of the present invention provides a kind of low-power consumption bluetooth equipment data transmission method, including:
Client obtains the general unique identifier UUID of service end;At least two property attribute that described UUID correspondence low-power consumption blue-teeth data service provides, by user according to low-power consumption bluetooth GATT protocol definition;
The UUID preset in UUID according to described service end and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission;
Described client passes through described data transmission channel, receives at least one self-defining data bag that described service end sends, and the one of which property attribute that the packet content of described self-defining data bag services with described low-power consumption blue-teeth data is corresponding。
Second aspect, the embodiment of the present invention provides a kind of low-power consumption bluetooth equipment data transmission method, including:
Service end receives the information acquisition request that client sends;The general unique identifier UUID of the described information acquisition request instruction described service end of acquisition, at least two property attribute that described UUID correspondence low-power consumption blue-teeth data service provides, self-defined according to low-power consumption bluetooth GATT agreement by user;
Described service end sends the UUID of described service end to described client, for for described client according to the UUID preset in the UUID of described service end and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission
Described service end by with described data transmission channel, send at least one self-defining data bag to described client, the one of which property attribute that the packet content of described self-defining data bag services with described low-power consumption blue-teeth data is corresponding。
The third aspect, the embodiment of the present invention provides a kind of low-power consumption bluetooth equipment data transmission device, including:
Processing module, for obtaining the general unique identifier UUID of service end;At least two property attribute that described UUID correspondence low-power consumption blue-teeth data service provides, by user according to low-power consumption bluetooth GATT protocol definition;
Described processing module, is additionally operable to UUID default in the UUID according to described service end and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission;;
Receiver module, for by described data transmission channel, receiving at least one self-defining data bag that described service end sends, the one of which property attribute that the packet content of described self-defining data bag services with described low-power consumption blue-teeth data is corresponding。
Fourth aspect, the embodiment of the present invention also provides for a kind of low-power consumption bluetooth equipment data transmission device, including:
Receiver module, for receiving the information acquisition request that client sends;The general unique identifier UUID of the described information acquisition request instruction described service end of acquisition, at least two property attribute that described UUID correspondence low-power consumption blue-teeth data service provides, self-defined according to low-power consumption bluetooth GATT agreement by user;
Sending module, for sending described UUID to described client, for described client according to the UUID preset in described UUID and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission
Described sending module, is additionally operable to by described data transmission channel, sends at least one self-defining data bag to described client, and the one of which property attribute that the packet content of described self-defining data bag services with described low-power consumption blue-teeth data is corresponding。
The low-power consumption bluetooth equipment data transmission method of embodiment of the present invention offer and device, by the UUID that the property attribute of low-power consumption blue-teeth data service is corresponding is defined, make data channel corresponding for same UUID can support to transmit the packet content of the plurality of property attribute, bluetooth equipment can pass through data transmission channel corresponding for described UUID, use the packet content that the transmission of described self-defining data bag is corresponding with any one property attribute, so that same data channel can transmit polytype data as required, improve the utilization rate of data transmission channel, save system resource。
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, introduce the accompanying drawing used required in embodiment or description of the prior art is done one simply below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings。
Fig. 1 is the mutual schematic diagram that embodiment of the present invention service end and client carry out low-power consumption Bluetooth data transfer;
Fig. 2 is the schematic flow sheet of embodiment of the present invention low-power consumption bluetooth equipment data transmission method;
Fig. 3 is the form schematic diagram of the self-defining data bag in embodiment of the present invention low-power consumption Bluetooth data transfer method;
Fig. 4 is the schematic flow sheet of another embodiment of the present invention low-power consumption bluetooth equipment data transmission method;
Fig. 5 is the structural representation of embodiment of the present invention low-power consumption bluetooth equipment data transmission device;
Fig. 6 is the structural representation of another embodiment of the present invention low-power consumption bluetooth equipment data transmission device。
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiments。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention。
Low-power consumption bluetooth equipment data transmission method of the present invention and device, by the general unique identifier (UniversallyUniqueIdentifier that the property attribute that low-power consumption blue-teeth data is serviced is corresponding, it is called for short UUID) it is defined, make the corresponding multiple property attribute of a UUID, namely corresponding for described UUID data transmission channel can support to transmit the packet content of the plurality of property attribute, again through the data type increasing packet, and define the corresponding relation of described data type and the plurality of property attribute, make bluetooth equipment can pass through data transmission channel corresponding for described UUID, described packet is used to transmit the packet content of any one property attribute corresponding with described UUID。So that same data channel can transmit polytype data as required, improve the utilization rate of data transmission channel, save system resource。
Fig. 1 is the mutual schematic diagram that embodiment of the present invention service end and client carry out low-power consumption Bluetooth data transfer。
Referring to Fig. 1, embodiment of the present invention low-power consumption bluetooth equipment data transmission method is completed alternately by two low-power consumption bluetooth equipments。One of them low-power consumption bluetooth equipment provides data, services as service end 10, and another low-power consumption bluetooth equipment receives data as client 20。Described service end 10 is based on one the low-power consumption blue-teeth data service of low-power consumption bluetooth GATT protocol construction, and described low-power consumption blue-teeth data service includes one or more property attribute。General unique identifier (UniversallyUniqueIdentifier is called for short UUID) corresponding to described property attribute that described low-power consumption blue-teeth data is serviced by described service end 10 is defined so that a UUID can corresponding multiple property attribute。The corresponding data transmission channel of each UUID, then corresponding for described UUID data transmission channel can support to transmit the packet content of the plurality of property attribute。After described client 20 is connected with the foundation of described service end 10, described service end 10 can send the packet content with described and described any one corresponding for UUID property attribute by data transmission channel corresponding for described UUID to described client 20。
Embodiment one
Fig. 2 is the schematic flow sheet of embodiment of the present invention low-power consumption bluetooth equipment data transmission method。
Referring to Fig. 2, the executive agent of the low-power consumption bluetooth equipment data transmission method that the embodiment of the present invention provides is client。Embodiment of the present invention low-power consumption bluetooth equipment data transmission method includes:
S101: client obtains the general unique identifier UUID of service end;At least two property attribute that described UUID correspondence low-power consumption blue-teeth data service provides, by user according to low-power consumption bluetooth general-purpose attribute specification (GenericAttributeProfile is called for short: GATT agreement) definition。
Specifically, in a kind of low-power consumption blue-teeth data services scenarios pattern (profile), state including a primary service, for representing the service content that this item data services。This primary service defines one or more property attribute of described low-power consumption blue-teeth data service。Described UUID is the mark that user defines in advance according to low-power consumption bluetooth GATT agreement, it is possible to by described service end and client identification and inquiry, be the identifier communicated between two bluetooth equipments。The corresponding data transmission channel of each UUID。Alternatively, described service end can also be that each data transmission channel increases characteristic description, in order to describe characteristic and the purposes etc. of described data transmission channel。In the present embodiment, it is possible to the corresponding relation of the property attribute of UUID and described low-power consumption blue-teeth data described in User Defined。Such as: can set that two or more property attribute of the corresponding described low-power consumption blue-teeth data of a UUID, the packet content of the two or multifrequency nature attribute can be transmitted by the data transmission channel that described UUID is corresponding;That is, corresponding for described UUID data transmission channel support sends the packet content that multifrequency nature attribute is corresponding。Or, on the basis of previous embodiment, described UUID can have multiple, data transmission channel corresponding for each UUID all can support to send the packet content of multifrequency nature attribute, then the packet content of described multifrequency nature attribute can be transmitted by the data transmission channel that any one UUID is corresponding。
S102: according to the UUID preset in the UUID of described service end and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission。
Pre-setting in described client and the UUID corresponding to property attribute of described low-power consumption blue-teeth data service, UUID corresponding to same property attribute is identical with the UUID in described service end or matches。After described client is connected with the foundation of described service end, the UUID that the UUID of the described service end got is default with in described client is contrasted by described client, it is determined that whether the UUID of described service end matches with predefined UUID in described client。If the UUID of described service end matches with predefined UUID in described client, it is determined that the low-power consumption blue-teeth data service that described service end provides can provide and match with described client, i.e. described service end can send data to described client。Now, described client can determine between described client and described service end the data transmission channel for carrying out data transmission according to the UUID that the UUID of described service end and described client are preset。
S103: described client is by the data transmission channel corresponding with described UUID, receiving at least one self-defining data bag that described service end sends, the one of which property attribute that the packet content of described self-defining data bag services with described low-power consumption blue-teeth data is corresponding。
Fig. 3 is the form schematic diagram of the self-defining data bag in embodiment of the present invention low-power consumption Bluetooth data transfer method。
Referring to Fig. 3, specifically, described self-defining data bag can include packet header 10 and packet content 20。Described packet header 10 specifically includes data type 11, and described data type 11 is for representing the type of described packet content。
On the basis of above-described embodiment, after at least one self-defining data bag that the described service end of described reception sends, also include:
Resolve described self-defining data bag, obtain described packet content 20 and described data type 11。
Specifically, described packet header also includes data packet length 12 and package identification 13,
The described self-defining data bag of described parsing, obtains described packet content and described data type, including:
Determine whether described self-defining data bag is complete data packet according to described data packet length;
If it is not, then the self-defining data package with identical package identification is combined into complete data packet;
Remove described data packet length 12 and the package identification 13 of described complete data packet, obtain described packet content 20 and described data type 11。
On the basis of above-described embodiment, described packet header also includes origin identification 14, and described origin identification 14 is for representing that described self-defining data wraps in the position in complete data packet。
Described the self-defining data package with identical package identification is combined into complete data packet, including:
According to described origin identification, the described self-defining data bag with identical package identification is ranked up, the described self-defining data package after sequence is combined into complete data packet。
Specifically, wherein said origin identification is 1 byte, represents that when described origin identification is 0x01 described packet is first bag in complete data packet, and described origin identification represents the continuity bag that described packet is other packet when being 0x00。Described data type is 1 byte, the data type that the different numeric representations of this byte are different, needs according to different data types this part assignment when data send。Described package identification fixes 1 byte。If same big packet is divided into multiple small data packets to be transmitted, then use identical package identification value, between different pieces of information bag, use different identification value to be transmitted。Described data packet length is 2 bytes, and described long data packet angle value is for representing the total length of packet, maximum support 64Kbyte。Described packet header always has 5 bytes, and described packet header is superimposed on the front end of described packet content, and described packet class appearance is exactly the actual data packet content corresponding with described data type that described packet to transmit。
The low-power consumption bluetooth equipment data transmission method that the embodiment of the present invention provides, by obtaining the general unique identifier UUID of service end;The UUID preset in UUID according to described service end and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission;By the described data transmission channel corresponding with described UUID, receive at least one self-defining data bag that described service end sends, the one of which property attribute of the corresponding described low-power consumption blue-teeth data service of the packet content of described self-defining data bag。Adopt the low-power consumption bluetooth equipment data transmission method that the embodiment of the present invention provides, by the UUID that the property attribute of low-power consumption blue-teeth data service is corresponding is defined, make a data channel corresponding for UUID can support to transmit the packet content of the plurality of property attribute, bluetooth equipment can pass through data transmission channel corresponding for described UUID, use the packet content that the transmission of described self-defining data bag is corresponding with any one property attribute, so that same data channel can transmit polytype property attribute data as required, improve the utilization rate of data transmission channel, save system resource。
Embodiment two
Fig. 4 is the schematic flow sheet of another embodiment of the present invention low-power consumption bluetooth equipment data transmission method。
Referring to Fig. 4, the executive agent of the low-power consumption bluetooth equipment data transmission method that another embodiment of the present invention provides is service end, and embodiment of the present invention low-power consumption bluetooth equipment data transmission method includes:
S201: service end receives the information acquisition request that client sends;The general unique identifier UUID of the described information acquisition request instruction described service end of acquisition, at least two property attribute that described UUID correspondence low-power consumption blue-teeth data service provides, self-defined according to low-power consumption bluetooth GATT agreement by user;
S202: described service end sends the UUID of described service end to described client, for for described client according to the UUID preset in the UUID of described service end and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission
S203: described service end by with described data transmission channel, send at least one self-defining data bag to described client, the one of which property attribute that the packet content of described self-defining data bag services with described low-power consumption blue-teeth data is corresponding。
On the basis of above-described embodiment, described self-defining data bag also includes data type, the type of packet content described in described data types to express, described to before described client sends at least one self-defining data bag, also including:
Described self-defining data bag is filled the content of described data type, and described data type is superimposed upon the front end of described packet content。
On the basis of above-described embodiment, described self-defining data bag also includes origin identification, data packet length and package identification,
The described content filling described data type in described self-defining data bag, and described data type is superimposed upon the front end of described packet content, including:
In described self-defining data bag, fill described origin identification, described data type, described package identification and described data packet length successively, and described data type, described package identification and described data packet length are sequentially overlapped in the front end of described packet content。。That is, data are packed。
The low-power consumption bluetooth equipment data transmission method that the embodiment of the present invention provides, the information acquisition request that client sends is received by service end, the UUID of described service end is sent to described client, for for described client according to the UUID preset in the UUID of described service end and described client, determine the data transmission channel that described client and described service end carry out data transmission, and by with described data transmission channel, at least one self-defining data bag is sent to described client, the one of which property attribute of the corresponding described low-power consumption blue-teeth data service of the packet content of described self-defining data bag。Adopt the low-power consumption bluetooth equipment data transmission method that the embodiment of the present invention provides, by the UUID that the property attribute of low-power consumption blue-teeth data service is corresponding is defined, make a data channel corresponding for UUID can support to transmit the packet content of the plurality of property attribute, bluetooth equipment can pass through data transmission channel corresponding for described UUID, use the packet content that the transmission of described self-defining data bag is corresponding with any one property attribute, so that same data channel can transmit polytype property attribute data as required, improve the utilization rate of data transmission channel, save system resource。
Embodiment three
Fig. 5 is the structural representation of embodiment of the present invention low-power consumption bluetooth equipment data transmission device。
Refer to Fig. 5, embodiment of the present invention low-power consumption bluetooth equipment data transmission device, including:
Processing module 510, for obtaining the general unique identifier UUID of service end;At least two property attribute that described UUID correspondence low-power consumption blue-teeth data service provides, by user according to low-power consumption bluetooth GATT protocol definition;
Described processing module 510, is additionally operable to UUID default in the UUID according to described service end and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission;
Receiver module 520, for by described data transmission channel, receiving at least one self-defining data bag that described service end sends, the one of which property attribute that the packet content of described self-defining data bag services with described low-power consumption blue-teeth data is corresponding。
On the basis of above-described embodiment, described self-defining data bag also includes data type, the type of packet content described in described data types to express, and described processing module 510 is additionally operable to:
Resolve described self-defining data bag, to obtain described packet content and described data type。
On the basis of above-described embodiment, described self-defining data bag also includes data packet length and package identification,
Described processing module 510 is used for: determine whether described self-defining data bag is complete data packet according to described data packet length;
If described processing module 510 determines that described self-defining data bag is not complete data packet, then described processing module 510 is used for:
The self-defining data package with identical package identification is combined into complete data packet;
Remove described data packet length and the package identification of described complete data packet, obtain described packet content and described data type。
On the basis of above-described embodiment, described self-defining data bag also includes origin identification, described origin identification is for representing that described self-defining data wraps in the position in described complete data packet;
Described processing module 510, is used for:
According to described origin identification, the described self-defining data bag with identical package identification is ranked up, the described self-defining data package after sequence is combined into complete data packet。。
On the basis of the various embodiments described above, described processing module 510, it is used for:
The UUID preset in UUID according to described service end and described client, it is determined that whether the UUID of described service end matches with the UUID that presets in described client;
If it is determined that the UUID of described service end matches with predefined UUID in described client, it is determined that the data transmission channel that described client and described service end carry out data transmission。
The low-power consumption bluetooth equipment data transmission device that the embodiment of the present invention provides, for performing the low-power consumption bluetooth equipment data transmission method that embodiment one provides, it is similar with embodiment one that it implements principle and technique effect, does not repeat them here。
Embodiment four
Fig. 6 is the structural representation of another embodiment of the present invention low-power consumption bluetooth equipment data transmission device。
Refer to Fig. 6, the low-power consumption bluetooth equipment data transmission device that another embodiment of the present invention provides, including:
Receiver module 610, for receiving the information acquisition request that client sends;The general unique identifier UUID of the described information acquisition request instruction described service end of acquisition, at least two property attribute that described UUID correspondence low-power consumption blue-teeth data service provides, self-defined according to low-power consumption bluetooth GATT agreement by user;
Sending module 620, for sending described UUID to described client, for described client according to the UUID preset in described UUID and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission;
Described sending module 620, is additionally operable to by described data transmission channel, sends at least one self-defining data bag to described client, and the one of which property attribute that the packet content of described self-defining data bag services with described low-power consumption blue-teeth data is corresponding。
On the basis of above-described embodiment, described self-defining data bag also includes data type, the type of packet content described in described data types to express,
Described device also includes: processing module 630, for: before described sending module 620 sends at least one self-defining data bag to described client, described self-defining data bag is filled the content of described data type, and described data type is superimposed upon the front end of described packet content。And described packet header is superimposed upon the front end of described packet content。
On the basis of above-described embodiment, described self-defining data bag also includes origin identification, data packet length and package identification,
Described processing module 630, is used for:
In described self-defining data bag, fill described origin identification, described data type, described package identification and described data packet length successively, and described data type, described package identification and described data packet length are sequentially overlapped in the front end of described packet content。
The low-power consumption bluetooth equipment data transmission device that the embodiment of the present invention provides, for performing the low-power consumption bluetooth equipment data transmission method that embodiment two provides, it is similar with embodiment two that it implements principle and technique effect, does not repeat them here。
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can be completed by the hardware that programmed instruction is relevant。Aforesaid program can be stored in the read/write memory medium of a computer, mobile phone or other portable units。This program upon execution, performs to include the step of above-mentioned each embodiment of the method;And aforesaid storage medium includes: the various media that can store program code such as ROM, RAM, magnetic disc or CDs。
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to foregoing embodiments, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein some or all of technical characteristic is carried out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme。

Claims (10)

1. a low-power consumption bluetooth equipment data transmission method, it is characterised in that including:
Client obtains the general unique identifier UUID of service end;At least two property attribute that described UUID correspondence low-power consumption blue-teeth data service provides, self-defined according to low-power consumption bluetooth general-purpose attribute specification GATT agreement by user;
The UUID preset in UUID according to described service end and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission;
Described client passes through described data transmission channel, receives at least one self-defining data bag that described service end sends, and the one of which property attribute that the packet content of described self-defining data bag services with described low-power consumption blue-teeth data is corresponding。
2. method according to claim 1, it is characterised in that described self-defining data bag also includes data type, the type of packet content described in described data types to express;
After at least one self-defining data bag that the described service end of described reception sends, also include:
Resolve described self-defining data bag, obtain described packet content and described data type。
3. method according to claim 2, it is characterised in that described self-defining data bag also includes data packet length information and package identification,
The described self-defining data bag of described parsing, obtains described packet content and described data type, including:
Determine whether described self-defining data bag is complete data packet according to described data packet length information;
If it is not, then the self-defining data package with identical package identification is combined into complete data packet;
Remove described data packet length and the package identification of described complete data packet, obtain described packet content and described data type。
4. method according to claim 3, it is characterised in that described self-defining data bag also includes origin identification, described origin identification is for representing that described self-defining data wraps in the position in complete data packet;
Described the self-defining data package with identical package identification is combined into complete data packet, including:
According to described origin identification, the described self-defining data bag with identical package identification is ranked up, the described self-defining data package after sequence is combined into complete data packet。
5. the method according to any one of claim 1-3, it is characterised in that the described UUID according to described service end and the UUID preset in described client, it is determined that the data transmission channel that described client and described service end carry out data transmission, including:
The UUID preset in UUID according to described service end and described client, it is determined that whether the UUID of described service end matches with the UUID that presets in described client;
If it is determined that the UUID stating service end matches with predefined UUID in described client, it is determined that the data transmission channel that described client and described service end carry out data transmission。
6. a low-power consumption bluetooth equipment data transmission method, it is characterised in that including:
Service end receives the information acquisition request that client sends;The general unique identifier UUID of the described information acquisition request instruction described service end of acquisition, at least two property attribute that described UUID correspondence low-power consumption blue-teeth data service provides, self-defined according to low-power consumption bluetooth general-purpose attribute specification GATT agreement by user;
Described service end sends the UUID of described service end to described client, for for described client according to the UUID preset in the UUID of described service end and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission;
Described service end by with described data transmission channel, at least one self-defining data bag is sent to described client, described self-defining data bag includes packet header and packet content, described packet header includes data type, and the one of which property attribute that the packet content of described self-defining data bag services with described low-power consumption blue-teeth data is corresponding。
7. method according to claim 6, it is characterised in that described self-defining data bag also includes data type, the type of packet content described in described data types to express,
Described to before described client sends at least one self-defining data bag, also including:
Described self-defining data bag is filled the content of described data type, and described data type is superimposed upon the front end of described packet content。
8. method according to claim 7, it is characterised in that described self-defining data bag also includes origin identification, data packet length and package identification,
The described content filling described data type in described self-defining data bag, and described data type is superimposed upon the front end of described packet content, including:
In described self-defining data bag, fill described origin identification, described data type, described package identification and described data packet length successively, and described data type, described package identification and described data packet length are sequentially overlapped in the front end of described packet content。
9. a low-power consumption bluetooth equipment data transmission device, it is characterised in that including:
Processing module, for obtaining the general unique identifier UUID of service end;At least two property attribute that described UUID correspondence low-power consumption blue-teeth data service provides, by user according to low-power consumption bluetooth general-purpose attribute specification GATT protocol definition;
Described processing module, is additionally operable to UUID default in the UUID according to described service end and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission;;
Receiver module, for by described data transmission channel, receiving at least one self-defining data bag that described service end sends, the one of which property attribute that the packet content of described self-defining data bag services with described low-power consumption blue-teeth data is corresponding。
10. a low-power consumption bluetooth equipment data transmission device, it is characterised in that including:
Receiver module, for receiving the information acquisition request that client sends;The general unique identifier UUID of the described information acquisition request instruction described service end of acquisition, at least two property attribute that described UUID correspondence low-power consumption blue-teeth data service provides, self-defined according to low-power consumption bluetooth general-purpose attribute specification GATT agreement by user;
Sending module, for sending described UUID to described client, for described client according to the UUID preset in described UUID and described client, it is determined that the data transmission channel that described client and described service end carry out data transmission
Described sending module, is additionally operable to by described data transmission channel, sends at least one self-defining data bag to described client, and the one of which property attribute that the packet content of described self-defining data bag services with described low-power consumption blue-teeth data is corresponding。
CN201610265818.5A 2016-04-26 2016-04-26 Bluetooth low energy device data transmission method and device Active CN105704252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610265818.5A CN105704252B (en) 2016-04-26 2016-04-26 Bluetooth low energy device data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610265818.5A CN105704252B (en) 2016-04-26 2016-04-26 Bluetooth low energy device data transmission method and device

Publications (2)

Publication Number Publication Date
CN105704252A true CN105704252A (en) 2016-06-22
CN105704252B CN105704252B (en) 2019-05-07

Family

ID=56217604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610265818.5A Active CN105704252B (en) 2016-04-26 2016-04-26 Bluetooth low energy device data transmission method and device

Country Status (1)

Country Link
CN (1) CN105704252B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789415A (en) * 2016-12-12 2017-05-31 东软集团股份有限公司 The acquisition method of facility information, apparatus and system
CN108684021A (en) * 2018-03-20 2018-10-19 青岛海信电器股份有限公司 A kind of Bluetooth Low Energy communication means and device
CN108738007A (en) * 2018-06-06 2018-11-02 科大讯飞股份有限公司 A kind of audio frequency transmission method, equipment and system
CN109341742A (en) * 2018-09-17 2019-02-15 北京英视睿达科技有限公司 Enviromental monitoring equipment method of calibration and system
CN110366157A (en) * 2019-08-29 2019-10-22 厦门市思芯微科技有限公司 A kind of acquisition of blue tooth voice and exchange method
CN110380760A (en) * 2019-07-17 2019-10-25 重庆大学 Universal personal health equipment flag bit data transmission method based on low-power consumption bluetooth
CN112367651A (en) * 2020-10-14 2021-02-12 华帝股份有限公司 Intelligent device Bluetooth network distribution method and system
CN113691609A (en) * 2021-08-20 2021-11-23 Oppo广东移动通信有限公司 Data acquisition method and device, electronic equipment and storage medium
CN113691610A (en) * 2021-08-20 2021-11-23 Oppo广东移动通信有限公司 Data acquisition method and device, electronic equipment and storage medium
CN114501404A (en) * 2021-12-29 2022-05-13 苏州摩比信通智能系统有限公司 Bar code data wireless transmission system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223397A (en) * 2011-05-13 2011-10-19 重庆大学 Infant growth measurement data service module and data transmission method
CN104144498A (en) * 2014-07-28 2014-11-12 北京升哲科技有限公司 Indoor positioning method and system based on Bluetooth beacon equipment
CN104185141A (en) * 2014-07-28 2014-12-03 北京升哲科技有限公司 Bluetooth beacon device based system and method for detecting stay time of user in area
US20140364100A1 (en) * 2013-06-06 2014-12-11 Apple Inc. Category-based fence
CN104540090A (en) * 2014-12-25 2015-04-22 惠州Tcl移动通信有限公司 Networking interconnection method and system based on low-power-consumption Bluetooth
CN104661172A (en) * 2015-01-26 2015-05-27 武汉健坤科技有限公司 Extended data transmission method and extended data transmission system based on Bluetooth low power consumption

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223397A (en) * 2011-05-13 2011-10-19 重庆大学 Infant growth measurement data service module and data transmission method
US20140364100A1 (en) * 2013-06-06 2014-12-11 Apple Inc. Category-based fence
CN104144498A (en) * 2014-07-28 2014-11-12 北京升哲科技有限公司 Indoor positioning method and system based on Bluetooth beacon equipment
CN104185141A (en) * 2014-07-28 2014-12-03 北京升哲科技有限公司 Bluetooth beacon device based system and method for detecting stay time of user in area
CN104540090A (en) * 2014-12-25 2015-04-22 惠州Tcl移动通信有限公司 Networking interconnection method and system based on low-power-consumption Bluetooth
CN104661172A (en) * 2015-01-26 2015-05-27 武汉健坤科技有限公司 Extended data transmission method and extended data transmission system based on Bluetooth low power consumption

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789415A (en) * 2016-12-12 2017-05-31 东软集团股份有限公司 The acquisition method of facility information, apparatus and system
CN108684021B (en) * 2018-03-20 2021-06-04 海信视像科技股份有限公司 Bluetooth low-power-consumption communication method and device
CN108684021A (en) * 2018-03-20 2018-10-19 青岛海信电器股份有限公司 A kind of Bluetooth Low Energy communication means and device
CN108738007A (en) * 2018-06-06 2018-11-02 科大讯飞股份有限公司 A kind of audio frequency transmission method, equipment and system
CN108738007B (en) * 2018-06-06 2021-08-17 科大讯飞股份有限公司 Audio transmission method, equipment and system
CN109341742A (en) * 2018-09-17 2019-02-15 北京英视睿达科技有限公司 Enviromental monitoring equipment method of calibration and system
CN110380760A (en) * 2019-07-17 2019-10-25 重庆大学 Universal personal health equipment flag bit data transmission method based on low-power consumption bluetooth
CN110380760B (en) * 2019-07-17 2021-05-25 重庆大学 General personal health equipment flag bit data transmission method based on low power consumption Bluetooth
CN110366157A (en) * 2019-08-29 2019-10-22 厦门市思芯微科技有限公司 A kind of acquisition of blue tooth voice and exchange method
CN110366157B (en) * 2019-08-29 2022-02-18 厦门市思芯微科技有限公司 Bluetooth voice acquisition and interaction method
CN112367651A (en) * 2020-10-14 2021-02-12 华帝股份有限公司 Intelligent device Bluetooth network distribution method and system
CN113691609A (en) * 2021-08-20 2021-11-23 Oppo广东移动通信有限公司 Data acquisition method and device, electronic equipment and storage medium
CN113691610A (en) * 2021-08-20 2021-11-23 Oppo广东移动通信有限公司 Data acquisition method and device, electronic equipment and storage medium
CN113691610B (en) * 2021-08-20 2024-04-09 Oppo广东移动通信有限公司 Data acquisition method and device, electronic equipment and storage medium
CN113691609B (en) * 2021-08-20 2024-04-09 Oppo广东移动通信有限公司 Data acquisition method and device, electronic equipment and storage medium
CN114501404A (en) * 2021-12-29 2022-05-13 苏州摩比信通智能系统有限公司 Bar code data wireless transmission system and method

Also Published As

Publication number Publication date
CN105704252B (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN105704252A (en) Low-power-consumption bluetooth equipment data transmission method and device
CN103338475B (en) The method of testing of WAP (wireless access point) and device, test terminal
CN103547342B (en) Message method, message read notification method, message receival method and device
EP2793448B1 (en) Method, device, and system for short address use in wireless data communication networks
CN103220822B (en) Data transmission method, device and mobile terminal
CN104661172A (en) Extended data transmission method and extended data transmission system based on Bluetooth low power consumption
CN103765848A (en) Apparatus and methods for media access control replacement
CN101867617A (en) File uploading method base on mobile terminal and system and uploading server thereof
CN102340523B (en) Mobile terminal and method for down loading, server and data transmission method for uplink
CN104115500A (en) Bi-directional tunneling via user input back channel for wireless displays
CN105144657B (en) The technology of the direct-connected service (WFDS) application service platform (ASP) of the WI-FI for servicing ergosphere 2
CN104135339A (en) Bluetooth low-power-consumption communication method, Bluetooth equipment and system
CN106688277A (en) Efficient centralized resource and schedule management in time slotted channel hopping networks
CN105100129B (en) A kind of methods, devices and systems of data transmission
JP2006514467A5 (en)
CN103987038A (en) Radio communication method and system
CN101964722A (en) Be used for method for communicating and system
CN102983942A (en) Data transmission method and equipment
CN112130461A (en) Smart home control method and device, storage medium and electronic device
CN104703126B (en) Wireless network broadcast information transmission system and its method based on iBeacon
CN110213756A (en) A kind of data transmission method, device and its relevant device
JP6929946B2 (en) Data transmission method, device, transmitting end, receiving end and system
CN104253763A (en) Method for realizing data transmission in gateway equipment of ubiquitous network and gateway equipment using method
CN115988053A (en) Communication node, data transmission method and storage medium
CN106416174B (en) A kind of network protocol configuration method, 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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee after: Hisense Video Technology Co.,Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee before: HISENSE ELECTRIC Co.,Ltd.