[go: up one dir, main page]

CN106060966A - Connection establishing method and device for terminals - Google Patents

Connection establishing method and device for terminals Download PDF

Info

Publication number
CN106060966A
CN106060966A CN201610647105.5A CN201610647105A CN106060966A CN 106060966 A CN106060966 A CN 106060966A CN 201610647105 A CN201610647105 A CN 201610647105A CN 106060966 A CN106060966 A CN 106060966A
Authority
CN
China
Prior art keywords
terminal
target
connection
connection request
receipt
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610647105.5A
Other languages
Chinese (zh)
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.)
ZHONGDIAN HUARUI TECHNIQUE Co Ltd
Original Assignee
ZHONGDIAN HUARUI TECHNIQUE 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 ZHONGDIAN HUARUI TECHNIQUE Co Ltd filed Critical ZHONGDIAN HUARUI TECHNIQUE Co Ltd
Priority to CN201610647105.5A priority Critical patent/CN106060966A/en
Publication of CN106060966A publication Critical patent/CN106060966A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

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

Abstract

The invention discloses a connection establishing method for terminals. The terminals comprise a firs terminal, a terminal to be connected and a target connection terminal. The method comprises the following steps that: (1), the first terminal sends a connection request to the terminal to be connected; the connection request comprises address information of the first terminal and the target connection terminal; (2), the terminal to be connected receives the connection request, and judges whether the terminal to be connected itself is the target connection terminal or not; if so, the step (4) is executed; and otherwise, the step (3) is executed; (3), the terminal to be connected forwards the connection request to other terminals to be connected; and other terminals to be connected execute the step (2); (4), the target connection terminal sends a receipt to the first terminal; and (5), after the first terminal receives the receipt, connection between the first terminal and the target connection terminal is established. The invention further relates to a connection establishing device for terminals.

Description

