CN109788461A - Bluetooth dual mode data communication means and device - Google Patents

Bluetooth dual mode data communication means and device Download PDF

Info

Publication number
CN109788461A
CN109788461A CN201711128220.2A CN201711128220A CN109788461A CN 109788461 A CN109788461 A CN 109788461A CN 201711128220 A CN201711128220 A CN 201711128220A CN 109788461 A CN109788461 A CN 109788461A
Authority
CN
China
Prior art keywords
bluetooth
data communication
bluetooth module
power consumption
low
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
CN201711128220.2A
Other languages
Chinese (zh)
Other versions
CN109788461B (en
Inventor
熊友军
苏海武
陈林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ubtech Technology Co ltd
Youbixuan Software Technology Shenzhen Co ltd
Original Assignee
Ubtech Robotics Corp
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 Ubtech Robotics Corp filed Critical Ubtech Robotics Corp
Priority to CN201711128220.2A priority Critical patent/CN109788461B/en
Publication of CN109788461A publication Critical patent/CN109788461A/en
Application granted granted Critical
Publication of CN109788461B publication Critical patent/CN109788461B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention is suitable for field of communication technology, a kind of bluetooth dual mode data communication means and device provided by the invention, the described method includes: after classical bluetooth module and low-power consumption bluetooth module complete initialization example, the Bluetooth communication request that target terminal equipment is sent is received, Bluetooth communication request carries target user's identity;Target user's identity is authenticated;If passing through to target user's identity certification, the protocol type of Bluetooth communication request is detected;Target terminal equipment and classical bluetooth module or low-power consumption bluetooth module are established into data communication according to protocol type.The embodiment of the present invention is enough to realize that terminal device and classical bluetooth module or the low-power consumption bluetooth module establish data communication according to the protocol type of communication data, realizes that classical bluetooth is compatible with low-power consumption amount bluetooth.

Description

Bluetooth dual mode data communication means and device
Technical field
The invention belongs to field of communication technology more particularly to a kind of bluetooth dual mode data communication means and device.
Background technique
Currently, Bluetooth technology is widely used in the information transmission of the two or more equipment rooms closed under low-bandwidth condition. Such as mobile phone, tablet computer, media player, handheld device, laptop.
Bluetooth technology develops to low-power consumption amount bluetooth module from classical bluetooth module at present, form classical bluetooth with The simultaneous situation of low-power consumption bluetooth, some need passes through classical bluetooth and carries out data communication between existing bluetooth equipment, But some but needs to carry out data communication by low-power consumption bluetooth, existing terminal device can only be connected according to device type and be passed through Allusion quotation bluetooth, or can only connect to low-power consumption bluetooth causes the problem that classical bluetooth and low-power consumption amount bluetooth can not be compatible.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of bluetooth dual mode data communication means and device, it can be according to logical The protocol type of letter data realizes that terminal device and classical bluetooth module or the low-power consumption bluetooth module establish data communication, real Existing classics bluetooth is compatible with low-power consumption amount bluetooth.
The embodiment of the present invention in a first aspect, providing a kind of bluetooth dual mode data communication means, comprising:
After classical bluetooth module and low-power consumption bluetooth module complete initialization example, receive what target terminal equipment was sent Bluetooth communication request, the Bluetooth communication request carry target user's identity;
Target user's identity is authenticated;
If passing through to target user's identity certification, the protocol type of the Bluetooth communication request is detected;
According to the protocol type by the target terminal equipment and the classical bluetooth module or the low-power consumption bluetooth Module establishes data communication.
The second aspect of the embodiment of the present invention provides a kind of bluetooth dual mode data communication device, comprising:
Request reception unit, for receiving after classical bluetooth module and low-power consumption bluetooth module complete initialization example The Bluetooth communication request that target terminal equipment is sent, the Bluetooth communication request carry target user's identity;
Authentication unit, for being authenticated to target user's identity;
Detection unit, if detecting the Bluetooth communication request for passing through to target user's identity certification Protocol type;
Connection setup unit, for according to the protocol type by the target terminal equipment and the classical bluetooth module Or the low-power consumption bluetooth module establishes data communication.
The third aspect of the embodiment of the present invention provides a kind of terminal device of bluetooth dual mode data communication, including storage Device, processor and storage in the memory and the computer program that can run on the processor, the processor The step of above-mentioned bluetooth dual mode data communication means is realized when executing the computer program.
The fourth aspect of the embodiment of the present invention, provides a kind of computer readable storage medium, described computer-readable to deposit Storage media is stored with computer program, and the computer program realizes above-mentioned bluetooth dual mode data communication when being executed by processor The step of method.
The beneficial effect of the embodiment of the present invention compared with prior art is: bluetooth dual mode data provided in an embodiment of the present invention Communication means and device, by the way that it is whole to receive target after classical bluetooth module and low-power consumption bluetooth module complete initialization example The Bluetooth communication request that end equipment is sent, Bluetooth communication request carry target user's identity;To target user's identity It is authenticated;If passing through to target user's identity certification, the protocol type of Bluetooth communication request is detected;According to protocol class Target terminal equipment and classical bluetooth module or low-power consumption bluetooth module are established data communication by type.The embodiment of the present invention being capable of root It is logical to realize that terminal device and classical bluetooth module or the low-power consumption bluetooth module establish data according to the protocol type of communication data Letter realizes that classical bluetooth is compatible with low-power consumption amount bluetooth.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of flow diagram for bluetooth dual mode data communication means that one embodiment of the invention provides;
Fig. 2 be another embodiment of the present invention provides a kind of bluetooth dual mode data communication means flow diagram;
Fig. 3 is a kind of flow diagram for bluetooth dual mode data communication means that yet another embodiment of the invention provides;
Fig. 4 is a kind of flow diagram for bluetooth dual mode data communication means that further embodiment of this invention provides;
Fig. 5 is a kind of structural block diagram for bluetooth dual mode data communication device that one embodiment of the invention provides;
Fig. 6 is a kind of schematic block diagram of the terminal device for bluetooth dual mode data communication that one embodiment of the invention provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
With reference to Fig. 1, Fig. 1 is a kind of process signal for bluetooth dual mode data communication means that one embodiment of the invention provides Figure.This method can be applied to any bluetooth double module terminal device, such as robot, mobile phone, PDA (Personal Digital Assistant, palm PC) etc., specifically this method can be applied to the bluetooth dual mode data communication system of any terminal device The co-existence control module of system.
S101: after classical bluetooth module and low-power consumption bluetooth module complete initialization example, target terminal equipment is received The Bluetooth communication of transmission is requested, and Bluetooth communication request carries target terminal equipment identities mark.
In the present embodiment, classical bluetooth module and low-power consumption bluetooth module instance, which refer to, runs classics in terminal device Bluetooth module and low-power consumption bluetooth module wait other connection terminal devices to connect classical bluetooth module or low-power consumption bluetooth mould Block.Target terminal equipment identities mark can be the device id or factory coding of equipment.
S102: target terminal equipment identities mark is authenticated.
In the present embodiment, Bluetooth communication request also carries identity, judges to whether there is in the certification prestored mark Identity.If it is determined that in the certification mark prestored, there are identity, then target terminal equipment identities ID authentication passes through;If Determine that there is no identity in the certification prestored mark, then target terminal equipment identities ID authentication does not pass through.
S103: if passing through to target terminal equipment identities ID authentication, the protocol type of Bluetooth communication request is detected.
In the present embodiment, protocol type data according to required for communication protocol transmission of Bluetooth communication request needs full The type of foot is divided into classical Bluetooth protocol and low-power consumption bluetooth agreement.
S104: target terminal equipment and classical bluetooth module or low-power consumption bluetooth module are established by data according to protocol type Communication.
In the present embodiment, if protocol type is classical Bluetooth protocol type, by target terminal equipment and classical bluetooth Module establishes data communication;If protocol type is low-power consumption bluetooth protocol type, by target terminal equipment and low-power consumption bluetooth Module establishes data communication.
From the present embodiment it is found that being connect by after classical bluetooth module and low-power consumption bluetooth module complete initialization example The Bluetooth communication request that target terminal equipment is sent is received, Bluetooth communication request carries target user's identity;To target user Identity is authenticated;If passing through to target user's identity certification, the protocol type of Bluetooth communication request is detected;Root Target terminal equipment and classical bluetooth module or low-power consumption bluetooth module are established into data communication according to protocol type, it can be according to logical The protocol type of letter data realizes that terminal device and classical bluetooth module or the low-power consumption bluetooth module establish data communication, real Existing classics bluetooth is compatible with low-power consumption amount bluetooth.
With reference to Fig. 2, Fig. 2 be another embodiment of the present invention provides a kind of bluetooth dual mode data communication means process signal Figure.On the basis of the above embodiments, the content of the S201 of the present embodiment and above-mentioned S101, particular content please refer to S101's Associated description, which is not described herein again.
S202: quantity is connected according to the equipment that Bluetooth communication requests more new record.
In the present embodiment, the equipment connection quantity of record refers to the equipment for establishing connection with bluetooth double module terminal device.
S203: judge whether updated equipment connection quantity is lower than default connection threshold value.
In the present embodiment, presetting connection threshold value can be configured according to the needs of users.Due to excessive equipment with Bluetooth double module terminal device connection, will cause bluetooth double module terminal device and controlled by excessive equipment, cause secure user data by To influence.Preferably, presetting connection threshold value can be 1, to realize one-to-one control bluetooth double module terminal device.
S204: it if it is determined that updated equipment connection quantity is lower than the default connection threshold value, then executes to the target The step of User Identity is authenticated.
S205: if it is determined that updated equipment connection quantity is equal to or more than the default connection threshold value, then first is executed Masking instruction, first masking instruction are used to shield the Bluetooth communication request of the target terminal equipment.
Wherein it is possible to send the first masking instruction to the automatic shield module of target terminal equipment, automatic shield module can For shielding the target terminal equipment for sending Bluetooth communication request.
From the present embodiment it is found that quantity is connected by the equipment for requesting more new record according to Bluetooth communication, after judging update Equipment connection quantity whether be lower than default connection threshold value, if it is determined that updated equipment connection quantity is lower than default connection threshold Value then executes the step of authenticating to target user's identity, if it is determined that updated equipment connection quantity is equal to or greatly In default connection threshold value, target terminal equipment is shielded to prevent excessive equipment from connecting with bluetooth double module terminal device and causes indigo plant Tooth double module terminal device is controlled by excessive equipment, influences secure user data.
With reference to Fig. 3, Fig. 3 is a kind of process signal for bluetooth dual mode data communication means that yet another embodiment of the invention provides Figure.On the basis of the above embodiments, the content one of the content of the S301 to S302 of the present embodiment and above-mentioned S101 to S102 It causes, particular content please refers to the associated description of S101 to S102, and which is not described herein again.
S303: if not passing through to target terminal equipment identities ID authentication, if being authenticated to target user's identity Do not pass through, then execute secondary shielding instruction, the secondary shielding instructs the Bluetooth communication for shielding the target terminal equipment Request.
Specifically, Bluetooth communication request also carries identity;Judge in the certification prestored mark with the presence or absence of identity mark Know;If it is determined that in the certification mark prestored, there are identity, then target terminal equipment identities ID authentication passes through;If it is determined that pre- There is no identity in the certification mark deposited, then target terminal equipment identities ID authentication does not pass through.Wherein, target terminal is set Standby identity may be any type of password ID.
From the present embodiment it is found that identifying according to target terminal equipment identities, target terminal equipment is shielded, it is unauthorized to prevent User connects bluetooth double module terminal device.
With reference to Fig. 4, Fig. 4 is a kind of process signal for bluetooth dual mode data communication means that further embodiment of this invention provides Figure.On that basi of the above embodiments, the content of the S401 to S404 of the present embodiment is consistent with the above-mentioned content of S101 to S104, Particular content please refers to the associated description of S101 to S104, and which is not described herein again.
S405: after establishing data communication by classical bluetooth module and terminal device, classical bluetooth module is closed Bluetooth scan pattern.
In the present embodiment, the bluetooth scan pattern of classical bluetooth module refers to that classical bluetooth module is in operation, waits The state of the connection of other equipment.
S406: after establishing data communication by low-power consumption bluetooth module and terminal device, low-power consumption bluetooth mould is closed The bluetooth scan pattern of block.
In the present embodiment, the bluetooth scan pattern of low-power consumption bluetooth module refers to that low-power consumption bluetooth module is in operation, Wait the state of the connection of other equipment.
From the present embodiment it is found that passing through the bluetooth scan pattern for closing classical bluetooth module and low-power consumption bluetooth module, energy The enough power consumption for reducing classical bluetooth module and low-power consumption bluetooth module.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Corresponding to the bluetooth dual mode data communication means of foregoing embodiments, Fig. 5 is one kind that one embodiment of the invention provides The structural block diagram of bluetooth dual mode data communication device.For ease of description, only parts related to embodiments of the present invention are shown. Referring to Fig. 5, which includes: request reception unit 501, authentication unit 502, detection unit 503 and connection setup unit 504。
Wherein, request reception unit 501, for completing initialization example in classical bluetooth module and low-power consumption bluetooth module Afterwards, the Bluetooth communication request that target terminal equipment is sent is received, the Bluetooth communication request carries target terminal equipment identities mark Know;
Authentication unit 502, for being authenticated to target terminal equipment identities mark;
Detection unit 503, if it is logical to detect the bluetooth for passing through to the target terminal equipment identities ID authentication Believe the protocol type of request;
Connection setup unit 504, for according to the protocol type by the target terminal equipment and the classical bluetooth Module or the low-power consumption bluetooth module establish data communication.
From the present embodiment it is found that receiving mesh after classical bluetooth module and low-power consumption bluetooth module complete initialization example The Bluetooth communication request that terminal device is sent is marked, Bluetooth communication request carries target user's identity;To target user's identity Mark is authenticated;If passing through to target user's identity certification, the protocol type of Bluetooth communication request is detected;According to association Target terminal equipment and classical bluetooth module or low-power consumption bluetooth module are established data communication by view type, can be according to communication number According to protocol type realize that terminal device and classical bluetooth module or the low-power consumption bluetooth module establish data communication, realize warp Allusion quotation bluetooth is compatible with low-power consumption amount bluetooth.
With reference to Fig. 5, in one embodiment of the invention, on the basis of the above embodiments, the connection setup unit 504 include:
First connection setup subelement 5041 will be described if being classical Bluetooth protocol type for the protocol type Target terminal equipment and the classical bluetooth module establish data communication;
Second connection setup subelement 5042, if being low-power consumption bluetooth protocol type for the protocol type, by institute It states target terminal equipment and the low-power consumption bluetooth module establishes data communication.
With reference to Fig. 5, in one embodiment of the invention, on the basis of the above embodiments, described device further include:
Updating unit 505, the equipment for requesting more new record according to the Bluetooth communication connect quantity;
Judging unit 506, for judging whether updated equipment connection quantity is lower than default connection threshold value;
The authentication unit 502 is also used to if it is determined that updated equipment connection quantity is lower than the default connection threshold value, Then execute the step of authenticating to target user's identity.
With reference to Fig. 5, in one embodiment of the invention, on the basis of the above embodiments, described device further include:
First screen unit 507 is used for if it is determined that updated equipment connection quantity is equal to or more than the default connection Threshold value, then execute the first masking instruction, and the Bluetooth communication that first masking instruction is used to shield the target terminal equipment is asked It asks.
With reference to Fig. 5, in one embodiment of the invention, on the basis of the above embodiments, described device further include:
Secondary shielding unit 508, if executing secondary shielding for not passing through to target user's identity certification Instruction, the secondary shielding instruction are requested for shielding the Bluetooth communication of the target terminal equipment.
With reference to Fig. 5, in one embodiment of the invention, on the basis of the above embodiments, described device further include:
Bluetooth scan pattern closing unit 509 is establishing data communication by classical bluetooth module and the terminal device Later, the bluetooth scan pattern of the classical bluetooth module is closed;Alternatively, being set by low-power consumption bluetooth module and the terminal It is standby to establish after data communication, close the bluetooth scan pattern of the low-power consumption bluetooth module.
Referring to Fig. 6, Fig. 6 is a kind of signal of the terminal device for bluetooth dual mode data communication that one embodiment of the invention provides Block diagram.Terminal 600 in the present embodiment as shown in FIG. 6 may include: one or more processors 601, one or more defeated Enter equipment 602, one or more then output equipments 603 and one or more memories 604.Above-mentioned processor 601, input equipment 602, then output equipment 603 and memory 604 by communication bus 605 complete mutual communication.Memory 604 is for storing Computer program, the computer program include program instruction.The program that processor 601 is used to execute the storage of memory 604 refers to It enables.Wherein, processor 601 is configured for that described program instruction execution or less is called to operate:
Processor 601, for receiving target after classical bluetooth module and low-power consumption bluetooth module complete initialization example The Bluetooth communication request that terminal device is sent, the Bluetooth communication request carry target user's identity;The target is used Family identity is authenticated;If passing through to target user's identity certification, the Bluetooth communication request is detected Protocol type;According to the protocol type by the target terminal equipment and the classical bluetooth module or the low-power consumption bluetooth Module establishes data communication.
Further, processor 601, after being also used to receive the Bluetooth communication request of target terminal equipment transmission, according to The equipment of the Bluetooth communication request more new record connects quantity;Judge whether updated equipment connection quantity is lower than default company Connect threshold value;If it is determined that updated equipment connection quantity is lower than the default connection threshold value, then execute to target user's body The step of part mark is authenticated.
Further, processor 601, if being also used to the protocol type for classical Bluetooth protocol type, by the mesh Mark terminal device and the classical bluetooth module establish data communication;If the protocol type is low-power consumption bluetooth protocol type, The target terminal equipment and the low-power consumption bluetooth module are then established into data communication.
Further, processor 601 are also used to if it is determined that updated equipment connection quantity is equal to or more than described preset Threshold value is connected, then executes the first masking instruction, the bluetooth that first masking instruction is used to shield the target terminal equipment is logical Letter request.
Further, processor 601 do not pass through if being also used to authenticate target user's identity, execute the Two masking instructions, the secondary shielding instruction are requested for shielding the Bluetooth communication of the target terminal equipment.
Further, processor 601 are also used to establishing data communication by classical bluetooth module and the terminal device Later, the bluetooth scan pattern of the classical bluetooth module is closed;Alternatively, being set by low-power consumption bluetooth module and the terminal It is standby to establish after data communication, close the bluetooth scan pattern of the low-power consumption bluetooth module.
It should be appreciated that in embodiments of the present invention, alleged processor 601 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 602 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone etc., output equipment 603 may include display (LCD etc.), loudspeaker etc..
The memory 604 may include read-only memory and random access memory, and to processor 601 provide instruction and Data.The a part of of memory 604 can also include nonvolatile RAM.For example, memory 604 can also be deposited Store up the information of device type.
In the specific implementation, processor 601 described in the embodiment of the present invention, input equipment 602, output equipment 603 can Implementation described in the first embodiment and second embodiment of service request method provided in an embodiment of the present invention is executed, Also the implementation of terminal described in the embodiment of the present invention can be performed, details are not described herein.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and the computer program includes program instruction, realization when described program instruction is executed by processor All or part of the process in above-described embodiment method can also instruct relevant hardware to complete by computer program, The computer program can be stored in a computer readable storage medium, the computer program when being executed by processor, The step of above-mentioned each embodiment of the method can be achieved.Wherein, the computer program includes computer program code, the meter Calculation machine program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The calculating Machine readable medium may include: any entity or device, recording medium, USB flash disk, the shifting that can carry the computer program code Dynamic hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate It is that the content that the computer-readable medium includes can be fitted according to the requirement made laws in jurisdiction with patent practice When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier wave Signal and telecommunication signal.
The computer readable storage medium can be the internal storage unit of terminal described in aforementioned any embodiment, example Such as the hard disk or memory of terminal.The computer readable storage medium is also possible to the External memory equipment of the terminal, such as The plug-in type hard disk being equipped in the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both The internal storage unit for including the terminal also includes External memory equipment.The computer readable storage medium is described for storing Other programs and data needed for computer program and the terminal.The computer readable storage medium can be also used for temporarily Ground stores the data that has exported or will export.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description The specific work process at end and unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed terminal and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.In addition, shown or discussed phase Mutually between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication of device or unit Connection is also possible to electricity, mechanical or other form connections.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection scope subject to.

Claims (14)

1. a kind of bluetooth dual mode data communication means characterized by comprising
After classical bluetooth module and low-power consumption bluetooth module complete initialization example, the bluetooth that target terminal equipment is sent is received Communication request, the Bluetooth communication request carry target user's identity;
Target user's identity is authenticated;
If passing through to target user's identity certification, the protocol type of the Bluetooth communication request is detected;
According to the protocol type by the target terminal equipment and the classical bluetooth module or the low-power consumption bluetooth module Establish data communication.
2. bluetooth dual mode data communication means according to claim 1, which is characterized in that the reception target terminal equipment After the Bluetooth communication request of transmission, further includes:
Quantity is connected according to the equipment that the Bluetooth communication requests more new record;
Judge whether updated equipment connection quantity is lower than default connection threshold value;
If it is determined that updated equipment connection quantity is lower than the default connection threshold value, then execute to target user's identity mark The step of knowledge is authenticated.
3. bluetooth dual mode data communication means according to claim 1, which is characterized in that according to the protocol type by institute It states target terminal equipment and establishes data communication with the classical bluetooth module or the low-power consumption bluetooth module and include:
If the protocol type is classical Bluetooth protocol type, the target terminal equipment and the classical bluetooth module are built Vertical data communication;
If the protocol type is low-power consumption bluetooth protocol type, by the target terminal equipment and the low-power consumption bluetooth mould Block establishes data communication.
4. bluetooth dual mode data communication means according to claim 2, which is characterized in that further include:
If it is determined that updated equipment connection quantity is equal to or more than the default connection threshold value, then the first masking instruction is executed, First masking instruction is used to shield the Bluetooth communication request of the target terminal equipment.
5. bluetooth dual mode data communication means according to claim 1, which is characterized in that further include:
If not passing through to target user's identity certification, secondary shielding instruction is executed, the secondary shielding instruction is used In the Bluetooth communication request for shielding the target terminal equipment.
6. bluetooth dual mode data communication means according to any one of claims 1 to 5, which is characterized in that further include:
After establishing data communication by classical bluetooth module and the terminal device, the indigo plant of the classical bluetooth module is closed Tooth scan pattern;Alternatively,
After establishing data communication by low-power consumption bluetooth module and the terminal device, the low-power consumption bluetooth module is closed Bluetooth scan pattern.
7. a kind of bluetooth dual mode data communication device characterized by comprising
Request reception unit, for receiving target after classical bluetooth module and low-power consumption bluetooth module complete initialization example The Bluetooth communication request that terminal device is sent, the Bluetooth communication request carry target user's identity;
Authentication unit, for being authenticated to target user's identity;
Detection unit, if detecting the association of the Bluetooth communication request for passing through to target user's identity certification Discuss type;
Connection setup unit, for according to the protocol type by the target terminal equipment and the classical bluetooth module or institute It states low-power consumption bluetooth module and establishes data communication.
8. bluetooth dual mode data communication device according to claim 7, which is characterized in that further include:
Updating unit, the equipment for requesting more new record according to the Bluetooth communication connect quantity;
Judging unit, for judging whether updated equipment connection quantity is lower than default connection threshold value;
The authentication unit is also used to if it is determined that updated equipment connection quantity is then executed lower than the default connection threshold value The step of target user's identity is authenticated.
9. bluetooth dual mode data communication device according to claim 7, which is characterized in that the connection setup unit, packet It includes:
First connection setup subelement, if being classical Bluetooth protocol type for the protocol type, by the target terminal Equipment and the classical bluetooth module establish data communication;
Second connection setup subelement, it is if being low-power consumption bluetooth protocol type for the protocol type, the target is whole End equipment and the low-power consumption bluetooth module establish data communication.
10. bluetooth dual mode data communication device according to claim 8, which is characterized in that further include: the first shielding is single Member is used for if it is determined that updated equipment connection quantity is equal to or more than the default connection threshold value, then the first shielding of execution refers to It enables, first masking instruction is used to shield the Bluetooth communication request of the target terminal equipment.
11. bluetooth dual mode data communication device according to claim 7, which is characterized in that further include:
Secondary shielding unit, if executing secondary shielding instruction, institute for not passing through to target user's identity certification It states secondary shielding instruction and is requested for shielding the Bluetooth communication of the target terminal equipment.
12. according to the described in any item bluetooth dual mode data communication devices of claim 7 to 11, which is characterized in that further include:
Bluetooth scan pattern closing unit closes after establishing data communication by classical bluetooth module and the terminal device The bluetooth scan pattern of the classical bluetooth module is closed, or number is being established by low-power consumption bluetooth module and the terminal device After communication, the bluetooth scan pattern of the low-power consumption bluetooth module is closed.
13. a kind of terminal device of bluetooth dual mode data communication, including memory, processor and storage are in the memory And the computer program that can be run on the processor, which is characterized in that when the processor executes the computer program It realizes such as the step of bluetooth dual mode data communication means as claimed in any one of claims 1 to 6.
14. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization such as bluetooth dual mode data as claimed in any one of claims 1 to 6 communicates when the computer program is executed by processor The step of method.
CN201711128220.2A 2017-11-15 2017-11-15 Bluetooth dual-mode data communication method and device Active CN109788461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711128220.2A CN109788461B (en) 2017-11-15 2017-11-15 Bluetooth dual-mode data communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711128220.2A CN109788461B (en) 2017-11-15 2017-11-15 Bluetooth dual-mode data communication method and device

Publications (2)

Publication Number Publication Date
CN109788461A true CN109788461A (en) 2019-05-21
CN109788461B CN109788461B (en) 2022-06-28

Family

ID=66494196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711128220.2A Active CN109788461B (en) 2017-11-15 2017-11-15 Bluetooth dual-mode data communication method and device

Country Status (1)

Country Link
CN (1) CN109788461B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572803A (en) * 2019-07-25 2019-12-13 华为技术有限公司 Bluetooth switching method and Bluetooth device
CN110891298A (en) * 2019-12-18 2020-03-17 惠州拓邦电气技术有限公司 Bluetooth connection method, device, Bluetooth equipment and system
CN111757308A (en) * 2020-07-09 2020-10-09 杭州安恒信息技术股份有限公司 Low-power-consumption Bluetooth connection blocking method and device, computer equipment and storage medium
CN111752579A (en) * 2019-10-17 2020-10-09 北京沃东天骏信息技术有限公司 Bluetooth terminal upgrading method and device, storage medium and electronic equipment
CN112073956A (en) * 2020-09-07 2020-12-11 中国联合网络通信集团有限公司 User information determination method, device, equipment and computer readable storage medium
CN112423280A (en) * 2020-10-27 2021-02-26 上海影创信息科技有限公司 Wireless communication method, system and medium based on Bluetooth private protocol
CN112689222A (en) * 2020-12-14 2021-04-20 无锡中感微电子股份有限公司 Wireless audio conversion device and method
CN112911380A (en) * 2021-01-15 2021-06-04 海信视像科技股份有限公司 Display device and connection method with Bluetooth device
CN113676881A (en) * 2021-08-06 2021-11-19 Oppo广东移动通信有限公司 Device control method, device, electronic device and storage medium
CN113677039A (en) * 2021-08-19 2021-11-19 Oppo广东移动通信有限公司 Bluetooth-based equipment connection method and device, electronic equipment and storage medium
CN114578977A (en) * 2022-05-07 2022-06-03 深圳市研川科技有限公司 Wireless keyboard intelligent control method for special computer and wireless keyboard

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104218976A (en) * 2013-06-03 2014-12-17 飞比特公司 Self-adaptive data transmission using Bluetooth
CN104320412A (en) * 2014-11-11 2015-01-28 福建联迪商用设备有限公司 Bluetooth POS and safe Bluetooth POS connecting method and device
US20150312839A1 (en) * 2014-04-24 2015-10-29 Smoothweb Technologies Limited Systems and Methods for Wireless Communication in Retail Media
CN106488383A (en) * 2015-08-28 2017-03-08 宇龙计算机通信科技(深圳)有限公司 A kind of method and device connecting bluetooth equipment
CN106550027A (en) * 2016-10-25 2017-03-29 深圳中兴网信科技有限公司 Equipment method of attachment and equipment connection system
CN106658366A (en) * 2016-11-30 2017-05-10 建荣半导体(深圳)有限公司 Switching method and device for Bluetooth working modes, Bluetooth chip and electronic equipment
CN106658678A (en) * 2016-10-28 2017-05-10 青岛海信移动通信技术股份有限公司 Bluetooth connection method of wearable device, and device
CN106707735A (en) * 2015-11-12 2017-05-24 朗昇科技(苏州)有限公司 Low-power consumption intelligent Bluetooth watch
CN106878917A (en) * 2015-12-11 2017-06-20 比亚迪股份有限公司 The transfer control method of information, system, terminal and data acquisition unit
US20170215113A1 (en) * 2014-07-31 2017-07-27 Lg Electronics Inc. Method and apparatus for controlling electronic device in wireless communication system supporting bluetooth communication
CN107135463A (en) * 2017-04-01 2017-09-05 杭州联络互动信息科技股份有限公司 A kind of Bluetooth connecting method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104218976A (en) * 2013-06-03 2014-12-17 飞比特公司 Self-adaptive data transmission using Bluetooth
US20150312839A1 (en) * 2014-04-24 2015-10-29 Smoothweb Technologies Limited Systems and Methods for Wireless Communication in Retail Media
US20170215113A1 (en) * 2014-07-31 2017-07-27 Lg Electronics Inc. Method and apparatus for controlling electronic device in wireless communication system supporting bluetooth communication
CN104320412A (en) * 2014-11-11 2015-01-28 福建联迪商用设备有限公司 Bluetooth POS and safe Bluetooth POS connecting method and device
CN106488383A (en) * 2015-08-28 2017-03-08 宇龙计算机通信科技(深圳)有限公司 A kind of method and device connecting bluetooth equipment
CN106707735A (en) * 2015-11-12 2017-05-24 朗昇科技(苏州)有限公司 Low-power consumption intelligent Bluetooth watch
CN106878917A (en) * 2015-12-11 2017-06-20 比亚迪股份有限公司 The transfer control method of information, system, terminal and data acquisition unit
CN106550027A (en) * 2016-10-25 2017-03-29 深圳中兴网信科技有限公司 Equipment method of attachment and equipment connection system
CN106658678A (en) * 2016-10-28 2017-05-10 青岛海信移动通信技术股份有限公司 Bluetooth connection method of wearable device, and device
CN106658366A (en) * 2016-11-30 2017-05-10 建荣半导体(深圳)有限公司 Switching method and device for Bluetooth working modes, Bluetooth chip and electronic equipment
CN107135463A (en) * 2017-04-01 2017-09-05 杭州联络互动信息科技股份有限公司 A kind of Bluetooth connecting method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LYL953147712: "关于经典蓝牙和低功耗蓝牙的区别", 《HTTPS://BLOG.CSDN.NET/LYL953147712/ARTICLE/DETAILS/77025294》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021013156A1 (en) * 2019-07-25 2021-01-28 华为技术有限公司 Bluetooth switching method and bluetooth device
CN110572803A (en) * 2019-07-25 2019-12-13 华为技术有限公司 Bluetooth switching method and Bluetooth device
CN111752579A (en) * 2019-10-17 2020-10-09 北京沃东天骏信息技术有限公司 Bluetooth terminal upgrading method and device, storage medium and electronic equipment
CN110891298A (en) * 2019-12-18 2020-03-17 惠州拓邦电气技术有限公司 Bluetooth connection method, device, Bluetooth equipment and system
CN111757308B (en) * 2020-07-09 2022-11-15 杭州安恒信息技术股份有限公司 Low-power-consumption Bluetooth connection blocking method and device, computer equipment and storage medium
CN111757308A (en) * 2020-07-09 2020-10-09 杭州安恒信息技术股份有限公司 Low-power-consumption Bluetooth connection blocking method and device, computer equipment and storage medium
CN112073956A (en) * 2020-09-07 2020-12-11 中国联合网络通信集团有限公司 User information determination method, device, equipment and computer readable storage medium
CN112423280A (en) * 2020-10-27 2021-02-26 上海影创信息科技有限公司 Wireless communication method, system and medium based on Bluetooth private protocol
CN112689222A (en) * 2020-12-14 2021-04-20 无锡中感微电子股份有限公司 Wireless audio conversion device and method
CN112911380A (en) * 2021-01-15 2021-06-04 海信视像科技股份有限公司 Display device and connection method with Bluetooth device
CN112911380B (en) * 2021-01-15 2023-03-28 海信视像科技股份有限公司 Display device and connection method with Bluetooth device
CN113676881A (en) * 2021-08-06 2021-11-19 Oppo广东移动通信有限公司 Device control method, device, electronic device and storage medium
CN113676881B (en) * 2021-08-06 2024-05-07 Oppo广东移动通信有限公司 Equipment control method, device, electronic equipment and storage medium
CN113677039A (en) * 2021-08-19 2021-11-19 Oppo广东移动通信有限公司 Bluetooth-based equipment connection method and device, electronic equipment and storage medium
WO2023020617A1 (en) * 2021-08-19 2023-02-23 Oppo广东移动通信有限公司 Bluetooth-based device connection method and apparatus, electronic device, and storage medium
CN113677039B (en) * 2021-08-19 2024-05-03 Oppo广东移动通信有限公司 Bluetooth-based device connection method and device, electronic device and storage medium
CN114578977A (en) * 2022-05-07 2022-06-03 深圳市研川科技有限公司 Wireless keyboard intelligent control method for special computer and wireless keyboard
CN114578977B (en) * 2022-05-07 2022-10-14 深圳市研川科技有限公司 Wireless keyboard intelligent control method for special computer and wireless keyboard

Also Published As

Publication number Publication date
CN109788461B (en) 2022-06-28

Similar Documents

Publication Publication Date Title
CN109788461A (en) Bluetooth dual mode data communication means and device
US8504837B2 (en) Security model for industrial devices
CN106357672B (en) A kind of login method and terminal
CN105262773B (en) A kind of verification method and device of Internet of things system
CN109416800B (en) Authentication method of mobile terminal and mobile terminal
CN103942678A (en) Mobile payment system and method based on trusted execution environment
CN107888589A (en) A kind of method and its system for calling trusted application
CN104021104A (en) Collaborative system based on dual-bus structure and communication method thereof
CN106372496A (en) Method and system for improving payment terminal application security
CN110139274A (en) A kind of method for authenticating of bluetooth equipment, electronic equipment and can storage medium
CN107766717A (en) A kind of access control method, apparatus and system
CN106209918A (en) The method of a kind of internet security management and terminal
CN114040411B (en) Equipment binding method and device, electronic equipment and storage medium
US20150121474A1 (en) Processor security authentication area
CN107819768A (en) Service end actively disconnects method, terminal device and the storage medium of illegal long connection
CN105429867B (en) A kind of pattern of fusion home gateway and its access method of application service
CN107682228A (en) A kind of method for monitoring state and its device of OpenStack clusters
CN112463266A (en) Execution policy generation method and device, electronic equipment and storage medium
CN108171063A (en) Method, terminal and the computer readable storage medium of access safety element
CN102546168A (en) Communication device for identity authentication
CN116011590A (en) Federal learning method, device and system
CN104834845A (en) Implementation method for credible industrial camera
CN112417402B (en) Authority control method, authority control device, authority control equipment and storage medium
CN107315610A (en) Realize method, device and the computer-readable recording medium of cryptographic function
CN107103468A (en) Network risks detection method, mobile terminal and computer-readable recording medium

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518000 16th and 22nd Floors, C1 Building, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen UBTECH Technology Co.,Ltd.

Address before: 518000 16th and 22nd Floors, C1 Building, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen Youbixuan Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221212

Address after: 518000 b1-13, Nanshan Zhiyuan Park, No. 1001, Xueyuan Avenue, Taoyuan Street, Nanshan District, Shenzhen, Guangdong

Patentee after: Youbixuan software technology (Shenzhen) Co.,Ltd.

Address before: 518000 16th and 22nd Floors, C1 Building, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen UBTECH Technology Co.,Ltd.