CN110233871A - Communication control method, equipment, system and readable storage medium storing program for executing - Google Patents

Communication control method, equipment, system and readable storage medium storing program for executing Download PDF

Info

Publication number
CN110233871A
CN110233871A CN201910364568.4A CN201910364568A CN110233871A CN 110233871 A CN110233871 A CN 110233871A CN 201910364568 A CN201910364568 A CN 201910364568A CN 110233871 A CN110233871 A CN 110233871A
Authority
CN
China
Prior art keywords
communication
communication equipment
equipment
role
connection
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
CN201910364568.4A
Other languages
Chinese (zh)
Other versions
CN110233871B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910364568.4A priority Critical patent/CN110233871B/en
Publication of CN110233871A publication Critical patent/CN110233871A/en
Application granted granted Critical
Publication of CN110233871B publication Critical patent/CN110233871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Landscapes

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

Abstract

This application discloses a kind of communication control method, equipment, system and readable storage medium storing program for executing, the first communication connection can be first established between two communication equipments;It communicates to connect by first to current when one of communication equipment detects that Bluetooth communication trigger condition meets as current Master Communication Equipment and is connected with establishing Bluetooth communication as sending notice from another communication equipment of communication equipment;Current Master Communication Equipment then can be issued the data for needing the end HF to handle from communication equipment by Bluetooth communication connection;The invention also discloses a kind of equipment, system and readable storage medium storing program for executing, and by implementing above scheme, communication equipment can dynamically switch between AG role and HF role according to current demand, promote flexibility and the application scenarios of Bluetooth communication control.

Description

Communication control method, equipment, system and readable storage medium storing program for executing
Technical field
This application involves the communications fields, and in particular to a kind of communication control method, equipment, system and readable storage medium storing program for executing.
Background technique
Bluetooth technology is a kind of wireless technology standard, and bluetooth hands (Hands-free Profile, HFP) are bluetooths One of technology agreement, in HFP agreement, Bluetooth communication equipment can be divided into AG (Audio Gateway, audio frequency net gate way) angle Color and HF (Hands Free, hands-free) role, wherein AG role is a role as defined in HFP agreement, and audio supports input, defeated Out, typical equipment is mobile phone;HF role is that HFP agreement provides another role, is suitable for the input of AG character audio, output, allusion quotation The equipment of type is Bluetooth earphone equipment, the wearable device for supporting Bluetooth function etc..
It is provided according to current agreement, after establishing Bluetooth communication between two Bluetooth communication equipments, two bluetooths are logical Role between letter equipment just has determined that and cannot change, lead to that Bluetooth communication controls flexibility is poor, application scenarios by compared with Big limitation.For example, the smartwatch for supporting call function, smartwatch and the mobile phone of pairing are established blue under normal circumstances After tooth communication connection, smartwatch is HF role in Bluetooth communication connection, as the end HF;Mobile phone is connected in the Bluetooth communication In be AG role, as the end AG.It, can not since smartwatch is currently used as the end HF at this time when smartwatch has incoming call Answering for the incoming call is carried out using mobile phone, and, user experience very unfriendly come the experience of incoming call answering user by smartwatch Satisfaction it is poor.
Summary of the invention
The application technical problems to be solved are: when carrying out Bluetooth communication based on current Bluetooth communication protocol, flexibly Property it is poor, application scenarios are limited;For the technical problem, a kind of communication control method, equipment, system and readable storage medium are provided Matter.
In order to solve the above technical problems, the application provides a kind of communication control method, the communication control method includes:
The first communication connection is established between two communication equipments, first communication connection sets for the described two communications of support The standby peer-to-peer communications connection for carrying out data double-way interaction;
When one of them described communication equipment detects that Bluetooth communication trigger condition meets, pass through institute as Master Communication Equipment It states the first communication connection and sends notice to as from another communication equipment of communication equipment;
By Session Description Protocol SDP, the note of any role in audio frequency net gate way AG and hands-free HF is carried out to Master Communication Equipment Volume;
Before matching to Master Communication Equipment and from communication equipment, by SDP, AG and HF is carried out to Master Communication Equipment In another role registration;
It is matched to Master Communication Equipment and from the role between communication equipment;
With matched role, the second communication connection is established with from communication equipment, second communication connection is Bluetooth communication Connection, and second communication connection be Master Communication Equipment close bluetooth disconnect with after connection for the first time from communication equipment, The secondary connection for being again turned on bluetooth and being established from communication equipment;
The Master Communication Equipment issues the first data by second communication connection described from communication equipment;And/or The Master Communication Equipment receives second data sent from communication equipment by second communication connection.
Optionally, described with matched role, after establishing the second communication connection from communication equipment, further includes:
When the Master Communication Equipment detects that Bluetooth communication closedown condition meets, disconnect and described between communication equipment Second communication connection.
Optionally, first communication connection is the connection of bluetooth peer-to-peer communications, and in bluetooth peer-to-peer communications connection, Described two communication equipments are all the end AG.
Optionally, it after the Master Communication Equipment disconnection and second between communication equipment communicate to connect, also wraps It includes:
The Master Communication Equipment re-establishes first communication connection from communication equipment with described.
Optionally, the Bluetooth communication trigger condition includes at least one of call starting, voice applications starting, described Bluetooth communication closedown condition correspond to the Bluetooth communication trigger condition include end of conversation, voice applications close at least one Kind.
Optionally, described with matched role, include: with the second communication connection is established from communication equipment
When it is described only support AG role from communication equipment when, first communication equipment passes through HF role and described from communication Equipment establishes the second communication connection;
When it is described only support HF role from communication equipment when, first communication equipment passes through AG role and described from communication Equipment establishes the second communication connection;
When it is described support AG role and HF role simultaneously from communication equipment when, first communication equipment by AG role, The second communication connection is established with from communication equipment by HF role;Or, first communication equipment is by HF role, and from communication Equipment establishes the second communication connection by AG role.
Optionally, the note for carrying out audio frequency net gate way AG role and hands-free HF role respectively by Session Description Protocol SDP Volume include:
Register the first Universally Unique Identifier UUID and the 2nd UUID respectively in the SDP, the first UUID is used for It identifies and itself supports AG role, the 2nd UUID supports HF role for identifying itself.To solve the above-mentioned problems, of the invention Embodiment additionally provides a kind of communication equipment comprising:
Processor, transmitter, receiver, memory, are stored with the first computer program on the memory, and described first Computer program, transmitter, receiver realize principal communication in communication control method as described above when being called by the processor The step of equipment executes;
And/or second computer program is stored on the memory, the second computer program, transmitter, reception Device realizes the step of executing in communication control method as described above from communication equipment when being called by the processor.
To solve the above-mentioned problems, the embodiment of the invention also provides a kind of Bluetooth communication system, the Bluetooth communication systems System includes two communication equipments for establishing the first communication connection, first communication connection for support described two communication equipments into The peer-to-peer communications of row data two-way interactive connect;
When one of them described communication equipment detects that Bluetooth communication trigger condition meets, as Master Communication Equipment for leading to It crosses described first and communicates to connect to as from another communication equipment of communication equipment and send notice, and set with described from communication Standby to establish the second communication connection, second communication connection is that Bluetooth communication connects, and is used to pass through the first data described Second communication connection issue it is described from communication equipment, and/or, receive and described pass through the second communication link sending and receiving from communication equipment The second data sent;Wherein, by Session Description Protocol SDP, Master Communication Equipment appoint in audio frequency net gate way AG and hands-free HF The registration of one role;Before being matched to Master Communication Equipment and from communication equipment, by SDP, Master Communication Equipment is carried out The registration of another role in AG and HF;It is matched to Master Communication Equipment and from the role between communication equipment;With matched angle Color establishes the second communication connection with from communication equipment;It is described second communication connection be Master Communication Equipment close bluetooth disconnect with From the connection for the first time and then the secondary secondary connection opening bluetooth and being established from communication equipment of communication equipment;
Another described communication equipment after receiving the notice for being used as from communication equipment and the Master Communication Equipment The second communication connection is established, and the first number sent for receiving the Master Communication Equipment by second communication connection According to, and/or, it communicates to connect by described second to the Master Communication Equipment and sends the second data.
To solve the above-mentioned problems, the embodiment of the invention also provides a kind of computer readable storage medium, the calculating Machine readable storage medium storing program for executing is stored with the first computer program that can be run on a processor, and first computer program is processed Device realizes the step of Master Communication Equipment in communication control method as described above executes when executing;
Or, the computer-readable recording medium storage has the second computer program that can be run on a processor, it is described Second computer program realizes that the slave communication equipment in communication control method as described above executes when being executed by the processor The step of.
Beneficial effect
The application provides a kind of communication control method, equipment, system and readable storage medium storing program for executing, can between two communication equipments The first communication connection is first established, which carries out the peer-to-peer communications of data double-way interaction for two communication equipments of support Connection;It can be used as current Master Communication Equipment when one of communication equipment detects that Bluetooth communication trigger condition meets to pass through First communicates to connect to current and to notify as sending from another communication equipment of communication equipment, so current Master Communication Equipment and Current slave communication equipment establishes the second communication connection, which is that Bluetooth communication connects;Master current in this way is logical Letter equipment then can be issued the first data from communication equipment by the second communication connection.Namely Bluetooth communication control provided by the present application In system, two communication equipments can dynamically switch between AG role and HF role according to current demand, such as when wherein one A communication equipment is smartwatch, and when another communication equipment is mobile phone, smartwatch meets (example in Bluetooth communication trigger condition If any incoming call when) when mobile phone can be notified to establish the second communication connection with it, thus using mobile phone as its end HF pass through bluetooth realization Corresponding function (such as completing incoming call sound), vice versa, therefore can promote the flexibility of Bluetooth communication control and mention The application scenarios of Bluetooth communication are risen, and then promote the satisfaction of user experience.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application Example, and together with specification it is used to explain the principle of the application.
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of embodiment of communication equipment provided by the embodiments of the present application;
Stereoscopic schematic diagram when Fig. 2-1 is a kind of screen expansion of embodiment of wearable device provided by the embodiments of the present application One;
Stereoscopic schematic diagram when Fig. 2-2 is a kind of screen expansion of embodiment of wearable device provided by the embodiments of the present application Two;
Solid is illustrated when Fig. 2-3 is a kind of screen-bending of embodiment of wearable device provided by the embodiments of the present application Figure;
Fig. 3 is a kind of schematic diagram of embodiment of mobile phone provided by the embodiments of the present application;
Fig. 4 is the flow diagram for the communication control method that the application first embodiment provides;
Fig. 5 is the flow diagram for re-establishing the first communication connection that the application first embodiment provides;
Fig. 6 is the flow diagram for the communication control method that the application second embodiment provides;
Fig. 7 is a kind of communication apparatus construction schematic diagram that the application fourth embodiment provides.
Specific embodiment
It should be appreciated that specific embodiment described herein is only used to explain the application, it is not used to limit the application.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element The explanation for being conducive to the application, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
The communication equipment provided in the embodiment of the present application can be various mobile devices, such as can include but is not limited to hand Machine, IPAD, mobile unit, communication equipment 100 etc., wherein communication equipment 100 may include but be not limited to Intelligent bracelet, intelligent hand The mobile terminals such as table and smart phone (the embodiment of the present application is also referred to as wrist machine) with wearable characteristic.With screen The continuous development of curtain technology, the appearance of the screens form such as flexible screen, Folding screen, the mobile terminals such as smart phone can also be used as logical Believe equipment 100.The communication equipment 100 provided in the embodiment of the present application may include: that radio frequency (Radio Frequency, RF) is single Member, bluetoothModule, WiFi module, audio output unit, A/V (audio/video) input unit, sensing The components such as device, display unit, user input unit, interface unit, memory, processor and power supply.
Referring to Fig. 1, it is the hardware structural diagram for realizing a kind of communication equipment of each embodiment of the application, this is logical Believe that equipment 100 may include: radio frequency unit 101, bluetooth module 112, WiFi module 102, audio output unit 103, A/V (sound Frequently/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, the components such as processor 110 and power supply 111.It will be understood by those skilled in the art that communication equipment 100 shown in Fig. 1 Structure does not constitute the restriction to communication equipment 100, and communication equipment 100 may include components more more or fewer than diagram, or Person combines certain components or different component layouts.
It is specifically introduced below with reference to all parts of the Fig. 1 to communication equipment 100:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in carry out signal and send and receive, may include using In the transmitter for carrying out information transmission and for carrying out the received receiver of information.Such as the transmitter of radio frequency unit 101 can be with Uplink information is sent to base station after the downlink information that receiver is used to receive base station transmission receives to be sent to Bluetooth communication and set Standby 100 processor 110 is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent according to radio frequency unit 101 Uplink information generate, be also possible to after the information update for detecting communication equipment 100 it is main to radio frequency unit 101 push , for example, base station can penetrating to communication equipment 100 after detecting that geographical location locating for communication equipment 100 changes Frequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informing The processor 110 that message informing is sent to communication equipment 100 is handled, and the processor 110 of communication equipment 100 can control the message Notice is shown on the display panel 1061 of communication equipment 100;In general, radio frequency unit 101 includes but is not limited to antenna, at least one A amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also be by wireless Communication communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, For example, communication equipment 100 can download file resource from server by wireless communication, for example can be downloaded from server Application program, after communication equipment 100 completes the downloading of a certain application program, if the corresponding text of the application program in server Part resource updates, then the server can push the message informing of resource updates to communication equipment 100 by wireless communication, to mention The user that wakes up is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but unlimited In GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), (Wideband Code Division Multiple Access, wideband code division are more by WCDMA Location), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time division synchronous CDMA), (Frequency Division Duplexing-Long Term Evolution, frequency division duplex are long by FDD-LTE Phase evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are drilled for a long time Into) etc..
In one embodiment, communication equipment 100 can access existing communication network by insertion SIM card.
In another embodiment, communication equipment 100 can be by being arranged esim card (Embedded-SIM), Lai Shixian Existing communication network is accessed, by the way of esim card, the inner space of communication equipment 100 can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 its And it is not belonging to must be configured into for communication equipment 100, it can according to need within the scope of not changing the essence of the invention and save completely Slightly.Communication equipment 100 can realize the communication connection with other equipment or communication network separately through WiFi module 102, this Application embodiment is not limited thereto.
Communication equipment 100 includes bluetooth module 112, and communication equipment 100, can be with other supports by bluetooth module 112 The terminal device of Bluetooth communication connects, and realizes communication and the interaction of information.
WiFi belongs to short range wireless transmission technology, and communication equipment 100 can help user to receive and dispatch by WiFi module 102 Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for communication equipment 100, it completely can root It is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in communication equipment 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that communication equipment 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
In one embodiment, communication equipment 100 includes one or more cameras, by opening camera, energy Enough captures realized to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Communication equipment 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when communication equipment 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc..
In one embodiment, communication equipment 100 further includes proximity sensor, by using proximity sensor, communication Equipment 100 can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, communication equipment 100 further includes heart rate sensor, when wearing, by close to user, It can be realized the detecting of heart rate.
In one embodiment, communication equipment 100 can also include fingerprint sensor, by reading fingerprint, Neng Goushi The functions such as existing safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, using the communication equipment of flexible display screen 100 when wearing, and screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screen Body and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodiment It is not limited thereto.
In one embodiment, the display panel 1061 of communication equipment 100 can take rectangle, ring when convenient for wearing Around.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and communication equipment 100 User setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation One of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of communication equipment 100.Button can be real The various ways such as existing short-press, long-pressing, rotation, to realize a variety of operating effects.The quantity of button can be to be multiple, and different presses It can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing communication equipment 100 as two independent components, but in certain embodiments, Can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of communication equipment 100, it is specific this Place is without limitation.For example, when receiving the message informing of a certain application program by radio frequency unit 101, processor 110 can be with It controls and shows the message informing in a certain predeterminable area of display panel 1061, the predeterminable area and touch panel 1071 A certain region is corresponding, can be to corresponding on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071 The message informing shown in region is controlled.
Interface unit 108 be used as at least one external device (ED) connect with communication equipment 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in communication equipment 100 or can be with For transmitting data between communication equipment 100 and external device (ED).
In one embodiment, communication equipment 100 interface unit 108 using contact structure, by contact with it is right The other equipment connection answered, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of communication equipment 100, utilizes various interfaces and the entire communication equipment of connection 100 various pieces, by running or executing the software program and/or module that are stored in memory 109, and calling storage Data in memory 109 execute the various functions and processing data of communication equipment 100, to carry out to communication equipment 100 Integral monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and Modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation Processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110 In.
Communication equipment 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Fig. 2-1 to Fig. 2-3 is please referred to, is under a kind of a kind of embodiment of communication equipment 100 provided by the embodiments of the present application Structural schematic diagram.Communication equipment 100 in the embodiment of the present application is wearable device, including flexible screen.It is set wearable When standby expansion, flexible screen is elongated;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2-1 And Fig. 2-2 shows structural schematic diagram when wearable device screen is unfolded, when Fig. 2-3 shows wearable device screen-bending Structural schematic diagram;The display screen for the wearable device in the embodiment of the present application that should of course be understood that can not also be flexible screen Curtain.
Referring to FIG. 3, showing for the structure under a kind of 100 another embodiment of communication equipment provided by the embodiments of the present application It is intended to.Communication equipment 100 in the embodiment of the present application is mobile phone.
Based on above-mentioned communication equipment hardware structure and communications network system, each embodiment of the application method is proposed.
First embodiment
When carrying out Bluetooth communication for current Bluetooth communication protocol, flexibility is poor, the limited problem of application scenarios, this reality The first communication connection for supporting two-way communication can be established between the two communication devices by applying example, when one of communication equipment is examined Measuring when Bluetooth communication trigger condition meets can be used as current Master Communication Equipment, by first communicate to connect to it is current as from Another communication equipment of communication equipment sends notice, and then establishes Bluetooth communication as the end AG and the slave communication equipment as the end HF Connection, the present embodiment are referred to as the second communication connection;Master Communication Equipment current in this way can will then need the first of the processing of the end HF Data are issued by the second communication connection from communication equipment.Namely two communication equipments in the present embodiment can be according to current need It asks and dynamically switches between AG role and HF role, the flexibility of Bluetooth communication control can be promoted and promote bluetooth and led to The application scenarios of letter, and then promote the satisfaction of user experience.In order to make it easy to understand, below with reference to communication control shown in Fig. 4 Method is illustrated for example.
Shown in Figure 4, communication control method provided in this embodiment includes:
The first communication connection is established between S401: two communication equipments.
In the present embodiment, which carries out the peer-to-peer communications of information bidirectional interaction for two communication equipments of support Connection namely two communication equipments between can by this first communicate to connect to other side send information and receive other side send Information, one of effect of first communication connection can be used as the subsequent information exchange for carrying out the second communication connection and establishing Negotiate channel.And it should be understood that the first type communicated to connect in the present embodiment can according to specific requirements flexible choice, As long as being able to satisfy the requirement that two communication equipments carry out data double-way interaction.For example, in a kind of example, first communication link Connecing can connect for bluetooth peer-to-peer communications, establish the connection of bluetooth peer-to-peer communications between two communication equipments at this time, and in the bluetooth pair In communicating to connect, it can be limited without role between two communication equipments, may be alternatively provided as identical role, such as a kind of example In two communication equipments can all be the end AG (a kind of example in be also all end HF etc.), can lead between two such communication equipment It crosses the bluetooth peer-to-peer communications and connects the data etc. for sending data to other side and receiving other side's transmission.In another example in another example In, which can connect for WiFi peer-to-peer communications, and two communication equipments can be connected by the WiFi peer-to-peer communications at this time It connects and sends information to other side and receive the information of other side's transmission.In another example in another example, which can be Short-range communication (such as may include but be not limited to NFC (Near Field Communication, near-field communication) connection, at this time Two communication equipments can send information to other side by the near field communication and receive the information that other side sends.Example again Such as, in another example, which can connect for zigbee peer-to-peer communications, and two communication equipments can be by this at this time Zigbee peer-to-peer communications, which are connected, to be sent information to other side and receives the information of other side's transmission.In another example in another example, it should First communication connection can connect for P2P (Peer-to-peer networking) or D2D (Device-to-Device) peer-to-peer communications It connects, two communication equipments can be connected to send information to other side and receive other side by P2P the or D2D peer-to-peer communications and be sent at this time Information.It will thus be seen that the type of the first communication connection can flexibly be set in the present embodiment and it is not limited to the above example Several types.
In a kind of example of the present embodiment, two communication equipments can all have audio frequency net gate way AG function and hands-free HF function, Can also a communication equipment have AG function and HF function, another communication equipment only supports AG function or HF function.And it should Understand, the communication equipment in the present embodiment can flexibly be set according to concrete application scene.Such as in two communication equipments, One of them can be the wearable device of support Bluetooth communication, another can be the mobile phone of support Bluetooth communication or two All for support Bluetooth communication mobile phone, perhaps both be support Bluetooth communication wearable device or one be support indigo plant The wearable device of tooth communication, another is the car-mounted terminal etc. for supporting Bluetooth communication.And it should be understood that the present embodiment In wearable device can also flexibly be set according to concrete application scene, such as can be but be not limited to smartwatch, wrist machine etc..
S402: one of communication equipment detects when Bluetooth communication trigger condition meets as Master Communication Equipment, passes through First communicate to connect to as from another communication equipment of communication equipment send notify.
It should be understood that Bluetooth communication trigger condition can flexibly be set according to demand in the present embodiment, and optional, The Bluetooth communication trigger condition can by least one of application provider, operator, device manufacturer, user be arranged and/ Or it updates.
For example, in some examples of the present embodiment, the Bluetooth communication trigger condition may include but be not limited to call starting, At least one of voice applications starting.
For example, in application scenes, Bluetooth communication trigger condition may include call starting, the call can for based on The call of subscriber identification card (Subscriber Identification Module, SIM), or Internet phone-calling or Other kinds of call.Such as when one of them in above-mentioned two Bluetooth communication terminal be wrist machine, wrist machine receive call or When initiating call, (such as may include but be not limited to call or network video call, voice-over-net call based on eSIM card Deng) when, then it can send and notify to another communication equipment.In other application scenarios, Bluetooth communication trigger condition may include sound Frequency application starting, and the voice applications in the present embodiment can be all voice applications on communication equipment, or communication Specified voice applications in equipment, such as can include but is not limited to various voice assistants, music application, there is audio The video playing application in channel or the various voice applications of webpage version etc..Such as when its in above-mentioned two Bluetooth communication terminal In one be wrist machine, then can be to another when starting voice assistant (such as little Ai robot or siri speech robot people) on wrist machine Communication equipment sends notice.
In the present embodiment, after another communication equipment receives the notice, it may know that the communication of opposite end is set according to the notice It is standby it is upper currently trigger Bluetooth communication condition, and the communication equipment of opposite end is currently used as Master Communication Equipment at this time, itself is currently then As from communication equipment.Content that the format of the notice, the notice include in the present embodiment etc. can flexible setting, if its Reach above-mentioned effect.
S403: by Session Description Protocol SDP, the registration of any role in audio frequency net gate way AG and hands-free HF is carried out;
S404: before being matched to Master Communication Equipment and from communication equipment, by SDP, Master Communication Equipment is carried out The registration of another role in AG and HF;
S405: it is matched to Master Communication Equipment and from the role between communication equipment;
S406: with matched role, the second communication connection is established with from communication equipment, second communication connection is bluetooth Communication connection, and it is described second communication connection be Master Communication Equipment close bluetooth disconnect with from communication equipment connection for the first time it Afterwards, the secondary connection for being again turned on bluetooth and being established from communication equipment;One of them of second communication connection functions as Data transmission channel between two communication equipments uses, and optionally, dynamically can establish and/or disconnect.
S403~S406 shows one kind and establishes the second communication connection, that is, Bluetooth communication connection between communication equipment Implementation.
It is to be registered respectively to AG role and HF role, also to the registration process of Master Communication Equipment in the present embodiment It is to be registered by respective SDP;Specifically, the audio frequency net gate way AG role and hands-free HF role of Master Communication Equipment, respectively It is registered respectively by Session Description Protocol SDP and may include:
Master Communication Equipment is registered by the way that the first UUID is written in the first SDP, and the first UUID is for identifying itself branch Hold AG role;
Master Communication Equipment is registered by the way that the 2nd UUID is written in the 2nd SDP, and the 2nd UUID is for identifying itself branch Hold HF role.First UUID and the 2nd UUID is respectively used to characterize communication equipment support AG role and HF role;In this implementation In example, Master Communication Equipment is characterized the role itself supported respectively by two UUID while including AG role and HF role.
Specifically, may include: with the second communication connection is established from communication equipment with matched role
When only supporting AG role from communication equipment, Master Communication Equipment by HF role with to establish second from communication equipment logical Letter connection;
When only supporting HF role from communication equipment, Master Communication Equipment by AG role with to establish second from communication equipment logical Letter connection;
When from communication equipment simultaneously support AG role and HF role when, Master Communication Equipment and between communication equipment by appoint Meaning AG role and HF role combinations establish the second communication connection.Specifically namely Master Communication Equipment is by AG role, and from logical Believe that equipment establishes the second communication connection by HF role;Or, Master Communication Equipment passes through the angle AG by HF role, with from communication equipment Color establishes the second communication connection.In other words, connection between the two is the combination of AG and HF.
S407: Master Communication Equipment issues the first data from communication equipment by the second communication connection;And/or principal communication Equipment receives the second data sent from communication equipment by the second communication connection.
For example, ought Master Communication Equipment at this time be wrist machine, and it is currently when receiving incoming call, and wrist machine can will receive Calling voice data be sent to as the first data by the second communication connection it is current from communication equipment, should be from communication equipment It can be mobile phone or other kinds of equipment.
It should be understood that Master Communication Equipment can only pass through the second communication in the application scenes of the present embodiment Connection it is unidirectional send the first data to from communication equipment, such as when Master Communication Equipment starting music application plays music. In other application scenarios of the present embodiment, communication control method further include: Master Communication Equipment reception passes through from communication equipment The second data that second communication connection is sent.
For example, when Master Communication Equipment is to receive incoming call or actively initiate calling and second logical with this is established from communication equipment When letter connection, then Master Communication Equipment issues the voice data received from the opposite end of call from communication by the second communication connection While equipment plays out, the voice number from collected end subscriber of communication equipment can be also received by the second communication connection According to, and the voice data of this end subscriber received is issued to the opposite end of call.In another example when Master Communication Equipment is starting voice Assistant and with from communication equipment establish this second communication connection when, then Master Communication Equipment leads to the voice data that voice assistant issues It crosses the second communication connection to issue while play out from communication equipment, can also be received by the second communication connection from communication equipment The voice data of collected end subscriber, and the voice data of this end subscriber received is issued into voice assistant and is known Not.Certainly, in some instances, Master Communication Equipment can also only receive second sent from communication equipment by the second communication connection Data, without sending the first data to from communication equipment, such as some need from unidirectionally obtaining each of data from communication equipment Kind application scenarios.
In some examples of the present embodiment, the second communication connection is established in current Master Communication Equipment and from communication equipment Afterwards, may also include that
When Master Communication Equipment detects the triggering of Bluetooth communication closedown condition, disconnection is communicated with from second between communication equipment Connection.
It may include but be not limited to correspondingly, the Bluetooth communication closedown condition in the present embodiment corresponds to Bluetooth communication trigger condition At least one of end of conversation, voice applications closing.
In some application examples of the present embodiment, when the first communication connection can connect for bluetooth peer-to-peer communications, and at this In the connection of bluetooth peer-to-peer communications, when two communication equipments are all the end AG, when two communication equipments establish the second communication connection, by In wherein as from the communication equipment of communication equipment need by AG role switching be HF role and disconnect this first communication connection.? In this application example, after Master Communication Equipment disconnects and communicates to connect from second between communication equipment, it may also include that
Master Communication Equipment with from communication equipment re-establish the first communication connection;The process is shown in Figure 5, can wrap It includes:
S501: AG role currently is re-registered as from the communication equipment of communication equipment, and optionally can also nullify HF Role.
S502: current as the communication equipment of Master Communication Equipment and currently blue as being established from the communication equipment of communication equipment The connection of tooth peer-to-peer communications, connecting latter two communication equipment established is all the end AG.
In S502, current Master Communication Equipment actively can send AG connection from communication equipment to current, can also be by working as Preceding slave communication equipment actively sends AG connection to current Master Communication Equipment.
As it can be seen that in the present embodiment, between two communication equipments can first peer to peer connection, a communication equipment needs in ask When using AG role as Master Communication Equipment, another Bluetooth communication equipment can dynamically be set using HF role as from communication It is standby to establish Bluetooth communication connection therewith, rather than in advance fix the role of two communication equipments, therefore communication mode is more clever It is living variable, it can preferably be suitable for the demand of various Bluetooth communication scenes, to promote the satisfaction of user experience.
Second embodiment
In order to make it easy to understand, the present embodiment is on that basi of the above embodiments, it is example in conjunction with a kind of specific application scenarios It is illustrated.
In the present embodiment, two communication equipments respectively support the wrist machine and mobile phone of Bluetooth communication, and wrist machine and mobile phone All support AG function and HF function.It may be provided with eSIM card in wrist machine, eSIM card can also be not provided with.In the present embodiment, above-mentioned First communication connection is connected as example with bluetooth peer-to-peer communications and is illustrated.
In the application scenarios of the present embodiment, it can be used but be not limited to Bluetooth communication environment as follows:
Standard software interface (Host Controller Interface, HCI) layer is suitable for management HCI state, control HCITRAMS is assembled and is truncated according to event/data (event/data) on HCI format and protocol processes HCI TRAMS Data, subpackage send long string data, management caching etc..
Voice transfer channel can by asynchronous connection (Synchronous Connection Oriented, SCO) or Extend asynchronous connection (extended SCO, eSCO) link transmission etc..
Bluetooth equipment discovery strategy (Generic Access Profile, GAP), the link management in connection procedure, peace Congruent grade setting, common format definition of UI layer parameter interaction etc..
Logical links adaptation layer (Logical Link and Adaption Layer, L2CAP) is adapted to set up closing and connects Connect/condition managing/multiplexing/packet segmentation and assembling etc..
The linear simulation protocol of serial ports (RFCOMM), suitable for the serial ports simulation based on L2CAP.The realization of HFP is based on Serial Port Line Property simulation protocol.The serially linear simulation protocol connection of the linear simulation protocol of serial ports is established, distal end is needed when sending SABM packet (Remote) service channel (server channel) in service discovery protocol is registered in as parameter, to distinguish different serial ports The connection of linear simulation agreement.
In the present embodiment, wrist machine and mobile phone can respectively register AG role based on above-mentioned Bluetooth communication environment, and be based on The AG role registered completes the connection of bluetooth peer-to-peer communications, such as can use but be not limited to rfcomm socket mode and communicate. It can notify mobile phone, mobile phone that can carry out the registration of HF role according to the notice when wrist machine receives incoming call or initiates calling, and AG role can be nullified to (mobile phone can determine whether currently whether answer the incoming call before executing the step), then wrist machine and mobile phone can The second communication connection is established, wrist machine is the end AG at this time, and mobile phone is the end HF, and the call on wrist machine is switched to second communication connection Channel carry out data interaction complete call.After end of conversation, the second communication connection between wrist machine and mobile phone can be disconnected, Mobile phone completes the registration of AG role again and nullifies HF role, and mobile phone has re-established peer-to-peer communications with wrist machine and connect, namely returns It is triggered next time to initial peering state waiting.
Above procedure is shown in Figure 6, comprising:
S600: wrist machine and mobile phone are established rfcomm socket and are connect namely the first communication connection.
S601: wrist machine receives incoming call (can also initiate calling for wrist machine).
S602: wrist machine connect (the i.e. first communication connection) by the rfcomm socket with mobile phone and sends notice BT_ TELE_COMMAND_START。
S603: wrist machine registers AG role.
S604: mobile phone receives BT_TELE_COMMAND_START, completes the registration of HF role, and nullifies AG role.
S605: mobile phone actively initiates HF connection to wrist machine after completing HF role's registration.
S606: the role between matching wrist machine and mobile phone;Before matching, wrist machine supplement registration HF role.
S607: wrist machine and mobile phone establish after Bluetooth communication connect (namely second communication connection), the call mould on wrist machine Block detects that bluetooth conversation channel completes to establish and is switched to bluetooth conversation channel.Wherein, in the process for establishing Bluetooth communication connection In, without initiating bluetooth discovery process, the directly role between matching wrist machine and mobile phone.
S608: end of conversation, wrist machine send end of conversation to mobile phone and instruct BT_TELE_COMMAND_END.
S609: mobile phone and wrist machine disconnect the second communication connection;
S610: mobile phone re-registers AG role, and optionally nullifies HF role.
S611: wrist machine and mobile phone re-establish the first communication connection.
As it can be seen that in the present embodiment, when wrist machine receives incoming call or needs to initiate calling, flexibly can dynamically control Wrist machine as the end AG, complete incoming call sound as its end HF, using mobile phone or complete the voice in calling to answer and send by mobile phone; When mobile phone also similar to demand when flexibly can also dynamically control mobile phone as the end AG, wrist machine is mentioned as its end HF, therefore greatly Flexibility, the convenience for having risen Bluetooth communication control, can better meet the demand of different communication scene, promote user's Experience.
3rd embodiment
A kind of communication equipment is present embodiments provided, the type of the communication equipment refers to shown in above-described embodiment, herein It repeats no more.Shown in Figure 7, which includes:
Processor 701, memory 702, transmitter 703, receiver 704, memory 702 is for storing the first computer journey Sequence;
First computer program realizes communication as described above when being executed by processor 701, transmitter 703, receiver 704 Each step executed when communication equipment in control method is as Master Communication Equipment;
And/or memory 702 is for storing second computer program;Second computer program is by processor 701, transmitting Device 703, receiver 704 are realized when executing to be held when communication equipment in communication control method as described above is used as from communication equipment Capable each step.
The present embodiment additionally provides a kind of Bluetooth communication system, which includes two and establish the first communication link The communication equipment connect, and the two communication equipments can be but be not limited to communication equipment shown in figure.
The present embodiment additionally provides a kind of computer readable storage medium, which has can be The first computer program run on processor is realized when first computer program is executed by processor in as above each embodiment The step of Master Communication Equipment in communication control method executes and/or the computer-readable recording medium storage have and can handle The second computer program run on device is realized when the second computer program is executed by processor and is communicated in as above each embodiment The step of slave communication equipment in control method executes.
It should be noted that, in this document, term " includes ", " comprising " or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the application.
Embodiments herein is described above in conjunction with attached drawing, but the application be not limited to it is above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the enlightenment of the application, when not departing from the application objective and scope of the claimed protection, can also it make very much Form, these are belonged within the protection of the application.

Claims (10)

1. a kind of communication control method, which is characterized in that the communication control method includes:
Establish the first communication connection between two communication equipments, first communication connection for support described two communication equipments into The peer-to-peer communications of row data two-way interactive connect;
When one of them described communication equipment detects that Bluetooth communication trigger condition meets, pass through described the as Master Communication Equipment One communicates to connect to as another communication equipment transmission notice from communication equipment;
By Session Description Protocol SDP, the registration of any role in audio frequency net gate way AG and hands-free HF is carried out to Master Communication Equipment;
Before being matched to Master Communication Equipment and from communication equipment, by SDP, Master Communication Equipment is carried out another in AG and HF The registration of one role;
It is matched to Master Communication Equipment and from the role between communication equipment;
With matched role, the second communication connection is established with from communication equipment, second communication connection is that Bluetooth communication connects, And second communication connection is to close bluetooth in Master Communication Equipment to disconnect and the connection for the first time from communication equipment and then secondary open The secondary connection opening bluetooth and being established from communication equipment;
The Master Communication Equipment issues the first data by second communication connection described from communication equipment;And/or it is described Master Communication Equipment receives second data sent from communication equipment by second communication connection.
2. communication control method as described in claim 1, which is characterized in that it is described with matched role, and from communication equipment After establishing the second communication connection, further includes:
When the Master Communication Equipment detects that Bluetooth communication closedown condition meets, disconnection and second between communication equipment Communication connection.
3. communication control method as claimed in claim 2, which is characterized in that first communication connection is bluetooth peer-to-peer communications Connection.
4. communication control method as claimed in claim 3, which is characterized in that the Master Communication Equipment disconnect with it is described from communication After the second communication connection between equipment, further includes:
The Master Communication Equipment re-establishes first communication connection from communication equipment with described.
5. such as the described in any item communication control methods of claim 2-4, which is characterized in that the Bluetooth communication trigger condition packet At least one of call starting, voice applications starting are included, the Bluetooth communication closedown condition corresponds to the Bluetooth communication triggering Condition includes at least one of end of conversation, voice applications closing.
6. communication control method as described in any one in claim 1-5, which is characterized in that it is described with matched role, with from Communication equipment establishes the second communication connection
When it is described only support AG role from communication equipment when, first communication equipment passes through HF role and described from communication equipment Establish the second communication connection;
When it is described only support HF role from communication equipment when, first communication equipment passes through AG role and described from communication equipment Establish the second communication connection;
When it is described support AG role and HF role simultaneously from communication equipment when, first communication equipment by AG role, with from Communication equipment establishes the second communication connection by HF role;Or, first communication equipment is by HF role, and from communication equipment The second communication connection is established by AG role.
7. communication control method according to any one of claims 1-4, which is characterized in that described to pass through Session Description Protocol SDP, the registration for carrying out any role in AG and HF include:
Selection registration the first Universally Unique Identifier UUID or the 2nd UUID, the first UUID are for identifying in the SDP AG role, the 2nd UUID itself is supported to support HF role for identifying itself.
8. a kind of communication equipment, characterized in that it comprises:
Processor, transmitter, receiver, memory are stored with the first computer program on the memory, and described first calculates The communication control as described in any one of claims 1 to 7 is realized when machine program, transmitter, receiver are called by the processor The step of Master Communication Equipment executes in method processed;
And/or second computer program is stored on the memory, the second computer program, transmitter, receiver quilt It realizes when the processor calls and is executed in the communication control method as described in any one of claims 1 to 7 from communication equipment The step of.
9. a kind of Bluetooth communication system, which is characterized in that the Bluetooth communication system includes two and establishes the first communication connection Communication equipment, first communication connection connect for the peer-to-peer communications for supporting described two communication equipments to carry out data double-way interaction It connects;
When one of them described communication equipment detects that Bluetooth communication trigger condition meets, as Master Communication Equipment for passing through institute It states the first communication connection and sends notice to as from another communication equipment of communication equipment, and built with described from communication equipment Vertical second communication connection, second communication connection are Bluetooth communication connection, and for the first data to be passed through described second It communicates to connect described in issuing from communication equipment, and/or, reception is described to communicate to connect transmission by described second from communication equipment Second data;Wherein, by Session Description Protocol SDP, any angle in audio frequency net gate way AG and hands-free HF is carried out to Master Communication Equipment The registration of color;Before being matched to Master Communication Equipment and from communication equipment, by SDP, to Master Communication Equipment carry out AG and The registration of another role in HF;It is matched to Master Communication Equipment and from the role between communication equipment;With matched role, with The second communication connection is established from communication equipment;Second communication connection be Master Communication Equipment close bluetooth disconnect with from communication The connection for the first time of equipment and then the secondary secondary connection opening bluetooth and being established from communication equipment;
Another described communication equipment after receiving the notice for being used as from communication equipment and Master Communication Equipment foundation Second communication connection, and the first data sent for receiving the Master Communication Equipment by second communication connection, and/ The second data are sent or, communicating to connect by described second to the Master Communication Equipment.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has and can handle The first computer program run on device realizes such as claim 1 to 7 times when first computer program is executed by processor The step of Master Communication Equipment in communication control method described in one executes;
Or, the computer-readable recording medium storage has a second computer program that can be run on a processor, described second Computer program realized when being executed by the processor in communication control method as described in any one of claim 1 to 7 from The step of communication equipment executes.
CN201910364568.4A 2019-04-30 2019-04-30 Communication control method, device, system and readable storage medium Active CN110233871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910364568.4A CN110233871B (en) 2019-04-30 2019-04-30 Communication control method, device, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910364568.4A CN110233871B (en) 2019-04-30 2019-04-30 Communication control method, device, system and readable storage medium

Publications (2)

Publication Number Publication Date
CN110233871A true CN110233871A (en) 2019-09-13
CN110233871B CN110233871B (en) 2021-10-12

Family

ID=67861097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910364568.4A Active CN110233871B (en) 2019-04-30 2019-04-30 Communication control method, device, system and readable storage medium

Country Status (1)

Country Link
CN (1) CN110233871B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050070338A1 (en) * 2003-09-30 2005-03-31 Kabushiki Kaisha Toshiba Handsfree communication control method, portable radio communication apparatus and handsfree system
US20050186907A1 (en) * 2003-12-08 2005-08-25 Tdk Systems Europe Limited Bluetooth communications
US20090215398A1 (en) * 2008-02-25 2009-08-27 Adler Mitchell D Methods and Systems for Establishing Communications Between Devices
CN101635766A (en) * 2009-07-24 2010-01-27 上海大亚科技有限公司 Vehicle bluetooth communication terminal device and implementation method thereof
CN201438716U (en) * 2009-07-24 2010-04-14 上海大亚科技有限公司 Vehicle Bluetooth communication terminal device
US20110151783A1 (en) * 2009-12-17 2011-06-23 Shenzhen Futaihong Precision Industry Co., Ltd. Communication device and method thereof
US20150334513A1 (en) * 2012-11-19 2015-11-19 S.I.Sv.El Societa Italiana Per Lo Sviluppo Dell 'electtronica S.P.A. Apparatus Adapted to Share Information Contents Through a Wireless Connection, and Method Thereof
US9301087B1 (en) * 2015-02-09 2016-03-29 Motorola Solutions, Inc. Method and apparatus for connecting a bluetooth device
US20160189441A1 (en) * 2014-04-29 2016-06-30 Ford Global Technologies, Llc Apparatus and Method of Error Monitoring with a Diagnostic Module

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050070338A1 (en) * 2003-09-30 2005-03-31 Kabushiki Kaisha Toshiba Handsfree communication control method, portable radio communication apparatus and handsfree system
CN1604683A (en) * 2003-09-30 2005-04-06 株式会社东芝 Handsfree communication control method, portable radio communication apparatus and handsfree system
US20050186907A1 (en) * 2003-12-08 2005-08-25 Tdk Systems Europe Limited Bluetooth communications
US20090215398A1 (en) * 2008-02-25 2009-08-27 Adler Mitchell D Methods and Systems for Establishing Communications Between Devices
CN101635766A (en) * 2009-07-24 2010-01-27 上海大亚科技有限公司 Vehicle bluetooth communication terminal device and implementation method thereof
CN201438716U (en) * 2009-07-24 2010-04-14 上海大亚科技有限公司 Vehicle Bluetooth communication terminal device
US20110151783A1 (en) * 2009-12-17 2011-06-23 Shenzhen Futaihong Precision Industry Co., Ltd. Communication device and method thereof
US20150334513A1 (en) * 2012-11-19 2015-11-19 S.I.Sv.El Societa Italiana Per Lo Sviluppo Dell 'electtronica S.P.A. Apparatus Adapted to Share Information Contents Through a Wireless Connection, and Method Thereof
US20160189441A1 (en) * 2014-04-29 2016-06-30 Ford Global Technologies, Llc Apparatus and Method of Error Monitoring with a Diagnostic Module
US9301087B1 (en) * 2015-02-09 2016-03-29 Motorola Solutions, Inc. Method and apparatus for connecting a bluetooth device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩江洪等: "嵌入式信息家电系统中蓝牙子系统的研究与开发", 《系统仿真学报》 *

Also Published As

Publication number Publication date
CN110233871B (en) 2021-10-12

Similar Documents

Publication Publication Date Title
CN110248344A (en) Communication means, equipment, system and readable storage medium storing program for executing
CN110267244A (en) Communication handover method, equipment, system and readable storage medium storing program for executing
CN110198534A (en) Communicate transparent transmission control method, communication equipment, system and storage medium
CN110198535A (en) Communicate method for handover control, communication equipment, system and storage medium
CN110087223A (en) Communication connecting method, communication equipment and storage medium
CN110248345A (en) Communication control method, equipment, system and readable storage medium storing program for executing
CN110213749A (en) Communication processing method, communication equipment and storage medium
CN110213750A (en) Communication control method, equipment, system and readable storage medium storing program for executing
CN110267361A (en) Communication control method, equipment, system and readable storage medium storing program for executing
CN110248343A (en) Communication means, equipment, system and readable storage medium storing program for executing
CN109947389A (en) Audio switching method, wearable device and computer readable storage medium
CN110121164A (en) Communication processing method, equipment, system and readable storage medium storing program for executing
CN110234137A (en) Communication control method, equipment, system and readable storage medium storing program for executing
CN110234099A (en) Communication connecting method, communication equipment and storage medium
CN110233871A (en) Communication control method, equipment, system and readable storage medium storing program for executing
CN110225501A (en) Communication control method, equipment, system and readable storage medium storing program for executing
CN110225503A (en) Communication control method, equipment, system and readable storage medium storing program for executing
CN110139258A (en) Communication connecting method, communication equipment and storage medium
CN110225502A (en) Communication control method, equipment, system and readable storage medium storing program for executing
CN110198536A (en) Communication control method, equipment, system and readable storage medium storing program for executing
CN110267241A (en) Communication means, equipment, system and readable storage medium storing program for executing
CN110225500A (en) Communication means, equipment, system and readable storage medium storing program for executing
CN110267242A (en) Communication means, equipment, system and readable storage medium storing program for executing
CN110139256A (en) Bluetooth communication control method, equipment, system and readable storage medium storing program for executing
CN110213752A (en) Communication means, equipment, system and readable storage medium storing program for executing

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