CN104023016B - In the method and apparatus that communicating terminal establishes communication connection - Google Patents
In the method and apparatus that communicating terminal establishes communication connection Download PDFInfo
- Publication number
- CN104023016B CN104023016B CN201410252831.8A CN201410252831A CN104023016B CN 104023016 B CN104023016 B CN 104023016B CN 201410252831 A CN201410252831 A CN 201410252831A CN 104023016 B CN104023016 B CN 104023016B
- Authority
- CN
- China
- Prior art keywords
- communicating terminal
- sides
- mode
- server
- information
- 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.)
- Withdrawn - After Issue
Links
Abstract
The invention discloses a kind of method and apparatus for establishing communication connection in communicating terminal.Methods described includes, and (a) obtains the facility information of communicating terminal;(b) facility information of communicating terminal to be connected is obtained;(c) connected mode for connecting the both sides is determined according to the facility information of communicating terminal and communicating terminal both sides to be connected;(d) communicating terminal is established with communicating terminal to be connected by the connected mode and connected.The present invention can provide a kind of suitable connected mode according to two facility informations for needing to establish two terminals of communication connection.
Description
Technical field
The present invention relates to communication technical field, more particularly, is related to a kind of side that communication connection is established in communicating terminal
Method and equipment.
Background technology
Connected mode between present smart machine is more various, such as can be established and connected by following several connected modes
Connect:Two equipment have been connected to same LAN, establish socket (tcp socket) connection of transmission control protocol;One sets
Standby to be used as soft focus for another equipment, both establish connection;Use direct-connected (WLAN Direct) work(of wireless network
Can, both establish connection;Established and connected using Bluetooth function.For different connected modes, its operating procedure is possible to not phase
Together.Other various emerging intelligent appliances, wearable smart machine, may there is its distinctive connected mode.Thus need
Want user to grasp above-mentioned knowledge frequently to select a suitable connected mode and be successfully attached, so caused greatly to user
Inconvenience.
The content of the invention
It is an object of the invention to provide a kind of method and apparatus for establishing communication connection in communicating terminal, it can be automatic
A kind of suitable connected mode is selected to supply communicating terminal and communicating terminal to be connected to establish communication connection.
An aspect of of the present present invention provides a kind of method for establishing communication connection in communicating terminal, including:(a) communication is obtained eventually
The facility information at end;(b) facility information of communicating terminal to be connected is obtained;(c) according to communicating terminal and communicating terminal to be connected
The facility information of both sides determines the connected mode for connecting the both sides;(d) communicating terminal is by the connected mode and the company for the treatment of
Connect communicating terminal and establish connection.
Alternatively, in step (b) in the following manner in any one obtain equipment letter of communicating terminal to be connected
Breath:Receive the facility information that communicating terminal to be connected is sent by near-field communication technology;Scanning contains communicating terminal to be connected
Facility information Quick Response Code, the Quick Response Code be shown on the screen of communicating terminal to be connected or mark it is to be connected communication eventually
End;Receive the audio for the facility information for containing communicating terminal to be connected that communicating terminal to be connected is sent.
Alternatively, step c includes:By in the connected mode with intended level order to prestore, required condition quilt
What the information of the communication part of the both sides was met, highest-ranking connected mode is defined as the company for connecting the both sides
Mode is connect, wherein, the facility information includes the information of the communication part of equipment.
Alternatively, step c includes:When communicating terminal is not connected with server, there is intended level order by what is prestored
Connected mode in, required condition is met by the information of the communication part of the both sides, highest-ranking connection side
Formula is defined as the connected mode for connecting the both sides.
Alternatively, step c includes:When communicating terminal is connected with server, determine server whether store with it is described
The Best link mode of both sides corresponding to the unit type of both sides, when storing the Best link mode in server and both sides press
When the Best link mode is attached the use state of the communication part needed to use to open, by the Best link side
Formula is defined as the connected mode for connecting the both sides, wherein, the facility information includes the communication of unit type and equipment
The information of component, the information of communication part include the use state information of communication part, and the both sides' that prestored in the server sets
The corresponding relation of standby model and the Best link mode of both sides.
Alternatively, step c includes:When communicating terminal is connected with server, determine server whether store with it is described
The Best link mode of both sides corresponding to the unit type of both sides, when storing the Best link mode in server and both sides press
When the Best link mode is attached the use state of the communication part needed to use to close, or when in server not
When storing the Best link mode, by the connected mode with intended level order to prestore, required condition is by institute
State what the information of the communication part of both sides was met, highest-ranking connected mode is defined as the connection for connecting the both sides
Mode.
Alternatively, step c also includes:When communicating terminal is connected with server, determine server whether store with it is described
The Best link mode of both sides corresponding to the unit type of both sides, when storing the Best link mode in server and both sides press
When the Best link mode is attached the use state of the communication part needed to use to close, remind described in user's unlatching
Both sides are attached the communication part needed to use by the Best link mode.
Alternatively, the unit type of communicating terminal to be connected that also prestored in server and the corresponding relation of application, step c
Also include:When communicating terminal is connected with server, obtained from server corresponding with the unit type of communicating terminal to be connected
The mark of application, step d also include:The application is run in communicating terminal.
Alternatively, step b also includes:Obtain the network address of communicating terminal to be connected;Communicating terminal is by described in step d
Connected mode establishes the step of connecting with communicating terminal to be connected to be included:Communicating terminal presses the connected mode to communication to be connected
The network address corresponding with the connected mode of terminal sends connection request.
Another aspect of the present invention provides a kind of equipment for establishing communication connection in communicating terminal, including:First obtains list
Member, obtain the facility information of communicating terminal;Second acquisition unit, obtain the facility information of communicating terminal to be connected;Determining unit,
The connected mode for connecting the both sides is determined according to the facility information of communicating terminal and communicating terminal both sides to be connected;Connection
Unit, communicating terminal are established with communicating terminal to be connected by the connected mode and connected.
Alternatively, second acquisition unit in the following manner in any one obtain equipment letter of communicating terminal to be connected
Breath:Receive the facility information that communicating terminal to be connected is sent by near-field communication technology;Scanning contains communicating terminal to be connected
Facility information Quick Response Code, the Quick Response Code be shown on the screen of communicating terminal to be connected or mark it is to be connected communication eventually
End;Receive the audio for the facility information for containing communicating terminal to be connected that communicating terminal to be connected is sent.
Optionally it is determined that unit includes:First determining unit, by the connected mode with intended level order to prestore
, what required condition was met by the information of the communication part of the both sides, highest-ranking connected mode is defined as being used for
The connected mode of the both sides is connected, wherein, the facility information includes the information of the communication part of equipment.
Optionally it is determined that unit includes:First determining unit, when communicating terminal is not connected with server, by what is prestored
In connected mode with intended level order, required condition is met by the information of the communication part of the both sides,
Highest-ranking connected mode is defined as the connected mode for connecting the both sides.
Optionally it is determined that unit includes:Second determining unit, when communicating terminal is connected with server, determine server
Whether the Best link mode of with the unit type of the both sides corresponding both sides is stored, it is described optimal when being stored in server
When connected mode and both sides are attached the use state of the communication part needed to use to open by the Best link mode,
The Best link mode is defined as the connected mode for connecting the both sides, wherein, the facility information includes equipment
The information of the communication part of model and equipment, the information of communication part includes the use state information of communication part, in server
In prestored the corresponding relation of the unit type of both sides and the Best link mode of both sides.
Optionally it is determined that unit also includes:First determining unit, when communicating terminal is connected with server and in server
Store the Best link mode and both sides and making for the communication part that needs to use is attached by the Best link mode
It is when closing with state, or when not storing the Best link mode in server, has intended level suitable by what is prestored
In the connected mode of sequence, required condition is met by the information of the communication part of the both sides, highest-ranking connection
Mode is defined as the connected mode for connecting the both sides.
Alternatively, when communicating terminal is connected with server, the second determining unit determine server whether store with it is described
The Best link mode of both sides corresponding to the unit type of both sides, when storing the Best link mode in server and both sides press
When the Best link mode is attached the use state of the communication part needed to use to close, remind described in user's unlatching
Both sides are attached the communication part needed to use by the Best link mode.
Alternatively, the unit type of communicating terminal to be connected that also prestored in server and the corresponding relation of application, when logical
When news terminal is connected with server, determining unit obtains apply corresponding with the unit type of communicating terminal to be connected from server
Mark, connection unit includes:Running unit, the application is run in communicating terminal.
Alternatively, second acquisition unit also obtains the network address of communicating terminal to be connected;Connection unit presses the connection
Mode sends connection request to communicating terminal to be connected network address corresponding with the connected mode.
According to the method and apparatus for establishing communication connection in communicating terminal of the present invention, according to communicating terminal and to be connected logical
The automatic a kind of suitable connected mode of facility information for interrogating terminal connects to supply communicating terminal and communicating terminal to be connected to establish communication
Connect.
By in following description partly illustrate the present invention it is other in terms of and/or advantage, some is by retouching
State and will be apparent, or the implementation of the present invention can be passed through and learnt.
Brief description of the drawings
By the detailed description carried out below in conjunction with the accompanying drawings, above and other objects of the present invention, feature and advantage will
Become more fully apparent, wherein:
Fig. 1 shows according to an embodiment of the invention one flow chart that the method for communication connection is established in communicating terminal;
Fig. 2 shows according to an embodiment of the invention two flow chart that the method for communication connection is established in communicating terminal;
Fig. 3 shows according to an embodiment of the invention three flow chart that the method for communication connection is established in communicating terminal;
Fig. 4 shows according to an embodiment of the invention four block diagram that the equipment of communication connection is established in communicating terminal.
Embodiment
Now, different example embodiments is more fully described with reference to the accompanying drawings, wherein, some exemplary embodiments are attached
Shown in figure.
Fig. 1 shows according to an embodiment of the invention one flow chart that the method for communication connection is established in communicating terminal.Root
Connected according to communication the step of flow chart, can be established shown in Fig. 1 between communicating terminal and communicating terminal to be connected.As an example,
Communicating terminal described here and communicating terminal to be connected can be personal computer, mobile phone, tablet personal computer, game machine, individual
The various electronic equipments that can be communicated such as digital assistants, digital multimedia player, wearable intelligent electronic device
In step 101, the facility information of communicating terminal is obtained.It will be understood by those skilled in the art that communicating terminal can be with
The facility information of its own is obtained in the storage region for storing its facility information.
In step 102, the facility information of communicating terminal to be connected is obtained.Communicating terminal be able to can be got by any
The mode of the facility information of communicating terminal to be connected goes to obtain the facility information of communicating terminal to be connected.For example, can be by connecing
Communicating terminal to be connected is received by way of the facility information that near-field communication technology (NFC) is sent;It can also be included by scanning
The mode of the Quick Response Code of the facility information of communicating terminal to be connected, the Quick Response Code are shown in the screen of communicating terminal to be connected
Upper or mark is in communicating terminal to be connected;Communication to be connected can also be contained by receive that communicating terminal to be connected sends eventually
The mode of the audio of the facility information at end, if in this way, communicating terminal is after the audio is received, then passes through
Corresponding encoding and decoding standard is decoded the facility information that can obtain communicating terminal to be connected to the audio.
In step 103, according to the facility information of communicating terminal and communicating terminal both sides to be connected determines to be used for connect
The connected mode of both sides.The connected mode for being used to connecting the both sides is according to the communicating terminal that gets and to be connected logical
The facility information for interrogating terminal both sides determines, the connected mode that matches with the facility information of both sides.
In step 104, communicating terminal is established with communicating terminal to be connected by the connected mode and connected.In this step,
Connection request is sent from communicating terminal to communicating terminal to be connected.It is preferred that also obtain in a step 102 to be connected logical
The network address of terminal is interrogated, it is at step 104, corresponding with the connected mode from communicating terminal to communicating terminal to be connected
Network address sends connection request.It will be understood by those skilled in the art that network address can include IP address, Bluetooth address etc.
Other network address related to communication connection, different connected modes correspond to different network address.If for example, for connecting
The connected mode for meeting both sides is bluetooth connection, then, sending connection from the Bluetooth address of communicating terminal to communicating terminal to be connected please
Ask.
Fig. 2 is the flow chart that the method for communication connection is established in communicating terminal of embodiments of the invention two.
In step 201, the facility information of communicating terminal is obtained.
In step 202, the facility information of communicating terminal to be connected is obtained.
In step 303, by the connected mode with intended level order to prestore, required condition is by the both sides
The information of communication part met that highest-ranking connected mode is defined as the connected mode for connecting the both sides.
Here, the facility information includes the information of the communication part of equipment.The information of communication part can include the class of communication part
Type, and the use information of all types of communication parts.
The above-mentioned determination step for being used to connect the connected mode of both sides, can be first that all required conditions is described
The connected mode that the information of the communication part of both sides is met is found out, and then finds out wherein highest-ranking connected mode again,
It can be searched with the order of connected mode rank from high to low.For example, the level by the connected mode being stored in communicating terminal
Order not from high to low, it is determined that whether being stored in condition needed for the connected mode of communicating terminal by the communication group of the both sides
The information of part is met, in determination process, when the condition needed for a connected mode is by the letter of the communication part of the both sides
When breath meets, one connected mode is defined as the connected mode for connecting the both sides;When a connected mode
When required condition is not met by the information of the communication part of the both sides, the next stage of one connected mode is determined
Whether connected mode is met by the information of the communication part of the both sides.
The intended level order of the connected mode to prestore can be set by User Defined, can also be advance by system
Set.The setting of the intended level order can consider two factors of quantity and transmission speed of Connection Step.Example
Such as, intended level order is set as follows from high to low:Establish tcp socket connections;Soft focus is established by a side to be connected
Connect;Establish bluetooth connection.It will be apparent to those skilled in that the condition needed for above-mentioned three kinds of connected modes, such as establishes tcp
, it is necessary to which both sides' has been connected to same LAN, the information for the LAN that both sides have been connected to can be included in for socket connections
In the information of the communication part of both sides;Such as establish communication part and the communication that bluetooth connection needs both sides to be designed with Bluetooth function
Component is opening.
In step 204, communicating terminal is established with communicating terminal to be connected by the connected mode and connected.
Fig. 3 is the flow chart that the method for communication connection is established in communicating terminal of embodiments of the invention three.
In step 301, the facility information of communicating terminal is obtained.
In step 302, the facility information of communicating terminal to be connected is obtained.
In step 303, determine whether mobile terminal is connected with server, when mobile terminal is connected with server, enter
Step 304;When mobile terminal is not connected with server, into step 307.
In step 304, determine whether server stores the optimal of both sides corresponding with the unit type of the both sides and connect
Mode is connect, wherein, the corresponding relation of the unit type for the both sides that prestored in the server and the Best link mode of both sides.Due to
The model of smart machine is fixed, thus can record in the server the model of various different intelligent equipment and its with
The related information of communication connection, such as the function of different model smart machine and the information of communication part.The intelligence of difference in functionality
Equipment may be different from the connected mode of other smart machines, as can be carried out between tablet personal computer and mobile phone with a variety of connected modes
Connection, and can only be attached at present by bluetooth so as to realize between intelligent watch and mobile phone between intelligent watch and mobile phone
Simultaneously operating.Therefore the Best link that can be stored in the server between the smart machine of a variety of models supplies user
Use, and can add in real time in the server the emerging smart machine of in the market model and its to communication connection it is related
Information.
When server storage during the Best link mode of both sides corresponding with the unit type of the both sides, into step
305;When server does not store the Best link mode of both sides corresponding with the unit type of the both sides, into step 307.
In step 305, determine that the both sides are attached the communication part that needs to use by the Best link mode
Whether use state opens.Here, the facility information includes the information of the communication part of equipment.The information of communication part can be with
Type including communication part, and the use information of all types of communication parts and the information for the LAN being connected to, communication
The use information of component includes the use state of communication part.
When the use state that the both sides are attached the communication part needed to use by the Best link mode is to open
Qi Shi, into step 306;When the both sides are attached by the Best link mode use of the communication part needed to use
State is when not opening, into step 307.
In step 306, the Best link mode is defined as to the connected mode of both sides.
In step 307, by the connected mode with intended level order to prestore, required condition is by the both sides
The information of communication part met that highest-ranking connected mode is defined as the connected mode for connecting the both sides.
In step 308, communicating terminal is established with communicating terminal to be connected by the connected mode and connected.
In a preferred embodiment, in step 305, when it is determined that the both sides are connected by the Best link mode
When connecing the use state of the communication part needed to use and not opening, remind user to open the both sides and press the Best link mode
It is attached the communication part needed to use.Such as the Best link mode is bluetooth connection, but the both sides have a side's
When bluetooth is closed mode, user is now reminded to open the prompt message of the bluetooth for the side that bluetooth is not opened.Certainly, this area
Personnel are appreciated that can also optimize design herein, detect again a side that bluetooth do not open whether be as described in communicate eventually
End, if it does, then automatically turning on the bluetooth of communicating terminal.It will be understood by those in the art that sound, light, word can be passed through
User is reminded to open the communication part etc. mode.
Also prestored in another preferred embodiment, in server communicating terminal to be connected unit type with application
Corresponding relation, when communicating terminal is connected with server, obtained from server corresponding with the unit type of communicating terminal to be connected
Application mark, be additionally included in communicating terminal in step 308 and run the application.Before both sides establish connection or it can build
During vertical connection or establish after connection, the application is run in communicating terminal.Should if communicating terminal is fitted without this
With being then connected to the installation procedure applied described in the Internet download.Such as when communicating terminal is mobile phone, communicating terminal to be connected is
During intelligent watch, it is to realize the function of simultaneously operating, that is, pass through intelligent watch that intelligent watch establishes communication connection with mobile phone
Mobile phone is controlled, to realize this function, mobile phone needs to run specific application.It is storing in the server with intelligent watch model
Corresponding application is to establish the application for needing to run on the mobile phone of communication connection with intelligent watch, and so the application can be in mobile phone
Upper automatic running, without manual unlocking, reduce operating procedure.
It should be noted that what the order of the step of shown in Fig. 1,2,3 was merely exemplary, to those skilled in the art,
Above-mentioned steps order can be adjusted correspondingly.For example, the step 101 in Fig. 1 and the step 201 in 102, Fig. 2 and 202,
Step 301 in Fig. 3 and 302, it can simultaneously carry out or any one step is first carried out.
Fig. 4 is the block diagram that the equipment of communication connection is established in communicating terminal according to embodiments of the invention four.
As shown in figure 4, four equipment that communication connection is established in communicating terminal includes according to an embodiment of the invention:First
Acquiring unit 401, second acquisition unit 402, determining unit 403, connection unit 404.
First acquisition unit 401 obtains the facility information of communicating terminal.It will be understood by those skilled in the art that first obtains
Unit 401 can obtain the facility information of its own in the storage region for the facility information for storing communicating terminal.
Second acquisition unit 402 obtains the facility information of communicating terminal to be connected.Second acquisition unit 402 can be by appointing
The mode for the facility information what can get communicating terminal to be connected goes to obtain the facility information of communicating terminal to be connected.Example
Such as, by way of the facility information that can be sent receiving communicating terminal to be connected by near-field communication technology (NFC);Can be with
By way of scanning the Quick Response Code for the facility information for containing communicating terminal to be connected, the Quick Response Code is shown in be connected logical
Interrogate on the screen of terminal or mark is in communicating terminal to be connected;It can also be contained by receive that communicating terminal to be connected sends
The mode of the audio of the facility information of communicating terminal to be connected, if in this way, second acquisition unit 402 is receiving
To after the audio, then the audio is decoded by corresponding encoding and decoding standard and can obtain communicating terminal to be connected
Facility information.
Determining unit 403 according to the facility information of communicating terminal and communicating terminal both sides to be connected determine be used for connect described in
The connected mode of both sides.The connected mode for being used to connecting the both sides is according to the communicating terminal that gets and to be connected logical
The facility information for interrogating terminal both sides determines, the connected mode that matches with the facility information of both sides.
In a preferred embodiment, determining unit 403 includes the first determining unit, the tool that the first determining unit will prestore
In the connected mode for having intended level order, required condition is met by the information of the communication part of the both sides, level
Other highest connected mode is defined as the connected mode for connecting the both sides.Here, the facility information includes equipment
The information of communication part.The information of communication part can include the type of communication part, and all types of communication parts makes
With information and it is connected to the information of LAN.
First determining unit can be first by all required bars during it is determined that connecting the connected mode of both sides
Part is found out by the connected mode that the information of the communication part of the both sides is met, then finds out wherein highest-ranking connection again
Mode, can also the order of connected mode rank from high to low searched.For example, by the connection side being stored in communicating terminal
The order of the rank of formula from high to low, it is determined that whether being stored in condition needed for the connected mode of communicating terminal by the both sides'
The information of communication part is met, in determination process, when the condition needed for a connected mode is by the communication group of the both sides
When the information of part meets, one connected mode is defined as the connected mode for connecting the both sides;When a company
When connecing the condition needed for mode and not met by the information of the communication part of the both sides, determine under one connected mode
Whether the connected mode of one-level is met by the information of the communication part of the both sides.
The intended level order of the connected mode to prestore can be set by User Defined, can also be advance by system
Set.The setting of the intended level order can consider two factors of quantity and transmission speed of Connection Step.Example
Such as, intended level order is set as follows from high to low:Establish tcp socket connections;Soft focus is established by a side to be connected
Connect;Establish bluetooth connection.It will be apparent to those skilled in that the condition needed for above-mentioned three kinds of connected modes, such as establishes tcp
Socket connections are, it is necessary to which both sides' has been connected to same LAN;Such as establishing bluetooth connection needs both sides to be designed with Bluetooth function
Communication part and the communication part be opening.
In another preferred embodiment, server is provided with, stores the equipment with the both sides in the server
The Best link mode of both sides corresponding to model.Because the model of smart machine is fixed, therefore can remember in the server
Record the model of various different intelligent equipment and its information related to communication connection, such as the work(of different model smart machine
Can be with the information of communication part.The smart machine of difference in functionality may different, such as flat board from the connected mode of other smart machines
Can be attached between computer and mobile phone with a variety of connected modes, and between intelligent watch and mobile phone at present can only by bluetooth come
It is attached so as to realize the simultaneously operating between intelligent watch and mobile phone.Therefore can store in the server a variety of
For users to use, and it is emerging to add in the market in real time in the server for Best link between the smart machine of model
The model of smart machine and its information related to communication connection.
In the case where being configured with server, determining unit 403 also includes the second determining unit, and the second determining unit is located at
On server, when communicating terminal is connected with server, the second determining unit determines whether server stores and the both sides
Unit type corresponding to both sides Best link mode, when storing the Best link mode and both sides in server by described
It is when Best link mode is attached the use state of the communication part needed to use to open, the Best link mode is true
It is set to the connected mode for connecting the both sides, wherein, the facility information includes the communication part of unit type and equipment
Information, the information of communication part includes the use state information of communication part.The information of communication part can include communication group
The type of part, and the use information of all types of communication parts, the use information of communication part include the use of communication part
State.
First determining unit can also be set on server.When communicating terminal is connected with server, and stored in server
The Best link mode, and both sides are attached the use shape of the communication part needed to use by the Best link mode
When state is closes, or when not storing the Best link mode in server, by setting the first determination in the server
Unit or the first determining unit being arranged in communicating terminal, by the connected mode with intended level order to prestore,
Required condition is met that highest-ranking connected mode is defined as being used to connect by the information of the communication part of the both sides
The connected mode of the both sides.
In a further advantageous embodiment, it is when communicating terminal is connected with server and described optimal when being stored in server
The use state that connected mode and both sides are attached the communication part needed to use by the Best link mode is closing
When, the second determining unit reminds user to open the both sides and the communication group needed to use is attached by the Best link mode
Part.Such as the Best link mode is bluetooth connection, but when the both sides have the bluetooth of a side to be closed mode, now remind
User opens the prompt message of the bluetooth for the side that bluetooth is not opened.Certainly, it will be understood by those in the art that can also enter herein
Row optimization design, such as detect whether the side that bluetooth is not opened is the communicating terminal again, if it does, then automatically turning on logical
Interrogate the bluetooth of terminal.It will be understood by those in the art that user can be reminded to open the communication by modes such as sound, light, words
Component.
In the case where being configured with server, when communicating terminal is not connected with server, by being arranged on communicating terminal
First determining unit is by the connected mode with intended level order to prestore, and required condition is by the communication of the both sides
What the information of component was met, highest-ranking connected mode is defined as the connected mode for connecting the both sides.Here, institute
Stating facility information includes the information of communication part of equipment.The information of communication part can include the type of communication part, and
The use information of all types of communication parts and the information for being connected to LAN.
Connection unit 404 is established with communicating terminal to be connected by the connected mode and connected.End is communicated by connection unit 404
Hold to communicating terminal to be connected and send connection request.It is preferred that second acquisition unit 402 also obtains communication to be connected eventually
The network address at end, connection unit 404 send company to communicating terminal to be connected network address corresponding with the connected mode
Connect request.It will be understood by those skilled in the art that network address can include IP address, Bluetooth address etc., other are connected with communication
Related network address, different connected modes correspond to different network address.If for example, connection side for connecting both sides
Formula is bluetooth connection, then, connection request is sent from the Bluetooth address of communicating terminal to communicating terminal to be connected.
In a further advantageous embodiment, also prestored in server communicating terminal to be connected unit type with application
Corresponding relation, connection unit 404 include running unit, and when communicating terminal is connected with server, the second determining unit is from service
Device obtains the mark of application corresponding with the unit type of communicating terminal to be connected, and application is stated described in running unit operation.Can be with
Before both sides establish connection or during foundation connection or establish after connection, the application is run in communicating terminal.Such as
Fruit communicating terminal is fitted without the application, then is connected to the installation procedure applied described in the Internet download.
The method and apparatus according to an embodiment of the invention for establishing communication connection in communicating terminal, can be according to communication eventually
The facility information of end and communicating terminal to be connected automatically selects a kind of suitable connected mode to supply communicating terminal to lead to be connected
Interrogate terminal and establish communication connection, voluntarily selected without user, it is simple to operate.
Method according to an embodiment of the invention can be implemented as computer program or computer-readable code.The computer
Program or computer-readable code may be recorded on computer readable recording medium storing program for performing.The computer readable recording medium storing program for performing can be with
It is any data storage device that stores and can be read by computer system thereafter.The computer readable recording medium storing program for performing shows
Example includes:Read-only storage (ROM), random access memory (RAM), CD-ROM, tape, floppy disk, optical data storage
With carrier wave (for example, the data transfer for passing through internet).The computer readable recording medium storing program for performing can also be distributed on networking
In computer system, so as to which the computer-readable code is stored and performed in a distributed way.
It should be understood that the unit in the equipment of the exemplary embodiment of the present invention can be implemented nextport hardware component NextPort.
Processing of the those skilled in the art according to performed by the unit of restriction, can be for example using field programmable gate array
(FPGA) or application specific integrated circuit (ASIC) realizes unit.
In addition, although term first, second etc. can be used herein to describe different components, but these components should not
It is limited by these terms.These terms are only used for distinguishing a component and another component.For example, example embodiment is not being departed from
Scope in the case of, first assembly is referred to alternatively as the second component, and similarly, the second component is referred to alternatively as first assembly.
Although the present invention, those skilled in the art are particularly shown and described with reference to its exemplary embodiment
It should be understood that in the case where not departing from the spirit and scope of the present invention that claim is limited, form can be carried out to it
With the various changes in details.
Claims (16)
- A kind of 1. method for establishing communication connection in communicating terminal, it is characterised in that including:(a) facility information of communicating terminal is obtained;(b) facility information of communicating terminal to be connected is obtained;(c) company for connecting the both sides is automatically determined according to the facility information of communicating terminal and communicating terminal both sides to be connected Mode is connect, wherein, the connected mode for being used to connect the both sides is according to the communicating terminal and communication to be connected got The facility information of terminal both sides determines, the connected mode that matches with the facility information of both sides;(d) communicating terminal is established with communicating terminal to be connected by the connected mode and connected,Wherein, in step (d), connection request is sent from communicating terminal to communicating terminal to be connected,Wherein, step (c) includes:When communicating terminal is connected with server, determine whether server stores and the both sides Unit type corresponding to both sides Best link mode, when storing the Best link mode and both sides in server by described It is when Best link mode is attached the use state of the communication part needed to use to open, the Best link mode is true It is set to the connected mode for connecting the both sides, wherein, the facility information includes the communication part of unit type and equipment Information, the information of communication part includes the use state information of communication part, the equipment type for the both sides that prestored in the server Corresponding relation number with the Best link mode of both sides.
- 2. according to the method for claim 1, wherein, in step (b) in the following manner in any one acquisition treat The facility information of connecting communication terminal:Receive the facility information that communicating terminal to be connected is sent by near-field communication technology;Scanning The Quick Response Code of the facility information of communicating terminal to be connected is contained, the Quick Response Code is shown on the screen of communicating terminal to be connected Or mark is in communicating terminal to be connected;Receive the facility information for containing communicating terminal to be connected that communicating terminal to be connected is sent Audio.
- 3. according to the method for claim 1, wherein, step (c) includes:The connection with intended level order that will be prestored In mode, required condition is met by the information of the communication part of the both sides, and highest-ranking connected mode determines For the connected mode for connecting the both sides, wherein, the facility information includes the information of the communication part of equipment.
- 4. according to the method for claim 1, wherein, step (c) includes:, will when communicating terminal is not connected with server In the connected mode with intended level order to prestore, required condition is expired by the information of the communication part of the both sides Foot, highest-ranking connected mode is defined as the connected mode for connecting the both sides.
- 5. according to the method for claim 1, wherein, step (c) includes:When communicating terminal is connected with server, it is determined that Whether server stores the Best link mode of both sides corresponding with the unit type of the both sides, when storing institute in server State Best link mode and use state that both sides are attached the communication part needed to use by the Best link mode is During closing, or when not storing the Best link mode in server, the connection with intended level order that will prestore In mode, required condition is met by the information of the communication part of the both sides, and highest-ranking connected mode determines For the connected mode for connecting the both sides.
- 6. according to the method for claim 1, wherein, step (c) also includes:When communicating terminal is connected with server, really The Best link mode whether server stores both sides corresponding with the unit type of the both sides is determined, when storing institute in server State Best link mode and use state that both sides are attached the communication part needed to use by the Best link mode is During closing, remind user to open the both sides and the communication part needed to use is attached by the Best link mode.
- 7. according to the method for claim 1, wherein, the unit type for the communicating terminal to be connected that also prestored in server with The corresponding relation of application, step (c) also include:When communicating terminal is connected with server, obtains from server and lead to be connected The mark of application corresponding to the unit type of terminal is interrogated, step (d) also includes:The application is run in communicating terminal.
- 8. according to the method for claim 1, wherein, step (b) also includes:With obtaining the network of communicating terminal to be connected Location;Communicating terminal is established the step of connecting with communicating terminal to be connected by the connected mode and included in step (d):Communicating terminal As the connected mode connection request is sent to communicating terminal to be connected network address corresponding with the connected mode.
- A kind of 9. equipment for establishing communication connection in communicating terminal, it is characterised in that including:First acquisition unit, obtain the facility information of communicating terminal;Second acquisition unit, obtain the facility information of communicating terminal to be connected;Determining unit, automatically determined according to the facility information of communicating terminal and communicating terminal both sides to be connected described double for connecting The connected mode of side, wherein, the connected mode for being used to connect the both sides is according to the communicating terminal and the company for the treatment of got The facility information of communicating terminal both sides is connect to determine, the connected mode to match with the facility information of both sides;Connection unit, establish and connect by the connected mode and communicating terminal to be connected,Wherein, connection unit sends connection request to communicating terminal to be connected,Wherein it is determined that unit includes:Second determining unit, when communicating terminal is connected with server, determine whether server is deposited The Best link mode of both sides corresponding with the unit type of the both sides is stored up, when storing the Best link side in server The use state that formula and both sides are attached the communication part needed to use by the Best link mode is when opening, by described in Best link mode is defined as the connected mode for connecting the both sides, wherein, the facility information include unit type and The information of the communication part of equipment, the information of communication part include the use state information of communication part, prestored in the server The corresponding relation of the unit type of both sides and the Best link mode of both sides.
- 10. equipment according to claim 9, wherein, second acquisition unit in the following manner in any one acquisition The facility information of communicating terminal to be connected:Receive the facility information that communicating terminal to be connected is sent by near-field communication technology;Sweep The Quick Response Code for the facility information for containing communicating terminal to be connected is retouched, the Quick Response Code is shown in the screen of communicating terminal to be connected Upper or mark is in communicating terminal to be connected;Receive the equipment for the containing communicating terminal to be connected letter that communicating terminal to be connected is sent The audio of breath.
- 11. equipment according to claim 9, wherein it is determined that unit includes:First determining unit, have what is prestored in advance In the connected mode for determining level order, required condition is met by the information of the communication part of the both sides, and rank is most High connected mode is defined as the connected mode for connecting the both sides, wherein, the facility information includes the communication of equipment The information of component.
- 12. equipment according to claim 9, wherein it is determined that unit includes:First determining unit, when communicating terminal not with When server connects, by the connected mode with intended level order to prestore, required condition is by the logical of the both sides What the information of news component was met, highest-ranking connected mode is defined as the connected mode for connecting the both sides.
- 13. equipment according to claim 9, wherein it is determined that unit also includes:First determining unit, when communicating terminal with When server connects and the Best link mode and both sides are stored in server to be attached by the Best link mode When the use state of the communication part needed to use is closes, or when not storing the Best link mode in server, By in the connected mode with intended level order to prestore, required condition is by the information institute of the communication part of the both sides Meet, highest-ranking connected mode is defined as the connected mode for connecting the both sides.
- 14. equipment according to claim 9, wherein, when communicating terminal is connected with server, the second determining unit determines Whether server stores the Best link mode of both sides corresponding with the unit type of the both sides, when described in storage in server The use state that Best link mode and both sides are attached the communication part needed to use by the Best link mode is pass When closing, remind user to open the both sides and the communication part needed to use is attached by the Best link mode.
- 15. equipment according to claim 9, wherein, the unit type for the communicating terminal to be connected that also prestored in server With the corresponding relation of application, when communicating terminal is connected with server, determining unit is obtained with communication to be connected eventually from server The mark of application, connection unit include corresponding to the unit type at end:Running unit, the application is run in communicating terminal.
- 16. equipment according to claim 9, wherein, second acquisition unit is with also obtaining the network of communicating terminal to be connected Location;Connection unit is sent as the connected mode to communicating terminal to be connected network address corresponding with the connected mode to be connected Connect request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410252831.8A CN104023016B (en) | 2014-06-09 | 2014-06-09 | In the method and apparatus that communicating terminal establishes communication connection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410252831.8A CN104023016B (en) | 2014-06-09 | 2014-06-09 | In the method and apparatus that communicating terminal establishes communication connection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104023016A CN104023016A (en) | 2014-09-03 |
CN104023016B true CN104023016B (en) | 2018-03-06 |
Family
ID=51439586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410252831.8A Withdrawn - After Issue CN104023016B (en) | 2014-06-09 | 2014-06-09 | In the method and apparatus that communicating terminal establishes communication connection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104023016B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104820643B (en) * | 2015-03-25 | 2018-09-07 | 百度在线网络技术(北京)有限公司 | Method and apparatus for establishing connection between user equipment and smart machine |
CN106303904A (en) * | 2015-05-26 | 2017-01-04 | 上海果壳电子有限公司 | For connecting the method and apparatus of wearable device and mobile terminal |
CN106413124B (en) * | 2015-07-31 | 2021-03-23 | 腾讯科技(深圳)有限公司 | Equipment binding method and device |
CN106527673B (en) * | 2015-09-11 | 2019-09-06 | 阿里巴巴集团控股有限公司 | Bind method and apparatus, electric paying method and the device of wearable device |
CN105872953A (en) * | 2016-03-29 | 2016-08-17 | 乐视控股(北京)有限公司 | Communication method between user devices and user devices |
CN108234635A (en) * | 2017-12-29 | 2018-06-29 | 北京奇宝科技有限公司 | The method, apparatus and communication system to communicate with Intelligent target equipment |
CN112671572B (en) * | 2020-12-16 | 2023-02-03 | 青岛海尔科技有限公司 | Method and device for intelligent equipment network distribution, storage medium and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103096506A (en) * | 2013-01-07 | 2013-05-08 | 东莞宇龙通信科技有限公司 | Terminal devices, wireless fidelity (WIFI) connection method and system |
CN103491655A (en) * | 2013-09-30 | 2014-01-01 | 深圳前海君浩银通科技发展有限公司 | Multi-mode communication system and method between terminal devices |
CN103533542A (en) * | 2012-07-04 | 2014-01-22 | 中兴通讯股份有限公司 | Method and apparatus for establishing wireless connection between electronic devices |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860586A (en) * | 2009-04-10 | 2010-10-13 | 北京闻言科技有限公司 | Method for conveniently selecting network connection mode at mobile phone client |
CN103249085A (en) * | 2012-02-07 | 2013-08-14 | 中兴通讯股份有限公司 | WiFi data transmission method and terminal |
CN103781068A (en) * | 2012-10-18 | 2014-05-07 | 中兴通讯股份有限公司 | Data transmission method and terminal device |
-
2014
- 2014-06-09 CN CN201410252831.8A patent/CN104023016B/en not_active Withdrawn - After Issue
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103533542A (en) * | 2012-07-04 | 2014-01-22 | 中兴通讯股份有限公司 | Method and apparatus for establishing wireless connection between electronic devices |
CN103096506A (en) * | 2013-01-07 | 2013-05-08 | 东莞宇龙通信科技有限公司 | Terminal devices, wireless fidelity (WIFI) connection method and system |
CN103491655A (en) * | 2013-09-30 | 2014-01-01 | 深圳前海君浩银通科技发展有限公司 | Multi-mode communication system and method between terminal devices |
Also Published As
Publication number | Publication date |
---|---|
CN104023016A (en) | 2014-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104023016B (en) | In the method and apparatus that communicating terminal establishes communication connection | |
CN104898591B (en) | A kind of intelligent appliance cooperative control method | |
CN107770007A (en) | Distribution method, apparatus, system and the computer-readable recording medium of home appliance | |
CN104426750A (en) | Method, equipment and system for instant messaging | |
CN104506594B (en) | Data communications method and system for social networking application system | |
CN102523213A (en) | Server and terminal authenticating method and server and terminal | |
CN102710549B (en) | To be established a communications link the method for relation, terminal and system by shooting | |
CN109360564A (en) | The selection method and device of language identification mode, household electrical appliance | |
CN107426069A (en) | Intelligent domestic system and its control method based on bluetooth | |
CN105975063B (en) | A kind of method and apparatus controlling intelligent terminal | |
CN110060663A (en) | A kind of method, apparatus and system of answer service | |
CN108833222A (en) | Appliances equipment control method, device, remote controler, terminal, server and medium | |
CN113921004A (en) | Intelligent device control method and device, storage medium and electronic device | |
CN107111761A (en) | Technology for providing machine language translation of the user images seizure feedback to be improved | |
CN109191064A (en) | Data processing method, integral statistical server, electronic equipment and storage medium | |
CN106251609B (en) | Intelligent robot, networking method thereof, network sharing method and device | |
CN106792678A (en) | A kind of method and system of radio node automatic matching search | |
CN104125593B (en) | A kind of information processing method and electronic equipment | |
CN105912583A (en) | Member service data interaction method and device for mobile terminal | |
CN104133794B (en) | Mobile terminal and set top box pairing method and mobile terminal | |
CN108197680A (en) | A kind of product test method, apparatus and system | |
CN112507731A (en) | Conference information processing method and device and readable storage medium | |
CN104916098A (en) | Online enable method of wireless control system | |
US20190312864A1 (en) | Method and apparatus for establishing association between devices | |
CN103164494B (en) | Carry out the group associations apparatus and method of group associations according to file characteristic value |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
AV01 | Patent right actively abandoned | ||
AV01 | Patent right actively abandoned |
Granted publication date: 20180306 Effective date of abandoning: 20190802 |