CN106878917A - The transfer control method of information, system, terminal and data acquisition unit - Google Patents
The transfer control method of information, system, terminal and data acquisition unit Download PDFInfo
- Publication number
- CN106878917A CN106878917A CN201510920226.8A CN201510920226A CN106878917A CN 106878917 A CN106878917 A CN 106878917A CN 201510920226 A CN201510920226 A CN 201510920226A CN 106878917 A CN106878917 A CN 106878917A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- data
- terminal
- protocol type
- acquisition unit
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of transfer control method of information, system, terminal and data acquisition unit, wherein the method includes:Receive the open command for the bluetooth module input in terminal;N number of bluetooth data packets transportation protocol type that terminal is supported is obtained, and N number of data packet identity information is generated according to N number of bluetooth data packets transportation protocol type, wherein, N is positive integer;Asked to Bluetooth pairing is sent around terminal, wherein, Bluetooth pairing request includes N number of data packet identity information, so that data acquisition unit receives Bluetooth pairing request, and according to N number of data packet identity information selection target Bluetooth communication protocol type;And the target Bluetooth communication protocol type that data acquisition unit sends is received, and row data communication is entered according to target Bluetooth communication protocol type and data acquisition unit.The method can cause that different external bluetooth equipments with compatible communication, can improve the speed and success rate of packet transmission, improve the convenience that user uses.
Description
Technical field
Adopted the present invention relates to communication technical field, more particularly to a kind of transfer control method of information, system, terminal and data
Storage.
Background technology
In life, Most users can select the packet transmission carried out between equipment that communicated using Bluetooth pairing.In correlation technique,
Bluetooth module in the equipment such as mobile phone, panel computer is typically by SPP (Serial Port Profile, serial port configuration
File) agreement, OPP (Object Push Profile, object push profile) agreements or BLE (Bluetooth
Low Energy, Bluetooth Low Energy) agreement realizes the transmission of packet.
But, when current this communicating terminal realizes that packet is transmitted by one of which bluetooth delivery protocol, can exist with
Lower problem:On the one hand, what cannot be transmitted or be used using packet after easily causing user's Bluetooth pairing successfully is not optimal
Transmission method, so as to reduce transfer rate;On the other hand, it is impossible to the Bluetooth communication such as compatible multiple mobile phone, panel computer
Equipment carries out packet transmission, to user using bringing inconvenience.
The content of the invention
The purpose of the present invention is intended at least solve to a certain extent one of technical problem in correlation technique.
Therefore, first purpose of the invention is to propose a kind of transfer control method of information.The method can cause difference
External bluetooth equipment with compatible communication, can improve the speed and success rate of packet transmission, improve the facility that user uses
Property.
Second object of the present invention is the transfer control method for proposing another information.
Third object of the present invention is to propose a kind of terminal.
Fourth object of the present invention is to propose a kind of data acquisition unit.
5th purpose of the invention is to propose a kind of transmission control system of information.
It is that, up to above-mentioned purpose, first aspect present invention embodiment proposes a kind of transfer control method of information, including following step
Suddenly:Receive the open command for the bluetooth module input in terminal;Obtain N number of bluetooth data packets that the terminal is supported
Transportation protocol type, and N number of data packet identity information is generated according to N number of bluetooth data packets transportation protocol type, wherein,
N is positive integer;Asked to Bluetooth pairing is sent around the terminal, wherein, the Bluetooth pairing request includes the N
Individual data packet identity information, so that the data acquisition unit of the terminal surrounding receives the Bluetooth pairing request, and according to described
N number of data packet identity information selection target Bluetooth communication protocol type;And receive the target indigo plant that data acquisition unit sends
Tooth communication protocol type, and row data communication is entered according to the target Bluetooth communication protocol type and the data acquisition unit.
The transfer control method of information according to embodiments of the present invention, the unlatching received for bluetooth module input in terminal refers to
Order, N number of bluetooth data packets transportation protocol type that the terminal that will be got is supported generates N number of data packet identity information, and
To around terminal send carry N number of data packet identity information Bluetooth pairing ask, data acquisition unit receive should ask
According to N number of data packet identity information selection target Bluetooth communication protocol type and terminal can be sent it to when asking, terminal according to
The target Bluetooth communication protocol type that the data acquisition unit for receiving sends enters row data communication with data acquisition unit, i.e., in data
Multiple Bluetooth communication protocol is pre-stored in collector, by obtaining the Bluetooth communication protocol type to be supported of terminal from data
Optimal Bluetooth communication protocol is selected in multiple Bluetooth communication protocols in collector, and according to the optimal Bluetooth communication protocol reality
Bluetooth data communication between existing two equipment, improves the transfer rate and success rate of packet, and cause different external indigo plants
Tooth equipment can improve the convenience that user uses with compatible communication.
It is that, up to above-mentioned purpose, second aspect present invention embodiment proposes a kind of transfer control method of information, including following step
Suddenly:The open command for the bluetooth module input in data acquisition unit is received, and is sent to around the data acquisition unit
Bluetooth pairing is asked, wherein, the Bluetooth pairing request includes the acquisition request of bluetooth data packets transportation protocol type, with
The N number of bluetooth data packets for being supported the terminal terminal according to the acquisition acquisition request around the data acquisition unit are passed
Protocol type is sent, and N number of data packet identity information is generated according to N number of bluetooth data packets transportation protocol type, wherein, N
It is positive integer;Described N number of data packet identity information that receiving terminal sends, and selected according to N number of data packet identity information
Select target Bluetooth communication protocol type;And row data communication is entered according to the target Bluetooth communication protocol type and the terminal.
The transfer control method of information according to embodiments of the present invention, receives for opening that bluetooth module in data acquisition unit is input into
Instruction is opened, and is asked to Bluetooth pairing is sent around data acquisition unit, the request includes bluetooth data packets transportation protocol class
The acquisition request of type, so that N number of bluetooth data packets transportation protocol type that terminal itself is supported according to the acquisition acquisition request,
And the bluetooth data packets transportation protocol type selecting target Bluetooth communication protocol type supported according to terminal itself, and according to
The target Bluetooth communication protocol type is communicated with terminal, i.e., assisted by being pre-stored multiple Bluetooth communication in data acquisition unit
View, and by obtaining the Bluetooth communication protocol type to be supported of terminal from the multiple Bluetooth communication protocols in data acquisition unit
In select optimal Bluetooth communication protocol, and realize that the blue-teeth data between two equipment leads to according to the optimal Bluetooth communication protocol
Letter, improves the transfer rate and success rate of packet, and cause that different external bluetooth equipments can be improve with compatible communication
The convenience that user uses.
It is that, up to above-mentioned purpose, third aspect present invention embodiment proposes a kind of terminal, including:Receiver module, for receiving
For the open command of bluetooth module input in terminal;Generation module, for obtaining N number of bluetooth number that the terminal is supported
According to bag transportation protocol type, and N number of data packet identity information is generated according to N number of bluetooth data packets transportation protocol type,
Wherein, N is positive integer;Sending module, for being asked to transmission Bluetooth pairing around the terminal, wherein, the indigo plant
Tooth pairing request includes N number of data packet identity information, so that data acquisition unit receives the Bluetooth pairing request, and
According to N number of data packet identity information selection target Bluetooth communication protocol type;And data communication module, for receiving
The target Bluetooth communication protocol type that the data acquisition unit sends, and according to the target Bluetooth communication protocol type with
The data acquisition unit enters row data communication.
Terminal according to embodiments of the present invention, can receive the unlatching being input into for bluetooth module in terminal and refer to by receiver module
Order, N number of bluetooth data packets transportation protocol type that the terminal that generation module will get is supported generates N number of data packet identity
Information, sending module is to the Bluetooth pairing request that carrying N number of data packet identity information is sent around terminal, data acquisition
Device can be according to N number of data packet identity information selection target Bluetooth communication protocol type, data communication mould when the request is received
Root tuber enters row data communication according to the target Bluetooth communication protocol type that the data acquisition unit for receiving sends with data acquisition unit, i.e.,
Multiple Bluetooth communication protocol is pre-stored in data acquisition unit, by obtaining the Bluetooth communication protocol type to be supported of terminal
Optimal Bluetooth communication protocol is selected from the multiple Bluetooth communication protocols in data acquisition unit, and according to the optimal Bluetooth communication
Bluetooth data communication between two equipment of protocol realization, improves the transfer rate and success rate of packet, and cause difference
External bluetooth equipment can improve the convenience that user uses with compatible communication.
It is that, up to above-mentioned purpose, fourth aspect present invention embodiment proposes a kind of data acquisition unit, including:First receiver module,
For receiving the open command for bluetooth module input in data acquisition unit;Sending module, for the data acquisition unit
Around send Bluetooth pairing request, wherein, Bluetooth pairing request includes obtaining for bluetooth data packets transportation protocol type
Request is taken, so that N number of bluetooth data packets transportation protocol type that terminal terminal according to the acquisition acquisition request is supported,
And N number of data packet identity information is generated according to N number of bluetooth data packets transportation protocol type, wherein, N is positive integer;
Second receiver module, for receiving described N number of data packet identity information that the terminal sends;Selecting module, for basis
N number of data packet identity information selection target Bluetooth communication protocol type;And data communication module, for according to described
Target Bluetooth communication protocol type enters row data communication with the terminal.
Data acquisition unit according to embodiments of the present invention, can be received for bluetooth mould in data acquisition unit by the first receiver module
The open command of block input, sending module is asked to Bluetooth pairing is sent around data acquisition unit, and the request includes bluetooth
The acquisition request of packet transportation protocol type, so that N number of bluetooth number that terminal itself is supported according to the acquisition acquisition request
According to bag transportation protocol type, selecting module is blue according to the bluetooth data packets transportation protocol type selecting target that terminal itself is supported
Tooth communication protocol type, data communication module is communicated according to the target Bluetooth communication protocol type with terminal, i.e., by
Multiple Bluetooth communication protocol is pre-stored in data acquisition unit, and by obtaining the Bluetooth communication protocol type to be supported of terminal
Optimal Bluetooth communication protocol is selected from the multiple Bluetooth communication protocols in data acquisition unit, and according to the optimal Bluetooth communication
Bluetooth data communication between two equipment of protocol realization, improves the transfer rate and success rate of packet, and cause difference
External bluetooth equipment can improve the convenience that user uses with compatible communication.
It is that, up to above-mentioned purpose, fifth aspect present invention embodiment proposes a kind of transmission control system of information, including:This hair
The terminal of bright third aspect embodiment and the data acquisition unit of fourth aspect present invention embodiment.
The transmission control system of information according to embodiments of the present invention, can receive defeated for bluetooth module in the terminal by terminal
The open command for entering, and N number of bluetooth data packets transportation protocol type that the terminal that will be got is supported generates N number of packet
Identity information, and asked to the Bluetooth pairing that transmission around terminal carries N number of data packet identity information, data acquisition unit
According to N number of data packet identity information selection target Bluetooth communication protocol type and can be sent it to when the request is received
Terminal, terminal is communicated according to the target Bluetooth communication protocol type with data acquisition unit, i.e., prestored by data acquisition unit
The multiple Bluetooth communication protocols of storage, and by obtaining the Bluetooth communication protocol type to be supported of terminal from data acquisition unit
Optimal Bluetooth communication protocol is selected in multiple Bluetooth communication protocols, and two equipment are realized according to the optimal Bluetooth communication protocol
Between bluetooth data communication, improve the transfer rate and success rate of packet, and cause that different external bluetooth equipments can be with
Compatible communication, improves the convenience that user uses.
The additional aspect of the present invention and advantage will be set forth in part in the description, and partly will from the following description become bright
It is aobvious, or recognized by practice of the invention.
Brief description of the drawings
The above-mentioned and/or additional aspect of the present invention and advantage will be apparent from the following description of the accompanying drawings of embodiments
Be readily appreciated that, wherein,
Fig. 1 is the flow chart of the transfer control method of the information according to one embodiment of the invention;
Fig. 2 is according to a flow chart for the transfer control method of the information of specific embodiment of the invention;
Fig. 3 is the structural representation of the terminal according to one embodiment of the invention;
Fig. 4 is the structural representation of the terminal according to another embodiment of the present invention;
Flow charts of the Fig. 5 according to the transfer control method of the information of another embodiment of the invention;Fig. 6 be according to the present invention again
One flow chart of the transfer control method of the information of specific embodiment;
Fig. 7 is the structural representation of the data acquisition unit according to one embodiment of the invention;
Fig. 8 is the structural representation of the data acquisition unit according to another embodiment of the present invention;
Fig. 9 is the structural representation of the data acquisition unit according to further embodiment of the present invention;
Figure 10 is the structural representation of the data acquisition unit according to another embodiment of the invention;
Figure 11 is the structural representation of the transmission control system of the information according to one embodiment of the invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein identical from start to finish
Or similar label represents same or similar element or the element with same or like function.Retouched below with reference to accompanying drawing
The embodiment stated is exemplary, it is intended to for explaining the present invention, and be not considered as limiting the invention.
Below with reference to the accompanying drawings transfer control method, terminal, data acquisition unit and the information of the information of the embodiment of the present invention described
Transmission control system.
Fig. 1 is the flow chart of the transfer control method of the information according to one embodiment of the invention.It should be noted that this hair
The transfer control method of the information of bright embodiment can be described from end side.
As shown in figure 1, the transfer control method of the information can include:
S101, receives the open command for the bluetooth module input in terminal.
Wherein, in an embodiment of the present invention, the terminal may include to be not limited to mobile phone, panel computer, personal digital assistant etc.
Hardware device with various operating systems.
Specifically, user on the terminal device can manually, the Bluetooth function that comes in opening terminal apparatus of the mode such as voice,
When the open command of user input is detected, bluetooth module in terminal can be opened.
S102, obtains N number of bluetooth data packets transportation protocol type that terminal is supported, and transmit according to N number of bluetooth data packets
Protocol type generates N number of data packet identity information, wherein, N is positive integer.
Wherein, in an embodiment of the present invention, the bluetooth data packets transportation protocol type may include but be not limited to SPP protocol class
Type, BLE protocol types and OPP protocol types etc..
It is appreciated that the bluetooth module in each terminal can store one or more blue-teeth data packet protocols, the terminal passes through
The agreement of itself storage carries out Bluetooth communication with external device.Therefore, terminal can obtain the terminal when bluetooth module is opened
The bluetooth data packets transportation protocol type of (or storage) itself is supported, and is given birth to according to the bluetooth data packets transportation protocol type
Into corresponding data packet identity information, the identity of correspondence bluetooth data packets transportation protocol can be included in the data packet identity information,
Can also be comprising information such as the sizes of packet that will be transmitted.That is, according to representated by the identity can find the identity
Bluetooth data packets transportation protocol, for example, identity=OPP, corresponding agreement is OPP agreements, identity=SPP, corresponding association
It is SPP agreements to discuss, identity=BLE, and corresponding agreement is BLE agreements etc..
S103, asks to Bluetooth pairing is sent around terminal, wherein, Bluetooth pairing request includes N number of data packet identity
Information, so that the data acquisition unit of terminal surrounding receives Bluetooth pairing request, and selects mesh according to N number of data packet identity information
Mark Bluetooth communication protocol type.
It is appreciated that the bluetooth data packets transportation protocol in Bluetooth protocol system is divided into four layers by the degree of concern of SIG specifications:
1) core protocol:BaseBand、LMP、L2CAP、SDP;2) RFCOMM:RFCOMM;3) phone transmission control
Agreement processed:TCS-Binary, AT Command Set;4) agreement is selected:PPP、UDP/TCP/IP、OBEX、WAP、vCard、
vCal、IrMC、WAE.In addition to above-mentioned protocol layer, SIG specifications also define host controller interface (HCI), the main frame control
Device interface processed can provide command interface for baseband controller, connection manager, hardware state and control register.Wherein, HCI
The lower floor of L2CAP is can be located at, HCI may be alternatively located at the upper strata of L2CAP.The bluetooth specific that bluetooth core agreement is formulated by SIG
Agreement is constituted.Most bluetooth equipments are required for core protocol (plus wireless portion), and other agreements are then according to application
Depending on needs.In a word, RFCOMM, telephone control protocol and adopted agreement are constituted on the basis of core protocol
Application-oriented protocol.
In an embodiment of the present invention, the SDP agreements in any one the bluetooth transportation protocol supported in terminal can be first passed through
Asked to Bluetooth pairing is sent around terminal, above-mentioned data packet identity information is carried in the request.Data acquisition unit is being opened
Can be scanned by SDP agreements when opening itself bluetooth module, and when the Bluetooth pairing for receiving terminal transmission is asked,
Data packet identity information that can be in the request selects optimal Bluetooth communication protocol type, as target Bluetooth communication protocol
Type.
Wherein, in an embodiment of the present invention, target Bluetooth communication protocol type is according to multiple bluetooth numbers by data acquisition unit
Selected according to the corresponding priority-level of bag transportation protocol and N number of data packet identity information, wherein, multiple bluetooth data packets
The corresponding priority-level of transportation protocol be by data acquisition unit previously according to multiple bluetooth data packets transportation protocol types performance
Determine.
That is, the corresponding data packet identity of Bluetooth communication protocol type that data acquisition unit can be supported according to terminal is believed
Breath, selects performance highest bluetooth data packets biography from multiple bluetooth data packets transportation protocols that data acquisition unit is prestored
Send agreement, and using the bluetooth data packets transportation protocol as target Bluetooth communication protocol.
S104, receives the target Bluetooth communication protocol type that data acquisition unit sends, and according to target Bluetooth communication protocol type
Enter row data communication with data acquisition unit.
Specifically, terminal can receive the target Bluetooth that data acquisition unit feeds back by the SDP agreements in above-mentioned bluetooth transportation protocol
Communication protocol type, and when the user of terminal and data acquisition unit confirms Bluetooth pairing, can be communicated according to the target Bluetooth
Protocol type enters row data communication with data acquisition unit.That is, terminal can first pass through itself supported any one (or
It is most basic) the data packet identity information of itself is sent to data acquisition unit, data by the SDP agreements in bluetooth transportation protocol
Collector is according to the data packet identity information selection target Bluetooth communication protocol type and is supplied to terminal.Terminal is receiving this
After target Bluetooth communication protocol type, you can carry out data according to the target Bluetooth communication protocol type and data acquisition unit and lead to
Letter.Wherein, in an embodiment of the present invention, the data acquisition unit can be terminal, such as mobile phone, panel computer, with reality
The transfer function of the data such as file, image between existing two different terminals;The data acquisition unit can also be with number in real time
According to collection, the data acquisition equipment of processing function, the data acquisition unit can be set up with terminal by Bluetooth communication protocol and be communicated,
To realize by Bluetooth communication come data such as the file in acquisition terminal, sensors.
In an embodiment of the present invention, can be by the logical link control and adaptation protocol in target Bluetooth communication protocol
(L2CAP) service discovery protocol (SDP) and RFCOMM (RFCOMM), is called to enter file transmission mode, for end
Various formatted files can be transmitted between end and data acquisition unit.
The transfer control method of information according to embodiments of the present invention, receives unlatching of the user for bluetooth module input in terminal
Instruction, N number of bluetooth data packets transportation protocol type that the terminal that will be got is supported generates N number of data packet identity information,
And to the Bluetooth pairing request of carrying N number of data packet identity information is sent around terminal, data acquisition unit is receiving this
According to N number of data packet identity information selection target Bluetooth communication protocol type and terminal can be sent it to during request, terminal root
The target Bluetooth communication protocol type sent according to the data acquisition unit for receiving enters row data communication with data acquisition unit, i.e., in number
According to multiple Bluetooth communication protocol is pre-stored in collector, by obtaining the Bluetooth communication protocol type to be supported of terminal from number
According to selecting optimal Bluetooth communication protocol in the multiple Bluetooth communication protocols in collector, and according to the optimal Bluetooth communication protocol
The bluetooth data communication between two equipment is realized, the transfer rate and success rate of packet is improve, and cause different external
Bluetooth equipment can improve the convenience that user uses with compatible communication.
Further, in one embodiment of the invention, enter according to target Bluetooth communication protocol type and data acquisition unit
During row data communication, the transfer control method of the information also includes:Judge whether to receive user to data acquisition unit
The operational order for being initialized;If receiving operational order, data acquisition unit is initialized and synchronous terminal
Position, time and sensor set information.Wherein, terminal can obtain the terminal by the GPS positioning system of itself
Positional information, can obtain the temporal information of the terminal by the timer of itself.Additionally, the sensor can be, but not limited to be
Temperature sensor, photoinduction sensor etc..
That is, during row data communication is entered according to target Bluetooth communication protocol type and data acquisition unit, that is, existing
During waiting the transmission of user to instruct, judge whether that receiving user refers to the operation that the data acquisition unit is initialized
Order, if so, then initialized to the data acquisition unit, and by the position in terminal, time, temperature sensor, light sensation
The synchronizing informations such as the set information (such as setup parameter) of inductive sensing device etc. are to data acquisition unit.
In order that obtaining those skilled in the art can clearly understand the present invention, implementation of the present invention can be illustrated below
The implementation process of the transfer control method of the information of example.Fig. 2 is according to a transmission control for the information of specific embodiment of the invention
The flow chart of method processed.
For example, as shown in Fig. 2 user can start the Bluetooth function of the terminal devices such as mobile phone, panel computer to prepare indigo plant
Tooth paired data collector (S201).After the bluetooth module for opening terminal, the bluetooth number that terminal itself is supported can be obtained
According to bag transportation protocol type (S202), and corresponding data packet identity information is generated according to these types, such as identity ID=OPP,
Identity ID=SPP, identity ID=BLE etc., and any one the bluetooth data packets transportation protocol supported by itself is to surrounding
The Bluetooth pairing request for carrying the data packet identity information is sent, data acquisition unit, can be according to the number when the request is received
Optimal Bluetooth communication protocol type (S203) is selected according to bag identity information.Wait user's pairing check or transmission instruction (S204).
When successful matching and when receiving operational order (S205) initialized to data acquisition unit, data acquisition unit can be entered
The setup parameter information (S206) such as row initialization and position, time, the sensor of synchronous terminal.Afterwards, can be passed according to information
Passing instruction and beginning through target Bluetooth communication protocol type (i.e. above-mentioned optimal Bluetooth communication protocol type) carries out every frame data
Bag transmission (S207).Detect whether successfully to have passed a frame data (S208), if so, then detecting whether successfully to have passed a number
According to bag (S209), the new transmission instruction of return to step S204 bands simultaneously if a packet has successfully been passed.It is appreciated that
If frame losing data, then return to step S207, if losing packet then return to step S208.
That is, data acquisition unit can switch Bluetooth communication protocol bag according to different data packet identity information.If identity
ID=OPP, then can carry out bluetooth data communication by OPP agreements and terminal, identity ID=SPP, then can by SPP agreements with
Terminal carries out bluetooth data communication, and identity ID=BLE then can carry out bluetooth data communication by BLE agreements and terminal.
Thus, the transfer control method of the information of the embodiment of the present invention, can carry out rapid data to bluetooth module in terminal
The scanning of packet protocol, and selected most by the agreement scanning result and analyze data amount size of data acquisition unit receiving terminal
Good delivery protocol mode so that terminal and data acquisition unit realize the data communication of bluetooth by more low-power consumption, improves
User use feeling.
Transfer control method with the information that above-mentioned several embodiments are provided is corresponding, and a kind of embodiment of the invention also provides one
Terminal is planted, because terminal provided in an embodiment of the present invention is relative with the transfer control method of the information that above-mentioned several embodiments are provided
Should, therefore the implementation method of the transfer control method in aforementioned information is also applied for the terminal that the present embodiment is provided, in this implementation
It is not described in detail in example.Fig. 3 is the structural representation of the terminal according to one embodiment of the invention.As shown in figure 3, should
Terminal can include:Receiver module 110, generation module 120, sending module 130 and data communication module 140.
Specifically, receiver module 110 can be used to receive the open command for bluetooth module input in terminal.
Generation module 120 can be used to obtain N number of bluetooth data packets transportation protocol type that terminal is supported, and according to N number of indigo plant
Tooth packet transportation protocol type generates N number of data packet identity information, wherein, N is positive integer.Wherein, of the invention
In embodiment, the bluetooth data packets transportation protocol type may include but be not limited to SPP protocol types, BLE protocol types and OPP
Protocol type etc..
Sending module 130 can be used to be asked to transmission Bluetooth pairing around terminal, wherein, Bluetooth pairing request includes N
Individual data packet identity information, so that data acquisition unit receives Bluetooth pairing request, and selects according to N number of data packet identity information
Target Bluetooth communication protocol type.
In an embodiment of the present invention, target Bluetooth communication protocol type is passed according to multiple bluetooth data packets by data acquisition unit
Send what the corresponding priority-level of agreement and N number of data packet identity information were selected, wherein, multiple bluetooth data packets transmission associations
It is that the performance by data acquisition unit previously according to multiple bluetooth data packets transportation protocol types determines to discuss corresponding priority-level
's.
Data communication module 140 can be used to receive the target Bluetooth communication protocol type that data acquisition unit sends, and according to target
Bluetooth communication protocol type enters row data communication with data acquisition unit.
Further, in one embodiment of the invention, as shown in figure 4, the terminal may also include the He of judge module 150
Initialization module 160.
Specifically, judge module 150 can be used in data communication module 140 according to target Bluetooth communication protocol type and data
During collector enters row data communication, judge whether to receive the operational order for initializing data acquisition unit.Just
Beginningization module 160 can be used for judge module 150 judge receive operational order when, data acquisition unit is initialized with
And the set information of the position, time and sensor of synchronous terminal.
Terminal according to embodiments of the present invention, can receive the unlatching being input into for bluetooth module in terminal and refer to by receiver module
Order, N number of bluetooth data packets transportation protocol type that the terminal that generation module will get is supported generates N number of data packet identity
Information, sending module is to the Bluetooth pairing request that carrying N number of data packet identity information is sent around terminal, data acquisition
Device can be according to N number of data packet identity information selection target Bluetooth communication protocol type, data communication mould when the request is received
Root tuber enters row data communication according to the target Bluetooth communication protocol type that the data acquisition unit for receiving sends with data acquisition unit, i.e.,
Multiple Bluetooth communication protocol is pre-stored in data acquisition unit, by obtaining the Bluetooth communication protocol type to be supported of terminal
Optimal Bluetooth communication protocol is selected from the multiple Bluetooth communication protocols in data acquisition unit, and according to the optimal Bluetooth communication
Bluetooth data communication between two equipment of protocol realization, improves the transfer rate and success rate of packet, and cause difference
External bluetooth equipment can improve the convenience that user uses with compatible communication.
In order to realize above-described embodiment, the invention allows for the transfer control method of another information.
Flow charts of the Fig. 5 according to the transfer control method of the information of another embodiment of the invention.It should be noted that this hair
The transfer control method of the information of bright embodiment can be described from data acquisition unit side.
As shown in figure 5, the transfer control method of the information can include:
S501, receives the open command for bluetooth module input in data acquisition unit.
For example, can by user on data acquisition unit manually, the mode such as voice open the indigo plant in the data acquisition unit
Tooth function, when the open command of user input is detected, can turn-on data collector bluetooth module.
S502, asks to Bluetooth pairing is sent around data acquisition unit, wherein, Bluetooth pairing request includes blue-teeth data
The acquisition request of bag transportation protocol type, so that what the terminal around data acquisition unit was supported according to acquisition acquisition request terminal
N number of bluetooth data packets transportation protocol type, and N number of data packet identity is generated according to N number of bluetooth data packets transportation protocol type
Information, wherein, N is positive integer.
Wherein, in an embodiment of the present invention, the bluetooth data packets transportation protocol type may include but be not limited to SPP protocol class
Type, BLE protocol types and OPP protocol types etc..
Specifically, can be by the SDP agreements in the bluetooth data packets transportation protocol of any one in data acquisition unit to around sending out
Bluetooth pairing is sent to ask, the request includes the acquisition request of bluetooth data packets transportation protocol type.Terminal is being scanned and received
When being asked to the Bluetooth pairing, all bluetooth data packets transportation protocol types that itself can be supported according to the acquisition acquisition request,
And corresponding data packet identity information is generated according to the bluetooth data packets transportation protocol type, can be wrapped in the data packet identity information
Identity containing correspondence bluetooth data packets transportation protocol, can also be comprising information such as the sizes of packet that will be transmitted.Namely
Say, the bluetooth data packets transportation protocol according to representated by the identity can find the identity, for example, identity ID=OPP, correspondence
Agreement be OPP agreements, identity ID=SPP, corresponding agreement is SPP agreements, identity ID=BLE, and corresponding agreement is
BLE agreements etc..
In an embodiment of the present invention, terminal, can be by terminal itself bluetooth after data packet identity information is generated
Packet transportation protocol (agreement can be most common and most basic agreement, and the agreement can be with data acquisition unit it
It is preceding send pairing request when used agreement correspondence) by the data packet identity feedback of the information to data acquisition unit.
S503, N number of data packet identity information that receiving terminal sends, and it is blue according to N number of data packet identity information selection target
Tooth communication protocol type.
Preferably, in one embodiment of the invention, can be previously according to the multiple bluetooth numbers prestored in data acquisition unit
Determine the corresponding priority-level of the plurality of bluetooth data packets transportation protocol, performance association high according to the performance of bag transportation protocol type
View, then the corresponding priority-level of the agreement is higher, the low agreement of performance, then the corresponding priority-level of the agreement compares
It is low.Wherein, the performance can refer to data transfer rate, can also refer to lowest power consumption etc.
Specifically, in an embodiment of the present invention, after the data packet identity information for receiving terminal transmission, can basis
Multiple corresponding priority-levels of bluetooth data packets transportation protocol and N number of N number of bluetooth data packets of data packet identity acquisition of information
Priority-level highest bluetooth data packets transportation protocol type in transportation protocol type, and the priority-level highest is blue
Tooth packet transportation protocol type is chosen to be target Bluetooth communication protocol type.
That is, the corresponding data packet identity of Bluetooth communication protocol type that data acquisition unit can be supported according to terminal is believed
Breath, selects performance highest bluetooth data packets biography from multiple bluetooth data packets transportation protocols that data acquisition unit is prestored
Send agreement, and using the bluetooth data packets transportation protocol as target Bluetooth communication protocol.
S504, row data communication is entered according to target Bluetooth communication protocol type and terminal.
Specifically, after selected target Bluetooth communication protocol type, the Bluetooth protocol in data acquisition unit can be switched to mesh
Mark Bluetooth communication protocol, i.e. data acquisition unit can switch Bluetooth communication protocol bag according to different data packet identity information, and
When the user of terminal and data acquisition unit confirms Bluetooth pairing, can be set up according to the target Bluetooth communication protocol type and terminal
Bluetooth connection, row data communication of going forward side by side.If for example, identity ID=OPP, can carry out bluetooth number by OPP agreements and terminal
According to communication, identity ID=SPP then can carry out bluetooth data communication by SPP agreements and terminal, and identity ID=BLE then may be used
Bluetooth data communication is carried out by BLE agreements and terminal.
Further, in one embodiment of the invention, enter according to target Bluetooth communication protocol type and data acquisition unit
During row data communication, the transfer control method of the information may also include:Judge whether to receive to enter data acquisition unit
The operational order of row initialization;If receive operational order, data acquisition unit is initialized and synchronous terminal
The set information of position, time and sensor.Wherein, terminal can obtain the position of the terminal by the GPS positioning system of itself
Confidence is ceased, and the temporal information of the terminal can be obtained by the timer of itself.Additionally, the sensor can be, but not limited to be temperature
Degree sensor, photoinduction sensor etc..
That is, during row data communication is entered according to target Bluetooth communication protocol type and data acquisition unit, that is, existing
During waiting the transmission of user to instruct, data acquisition unit can determine whether that receive user is carried out just to the data acquisition unit
The operational order of beginningization, if so, then initialized to the data acquisition unit, and by the position in terminal, time, temperature
The synchronizing informations such as the set information (such as setup parameter) of sensor, photoinduction sensor etc. are to data acquisition unit.Can manage
Solution, in an embodiment of the present invention, also can auto-initiation data acquisition unit and the standby shape of entrance after transmission packet is completed
State.
Alternatively, in one embodiment of the invention, carried out with data acquisition unit according to target Bluetooth communication protocol type
During data communication, the transfer control method of the information may also include:Obtain the identification information of terminal;Set up terminal
Corresponding relation between identification information data packet identity information corresponding with target Bluetooth communication protocol type, and store the correspondence
Relation.That is, data acquisition unit can store the data packet identity information of the equipment successfully matched, it is easy to open next time
Used time saves the pairing time.
The transfer control method of information according to embodiments of the present invention, receives for opening that bluetooth module in data acquisition unit is input into
Instruction is opened, and is asked to Bluetooth pairing is sent around data acquisition unit, the request includes bluetooth data packets transportation protocol class
The acquisition request of type, so that N number of bluetooth data packets transportation protocol type that terminal itself is supported according to the acquisition acquisition request,
And the bluetooth data packets transportation protocol type selecting target Bluetooth communication protocol type supported according to terminal itself, and according to
The target Bluetooth communication protocol type is communicated with terminal, i.e., assisted by being pre-stored multiple Bluetooth communication in data acquisition unit
View, and by obtaining the Bluetooth communication protocol type to be supported of terminal from the multiple Bluetooth communication protocols in data acquisition unit
In select optimal Bluetooth communication protocol, and realize that the blue-teeth data between two equipment leads to according to the optimal Bluetooth communication protocol
Letter, improves the transfer rate and success rate of packet, and cause that different external bluetooth equipments can be improve with compatible communication
The convenience that user uses.
In order that obtaining those skilled in the art can clearly understand the present embodiment, the present embodiment can be illustrated below
Information transfer control method implementation process.
For example, as shown in fig. 6, user can log-on data collector Bluetooth function preparing by mobile phone, panel computer
Deng terminal searching pairing (S601).Data acquisition unit obtains the protocol type that can be used for bluetooth transmission data pack protocol in terminal
(S602), wherein, bluetooth that terminal can be supported according to itself transmission data pack protocol type generates corresponding data packet identity
Information, and the data packet identity information is sent to data acquisition unit, so that data acquisition unit can be according to the data packet identity
Information knows the protocol type that can be used for bluetooth transmission data pack protocol in terminal.Afterwards, can be believed according to the data packet identity
Breath selects target Bluetooth communication protocol type, and enables the target Bluetooth communication protocol type to carry out Bluetooth communication, such as works as
During identity ID=OPP, target Bluetooth communication protocol type is then OPP agreements, as identity ID=SPP, target Bluetooth communication
Protocol type is then SPP agreements, and as identity ID=BLE, target Bluetooth communication protocol type is then BLE agreements (S603).
Data acquisition unit also can switch Bluetooth communication protocol bag according to different data packet identities.User's pairing check or transmission is waited to refer to
Make (S604).When successful matching and when receiving operational order (S605) initialized to data acquisition unit, can logarithm
Initialize the simultaneously setup parameter information (S606) such as position, time, sensor of synchronous terminal according to collector.Afterwards, may be used
Target Bluetooth communication protocol type (i.e. above-mentioned optimal Bluetooth communication protocol type) is begun through according to information transmission instruction to enter
Row is per frame data bag transmission (S607).Detect whether successfully to have passed a frame data (S608), if so, then detecting whether successfully
A packet (S609) is passed, the new transmission instruction of return to step S604 bands simultaneously if a packet has successfully been passed.
It is appreciated that if frame losing data, then return to step S607, if losing packet then return to step S608.
To sum up, data acquisition unit adds data available packet protocol in the current pairing bluetooth equipment (i.e. above-mentioned terminal) of judgement
Type, according to multiple Bluetooth communication protocols that the corresponding data packet identity information of the protocol type is prestored from data acquisition unit
In select target data communication protocol packet so that compatible all equipment with blue-teeth data communication protocol packet (are such as not limited to hand
Machine, flat board, notebook computer handheld device etc.), compatible different external band bluetooth numbers can be reached with intelligent accurate handoff protocol
According to the equipment of transmission, it is possible to reach the purpose for reducing transmission power consumption, efficiently utilize the resource of communication terminal.
Transfer control method (data acquisition unit side) with the information that above-mentioned several embodiments are provided is corresponding, and of the invention one
Plant embodiment and a kind of data acquisition unit is also provided, due to data acquisition unit provided in an embodiment of the present invention and above-mentioned several embodiments
The transfer control method (data acquisition unit side) of the information of offer is corresponding, therefore in the transfer control method (number of aforementioned information
According to collector side) implementation method be also applied for the present embodiment offer data acquisition unit, no longer retouch in detail in the present embodiment
State.Fig. 7 is the structural representation of the data acquisition unit according to one embodiment of the invention.As shown in fig. 7, the data acquisition
Module can include:First receiver module 210, sending module 220, the second receiver module 230, the sum of selecting module 240
According to communication mould 250.
Specifically, the first receiver module 210 can be used to receive the open command for bluetooth module input in data acquisition unit.
Sending module 220 can be used to be asked to transmission Bluetooth pairing around data acquisition unit, wherein, in Bluetooth pairing request
Including bluetooth data packets transportation protocol type acquisition request so that terminal according to obtain acquisition request terminal supported it is N number of
Bluetooth data packets transportation protocol type, and N number of data packet identity information is generated according to N number of bluetooth data packets transportation protocol type,
Wherein, N is positive integer.
Additionally, in an embodiment of the present invention, bluetooth data packets transportation protocol type may include but be not limited to SPP protocol types,
BLE protocol types and OPP protocol types etc..
Second receiver module 230 can be used for N number of data packet identity information of receiving terminal transmission.
Selecting module 240 can be used for according to N number of data packet identity information selection target Bluetooth communication protocol type.
Data communication module 250 can be used to enter row data communication according to target Bluetooth communication protocol type and terminal.
Further, in one embodiment of the invention, as shown in figure 8, the data acquisition unit may also include and anticipate
Module 260, anticipate module 260 can be used for previously according to multiple bluetooth data packets transportation protocol types performance determine it is many
The corresponding priority-level of individual bluetooth data packets transportation protocol.Wherein, in an embodiment of the present invention, selecting module 240
Can be as follows according to the process that implements of N number of data packet identity information selection target Bluetooth communication protocol type:According to multiple bluetooths
The corresponding priority-level of packet transportation protocol and the N number of bluetooth data packets transportation protocol of N number of data packet identity acquisition of information
Priority-level highest bluetooth data packets transportation protocol type in type, and priority-level highest bluetooth data packets are passed
Protocol type is sent to be chosen to be target Bluetooth communication protocol type.
Further, in one embodiment of the invention, as shown in figure 9, the data acquisition unit may also include:Judge mould
Block 270 and initialization module 280.
Specifically, judge module 270 can be used in data communication module 250 according to target Bluetooth communication protocol type and terminal
During entering row data communication, judge whether to receive the operational order for initializing data acquisition unit.
Initialization module 280 can be used to, when judge module 270 judges to receive operational order, carry out data acquisition unit just
The set information of the position, time and sensor of beginningization and synchronous terminal.
Further, in one embodiment of the invention, as shown in Figure 10, the data acquisition unit may also include:Obtain
Module 290 and memory module 2100.
Specifically, acquisition module 290 can be used in data communication module 250 according to target Bluetooth communication protocol type and terminal
During entering row data communication, the identification information of terminal is obtained.
The identification information data corresponding with target Bluetooth communication protocol type that memory module 2100 can be used to set up terminal are indentured
Corresponding relation between part information, and store corresponding relation.
Data acquisition unit according to embodiments of the present invention, can be received for bluetooth mould in data acquisition unit by the first receiver module
The open command of block input, sending module is asked to Bluetooth pairing is sent around data acquisition unit, and the request includes bluetooth
The acquisition request of packet transportation protocol type, so that N number of bluetooth number that terminal itself is supported according to the acquisition acquisition request
According to bag transportation protocol type, selecting module is blue according to the bluetooth data packets transportation protocol type selecting target that terminal itself is supported
Tooth communication protocol type, data communication module is communicated according to the target Bluetooth communication protocol type with terminal, i.e., by
Multiple Bluetooth communication protocol is pre-stored in data acquisition unit, and by obtaining the Bluetooth communication protocol type to be supported of terminal
Optimal Bluetooth communication protocol is selected from the multiple Bluetooth communication protocols in data acquisition unit, and according to the optimal Bluetooth communication
Bluetooth data communication between two equipment of protocol realization, improves the transfer rate and success rate of packet, and cause difference
External bluetooth equipment can improve the convenience that user uses with compatible communication.
In order to realize above-described embodiment, the invention allows for a kind of transmission control system of information.
Figure 11 is the structural representation of the transmission control system of the information according to one embodiment of the invention.As shown in figure 11,
The transmission control system of the information can include:Terminal 100 and data acquisition unit 200.
Specifically, the concrete function description of terminal 100 refers to the concrete function description of the terminal shown in above-mentioned Fig. 3 and Fig. 4.
Will not be repeated here.
The concrete function description of data acquisition unit 200 refers to the concrete function of the data acquisition unit shown in above-mentioned Fig. 7 to Figure 10
Description.Will not be repeated here.
The transmission control system of information according to embodiments of the present invention, can receive defeated for bluetooth module in the terminal by terminal
The open command for entering, and N number of bluetooth data packets transportation protocol type that the terminal that will be got is supported generates N number of packet
Id information, and to the Bluetooth pairing request of carrying N number of packet id information is sent around terminal, data acquisition unit exists
According to N number of packet id information selection target Bluetooth communication protocol type and end can be sent it to when receiving the request
End, terminal is communicated according to the target Bluetooth communication protocol type with data acquisition unit, i.e., pre-stored by data acquisition unit
Multiple Bluetooth communication protocols, and by obtaining the Bluetooth communication protocol type to be supported of terminal from many in data acquisition unit
Select optimal Bluetooth communication protocol in individual Bluetooth communication protocol, and according to the optimal Bluetooth communication protocol realize two equipment it
Between bluetooth data communication, improve the transfer rate and success rate of packet, and cause different external bluetooth equipments can with and
Hold communication, improve the convenience that user uses.
In the description of the invention, it is to be understood that term " first ", " second " are only used for describing purpose, and can not
It is interpreted as indicating or implying relative importance or the implicit quantity for indicating indicated technical characteristic.Thus, define " the
One ", at least one this feature can be expressed or be implicitly included to the feature of " second ".In the description of the invention, " multiple "
It is meant that at least two, such as two, three etc., unless otherwise expressly limited specifically.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specific example ",
Or the description of " some examples " etc. means to combine specific features, structure, material or feature that the embodiment or example are described
It is contained at least one embodiment of the invention or example.In this manual, the schematic representation to above-mentioned term need not
Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be with office
Combined in an appropriate manner in one or more embodiments or example.Additionally, in the case of not conflicting, this area
Technical staff can be tied the feature of the different embodiments or example described in this specification and different embodiments or example
Close and combine.
Any process described otherwise above or method description in flow chart or herein is construed as, and expression includes one
Or more for the module of code of executable instruction the step of realizing specific logical function or process, fragment or part,
And the scope of the preferred embodiment of the present invention includes other realization, wherein order that is shown or discussing can not be pressed,
Including the function involved by basis by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or logic and/or step described otherwise above herein, for example, being considered for reality
The order list of the executable instruction of existing logic function, in may be embodied in any computer-readable medium, for instruction
Execution system, device or equipment (such as computer based system, including the system of processor or other can be performed from instruction
The system of system, device or equipment instruction fetch and execute instruction) use, or with reference to these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating
Or transmission procedure is used for instruction execution system, device or equipment or with reference to these instruction execution systems, device or equipment
Device.The more specifically example (non-exhaustive list) of computer-readable medium includes following:With one or more cloth
The electrical connection section (electronic installation) of line, portable computer diskette box (magnetic device), random access memory (RAM) is read-only
Memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and it is portable
Compact disc read-only memory (CDROM).In addition, computer-readable medium can even is that the paper that can thereon print described program
Or other suitable media, because optical scanner for example can be carried out by paper or other media, then enter edlin, solution
Translate or if necessary processed with other suitable methods and electronically obtain described program, be then stored in computer
In memory.
It should be appreciated that each several part of the invention can be realized with hardware, software, firmware or combinations thereof.In above-mentioned reality
In applying mode, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage or
Firmware is realized.If for example, realized with hardware, and in another embodiment, can be with well known in the art
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA) is existing
Field programmable gate array (FPGA) etc..
Those skilled in the art be appreciated that to realize all or part of step that above-described embodiment method is carried is can
Completed with the hardware that correlation is instructed by program, described program can be stored in a kind of computer-readable recording medium,
The program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, during each functional unit in each embodiment of the invention can be integrated in a processing module, or each
Individual unit is individually physically present, it is also possible to which two or more units are integrated in a module.Above-mentioned integrated module was both
Can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.If the integrated module with
The form of software function module is realized and as independent production marketing or when using, it is also possible to which storage is in a computer-readable
In taking storage medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although having been shown and described above
Embodiments of the invention, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as limitation of the present invention,
One of ordinary skill in the art can be changed to above-described embodiment, change, replacing and modification within the scope of the invention.
Claims (19)
1. a kind of transfer control method of information, it is characterised in that comprise the following steps:
Receive the open command for the bluetooth module input in terminal;
N number of bluetooth data packets transportation protocol type that the terminal is supported is obtained, and is passed according to N number of bluetooth data packets
Protocol type is sent to generate N number of data packet identity information, wherein, N is positive integer;
Asked to Bluetooth pairing is sent around the terminal, wherein, the Bluetooth pairing request includes N number of data
Bag identity information, so that the data acquisition unit of the terminal surrounding receives the Bluetooth pairing request, and according to N number of number
According to bag identity information selection target Bluetooth communication protocol type;And
The target Bluetooth communication protocol type that data acquisition unit sends is received, and according to the target Bluetooth communication protocol class
Type enters row data communication with the data acquisition unit.
2. the transfer control method of information as claimed in claim 1, it is characterised in that the target Bluetooth communication protocol
Type is according to the corresponding priority-level of multiple bluetooth data packets transportation protocols and N number of number by the data acquisition unit
Selected according to bag identity information, wherein, the corresponding priority-level of the multiple bluetooth data packets transportation protocol is by the number
Determine previously according to the performance of multiple bluetooth data packets transportation protocol types according to collector.
3. the transfer control method of information as claimed in claim 2, it is characterised in that wherein, the bluetooth data packets
Transportation protocol type includes SPP protocol types, BLE protocol types and OPP protocol types.
4. the transfer control method of information as claimed any one in claims 1 to 3, it is characterised in that according to institute
State during target Bluetooth communication protocol type enters row data communication with the data acquisition unit, methods described also includes:
Judge whether to receive the operational order for initializing the data acquisition unit;
If receiving the operational order, the data acquisition unit is initialized and the synchronous terminal position
Put, the set information of time and sensor.
5. a kind of transfer control method of information, it is characterised in that comprise the following steps:
Receive the open command for the bluetooth module input in data acquisition unit;
Asked to Bluetooth pairing is sent around the data acquisition unit, wherein, the Bluetooth pairing request includes bluetooth number
Asked according to the acquisition of bag transportation protocol type, so that the terminal around the data acquisition unit is according to the acquisition acquisition request institute
N number of bluetooth data packets transportation protocol type that terminal is supported is stated, and according to N number of bluetooth data packets transportation protocol type
N number of data packet identity information is generated, wherein, N is positive integer;
Described N number of data packet identity information that receiving terminal sends, and according to N number of data packet identity information selection target
Bluetooth communication protocol type;And
Row data communication is entered according to the target Bluetooth communication protocol type and the terminal.
6. the transfer control method of information as claimed in claim 5, it is characterised in that described indentured according to N number of data
Part information selection target Bluetooth communication protocol type, including:
Performance previously according to multiple bluetooth data packets transportation protocol types determines the multiple bluetooth data packets transportation protocol pair
The priority-level answered;
Obtained according to the corresponding priority-level of the multiple bluetooth data packets transportation protocol and N number of data packet identity information
Take priority-level highest bluetooth data packets transportation protocol type in N number of bluetooth data packets transportation protocol type;
The priority-level highest bluetooth data packets transportation protocol type is chosen to be the target Bluetooth communication protocol class
Type.
7. the transfer control method of information as claimed in claim 6, it is characterised in that wherein, the bluetooth data packets
Transportation protocol type includes SPP protocol types, BLE protocol types and OPP protocol types.
8. the transfer control method of the information as any one of claim 5 to 7, it is characterised in that according to institute
State during target Bluetooth communication protocol type enters row data communication with the terminal, methods described also includes:
Judge whether to receive the operational order for initializing the data acquisition unit;
If receiving the operational order, the data acquisition unit is initialized and the synchronous terminal position
Put, the set information of time and sensor.
9. the transfer control method of information as claimed in claim 5, it is characterised in that logical according to the target Bluetooth
During letter protocol type enters row data communication with the terminal, methods described also includes:
Obtain the identification information of the terminal;
Set up between the identification information data packet identity information corresponding with the target Bluetooth communication protocol type of the terminal
Corresponding relation, and store the corresponding relation.
10. a kind of terminal, it is characterised in that including:
Receiver module, for receiving the open command for bluetooth module input in terminal;
Generation module, for obtaining N number of bluetooth data packets transportation protocol type that the terminal is supported, and according to the N
Individual bluetooth data packets transportation protocol type generates N number of data packet identity information, wherein, N is positive integer;
Sending module, for being asked to transmission Bluetooth pairing around the terminal, wherein, wrapped in the Bluetooth pairing request
N number of data packet identity information is included, so that data acquisition unit receives the Bluetooth pairing request, and according to N number of number
According to bag identity information selection target Bluetooth communication protocol type;And
Data communication module, the target Bluetooth communication protocol type for receiving the data acquisition unit transmission, and according to
The target Bluetooth communication protocol type enters row data communication with the data acquisition unit.
11. terminals as claimed in claim 10, it is characterised in that the target Bluetooth communication protocol type is by described
Data acquisition unit is according to the corresponding priority-level of multiple bluetooth data packets transportation protocols and N number of data packet identity information
Selection, wherein, the corresponding priority-level of the multiple bluetooth data packets transportation protocol is advance by the data acquisition unit
What the performance according to multiple bluetooth data packets transportation protocol types determined.
12. terminals as claimed in claim 11, it is characterised in that wherein, the bluetooth data packets transportation protocol type
Including SPP protocol types, BLE protocol types and OPP protocol types.
13. terminal as any one of claim 10 to 12, it is characterised in that also include:
Judge module, in the data communication module according to the target Bluetooth communication protocol type and the data acquisition
During device enters row data communication, judge whether to receive the operational order for initializing the data acquisition unit;
Initialization module, for when the judge module judges to receive the operational order, entering to the data acquisition unit
The set information of the position, time and sensor of row initialization and the synchronous terminal.
A kind of 14. data acquisition units, it is characterised in that including:
First receiver module, for receiving the open command for bluetooth module input in data acquisition unit;
Sending module, for being asked to transmission Bluetooth pairing around the data acquisition unit, wherein, the Bluetooth pairing please
The acquisition for including bluetooth data packets transportation protocol type is asked to ask, so that terminal terminal according to the acquisition acquisition request
The N number of bluetooth data packets transportation protocol type supported, and according to N number of bluetooth data packets transportation protocol type generation N
Individual data packet identity information, wherein, N is positive integer;
Second receiver module, for receiving described N number of data packet identity information that the terminal sends;
Selecting module, for according to N number of data packet identity information selection target Bluetooth communication protocol type;And
Data communication module, for entering row data communication according to the target Bluetooth communication protocol type and the terminal.
15. data acquisition units as claimed in claim 14, it is characterised in that also include:
Module is anticipated, the multiple bluetooth is determined for the performance previously according to multiple bluetooth data packets transportation protocol types
The corresponding priority-level of packet transportation protocol;
Wherein, the selecting module specifically for:
Obtained according to the corresponding priority-level of the multiple bluetooth data packets transportation protocol and N number of data packet identity information
Take priority-level highest bluetooth data packets transportation protocol type in N number of bluetooth data packets transportation protocol type;
The priority-level highest bluetooth data packets transportation protocol type is chosen to be the target Bluetooth communication protocol class
Type.
16. data acquisition units as claimed in claim 15, it is characterised in that wherein, the bluetooth data packets transmission association
View type includes SPP protocol types, BLE protocol types and OPP protocol types.
17. data acquisition unit as any one of claim 14 to 16, it is characterised in that also include:
Judge module, for being carried out according to the target Bluetooth communication protocol type and the terminal in the data communication module
During data communication, judge whether to receive the operational order for initializing the data acquisition unit;
Initialization module, for when the judge module judges to receive the operational order, entering to the data acquisition unit
The set information of the position, time and sensor of row initialization and the synchronous terminal.
18. data acquisition units as claimed in claim 14, it is characterised in that also include:
Acquisition module, for being carried out according to the target Bluetooth communication protocol type and the terminal in the data communication module
During data communication, the identification information of the terminal is obtained;
Memory module, the identification information packet corresponding with the target Bluetooth communication protocol type for setting up the terminal
Corresponding relation between identity information, and store the corresponding relation.
A kind of 19. transmission control systems of information, it is characterised in that including:
Terminal as any one of claim 10 to 13;
Data acquisition unit as any one of claim 14 to 18.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510920226.8A CN106878917B (en) | 2015-12-11 | 2015-12-11 | Information transmission control method, system, terminal and data acquisition unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510920226.8A CN106878917B (en) | 2015-12-11 | 2015-12-11 | Information transmission control method, system, terminal and data acquisition unit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106878917A true CN106878917A (en) | 2017-06-20 |
CN106878917B CN106878917B (en) | 2021-07-09 |
Family
ID=59178065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510920226.8A Active CN106878917B (en) | 2015-12-11 | 2015-12-11 | Information transmission control method, system, terminal and data acquisition unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106878917B (en) |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108206997A (en) * | 2017-12-15 | 2018-06-26 | 中兴通讯股份有限公司 | Bluetooth connecting method and device |
CN108833233A (en) * | 2018-06-27 | 2018-11-16 | 努比亚技术有限公司 | Apparatus control method, terminal and computer readable storage medium |
CN109068370A (en) * | 2018-06-27 | 2018-12-21 | 努比亚技术有限公司 | Communication means, mobile terminal and computer readable storage medium |
WO2019018216A1 (en) * | 2017-07-17 | 2019-01-24 | Hewlett-Packard Development Company, L.P. | Identity information |
CN109525493A (en) * | 2018-10-29 | 2019-03-26 | 中国联合网络通信集团有限公司 | A kind of network path method for building up and device |
CN109587669A (en) * | 2019-01-16 | 2019-04-05 | 平安科技(深圳)有限公司 | A kind of Bluetooth pairing methods, device, readable storage medium storing program for executing and terminal device |
CN109788461A (en) * | 2017-11-15 | 2019-05-21 | 深圳市优必选科技有限公司 | Bluetooth dual-mode data communication method and device |
CN109963354A (en) * | 2017-12-26 | 2019-07-02 | 新智数字科技有限公司 | Intelligent terminal data transmission method and Transmission system |
CN110365371A (en) * | 2019-07-05 | 2019-10-22 | 深圳市声临科技有限公司 | The method and its system, electronic equipment that trigger signal realizes translation system control are provided based on bluetooth equipment |
CN110460984A (en) * | 2019-08-16 | 2019-11-15 | 深圳市中擎创科技有限公司 | More Bluetooth control methods, system, terminal and storage based on distributed storage |
CN111091155A (en) * | 2019-12-18 | 2020-05-01 | 北京明略软件系统有限公司 | ID information pairing method, fusion method, device and storage medium |
CN111355787A (en) * | 2020-02-20 | 2020-06-30 | 北京汽车集团有限公司 | Information transmission method and device and electronic equipment |
CN111740956A (en) * | 2020-05-19 | 2020-10-02 | 腾讯科技(深圳)有限公司 | Vehicle communication method and device, computer readable medium and electronic equipment |
CN111918250A (en) * | 2019-05-09 | 2020-11-10 | 阿尔卑斯通信器件技术(上海)有限公司 | Bluetooth communicator and Bluetooth communication method |
CN112004220A (en) * | 2020-09-16 | 2020-11-27 | 深圳市锐尔觅移动通信有限公司 | Bluetooth connection method and system, Bluetooth device and readable storage medium |
CN112583818A (en) * | 2020-12-08 | 2021-03-30 | 清华大学 | Adaptive transport protocol selection method and device for mobile Web service |
CN112689273A (en) * | 2020-12-02 | 2021-04-20 | 上海哈敦智能科技有限公司 | Many masters of BLE bluetooth electric energy meter pass system from passing thoroughly |
CN113645599A (en) * | 2021-08-13 | 2021-11-12 | 联想(北京)有限公司 | Information processing method based on electronic equipment interaction and first electronic equipment |
CN114827302A (en) * | 2022-04-06 | 2022-07-29 | 广东万颗子智控科技有限公司 | Communication protocol adaptation method, device, equipment and storage medium |
US11451444B2 (en) * | 2020-03-13 | 2022-09-20 | Tektro Technology Corporation | Method of replacing a component of a bicycle wireless controlling system and bicycle component and portable device applying the same |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001086894A2 (en) * | 2000-05-08 | 2001-11-15 | Transilica, Inc. | Transmit-only and receive-only bluetooth apparatus and method |
CN101222266A (en) * | 2007-01-10 | 2008-07-16 | 中兴通讯股份有限公司 | Document transmission method and device |
CN101484884A (en) * | 2006-07-05 | 2009-07-15 | 艾格瑞系统有限公司 | Systems and methods for multiport communication distribution |
CN101494474A (en) * | 2008-11-28 | 2009-07-29 | 中兴通讯股份有限公司 | Method and terminal equipment for automatic connection of Bluetooth vehicle-mounted hands-free equipment |
CN103746975A (en) * | 2013-12-26 | 2014-04-23 | 小米科技有限责任公司 | Method of data transmission, device and mobile terminal |
CN104218976A (en) * | 2013-06-03 | 2014-12-17 | 飞比特公司 | Self-adaptive data transmission using Bluetooth |
WO2015099722A1 (en) * | 2013-12-26 | 2015-07-02 | Intel Corporation | Device pairing |
CN105025431A (en) * | 2014-05-30 | 2015-11-04 | 络达科技股份有限公司 | Multi-role Bluetooth device and Bluetooth connection method thereof |
-
2015
- 2015-12-11 CN CN201510920226.8A patent/CN106878917B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001086894A2 (en) * | 2000-05-08 | 2001-11-15 | Transilica, Inc. | Transmit-only and receive-only bluetooth apparatus and method |
CN101484884A (en) * | 2006-07-05 | 2009-07-15 | 艾格瑞系统有限公司 | Systems and methods for multiport communication distribution |
CN101222266A (en) * | 2007-01-10 | 2008-07-16 | 中兴通讯股份有限公司 | Document transmission method and device |
CN101494474A (en) * | 2008-11-28 | 2009-07-29 | 中兴通讯股份有限公司 | Method and terminal equipment for automatic connection of Bluetooth vehicle-mounted hands-free equipment |
CN104218976A (en) * | 2013-06-03 | 2014-12-17 | 飞比特公司 | Self-adaptive data transmission using Bluetooth |
CN103746975A (en) * | 2013-12-26 | 2014-04-23 | 小米科技有限责任公司 | Method of data transmission, device and mobile terminal |
WO2015099722A1 (en) * | 2013-12-26 | 2015-07-02 | Intel Corporation | Device pairing |
CN105025431A (en) * | 2014-05-30 | 2015-11-04 | 络达科技股份有限公司 | Multi-role Bluetooth device and Bluetooth connection method thereof |
Cited By (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019018216A1 (en) * | 2017-07-17 | 2019-01-24 | Hewlett-Packard Development Company, L.P. | Identity information |
US11137948B2 (en) | 2017-07-17 | 2021-10-05 | Hewlett-Packard Development Company, L.P. | User equipment to capture identity information from rendering apparatuses |
CN109788461B (en) * | 2017-11-15 | 2022-06-28 | 深圳市优必选科技有限公司 | Bluetooth dual-mode data communication method and device |
CN109788461A (en) * | 2017-11-15 | 2019-05-21 | 深圳市优必选科技有限公司 | Bluetooth dual-mode data communication method and device |
WO2019114303A1 (en) * | 2017-12-15 | 2019-06-20 | 中兴通讯股份有限公司 | Bluetooth connection method and device |
CN108206997B (en) * | 2017-12-15 | 2022-03-01 | 中兴通讯股份有限公司 | Bluetooth connection method and device |
CN108206997A (en) * | 2017-12-15 | 2018-06-26 | 中兴通讯股份有限公司 | Bluetooth connecting method and device |
CN109963354A (en) * | 2017-12-26 | 2019-07-02 | 新智数字科技有限公司 | Intelligent terminal data transmission method and Transmission system |
CN109963354B (en) * | 2017-12-26 | 2021-10-26 | 新智数字科技有限公司 | Intelligent terminal data transmission method and transmission system |
CN109068370A (en) * | 2018-06-27 | 2018-12-21 | 努比亚技术有限公司 | Communication means, mobile terminal and computer readable storage medium |
CN108833233A (en) * | 2018-06-27 | 2018-11-16 | 努比亚技术有限公司 | Apparatus control method, terminal and computer readable storage medium |
CN109525493A (en) * | 2018-10-29 | 2019-03-26 | 中国联合网络通信集团有限公司 | A kind of network path method for building up and device |
CN109525493B (en) * | 2018-10-29 | 2022-01-28 | 中国联合网络通信集团有限公司 | Network path establishing method and device |
CN109587669A (en) * | 2019-01-16 | 2019-04-05 | 平安科技(深圳)有限公司 | A kind of Bluetooth pairing methods, device, readable storage medium storing program for executing and terminal device |
CN109587669B (en) * | 2019-01-16 | 2022-10-25 | 平安科技(深圳)有限公司 | Bluetooth pairing method and device, readable storage medium and terminal equipment |
CN111918250B (en) * | 2019-05-09 | 2023-03-21 | 阿尔卑斯通信器件技术(上海)有限公司 | Bluetooth communicator and Bluetooth communication method |
CN111918250A (en) * | 2019-05-09 | 2020-11-10 | 阿尔卑斯通信器件技术(上海)有限公司 | Bluetooth communicator and Bluetooth communication method |
CN110365371A (en) * | 2019-07-05 | 2019-10-22 | 深圳市声临科技有限公司 | The method and its system, electronic equipment that trigger signal realizes translation system control are provided based on bluetooth equipment |
CN110460984B (en) * | 2019-08-16 | 2022-07-01 | 中科微电技术(深圳)有限公司 | Multi-Bluetooth control method, system, terminal and storage based on distributed storage |
CN110460984A (en) * | 2019-08-16 | 2019-11-15 | 深圳市中擎创科技有限公司 | More Bluetooth control methods, system, terminal and storage based on distributed storage |
CN111091155A (en) * | 2019-12-18 | 2020-05-01 | 北京明略软件系统有限公司 | ID information pairing method, fusion method, device and storage medium |
CN111091155B (en) * | 2019-12-18 | 2023-12-15 | 北京明略软件系统有限公司 | ID information pairing method, fusion method, device and storage medium |
CN111355787A (en) * | 2020-02-20 | 2020-06-30 | 北京汽车集团有限公司 | Information transmission method and device and electronic equipment |
US11451444B2 (en) * | 2020-03-13 | 2022-09-20 | Tektro Technology Corporation | Method of replacing a component of a bicycle wireless controlling system and bicycle component and portable device applying the same |
CN111740956B (en) * | 2020-05-19 | 2023-05-26 | 腾讯科技(深圳)有限公司 | Vehicle communication method, device, computer readable medium and electronic equipment |
CN111740956A (en) * | 2020-05-19 | 2020-10-02 | 腾讯科技(深圳)有限公司 | Vehicle communication method and device, computer readable medium and electronic equipment |
CN112004220A (en) * | 2020-09-16 | 2020-11-27 | 深圳市锐尔觅移动通信有限公司 | Bluetooth connection method and system, Bluetooth device and readable storage medium |
CN112689273B (en) * | 2020-12-02 | 2023-02-07 | 上海哈敦智能科技有限公司 | Many masters of BLE bluetooth electric energy meter pass system from passing thoroughly |
CN112689273A (en) * | 2020-12-02 | 2021-04-20 | 上海哈敦智能科技有限公司 | Many masters of BLE bluetooth electric energy meter pass system from passing thoroughly |
CN112583818A (en) * | 2020-12-08 | 2021-03-30 | 清华大学 | Adaptive transport protocol selection method and device for mobile Web service |
CN113645599A (en) * | 2021-08-13 | 2021-11-12 | 联想(北京)有限公司 | Information processing method based on electronic equipment interaction and first electronic equipment |
CN114827302A (en) * | 2022-04-06 | 2022-07-29 | 广东万颗子智控科技有限公司 | Communication protocol adaptation method, device, equipment and storage medium |
CN114827302B (en) * | 2022-04-06 | 2024-03-12 | 广东万颗子智控科技有限公司 | Communication protocol adaptation method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106878917B (en) | 2021-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106878917A (en) | The transfer control method of information, system, terminal and data acquisition unit | |
US7911979B2 (en) | Time based access provisioning system and process | |
EP3484196B1 (en) | Method and apparatus for registering wireless device in wireless communication system | |
CN104917911B (en) | Information processing equipment and method for controlling information processing equipment | |
CN107637123B (en) | Information transmission method, device and computer readable storage medium | |
CN108377202A (en) | The distribution method, apparatus and system of smart machine | |
JP6584186B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
CN108234220A (en) | The distribution method, apparatus and system of smart machine | |
CN103124267B (en) | The method, system and the cloud server that log in/register is carried out by mobile terminal | |
US20130252656A1 (en) | Method and apparatus to manage wireless direct access communication group | |
TW201330566A (en) | System and method for facilitating wireless communication | |
US20050261018A1 (en) | Communication methods and communication apparatuses | |
JP2003235064A5 (en) | ||
EP2941058A1 (en) | Near field communication method and device | |
JP6537255B2 (en) | Communication device, control method of communication device, and program | |
JP2003299146A (en) | Radio communication equipment | |
CN110115099A (en) | Communication equipment, control method and program | |
JP2006516851A5 (en) | ||
US8874163B2 (en) | Method and apparatus for managing sound volume of wireless connection device in mobile communication terminal | |
CN108476462A (en) | The communication means of electronic equipment, the communication means of electronic equipment and mobile terminal | |
CN107223359A (en) | Method, device, user equipment and the base station configured for channel carrier wave | |
CN101656730B (en) | Communicator, communication system, communication means | |
CN103874229A (en) | Data connection establishing method and device | |
CN107223317A (en) | Determine the method and device of modulation coding mode | |
US20100118848A1 (en) | Communication terminal and image data transfer method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |