CN109618319A - Communicate to connect method for building up, device, electronic equipment and readable storage medium storing program for executing - Google Patents
Communicate to connect method for building up, device, electronic equipment and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109618319A CN109618319A CN201910000678.2A CN201910000678A CN109618319A CN 109618319 A CN109618319 A CN 109618319A CN 201910000678 A CN201910000678 A CN 201910000678A CN 109618319 A CN109618319 A CN 109618319A
- Authority
- CN
- China
- Prior art keywords
- equipment
- control
- instruction
- communication connection
- chain road
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The embodiment of the present invention provides a kind of communication connection method for building up, device, electronic equipment and readable storage medium storing program for executing, this method comprises: the first equipment receives the first message that the second equipment is broadcasted on low-power consumption bluetooth BLE chain road, the first message is used to indicate the identification information of second equipment;First equipment skips BLE communication connection, establishes and communicate to connect with second equipment directly on twireless radio-frequency communication RFCOMM chain road according to the identification information of second equipment.In this method, the identification information of the second equipment is carried when to the first device broadcasts data packet from the second equipment, first equipment is after receiving data packet, according to the identification information, directly skip BLE connection procedure, and between the communication connection with the second equipment is established on RFCOMM chain road, due to having skipped BLE connection procedure, therefore, the connection speed and connect into power that this method can be communicated to connect with significant increase.
Description
Technical field
The present embodiments relate to the communication technology more particularly to a kind of communication connection method for building up, device, electronic equipment and
Readable storage medium storing program for executing.
Background technique
In the field of wireless communication, the wireless communication of long range had both been needed support, it is also desirable to the short distance between holding equipment
From communication.Short haul connection for example can be the data communication between the equipment in a building or one family.Between equipment
It needs to complete data interaction based on specific communication protocol, wherein Bluetooth protocol is a kind of communication protocols that many equipment are supported
View.
In the prior art, when being communicated between equipment based on Bluetooth protocol, main experience scanning (main equipment), broadcast
(from equipment) establishes communication connection and data exchange process.Wherein, it when establishing communication connection, is first attempted between equipment
Connection is established in low-power consumption bluetooth (Bluetooth Low Energy, abbreviation BLE, abbreviation BLE) chain road, and wireless existing
BLE connection is disconnected when radio communication (RFCOMM) link, establishes connection on RFCOMM again.
But the existing mode for establishing communication connection there may be connection speed and connects into the too low problem of power.
Summary of the invention
The embodiment of the present invention provides a kind of communication connection method for building up, device, electronic equipment and readable storage medium storing program for executing, described
Technical solution is as follows.
First aspect of the embodiment of the present invention provides a kind of communication connection method for building up, comprising:
First equipment receives the first message that the second equipment is broadcasted on low-power consumption bluetooth BLE chain road, the first message
It is used to indicate the identification information of second equipment;
First equipment skips BLE communication connection, directly in less radio-frequency according to the identification information of second equipment
It communicates RFCOMM chain road and establishes communication connection with second equipment.
Further, the identification information of second equipment includes following at least one:
Protocol version mark, second equipment that the identification of the manufacturer of second equipment, second equipment are supported
Address information.
Further, first equipment skips BLE communication connection, directly in nothing according to the mark of second equipment
Line radio communication RFCOMM chain road is established with second equipment to be communicated to connect, comprising:
When first equipment is only scanned to the information of second equipment, first equipment is according to described
The mark of two equipment skips BLE communication connection, directly establishes communication link with second equipment on RFCOMM chain road
It connects.
Further, first equipment skips BLE communication connection, directly in nothing according to the mark of second equipment
Line radio communication RFCOMM chain road is established with second equipment to be communicated to connect, comprising:
First equipment receives the first instruction of user's input, and first instruction is used to indicate first equipment and exists
The RFCOMM chain road is established with second equipment to be communicated to connect;
First equipment communicates on RFCOMM chain road with second equipment foundation according to first instruction
Connection.
Further, first equipment receives the first instruction of user's input, comprising:
First equipment shows the first interface, at least one scanned on first interface including first equipment
The information of a equipment, second equipment are one at least one described equipment;
First equipment receives the first instruction that user inputs at first interface.
Further, first control input of first instruction on the first interface as described in the user's operation, it is described
First control shows that first control is that triggering is established and second equipment when at least one described equipment is multiple
The control of communication connection.
Further, second control input of first instruction on the first interface as described in the user's operation, it is described
The display when at least one described equipment only includes second equipment of second control, second control are described first
The control of communication connection is established in triggering on interface.
Further, first equipment receives the first instruction of user's input, comprising:
First equipment receives first instruction of the user speech input.
Further, first equipment is according to the mark of second equipment, establishes on the first chain road and described the
Before the communication connection of two equipment, comprising:
The first device broadcasts second message, the second message are located at around first equipment for bluetooth scanning
Equipment in preset range.
Further, first control and second control are respectively button control.
Further, first equipment has the ability of connection internet, and second equipment has phonetic incepting energy
Power or audio playback capability.
Second aspect of the embodiment of the present invention provides a kind of communicate to connect and establishes device, is applied to the first equipment, comprising:
Receiving module, the first message broadcasted on low-power consumption bluetooth BLE chain road for receiving the second equipment, described first
Message is used to indicate the identification information of second equipment;
Link block is skipped BLE communication connection, is directly wirelessly being penetrated for the identification information according to second equipment
Frequency communication RFCOMM chain road is established with second equipment to be communicated to connect.
Further, the identification information of second equipment includes following at least one:
Protocol version mark, second equipment that the identification of the manufacturer of second equipment, second equipment are supported
Address information.
Further, the link block includes:
First connection unit, for when first equipment is only scanned to the information of second equipment, according to
The mark of second equipment skips BLE communication connection, establishes and lead to second equipment directly on RFCOMM chain road
Letter connection.
Further, the link block further include:
Receiving unit, for receiving the first instruction of user's input, first instruction is used to indicate first equipment
It establishes and communicates to connect with second equipment on RFCOMM chain road;
Second connection unit, for being built with second equipment on RFCOMM chain road according to first instruction
Vertical communication connection.
Further, the receiving unit is specifically used for:
It shows the first interface, includes the letter at least one equipment that first equipment scans on first interface
Breath, second equipment are one at least one described equipment;
Receive the first instruction that user inputs at first interface.
Further, first control input of first instruction on the first interface as described in the user's operation, it is described
First control shows that first control is that triggering is established and second equipment when at least one described equipment is multiple
The control of communication connection.
Further, second control input of first instruction on the first interface as described in the user's operation, it is described
The display when at least one described equipment only includes second equipment of second control, second control are described first
The control of communication connection is established in triggering on interface.
Further, the receiving unit is specifically used for:
Receive first instruction of the user speech input.
Further, further includes:
Broadcast module, for broadcasting second message, the second message is located at the first equipment week for bluetooth scanning
Enclose the equipment in preset range.
Further, first control and second control are respectively button control.
Further, first equipment has the ability of connection internet, and second equipment has phonetic incepting energy
Power or audio playback capability.
The third aspect of the embodiment of the present invention provides a kind of electronic equipment, comprising:
Memory, for storing program instruction;
Processor executes side described in above-mentioned first aspect for calling and executing the program instruction in the memory
Method step.
Fourth aspect of the embodiment of the present invention provides a kind of readable storage medium storing program for executing, meter is stored in the readable storage medium storing program for executing
Calculation machine program, the computer program is for executing method described in above-mentioned first aspect.
Communication connection method for building up, device, electronic equipment and readable storage medium storing program for executing provided by the embodiment of the present invention, by the
Two equipment carry the identification information of the second equipment when to the first device broadcasts data packet, and the first equipment is receiving data packet
Afterwards, according to the identification information, directly skip BLE connection procedure, and between established on RFCOMM chain road it is logical with the second equipment
Letter connection, due to having skipped BLE connection procedure, what this method can be communicated to connect compared with the prior art with significant increase
Connection speed and connect into power.
Detailed description of the invention
It, below will be to embodiment or the prior art in order to illustrate more clearly of the present invention or technical solution in the prior art
Attached drawing needed in description is briefly described, it should be apparent that, the accompanying drawings in the following description is of the invention one
A little embodiments for those of ordinary skill in the art without any creative labor, can also be according to this
A little attached drawings obtain other attached drawings.
Fig. 1 is the system architecture diagram of communication connection method for building up involved in the embodiment of the present invention;
Fig. 2 is the interaction diagrams that terminal device and bluetooth peripheral hardware establish communication connection in the prior art;
Fig. 3 is the flow diagram of communication connection method for building up embodiment one provided in an embodiment of the present invention;
Fig. 4 is the interaction flow schematic diagram of the first equipment and the second equipment in the embodiment of the present invention;
Fig. 5 is the flow diagram of communication connection method for building up embodiment two provided in an embodiment of the present invention;
Fig. 6 is the flow diagram of communication connection method for building up embodiment three provided in an embodiment of the present invention;
Fig. 7 is the function structure chart that device is established in a kind of communication connection provided in an embodiment of the present invention;
Fig. 8 is the function structure chart that device is established in a kind of communication connection provided in an embodiment of the present invention;
Fig. 9 is the function structure chart that device is established in a kind of communication connection provided in an embodiment of the present invention;
Figure 10 is the function structure chart that device is established in a kind of communication connection provided in an embodiment of the present invention;
Figure 11 is the entity block diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention
Figure, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is the present invention
A part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Fig. 1 is the system architecture diagram of communication connection method for building up involved in the embodiment of the present invention, as shown in Figure 1, the party
Method is related to terminal device and bluetooth peripheral hardware.Wherein, which has the ability of connection internet, for example, the terminal is set
It is standby that the request for obtaining data can be sent to equipment such as servers in internet, and receive transmitted by the equipment in internet
Data.The terminal device for example can be mobile phone, tablet computer etc..The bluetooth peripheral hardware can not have the energy of connection internet
Power can also have the ability of connection internet, while have phonetic incepting ability or audio playback capability.The bluetooth peripheral hardware example
It such as can be intelligent sound box, the intelligent vehicle-carried bracket of built-in microphone.Above-mentioned terminal device and bluetooth peripheral hardware support bluetooth
Agreement can carry out voice data interaction based on bluetooth.
For being set as intelligent vehicle-carried bracket outside above-mentioned bluetooth, in a kind of illustrative application scenarios, user is located at vehicle
In, the above-mentioned intelligent vehicle-carried bracket of installation in the vehicle, meanwhile, the mobile phone of carrying is placed in vehicle by user, at this point, user
Can by specifically operate triggering mobile phone scanning around bluetooth peripheral hardware, and through the embodiment of the present invention provided by method with
The intelligent vehicle-carried bracket scanned is communicatively coupled.In turn, it after mobile phone and intelligent vehicle-carried bracket establish communication connection, uses
Family can say the specific word that wakes up to intelligent vehicle-carried bracket to wake up the intelligent vehicle-carried bracket, and intelligent vehicle-carried bracket is waken up it
Afterwards, user can issue phonetic order, such as " me please be helped to inquire the weather of tomorrow ", intelligent vehicle-carried bracket to intelligent vehicle-carried bracket
The phonetic order can be sent to terminal device, terminal device parses the phonetic order, and is converted into data acquisition
The server apparatus being sent in internet is requested, after the data for receiving server return, terminal device returns to data
To intelligent vehicle-carried bracket, played from intelligent vehicle-carried bracket to user.
Fig. 2 is the interaction diagrams that terminal device and bluetooth peripheral hardware establish communication connection in the prior art, as shown in Fig. 2,
Terminal device and bluetooth peripheral hardware establish the process of communication connection in the prior art are as follows:
S201, terminal device are sent out in low-power consumption bluetooth (Blooth Low Power, abbreviation BLE) chain road to bluetooth peripheral hardware
Play communication connection request.
Terminal device scans the bluetooth peripheral hardware of surrounding, after user has selected scan bluetooth peripheral hardware, terminal first
Equipment initiates the communication connection request to the bluetooth peripheral hardware on BLE chain road.
The protocol version that BLE chain road is supported to terminal device passback is located at outside S202, bluetooth.
If terminal device do not support bluetooth peripheral hardware return protocol version you, terminal device terminate connection, no longer hold
The subsequent step of row.Otherwise, subsequent step is continued to execute.
S203, terminal device initiate to obtain facility information request to bluetooth peripheral hardware.
S204, bluetooth peripheral hardware are to terminal device returning equipment information.
Twireless radio-frequency communication (Radio Frequency is supported if contained in the facility information that bluetooth peripheral hardware returns
Communication, abbreviation RFCOMM) instruction information, then terminal device continues to execute subsequent step.
S205, terminal device disconnect the communication connection in BLE chain Lu Shangyu bluetooth peripheral hardware.
S206, terminal device are established and the communication connection of bluetooth peripheral hardware on RFCOMM chain road.
In above process, it when terminal device establishes communication connection with bluetooth peripheral hardware every time, can all first attempt in BLE chain
Communication connection is established in road, after BLE communication connection is established, if terminal device determines that bluetooth peripheral hardware supports the biography of BLE link
It is defeated, then BLE connection is disconnected, then re-establish RFCOMM connection.For some processing chips, in the shape that BLE link is kept
Under state, RFCOMM link connects into power and connection speed and will receive influence, therefore, uses the method for the prior art may
There is a problem of the connection speed of communication connection and to connect into power too low.
Method provided by the embodiment of the present invention is located at outside from bluetooth and is carried outside bluetooth to when end-point device broadcast data packet
If identification information, terminal device is after receiving data packet, according to the identification information, directly skip BLE connection procedure, and it
Between established on RFCOMM chain road with the communication connection of bluetooth peripheral hardware, due to having skipped BLE connection procedure, this method phase
Than the connection speed that can be communicated to connect in the prior art with significant increase and connect into power.
Fig. 3 is the flow diagram of communication connection method for building up embodiment one provided in an embodiment of the present invention, this method
Executing subject is the first equipment, which can be above-mentioned terminal device.As shown in figure 3, this method comprises:
S301, the first equipment receive the first message that the second equipment is broadcasted on BLE chain road, which is used to indicate
The identification information of above-mentioned second equipment.
Optionally, in embodiments of the present invention, the first equipment has the ability of connection internet, such as can be above-mentioned figure
Terminal device shown in 1, the second equipment have phonetic incepting ability or audio playback capability, such as can be for shown in above-mentioned Fig. 1
Bluetooth peripheral hardware, the second equipment can not have connection internet ability.
Optionally, before this step, the first equipment can trigger broadcast second message outward based on the operation of user, should
Second message is located at the equipment around the first equipment in preset range for bluetooth scanning.Wherein, the operation of user can be use
Application program (Application, abbreviation APP) in equipment is opened a terminal at family or user clicks the default control on the APP page
Part etc..
After first device broadcasts second message, after the second equipment receives the second message, the second equipment can be in BLE
Chain road broadcast first message, the first message are used to refer to the identification information of second equipment.
Optionally, the identification information of above-mentioned second equipment may include at least one of following:
Protocol version mark, the address information of the second equipment that the identification of the manufacturer of second equipment, the second equipment are supported.
Optionally, the identification of the manufacturer of above-mentioned second equipment can be the vendor id for producing second equipment, which can
To be the ID of the fixation for manufacturer distribution in advance.
The protocol version mark that above-mentioned second equipment is supported can be protocol version, which can be based on bluetooth
By the prepared agreement of enterprise.Second equipment can support the agreement.
The address information of above-mentioned second equipment can be media access control (the Media Access of the second equipment
Control, abbreviation MAC) address.
In the specific implementation process, the identification information of above-mentioned second equipment can carry the specific ginseng in above-mentioned first message
In number, and carried according to preset format.Following table 1 is the mark that the second equipment is carried in above-mentioned first message
Know the format sample of information.
Table 1
S302, above-mentioned first equipment skip BLE communication connection, directly in nothing according to the identification information of above-mentioned second equipment
Line radio communication RFCOMM chain road is established with above-mentioned second equipment to be communicated to connect.
Optionally, after the first equipment receives above-mentioned first message, first message is parsed, to determine first message
In whether carry the identification information of above-mentioned second equipment, if it is determined that carry, then the first equipment skips BLE communication connection, i.e., not
BLE communication connection is established in trial, but is directly established and communicated to connect in RFCOMM chain the second equipment of Lu Shangyu.
Optionally, the first equipment directly the process that RFCOMM chain the second equipment of Lu Shangyu establishes communication connection can be with are as follows:
First equipment establishes connection request in the transmission of RFCOMM chain the second equipment of Lu Shangxiang first, and receives the support of the second equipment passback
Protocol version, after the first equipment of confirmation supports the protocol version, the first equipment is initiated to obtain facility information to second equipment
Request, and the facility information that the second equipment returns is received, to complete the communication connection with the second equipment.After this, first
Equipment can initiate the pairing with the second equipment.
In the present embodiment, the identification information of the second equipment is carried when to the first device broadcasts data packet from the second equipment,
First equipment is after receiving data packet, according to the identification information, directly skips BLE connection procedure, and between in RFCOMM chain
The communication connection with the second equipment is established in road, due to having skipped BLE connection procedure, this method is compared with the prior art
With the connection speed of significant increase communication connection and power can be connected into.
Further, the method for the present embodiment can be done directly in APP on the first device, without user first
The system configuration page of equipment is operated, i.e., user needs to execute shirtsleeve operation in the APP of the first equipment, can be direct
It completes scanning connection and promotes the usage experience of user to simplify the operating process of user.
Fig. 4 is the interaction flow schematic diagram of the first equipment and the second equipment in the embodiment of the present invention, as shown in figure 4, first
Equipment and the second equipment establish the complete interactive process of communication connection are as follows:
S401, the first device broadcasts second message, which is located at around the first equipment for bluetooth scanning presets
Equipment in range.
S402, the second device broadcasts first message, the first message are used to indicate the identification information of the second equipment.
S403, the first equipment determine the identification information that the second equipment is carried in first message.
S404, the first equipment establish connection request in the initiation of RFCOMM chain the second equipment of Lu Shangxiang.
The protocol version that S405, the second equipment are supported to the passback of the first equipment.
The protocol version is supported in S406, the confirmation of the first equipment, is sent to the second equipment and is obtained facility information request.
S407, the second equipment are to the first equipment sending device information.
The specific implementation procedure of above steps is referred to embodiment above-mentioned, and details are not described herein again.
In the specific implementation process, the first equipment may issue in different trigger conditions and play the communication link of the second equipment
It connects, following embodiment of the present invention illustrates that the first equipment initiates the optional way of communication connection.
In a kind of optional way, when above-mentioned first equipment is only scanned to the information of second equipment, above-mentioned first
Equipment skips BLE communication connection according to the mark of second equipment, directly on RFCOMM chain road with above-mentioned second equipment
Establish communication connection.
Specifically, when the first equipment and the second equipment open Bluetooth function, if the first equipment is only scanned to one
Support the second equipment of the agreement of enterprise's customization, then the first equipment may not need user's triggering, and skip BLE communication connection, directly
It connects to establish on RFCOMM chain road with above-mentioned second equipment and communicate to connect.Wherein, the association whether the second equipment supports enterprise to customize
View can be known from the broadcast message that the second equipment in above-mentioned steps S301 is sent.
Another optional way, the first equipment can be established with the second equipment under the triggering of user's operation and be communicated to connect.
Fig. 5 is the flow diagram of communication connection method for building up embodiment two provided in an embodiment of the present invention, such as Fig. 5 institute
Show, one kind of above-mentioned steps S302 optionally performs process and includes:
S501, the first equipment receive the first instruction of user's input, which is used to indicate the first equipment and exists
RFCOMM chain road is established with the second equipment to be communicated to connect.
In the first optional mode, above-mentioned first instruction can be phonetic order.I.e. the first equipment can receive user
First instruction of voice input.
In second of optional mode, above-mentioned first instruction can be the finger that user inputs on the interface of the first equipment
It enables.In this fashion, terminal device shows the first interface, on first interface include the first equipment scan at least one
The information of equipment, the second equipment are one at least one equipment.In turn, terminal device receives user at first interface
First instruction of upper input.
In this approach, if the scanning of the first equipment can show the first control, which is to multiple equipment
The control with the communication connection of the second equipment is established in triggering, and user can be by operating first control to the first equipment input the
One instruction.If the first equipment is scanned to an equipment, the second control can be shown, which is to touch on the first interface
Hair establishes the control of communication connection, and user can be by operating second control to the first instruction of the first equipment input.
S502, the first equipment are established with above-mentioned second equipment on above-mentioned RFCOMM chain road and are led to according to above-mentioned first instruction
Letter connection.
The process flow of second of optional way in above-mentioned steps S501 is illustrated below.
Fig. 6 is the flow diagram of communication connection method for building up embodiment three provided in an embodiment of the present invention, such as Fig. 6 institute
Show, the first equipment, which receives the first instruction that user is inputted by interface and establishes the process communicated to connect, includes:
S601, the first equipment show the first interface, at least one scanned on first interface including above-mentioned first equipment
The information of a equipment, above-mentioned second equipment are one at least one above-mentioned equipment.
Optionally, above-mentioned first interface can be the interface in the APP in the first equipment.After user opens APP, Ke Yi
Enter first interface after clicking specific button or link, after user executes clicking operation, that is, can trigger the first device broadcasts
Above-mentioned second message, i.e. equipment around scanning, the first equipment in turn show the information for returning all devices of first message
Show on above-mentioned first interface.
The information of first equipment shown the second equipment on the first interface can be the mark letter of above-mentioned second equipment
At least one of in breath.
If the quantity of S602, at least one above-mentioned equipment be it is multiple, then follow the steps S603, and then execute step S605.
If at least one above-mentioned equipment only includes above-mentioned second equipment, S604 is thened follow the steps, and then execute step S605.
S603, the first equipment receive the first instruction that user inputs on first control at above-mentioned first interface, this first
Instruction is used to indicate above-mentioned first equipment and establishes communication connection, above-mentioned first control with above-mentioned second equipment on RFCOMM chain road
The control with the communication connection of above-mentioned second equipment is established for triggering.
Optionally, if the quantity of at least one above-mentioned equipment be it is multiple, the first equipment can on the first interface with column
The form of table shows the information of all devices, and a first above-mentioned control is shown after each facility information.First control
Part for example can be a button control.When the user clicks after first control, the first equipment is received in RFCOMM link
Upper the first instruction that communication connection is established with the second equipment, in turn, under the triggering of first instruction, the first equipment is begun trying
It establishes and communicates to connect in RFCOMM chain the second equipment of Lu Shangyu.
In the process, user only needs to execute clicking operation on the first interface of APP, can be completed the first equipment with
The connection of second equipment, without being attached by the system configuration page of the first equipment, to simplify the operation of user
Process, the user experience is improved.
S604, the first equipment receive the first instruction that user inputs on second control at above-mentioned first interface, this second
Instruction is used to indicate above-mentioned first equipment and communicates to connect on above-mentioned RFCOMM chain road with the foundation of above-mentioned second equipment, and described second
Control is the control that communication connection is established in triggering on above-mentioned first interface.
Optionally, if at least one above-mentioned equipment only includes above-mentioned second equipment, the i.e. equipment that the first equipment scans
Only one, then the first equipment directly can show above-mentioned second control in the common point at interface, such as upper right side, this second
Control for example can be a button control.When the user clicks after second control, the first equipment is received in RFCOMM chain
Road establishes the first instruction of communication connection with the second equipment, and in turn, under the triggering of first instruction, the first equipment starts to taste
Examination is established in RFCOMM chain the second equipment of Lu Shangyu and is communicated to connect.
S605, the first equipment are established with above-mentioned second equipment on above-mentioned RFCOMM chain road and are led to according to above-mentioned first instruction
Letter connection.
Fig. 7 is the function structure chart that device is established in a kind of communication connection provided in an embodiment of the present invention, which is applied to
First equipment, as shown in fig. 7, the device includes:
Receiving module 701, the first message broadcasted on BLE chain road for receiving the second equipment, the first message are used
In the identification information for indicating second equipment.
Link block 702 skips BLE communication connection, directly exists for the identification information according to second equipment
RFCOMM chain road is established with second equipment to be communicated to connect.
The device is for realizing preceding method embodiment, and it is similar that the realization principle and technical effect are similar, and details are not described herein again.
In another embodiment, the identification information of second equipment includes following at least one:
Protocol version mark, second equipment that the identification of the manufacturer of second equipment, second equipment are supported
Address information.
Fig. 8 is the function structure chart that device is established in a kind of communication connection provided in an embodiment of the present invention, as shown in figure 8, even
Connection module 702 includes:
First connection unit 7021, for when first equipment is only scanned to the information of second equipment,
According to the mark of second equipment, BLE communication connection is skipped, is directly built on RFCOMM chain road with second equipment
Vertical communication connection.
Fig. 9 is the function structure chart that device is established in a kind of communication connection provided in an embodiment of the present invention, as shown in figure 9, even
Connection module 702 further include:
Receiving unit 7022, for receiving the first instruction of user's input, first instruction is used to indicate described first
Equipment is established with second equipment on RFCOMM chain road and is communicated to connect.
Second connection unit 7023, for being set with described second on RFCOMM chain road according to first instruction
It is standby to establish communication connection.
In another embodiment, receiving unit 7022 is specifically used for:
It shows the first interface, includes the letter at least one equipment that first equipment scans on first interface
Breath, second equipment are one at least one described equipment;
Receive the first instruction that user inputs at first interface.
In another embodiment, first control input of first instruction on the first interface as described in the user's operation,
First control shows that first control is that triggering foundation is set with described second when at least one described equipment is multiple
The control of standby communication connection.
In another embodiment, second control input of first instruction on the first interface as described in the user's operation,
Second control display when at least one described equipment only includes second equipment, second control is described
The control of communication connection is established in triggering on first interface.
In another embodiment, receiving unit 7022 is specifically used for:
Receive first instruction of the user speech input.
Figure 10 is the function structure chart that device is established in a kind of communication connection provided in an embodiment of the present invention, as shown in Figure 10,
The device further include:
Broadcast module 703, for broadcasting second message, the second message is located at first equipment for bluetooth scanning
Equipment in surrounding preset range.
In another embodiment, first control and second control are respectively button control.
In another embodiment, first equipment has the ability of connection internet, and second equipment connects with voice
Receipts ability or audio playback capability.
Figure 11 is the entity block diagram of a kind of electronic equipment provided in an embodiment of the present invention, as shown in figure 11, the electronic equipment
1100 include:
Memory 1101, for storing program instruction.
Processor 1102 executes in above method embodiment for calling and executing the program instruction in memory 1101
The method and step.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (24)
1. a kind of communication connection method for building up characterized by comprising
First equipment receives the first message that the second equipment is broadcasted on low-power consumption bluetooth BLE chain road, and the first message is used for
Indicate the identification information of second equipment;
First equipment skips BLE communication connection, directly in twireless radio-frequency communication according to the identification information of second equipment
RFCOMM chain road is established with second equipment to be communicated to connect.
2. the method according to claim 1, wherein the identification information of second equipment includes following at least one
Kind:
The address of protocol version mark, second equipment that the identification of the manufacturer of second equipment, second equipment are supported
Information.
3. according to the method described in claim 2, it is characterized in that, first equipment according to the mark of second equipment,
BLE communication connection is skipped, establishes and communicates to connect with second equipment directly on twireless radio-frequency communication RFCOMM chain road, packet
It includes:
When first equipment is only scanned to the information of second equipment, first equipment is set according to described second
Standby mark skips BLE communication connection, establishes and communicate to connect with second equipment directly on RFCOMM chain road.
4. according to the method described in claim 2, it is characterized in that, first equipment according to the mark of second equipment,
BLE communication connection is skipped, establishes and communicates to connect with second equipment directly on twireless radio-frequency communication RFCOMM chain road, packet
It includes:
First equipment receives the first instruction of user's input, and first instruction is used to indicate first equipment described
RFCOMM chain road is established with second equipment to be communicated to connect;
First equipment establishes communication link with second equipment on RFCOMM chain road according to first instruction
It connects.
5. according to the method described in claim 4, it is characterized in that, first equipment receive user input first instruction,
Include:
First equipment shows the first interface, at least one scanned on first interface including first equipment is set
Standby information, second equipment are one at least one described equipment;
First equipment receives the first instruction that user inputs at first interface.
6. according to the method described in claim 5, it is characterized in that, first instruction, first boundary as described in the user's operation
The first control input on face, first control show that first control is when at least one described equipment is multiple
The control with the communication connection of second equipment is established in triggering.
7. according to the method described in claim 5, it is characterized in that, first instruction, first boundary as described in the user's operation
The second control input on face, second control are shown when at least one described equipment only includes second equipment
Show, second control is the control that communication connection is established in triggering on first interface.
8. according to the method described in claim 4, it is characterized in that, first equipment receive user input first instruction,
Include:
First equipment receives first instruction of the user speech input.
9. according to the described in any item methods of claim 4-8, which is characterized in that first equipment is according to second equipment
Mark, established on the first chain road with before the communication connection of second equipment, comprising:
The first device broadcasts second message, the second message is located at around first equipment for bluetooth scanning to be preset
Equipment in range.
10. method according to claim 6 or 7, which is characterized in that the first control and the second control are respectively button control
Part.
11. -10 described in any item methods according to claim 1, which is characterized in that first equipment has connection internet
Ability, second equipment have phonetic incepting ability or audio playback capability.
12. device is established in a kind of communication connection, which is characterized in that be applied to the first equipment, comprising:
Receiving module, the first message broadcasted on low-power consumption bluetooth BLE chain road for receiving the second equipment, the first message
It is used to indicate the identification information of second equipment;
Link block skips BLE communication connection for the identification information according to second equipment, directly logical in less radio-frequency
Believe that RFCOMM chain road is established with second equipment to communicate to connect.
13. device according to claim 12, which is characterized in that the identification information of second equipment include it is following at least
It is a kind of:
The address of protocol version mark, second equipment that the identification of the manufacturer of second equipment, second equipment are supported
Information.
14. device according to claim 13, which is characterized in that the link block includes:
First connection unit, for when first equipment is only scanned to the information of second equipment, according to described
The mark of second equipment skips BLE communication connection, directly establishes communication link with second equipment on RFCOMM chain road
It connects.
15. device according to claim 13, which is characterized in that the link block further include:
Receiving unit, for receiving the first instruction of user's input, first instruction is used to indicate first equipment in institute
It states RFCOMM chain road and establishes communication connection with second equipment;
Second connection unit, for establishing and leading to second equipment on RFCOMM chain road according to first instruction
Letter connection.
16. device according to claim 15, which is characterized in that the receiving unit is specifically used for:
It shows the first interface, includes the information at least one equipment that first equipment scans, institute on first interface
Stating the second equipment is one at least one described equipment;
Receive the first instruction that user inputs at first interface.
17. device according to claim 16, which is characterized in that first instruction is first as described in the user's operation
The first control on interface inputs, and first control is shown when at least one described equipment is multiple, first control
The control with the communication connection of second equipment is established for triggering.
18. device according to claim 16, which is characterized in that first instruction is first as described in the user's operation
The second control input on interface, second control are shown when at least one described equipment only includes second equipment
Show, second control is the control that communication connection is established in triggering on first interface.
19. device according to claim 15, which is characterized in that the receiving unit is specifically used for:
Receive first instruction of the user speech input.
20. the described in any item devices of 5-19 according to claim 1, which is characterized in that further include:
Broadcast module, for broadcasting second message, the second message is located at pre- around first equipment for bluetooth scanning
If the equipment in range.
21. device described in 7 or 18 according to claim 1, which is characterized in that the first control and the second control are respectively button control
Part.
22. the described in any item devices of 2-21 according to claim 1, which is characterized in that first equipment has connection interconnection
The ability of net, second equipment have phonetic incepting ability or audio playback capability.
23. a kind of electronic equipment characterized by comprising
Memory, for storing program instruction;
Processor, for calling and executing the program instruction in the memory, perform claim requires 1-11 described in any item
Method and step.
24. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter in the readable storage medium storing program for executing
Calculation machine program requires the described in any item methods of 1-11 for perform claim.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910000678.2A CN109618319A (en) | 2019-01-02 | 2019-01-02 | Communicate to connect method for building up, device, electronic equipment and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910000678.2A CN109618319A (en) | 2019-01-02 | 2019-01-02 | Communicate to connect method for building up, device, electronic equipment and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109618319A true CN109618319A (en) | 2019-04-12 |
Family
ID=66015585
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910000678.2A Pending CN109618319A (en) | 2019-01-02 | 2019-01-02 | Communicate to connect method for building up, device, electronic equipment and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109618319A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111372325A (en) * | 2020-02-21 | 2020-07-03 | 华为技术有限公司 | Method and device for establishing Wi-Fi point-to-point connection |
CN112423280A (en) * | 2020-10-27 | 2021-02-26 | 上海影创信息科技有限公司 | Wireless communication method, system and medium based on Bluetooth private protocol |
CN113825208A (en) * | 2021-09-30 | 2021-12-21 | 联想(北京)有限公司 | Information processing method and device |
CN114143908A (en) * | 2021-11-17 | 2022-03-04 | 武汉领普科技有限公司 | Wireless pairing method, device and storage medium |
CN114578977A (en) * | 2022-05-07 | 2022-06-03 | 深圳市研川科技有限公司 | Wireless keyboard intelligent control method for special computer and wireless keyboard |
EP4210362A4 (en) * | 2020-09-30 | 2024-02-28 | Huawei Tech Co Ltd | Bluetooth communication system, bluetooth connection method, electronic device, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105594236A (en) * | 2013-09-26 | 2016-05-18 | Gh9有限会社 | Low-power-consumption short-range radio communication system |
US20170347245A1 (en) * | 2014-10-06 | 2017-11-30 | Derek D. Kumar | Secure broadcast beacon communications |
WO2018000134A1 (en) * | 2016-06-27 | 2018-01-04 | 华为技术有限公司 | Bluetooth connection method and terminal |
CN108901010A (en) * | 2018-08-01 | 2018-11-27 | 飞天诚信科技股份有限公司 | A kind of bluetooth equipment and Bluetooth connecting method |
-
2019
- 2019-01-02 CN CN201910000678.2A patent/CN109618319A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105594236A (en) * | 2013-09-26 | 2016-05-18 | Gh9有限会社 | Low-power-consumption short-range radio communication system |
US20170347245A1 (en) * | 2014-10-06 | 2017-11-30 | Derek D. Kumar | Secure broadcast beacon communications |
WO2018000134A1 (en) * | 2016-06-27 | 2018-01-04 | 华为技术有限公司 | Bluetooth connection method and terminal |
CN108901010A (en) * | 2018-08-01 | 2018-11-27 | 飞天诚信科技股份有限公司 | A kind of bluetooth equipment and Bluetooth connecting method |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111372325A (en) * | 2020-02-21 | 2020-07-03 | 华为技术有限公司 | Method and device for establishing Wi-Fi point-to-point connection |
CN111372325B (en) * | 2020-02-21 | 2022-04-26 | 华为技术有限公司 | Method and device for establishing Wi-Fi point-to-point connection |
EP4210362A4 (en) * | 2020-09-30 | 2024-02-28 | Huawei Tech Co Ltd | Bluetooth communication system, bluetooth connection method, electronic device, and storage medium |
CN112423280A (en) * | 2020-10-27 | 2021-02-26 | 上海影创信息科技有限公司 | Wireless communication method, system and medium based on Bluetooth private protocol |
CN113825208A (en) * | 2021-09-30 | 2021-12-21 | 联想(北京)有限公司 | Information processing method and device |
CN114143908A (en) * | 2021-11-17 | 2022-03-04 | 武汉领普科技有限公司 | Wireless pairing method, 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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109618319A (en) | Communicate to connect method for building up, device, electronic equipment and readable storage medium storing program for executing | |
EP3468068B1 (en) | Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device | |
CN103518418B (en) | A kind of method and apparatus connected between bluetooth equipment | |
US20200245386A1 (en) | Wireless connection method and device | |
KR101595762B1 (en) | Method for controlling remote of portable terminal and system for the same | |
EP4033773A1 (en) | Connection method for multimedia playing device, multimedia playing device and control terminal | |
CN107396074B (en) | Wireless user interface projection for vehicles | |
CN105516897A (en) | Method and device for one-key establishment of communication connection between Bluetooth devices | |
US20100022233A1 (en) | Method of remote control for portable device and system using the same | |
KR20120025331A (en) | Method and system for managing communication of a dual stand-by portable terminal | |
CN104714817A (en) | Method, system and control terminal for upgrading household appliance software through infrared signal | |
CN101741980A (en) | Method of updating user presence information in mobile instant messaging and mobile terminal using the same | |
CN102427448A (en) | Method, terminal and server employing client input method on virtual desktop | |
WO2009082901A1 (en) | Information control method and equipment in bluetooth device and bluetooth system | |
CN108989940A (en) | Bluetooth headset function is compatible with implementation method, device, bluetooth headset and storage medium | |
CN103620528A (en) | Selection of text prediction results by an accessory | |
CN105359464A (en) | Method for operating communication function and electronic device supporting the same | |
CN104122979A (en) | Method and device for control over large screen through voice | |
US20200213844A1 (en) | Communication method, communication apparatus and electronic device | |
CN113162956A (en) | Method, device and network equipment for establishing communication connection | |
CN111356117A (en) | Voice interaction method and Bluetooth device | |
CN105704106B (en) | A kind of visualization IVR implementation method and mobile terminal | |
KR20040105032A (en) | remote function changing system of the cellular-phone and controlling method therefore | |
JP2006252531A (en) | Electronic settlement method and mobile communication terminal equipment therefor | |
CN102651855A (en) | Method and system for prompting user about business occurrence |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210519 Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing Applicant after: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd. Applicant after: Shanghai Xiaodu Technology Co.,Ltd. Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190412 |