A kind of terminal sets up the method and apparatus connected
Technical field
The present invention relates to the technical field of power communication, particularly relate to a kind of terminal and set up the method connected, and terminal Set up the device connected.
Background technology
Along with the development of science and technology, power communication industry has also welcome high speed development.Connection between terminal can not be passed through Network, and directly set up connection, and then realize the transmitting-receiving of information.Such as, infrared, bluetooth, Wi-Fi Direct etc..Wi-Fi Direct refers to that the equipment in wireless communication is without the method that just can be interconnected by wireless router.The method energy Enough realize wireless device to interconnect in a point-to-point fashion, and have significantly than Bluetooth technology in transmission speed with transmission range Lifting.
Usually, in Wi-Fi Direct, set up the Wi-Fi Direct connection procedure between two station terminals usually: A terminal starts Wi-Fi Direct function, automatically searches for and shows that surrounding opens Wi-Fi Direct merit in the form of a list The terminal of energy, clicks on terminal, such as terminal B, then initiates to connect to the other side and invite, after B terminal receives connection invitation, connect Invited, it is possible to realize the Wi-Fi Direct between terminal and connect.But, the process setting up connection of this method is very Loaded down with trivial details.
Chinese patent application " a kind of terminal sets up the method and device connected " (CN201310712319.2), it is provided that one Plant the method for attachment between terminal: the method is applied to first terminal, when connection trigger action being detected, open first terminal Opening and search terminal to be connected, the terminal being determined for compliance with presetting condition of contact from terminal to be connected connects terminal as target, Connect terminal to target and send connection request, connect terminal according to described request feedback when receiving described target in Preset Time Allow set up connect message after, set up the connection that described first terminal is connected between terminal with described target.The method solution Determine and set up the problem that the process connected is the most loaded down with trivial details, but, owing to needs are determined for compliance with presetting connection from terminal to be connected The terminal of condition connects terminal as target, so the speed causing setting up between terminal connection is very slow, and due to will be in advance If the message receiving the permission foundation connection that described target connects terminal feedback in the time could set up connection, if it exceeds in advance If the time then cannot set up connection.
Summary of the invention
For overcoming the defect of prior art, the technical problem to be solved in the present invention there is provided a kind of terminal and sets up connection Method, it can solve the problem that sets up the problem that the process connected is the most loaded down with trivial details, and the speed ratio setting up connection between terminal is very fast, will not Occurs then cannot setting up the phenomenon of connection owing to exceeding Preset Time.
The technical scheme is that this terminal sets up the method connected, terminal includes: first terminal, end to be connected End, target connect terminal, and the method comprises the following steps:
(1) first terminal sends connection request to terminal to be connected, and this connection request includes that first terminal and target connect The address information of terminal;
(2) terminal to be connected receives described connection request, it is judged that whether oneself is that target connects terminal, is to perform step (4) step (3), is otherwise performed;
(3) described connection request is transmitted to other terminal to be connected by terminal to be connected, and other terminal to be connected performs step Suddenly (2);
(4) target connection terminal sends receipt to first terminal;
(5), after first terminal receives described receipt, the company that described first terminal is connected between terminal is set up with described target Connect.
The present invention directly transmits connection request by first terminal to terminal to be connected, then please by connection by terminal to be connected Ask and forward, until finding target to connect terminal, and without verifying whether terminal to be connected meets default condition of contact, so Can solve the problem that and set up the problem that the process connected is the most loaded down with trivial details, the speed ratio setting up connection between terminal is very fast;And owing to not having There is the message receiving the permission foundation connection that described target connects terminal feedback in Preset Time could set up connection, institute Not have the phenomenon that then cannot set up connection owing to exceeding Preset Time.
Additionally providing a kind of terminal and set up the device connected, terminal includes: first terminal, terminal to be connected, target connect Terminal, this device includes:
First terminal, its configuration to send connection request to terminal to be connected, and this connection request includes first terminal and mesh Mark connects the address information of terminal;And after receiving the receipt of request, set up described first terminal and be connected terminal with described target Between connection;
Terminal to be connected, whether its configuration receives described connection request, it is judged that oneself be that target connects terminal, be then to First terminal sends the receipt of request, and described connection request is otherwise transmitted to other terminal to be connected;
Target connects terminal, sends the receipt of request to first terminal.
Accompanying drawing explanation
Fig. 1 show the terminal according to the present invention and sets up the flow chart of the method connected.
Detailed description of the invention
As it is shown in figure 1, this terminal sets up the method connected, terminal includes: first terminal, terminal to be connected, target are even Connecing terminal, the method comprises the following steps:
(1) first terminal sends connection request to terminal to be connected, and this connection request includes that first terminal and target connect The address information of terminal;
(2) terminal to be connected receives described connection request, it is judged that whether oneself is that target connects terminal, is to perform step (4) step (3), is otherwise performed;
(3) described connection request is transmitted to other terminal to be connected by terminal to be connected, and other terminal to be connected performs step Suddenly (2);
(4) target connection terminal sends receipt to first terminal;
(5), after first terminal receives described receipt, the company that described first terminal is connected between terminal is set up with described target Connect.
The present invention directly transmits connection request by first terminal to terminal to be connected, then please by connection by terminal to be connected Ask and forward, until finding target to connect terminal, and without verifying whether terminal to be connected meets default condition of contact, so Can solve the problem that and set up the problem that the process connected is the most loaded down with trivial details, the speed ratio setting up connection between terminal is very fast;And owing to not having There is the message receiving the permission foundation connection that described target connects terminal feedback in Preset Time could set up connection, institute Not have the phenomenon that then cannot set up connection owing to exceeding Preset Time.
It addition, the terminal to be connected in described step (1) belongs to same base station with first terminal.It is of course also possible to be Terminal to be connected in described step (1) waits situation about being easily connected with first terminal near first terminal in certain limit.
It addition, described step (2) performs one or many.Perform be once terminal to be connected be exactly target connect terminal Situation.Perform be repeatedly terminal to be connected be not the situation that target connects terminal, need to entrust one by one next stage to treat even Connect target terminal to find target to connect terminal, so finally necessarily can find described target connection terminal.
It addition, the receipt in described step (4) includes: connection request is transmitted to target and connects the terminal to be connected of terminal Address information, this terminal to be connected is successfully to forward terminal to be connected.First terminal so can be allowed to know communication path, have It is beneficial to follow-up operation.
Further, the receipt in described step (4) also includes: be transmitted to connection request described successfully forward the company for the treatment of Connect the address information of the terminal to be connected of terminal.First terminal so can be made to obtain communication path clearly.
During it addition, first terminal detects connection trigger condition set in advance, perform step (1).
Further, for there is business demand in described connection trigger condition set in advance.
Further, the described business demand that exists is the shake sent for first terminal.It is of course also possible to be to set Other action, press volume+and on & off switch the most simultaneously.
It will appreciated by the skilled person that all or part of step realizing in above-described embodiment method is permissible Instructing relevant hardware by program to complete, described program can be stored in a computer read/write memory medium, Upon execution, including each step of above-described embodiment method, and described storage medium may is that ROM/RAM, magnetic to this program Dish, CD, storage card etc..Therefore, corresponding with the method for the present invention, the present invention includes that a kind of terminal is set up the most simultaneously and connects Device, this device generally represents with the form of the corresponding functional module of step each with method.Use the device of the method, its Including:
First terminal, its configuration to send connection request to terminal to be connected, and this connection request includes first terminal and mesh Mark connects the address information of terminal;And after receiving the receipt of request, set up described first terminal and be connected terminal with described target Between connection;
Terminal to be connected, whether its configuration receives described connection request, it is judged that oneself be that target connects terminal, be then to First terminal sends the receipt of request, and described connection request is otherwise transmitted to other terminal to be connected;
Target connects terminal, sends the receipt of request to first terminal.
It addition, the terminal to be connected that connection request is transmitted to target connection terminal is successfully to forward terminal to be connected, institute State receipt to include: successfully forward the address information of terminal to be connected, be transmitted to connection request described successfully forward end to be connected The address information of the terminal to be connected of end.
The above, be only presently preferred embodiments of the present invention, and the present invention not makees any pro forma restriction, every depends on Any simple modification, equivalent variations and the modification made above example according to the technical spirit of the present invention, the most still belongs to the present invention The protection domain of technical scheme.

Claims (10)

1. terminal sets up the method connected, and terminal includes: first terminal, terminal to be connected, target connect terminal, its feature It is: the method comprises the following steps:
(1) first terminal sends connection request to terminal to be connected, and this connection request includes that first terminal and target connect terminal Address information;
(2) terminal to be connected receives described connection request, it is judged that whether oneself is that target connects terminal, is to perform step (4), Otherwise perform step (3);
(3) described connection request is transmitted to other terminal to be connected by terminal to be connected, and other terminal to be connected performs step (2);
(4) target connection terminal sends receipt to first terminal;
(5), after first terminal receives described receipt, the connection that described first terminal is connected between terminal is set up with described target.
Terminal the most according to claim 1 sets up the method connected, it is characterised in that: to be connected in described step (1) Terminal and first terminal belong to same base station.
Terminal the most according to claim 1 set up connect method, it is characterised in that: described step (2) perform once or Repeatedly.
Terminal the most according to claim 2 sets up the method connected, it is characterised in that: the receipt bag in described step (4) Include: connection request is transmitted to the address information that target connects the terminal to be connected of terminal, and this terminal to be connected is successfully to forward Terminal to be connected.
Terminal the most according to claim 4 sets up the method connected, it is characterised in that: the receipt in described step (4) is also Including: connection request is transmitted to the address information of the described terminal to be connected successfully forwarding terminal to be connected.
Terminal the most according to claim 1 sets up the method connected, it is characterised in that: also wrapped before described step (1) Include: when first terminal detects connection trigger condition set in advance, perform step (1).
Terminal the most according to claim 6 sets up the method connected, it is characterised in that: described set in advance connection triggers For there is business demand in condition.
Terminal the most according to claim 7 set up connect method, it is characterised in that: described exist business demand for for The shake that first terminal sends.
9. terminal sets up the device connected, and terminal includes: first terminal, terminal to be connected, target connect terminal, its feature It is: this device includes:
First terminal, its configuration to send connection request to terminal to be connected, and this connection request includes first terminal and target even Connect the address information of terminal;And after receiving the receipt of request, set up described first terminal and be connected between terminal with described target Connection;
Terminal to be connected, its configuration receives described connection request, it is judged that whether oneself is that target connects terminal, is then to first Terminal sends the receipt of request, and described connection request is otherwise transmitted to other terminal to be connected;
Target connects terminal, sends the receipt of request to first terminal.
Terminal the most according to claim 9 sets up the device connected, it is characterised in that: connection request is transmitted to target The terminal to be connected connecting terminal is successfully to forward terminal to be connected, and described receipt includes: successfully forward the ground of terminal to be connected Location information, is transmitted to the address information of the described terminal to be connected successfully forwarding terminal to be connected by connection request.
CN201610647105.5A 2016-08-09 2016-08-09 Connection establishing method and device for terminals Pending CN106060966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610647105.5A CN106060966A (en) 2016-08-09 2016-08-09 Connection establishing method and device for terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610647105.5A CN106060966A (en) 2016-08-09 2016-08-09 Connection establishing method and device for terminals

Publications (1)

Publication Number Publication Date
CN106060966A true CN106060966A (en) 2016-10-26

Family

ID=57481072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610647105.5A Pending CN106060966A (en) 2016-08-09 2016-08-09 Connection establishing method and device for terminals

Country Status (1)

Country Link
CN (1) CN106060966A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107425992A (en) * 2017-09-22 2017-12-01 雷晋源 Information display method, electronic display board and information transmission system
CN110505272A (en) * 2019-07-12 2019-11-26 杭州海康威视数字技术股份有限公司 A kind of internetwork connection establishing method, device, receiver equipment and send method, apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725872A (en) * 2004-07-19 2006-01-25 华为技术有限公司 A method for communicating with a dual-mode terminal
US20070153716A1 (en) * 2006-01-04 2007-07-05 Hitachi, Ltd. Network system
CN101083595A (en) * 2006-05-30 2007-12-05 株式会社Ntt都科摩 Method for routing foundation
CN101835236A (en) * 2010-04-23 2010-09-15 浙江大学 Implementation of label routing and packet switching method based on driver layer in mobile ad hoc network
CN104735810A (en) * 2013-12-20 2015-06-24 深圳市海思半导体有限公司 Method and device for establishing connecting between terminals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725872A (en) * 2004-07-19 2006-01-25 华为技术有限公司 A method for communicating with a dual-mode terminal
US20070153716A1 (en) * 2006-01-04 2007-07-05 Hitachi, Ltd. Network system
CN101083595A (en) * 2006-05-30 2007-12-05 株式会社Ntt都科摩 Method for routing foundation
CN101835236A (en) * 2010-04-23 2010-09-15 浙江大学 Implementation of label routing and packet switching method based on driver layer in mobile ad hoc network
CN104735810A (en) * 2013-12-20 2015-06-24 深圳市海思半导体有限公司 Method and device for establishing connecting between terminals

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107425992A (en) * 2017-09-22 2017-12-01 雷晋源 Information display method, electronic display board and information transmission system
CN110505272A (en) * 2019-07-12 2019-11-26 杭州海康威视数字技术股份有限公司 A kind of internetwork connection establishing method, device, receiver equipment and send method, apparatus
CN110505272B (en) * 2019-07-12 2022-04-29 杭州海康威视数字技术股份有限公司 Network connection establishing method and device, receiver equipment and sender equipment

Similar Documents

Publication Publication Date Title
CN104469660B (en) Network-building method based on bluetooth
US9693377B2 (en) Automatic internet sharing
CN110167201A (en) A kind of method, relevant apparatus and the system of data transmission
CN104838696B (en) System and method for network selection
CN102075566A (en) Business shunting processing method, communication equipment and network system
CN103873342A (en) Method, terminal and system for joining social group
CN107343325A (en) A data transmission method, device and terminal
CN103313430A (en) WiFi (wireless fidelity) connecting method using mobile terminal to configure network access equipment through WiFi and related equipment
WO2016078086A1 (en) Method and device for executing emergency call
CN104584490A (en) Data transmitting method and device
KR20140020179A (en) Apparatus and method for connecting service reflected in user intent
CN106790724A (en) Configuration file method for down loading and device
CN107613471A (en) A kind of WIFI hot spot information-pushing method, method of reseptance and device
CN104580549A (en) Controlled terminal and control terminal correlation method and system
CN106856585A (en) Set up the method and device of short-distance wireless passage
CN106060966A (en) Connection establishing method and device for terminals
CN106664524B (en) Method and apparatus for managing radios based on proximity
US8954054B2 (en) Method for processing and testing of called terminal and long term evolution system
US10390217B2 (en) Wireless configuration of wireless distribution system (WDS) Wi-Fi range extenders using non-Wi-Fi-wireless communication channels
CN105511275A (en) Method and device for controlling intelligent electric appliance
CN102821424B (en) Method for assisting mobile data distribution, communication device, and mobile device
CN105357671A (en) System and method for connecting wireless access points with same SSID and different passwords
CN106792928A (en) A method and device for a terminal to access a network
CN105872996B (en) Method and device for processing short message group chat
CN105682117B (en) Data service activation method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161026

RJ01 Rejection of invention patent application after publication