CN106131932A - Method for connecting network, equipment and terminal - Google Patents
Method for connecting network, equipment and terminal Download PDFInfo
- Publication number
- CN106131932A CN106131932A CN201610674689.5A CN201610674689A CN106131932A CN 106131932 A CN106131932 A CN 106131932A CN 201610674689 A CN201610674689 A CN 201610674689A CN 106131932 A CN106131932 A CN 106131932A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- connection
- equipment
- terminal
- video camera
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
- H04W76/34—Selective release of ongoing connections
- H04W76/36—Selective release of ongoing connections for reassigning the resources associated with the released connections
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of method for connecting network, including: set up with terminal after forward is connected at described equipment, receive the link information that described terminal sends, and disconnection and the connection of described terminal;When obtaining described terminal with the disconnection of described equipment according to described link information, the connection focus that described equipment creates based on described link information, set up Opposite direction connection according to described connection focus and described terminal, use the network traffics resource of described terminal to perform corresponding operation for described equipment.The invention also discloses a kind of equipment and terminal, connect to achieve by this network and between equipment and terminal, set up Opposite direction connection, making equipment can utilize the network traffics resource of terminal, it is not necessary to rely on third party's route network, the equipment that improves uses network traffics resource to carry out the convenience operated.
Description
Technical field
The present invention relates to radio network technique field, particularly to a kind of method for connecting network equipment and terminal.
Background technology
At present, after terminal and equipment establish a connection, information can be carried out mutual, and when equipment needs to utilize network flow
When amount resource carries out network service, need to set up with third party's route network to be connected, rely on the network flow of third party's route network
Amount resource carries out network service, the most convenient.
Summary of the invention
A kind of method for connecting network equipment of offer and terminal are provided, solve, improve.
The invention provides a kind of method for connecting network, described method for connecting network is applied to equipment, including:
Set up with terminal after forward is connected at described equipment, receive the link information that described terminal sends, and disconnect and institute
State the connection of terminal;
When obtaining described terminal with the disconnection of described equipment according to described link information, described equipment is based on described link information
The connection focus created, sets up Opposite direction connection according to described connection focus and described terminal, uses described end for described equipment
The network traffics resource of end performs corresponding operation.
Further, described method for connecting network also includes:
When described equipment storage has the link information between described terminal, send connection request to described terminal, and
When receiving described terminal and waking up the connection focus between that stored and described equipment up based on described connection request, according to institute
State connection focus and set up Opposite direction connection with described terminal.
Present invention also offers equipment, including:
Receiver module, for setting up after forward is connected with terminal at described equipment, the connection receiving the transmission of described terminal is believed
Breath, and disconnect the connection with described terminal;
First link block, for according to described link information obtain described terminal and described equipment disconnect time, described in set
The standby connection focus created based on described link information, sets up Opposite direction connection according to described connection focus and described terminal, for
Described equipment uses the network traffics resource of described terminal to perform corresponding operation.
Further, described equipment also includes:
Second link block, for when described equipment storage has the link information between described terminal, to described end
End sends connection request, and wakes up up between that stored and described equipment based on described connection request receiving described terminal
When connecting focus, set up Opposite direction connection according to described connection focus and described terminal.
Present invention also offers a kind of method for connecting network, described method for connecting network is applied to terminal, including:
Step S1, the service set of acquisition equipment;
Step S2, service set according to described equipment are set up forward with described equipment and are connected, and generate link information;
Step S3, described link information is sent to described equipment, disconnect with described equipment, and according to described connection
Information creating connects focus;
Step S4, receive the connection request that described equipment sends according to described link information, lead to according to described connection request
Cross described connection focus and set up Opposite direction connection with described equipment, use for described equipment the network traffics resource of described terminal to hold
The corresponding operation of row.
Further, described method for connecting network also includes:
When described terminal storage has the link information between described equipment and is connected focus, receive described equipment and send
Connection request, wake up described connection focus up according to described connection request, set up according to described connection focus and described equipment anti-
To connection.
Further, described method for connecting network also includes:
Judge the network state of described terminal;
When the network state of described terminal is 3G/4G network, and described terminal storage has the service set of described equipment
Time, perform above-mentioned steps S2 successively to step S4;
When the network state of described terminal is WIFI network, and described terminal storage has the service set of described equipment
Time, whether there is the service set of described equipment in detecting the WIFI LAN of described terminal;
If there is not the service set of described equipment, the then service to described equipment in the WIFI LAN of described terminal
Set identifier scans for, and whether detecting searches the service set of described equipment;
When searching the service set of described equipment, perform above-mentioned steps S2 successively to step S4;
When search is less than the service set of described equipment, by the service set of other equipment that searches with list
Display, the determination instruction according to receiving determines that one of them is destination service set identifier, according to described destination service set identifier
Set up forward to connect with corresponding target device, and generate target link information;
Described target link information is sent to described target device, disconnects with described target device, and according to institute
State target link information and create target connection focus;
Receive the target connection request that described target device sends according to described target link information, according to described target even
The request that connects connects focus by described target and sets up Opposite direction connection with described target device.
Present invention also offers a kind of terminal, including:
Acquisition module, for obtaining the service set of equipment;
First forward link block, is connected for setting up forward according to the service set of described equipment with described equipment,
And generate link information;
First creation module, for sending described link information to described equipment, disconnects with described equipment, and root
Create according to described link information and connect focus;
First Opposite direction connection module, for receiving the connection request that described equipment sends according to described link information, according to
Described connection request sets up Opposite direction connection by described connection focus and described equipment, uses described terminal for described equipment
Network traffics resource performs corresponding operation.
Further, described terminal also includes:
Second Opposite direction connection module, for when described terminal storage has the link information between described equipment and is connected heat
During point, receive the connection request that described equipment sends, wake up described connection focus up according to described connection request, according to described connection
Focus and described equipment set up Opposite direction connection.
Further, described terminal also includes:
Judge module, for judging the network state of described terminal;
First processing module, is used for when the network state of described terminal is 3G/4G network, and described terminal storage has described
During the service set of equipment, call forward link block, creation module and the first Opposite direction connection module successively and perform corresponding
Operation;
First detecting module, is used for when the network state of described terminal is WIFI network, and described terminal storage has described
During the service set of equipment, in detecting the WIFI LAN of described terminal, whether there is the service set of described equipment;
Second detecting module, if there is not the service set of described equipment in the WIFI LAN of described terminal,
Then scanning for the service set of described equipment, whether detecting searches the service set of described equipment;
Second processing module, for when searching the service set of described equipment, call successively forward link block,
Creation module and the first Opposite direction connection module perform corresponding operation;
Second forward link block, for when search is less than the service set of described equipment, by search other
The service set of equipment shows with list, and the determination instruction according to receiving determines that one of them is destination service set identifier,
Set up forward according to described destination service set identifier with corresponding target device to connect, and generate target link information;
Second creation module, for sending described target link information to described target device, with described target device
Disconnect, and create target connection focus according to described target link information;
3rd Opposite direction connection module, the target sent according to described target link information for receiving described target device connects
Connect request, connect focus according to described target connection request by described target and set up Opposite direction connection with described target device.
Embodiment of the present invention equipment connects according to the active of terminal to be set up after forward is connected, according to receiving end with this terminal
The link information of end obtains the connection focus of terminal establishment and sets up Opposite direction connection with terminal so that equipment can use terminal
Network traffics resource performs corresponding operation, and without relying on third party's route network, the equipment that improves uses network traffics money
Source carries out the convenience operated.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of inventive network method of attachment one embodiment;
Fig. 2 is the schematic diagram of first embodiment before present device is connected with terminal;
Fig. 3 is terminal searching of the present invention the schematic diagram connecting equipment first embodiment;
Fig. 4 is the module diagram of present device;
Fig. 5 is the schematic flow sheet of inventive network another embodiment of method of attachment;
Fig. 6 is the schematic diagram that terminal of the present invention is connected front second embodiment with equipment;
Fig. 7 is terminal searching of the present invention the schematic diagram connecting equipment the second embodiment;
Fig. 8 is the module diagram of terminal of the present invention.
Detailed description of the invention
As it is shown in figure 1, one method for connecting network of the present invention, this method for connecting network is applied to equipment, and this network connects
Method includes:
Step S10, set up with terminal after forward is connected at described equipment, receive the link information that described terminal sends, and
Disconnect the connection with described terminal;
Step S20, obtaining described terminal and described equipment according to described link information when disconnecting, described equipment is based on described
The connection focus that link information creates, sets up Opposite direction connection according to described connection focus and described terminal, makes for described equipment
Corresponding operation is performed by the network traffics resource of described terminal.
Forward connection described in the present embodiment refers to that terminal is according to service set (the Service Set searching equipment
Identifier, SSID) actively connect this equipment, Opposite direction connection refers to that equipment actively connects this end according to the link information of terminal
The connection focus of end, link information includes SSID and the encrypted message etc. of terminal.This terminal includes mobile phone, panel computer etc., should
Equipment includes video camera etc., below by with terminal as mobile phone, the link information SSID as mobile phone and encrypted message, equipment be shooting
It is described in detail as a example by machine.
When mobile phone was not connected with video camera, after video camera is opened, mobile phone is taken the photograph with this by the SSID of search video camera
Camera carries out forward connection.When mobile phone searching to the SSID of multiple video cameras, can show at mobile phone in the form of a list
Show the SSID of multiple video cameras in display interface, select the SSID of one of them video camera for user, in order to mobile phone with should
Video camera is attached.
Mobile phone is successfully established with video camera after being connected, and mobile phone generates SSID and the encrypted message of mobile phone, and by mobile phone
It is local that SSID and encrypted message are saved in mobile phone, sends SSID and the encrypted message of mobile phone to video camera simultaneously.Certainly, mobile phone
After setting up forward annexation with video camera, it is also possible to show the SSID of mobile phone and encrypted message in the display interface of mobile phone
Inputting interface, is manually entered SSID and the encrypted message of mobile phone in this inputting interface for user.
Now, the SSID of this video camera can be preserved by mobile phone, in order to when needing to reconnect this video camera next time, can
It is attached with this video camera with the SSID according to the video camera preserved.Then, the connection disconnected between mobile phone and video camera is closed
System, mobile phone creates connect focus according to SSID and the encrypted message of mobile phone, waits the connection of video camera.
Video camera is after disconnecting with mobile phone, and the SSID of the mobile phone sended over according to mobile phone searches the company of corresponding mobile phone
Connect focus, and set up Opposite direction connection according to encrypted message login connection focus with mobile phone.Video camera is connecting the connection heat of mobile phone
After Dian, the network traffics resource of mobile phone can be used to perform the operation accordingly such as net cast, video sharing.Thus by shooting
Owner is dynamically connected the connection focus of upper mobile phone, it is achieved its Opposite direction connection communicates.
Hereinafter being illustrated, when mobile phone is android system, video camera sends WIFI network signal after opening,
Wait mobile phone connects, and the first SSID of mobile phone searching video camera connects this video camera.After being successfully established connection, mobile phone generates to be had
It is local that the SSID of effect and encrypted message are saved in mobile phone, and be handed down to video camera and preserve the SSID of video camera simultaneously.Secondly, hands
Machine creates connect focus according to SSID and the encrypted message of mobile phone, waits the connection of video camera.Mobile phone is creating connection focus
Meanwhile, mobile phone disconnects the connection of the camera that moves the camera to follow the subject's movement.Finally, video camera can come according to the SSID of the mobile phone that mobile phone sends and encrypted message
Actively connect the connection focus of upper mobile phone, it is achieved its Opposite direction connection communicates.
Specifically, as shown in Fig. 2 (a), first at mobile phoneIn display interface, display connects guide, and prompting can be by equipment The relevant information being connected with mobile phone, when user selects " beginning ", mobile phone can show the interface as shown in Fig. 2 (b).When user selects
When selecting " search equipment ", Veepai (i.e. video camera) can be scanned for by mobile phone, and shows the interface as shown in Fig. 3 (a).So
After, all Veepai search obtained show in the form of a list, as shown in Fig. 3 (b).When user selects therein one
After individual " Veepai-456 ", mobile phone carries out forward with this Veepai-456 and is connected, as shown in Fig. 3 (c).
When mobile phone is iOS system, video camera sends WIFI network signal after opening, and waits that mobile phone connects, first mobile phone
The SSID of search video camera connects this video camera.After being successfully established connection, in the display interface of mobile phone, show mobile phone
SSID and the inputting interface of encrypted message, be manually entered SSID and the encrypted message of mobile phone in this inputting interface for user.Hands
SSID and the encrypted message of this mobile phone are saved in mobile phone this locality by machine, and are handed down to video camera and preserve video camera simultaneously
SSID.Secondly, mobile phone creates connect focus according to SSID and the encrypted message of mobile phone, waits the connection of video camera.Mobile phone is in wound
While building connection focus, mobile phone disconnects the connection of the camera that moves the camera to follow the subject's movement.Finally, the SSID of the mobile phone that video camera can send according to mobile phone
The connection focus of upper mobile phone is actively connected, it is achieved its Opposite direction connection communicates with encrypted message.
The present embodiment video camera connects according to the active of mobile phone to be set up after forward is connected, according to receiving mobile phone with this mobile phone
Link information obtain connection focus and mobile phone that mobile phone creates and set up Opposite direction connection so that video camera can use mobile phone
Network traffics resource performs corresponding operation.Thus by mutually obtaining its SSID between mobile phone and video camera, promote video camera
The connection focus that in connection, mobile phone sends, while solving video camera connection mobile phone connection focus, video camera can use hands
The data of the network traffics resource transmission video camera shooting of machine, carry out real-time live broadcast, shoot and share, and without relying on third party
Route network, improves video camera and uses network traffics resource to carry out the convenience operated, more enrich the social activity side of user
Formula.
Further, above-mentioned method for connecting network also includes: when described equipment storage has the connection between described terminal
During information, send connection request to described terminal, and wake up up based on described connection request to be stored receiving described terminal
And during connection focus between described equipment, set up Opposite direction connection according to described connection focus and described terminal.
When mobile phone was connected and during Opposite direction connection with having built up forward before video camera, if mobile phone storage has mobile phone
SSID and encrypted message, and the connection focus generated according to the SSID of this mobile phone and encrypted message, and video camera storage has
The SSID of mobile phone and encrypted message, then when video camera needs to use network traffics resource, can be according to the mobile phone of storage
SSID sends connection request to this mobile phone.Mobile phone wakes up up between that stored and this video camera according to this connection request received
Connection focus, and send information to video camera, in order to inform that video camera connects focus and is already prepared to.Now video camera can
Set up Opposite direction connection logging in this connection focus and mobile phone according to encrypted message, just carrying out without between mobile phone and video camera
To the operation connected so that video camera can use the network traffics resource of mobile phone, substantially increase video camera and use network flow
Amount resource carries out convenience and the reliability operated.
Accordingly, as in figure 2 it is shown, one equipment of the present invention, including:
Receiver module 100, for setting up after forward is connected with terminal at described equipment, receives the connection of described terminal transmission
Information, and disconnect the connection with described terminal;
First link block 200, during for obtaining described terminal with the disconnection of described equipment according to described link information, described
The connection focus that equipment creates based on described link information, sets up Opposite direction connection according to described connection focus and described terminal, with
Network traffics resource for the described terminal of described equipment performs corresponding operation.
Forward connection described in the present embodiment refers to that terminal is according to service set (the Service Set searching equipment
Identifier, SSID) actively connect this equipment, Opposite direction connection refers to that equipment actively connects this end according to the link information of terminal
The connection focus of end, link information includes SSID and the encrypted message etc. of terminal.This terminal includes mobile phone, panel computer etc., should
Equipment includes video camera etc., below by with terminal as mobile phone, the link information SSID as mobile phone and encrypted message, equipment be shooting
It is described in detail as a example by machine.
When mobile phone was not connected with video camera, after video camera is opened, mobile phone is taken the photograph with this by the SSID of search video camera
Camera carries out forward connection.When mobile phone searching to the SSID of multiple video cameras, can show at mobile phone in the form of a list
Show the SSID of multiple video cameras in display interface, select the SSID of one of them video camera for user, in order to mobile phone with should
Video camera is attached.
Mobile phone is successfully established with video camera after being connected, and mobile phone generates SSID and the encrypted message of mobile phone, and by mobile phone
It is local that SSID and encrypted message are saved in mobile phone, the SSID of mobile phone and encrypted message is sent to video camera simultaneously, video camera by
Receiver module 100 receives SSID and the encrypted message of this mobile phone.Certainly, after forward annexation set up by mobile phone and video camera, also
The SSID of mobile phone and the inputting interface of encrypted message can be shown, for user in this inputting interface in the display interface of mobile phone
It is manually entered SSID and the encrypted message of mobile phone.
Now, the SSID of this video camera can be preserved by mobile phone, in order to when needing to reconnect this video camera next time, can
It is attached with this video camera with the SSID according to the video camera preserved.Then, the connection disconnected between mobile phone and video camera is closed
System, mobile phone creates connect focus according to SSID and the encrypted message of mobile phone, waits the connection of video camera.
Video camera after disconnecting with mobile phone, the first link block 200 mobile phone sended over according to mobile phone
SSID searches the connection focus of corresponding mobile phone, and sets up Opposite direction connection according to encrypted message login connection focus with mobile phone.Shooting
Machine, after the connection focus connecting mobile phone, can use the network traffics resource of mobile phone to perform the phase such as net cast, video sharing
The operation answered.Thus the connection focus of upper mobile phone is actively connected by video camera, it is achieved its Opposite direction connection communicates.
Hereinafter being illustrated, when mobile phone is android system, video camera sends WIFI network signal after opening,
Wait mobile phone connects, and the first SSID of mobile phone searching video camera connects this video camera.After being successfully established connection, mobile phone generates to be had
It is local that the SSID of effect and encrypted message are saved in mobile phone, and be handed down to video camera and preserve the SSID of video camera simultaneously.Secondly, hands
Machine creates connect focus according to SSID and the encrypted message of mobile phone, waits the connection of video camera.Mobile phone is creating connection focus
Meanwhile, mobile phone disconnects the connection of the camera that moves the camera to follow the subject's movement.Finally, video camera can come according to the SSID of the mobile phone that mobile phone sends and encrypted message
Actively connect the connection focus of upper mobile phone, it is achieved its Opposite direction connection communicates.
Specifically, as shown in Fig. 2 (a), first at mobile phoneIn display interface, display connects guide, and prompting can be by equipment The relevant information being connected with mobile phone, when user selects " beginning ", mobile phone can show the interface as shown in Fig. 2 (b).When user selects
When selecting " search equipment ", Veepai (i.e. video camera) can be scanned for by mobile phone, and shows the interface as shown in Fig. 3 (a).So
After, all Veepai search obtained show in the form of a list, as shown in Fig. 3 (b).When user selects therein one
After individual " Veepai-456 ", mobile phone carries out forward with this Veepai-456 and is connected, as shown in Fig. 3 (c).
When mobile phone is iOS system, video camera sends WIFI network signal after opening, and waits that mobile phone connects, first mobile phone
The SSID of search video camera connects this video camera.After being successfully established connection, in the display interface of mobile phone, show mobile phone
SSID and the inputting interface of encrypted message, be manually entered SSID and the encrypted message of mobile phone in this inputting interface for user.Hands
SSID and the encrypted message of this mobile phone are saved in mobile phone this locality by machine, and are handed down to video camera and preserve video camera simultaneously
SSID.Secondly, mobile phone creates connect focus according to SSID and the encrypted message of mobile phone, waits the connection of video camera.Mobile phone is in wound
While building connection focus, mobile phone disconnects the connection of the camera that moves the camera to follow the subject's movement.Finally, the SSID of the mobile phone that video camera can send according to mobile phone
The connection focus of upper mobile phone is actively connected, it is achieved its Opposite direction connection communicates with encrypted message.
The present embodiment video camera connects according to the active of mobile phone to be set up after forward is connected, according to receiving mobile phone with this mobile phone
Link information obtain connection focus and mobile phone that mobile phone creates and set up Opposite direction connection so that video camera can use mobile phone
Network traffics resource performs corresponding operation.Thus by mutually obtaining its SSID between mobile phone and video camera, promote video camera
The connection focus that in connection, mobile phone sends, while solving video camera connection mobile phone connection focus, video camera can use hands
The data of the network traffics resource transmission video camera shooting of machine, carry out real-time live broadcast, shoot and share, and without relying on third party
Route network, improves video camera and uses network traffics resource to carry out the convenience operated, more enrich the social activity side of user
Formula.
Further, the said equipment also includes: the second link block, for when described equipment storage have with described terminal it
Between link information time, send connection request to described terminal, and wake up up based on described connection request receiving described terminal
During connection focus between that stored and described equipment, set up Opposite direction connection according to described connection focus and described terminal.
When mobile phone was connected and during Opposite direction connection with having built up forward before video camera, if mobile phone storage has mobile phone
SSID and encrypted message, and the connection focus generated according to the SSID of this mobile phone and encrypted message, and video camera storage has
The SSID of mobile phone and encrypted message, then when video camera needs to use network traffics resource, can be according to the mobile phone of storage
SSID sends connection request to this mobile phone.Mobile phone wakes up up between that stored and this video camera according to this connection request received
Connection focus, and send information to video camera, in order to inform that video camera connects focus and is already prepared to.Now video camera can
Log in this connection focus and mobile phone according to encrypted message and set up Opposite direction connection calling the second link block, without mobile phone with
The operation of forward connection is carried out so that video camera can use the network traffics resource of mobile phone, substantially increases between video camera
Video camera uses network traffics resource to carry out convenience and the reliability operated.
Accordingly, as it is shown on figure 3, one method for connecting network of the present invention is applied to terminal, this method for connecting network includes:
Step S1, the service set of acquisition equipment;
Step S2, service set according to described equipment are set up forward with described equipment and are connected, and generate link information;
Step S3, described link information is sent to described equipment, disconnect with described equipment, and according to described connection
Information creating connects focus;
Step S4, receive the connection request that described equipment sends according to described link information, lead to according to described connection request
Cross described connection focus and set up Opposite direction connection with described equipment, use for described equipment the network traffics resource of described terminal to hold
The corresponding operation of row.
Forward connection described in the present embodiment refers to that terminal is according to service set (the Service Set searching equipment
Identifier, SSID) actively connect this equipment, Opposite direction connection refers to that equipment actively connects this end according to the link information of terminal
The connection focus of end, link information includes SSID and the encrypted message etc. of terminal.This terminal includes mobile phone, panel computer etc., should
Equipment includes video camera etc., below by with terminal as mobile phone, the link information SSID as mobile phone and encrypted message, equipment be shooting
It is described in detail as a example by machine.
When mobile phone was not connected with video camera, after video camera is opened, mobile phone is taken the photograph with this by the SSID of search video camera
Camera carries out forward connection.When mobile phone searching to the SSID of multiple video cameras, can show at mobile phone in the form of a list
Show the SSID of multiple video cameras in display interface, select the SSID of one of them video camera for user, in order to mobile phone with should
Video camera is attached.
Mobile phone is successfully established with video camera after being connected, and mobile phone generates SSID and the encrypted message of mobile phone, and by mobile phone
It is local that SSID and encrypted message are saved in mobile phone, sends SSID and the encrypted message of mobile phone to video camera simultaneously.Certainly, mobile phone
After setting up forward annexation with video camera, it is also possible to show the SSID of mobile phone and encrypted message in the display interface of mobile phone
Inputting interface, is manually entered SSID and the encrypted message of mobile phone in this inputting interface for user.
Now, the SSID of this video camera can be preserved by mobile phone, in order to when needing to reconnect this video camera next time, can
It is attached with this video camera with the SSID according to the video camera preserved.Then, mobile phone disconnects the connection pass between video camera
System, mobile phone creates connect focus according to SSID and the encrypted message of mobile phone, waits the connection of video camera.
Mobile phone after disconnecting with video camera, the SSID of the mobile phone that video camera sends over according to mobile phone and encrypted message
Search the connection focus of corresponding mobile phone, and send connection request to this mobile phone, mobile phone according to this connection request by connecting focus
Opposite direction connection is set up with video camera.Video camera, after the connection focus connecting mobile phone, can use the network traffics resource of mobile phone
Perform the operation accordingly such as net cast, video sharing.Thus the connection focus of upper mobile phone is actively connected by video camera, it is achieved
Its Opposite direction connection communicates.
Hereinafter being illustrated, when mobile phone is android system, video camera sends WIFI network signal after opening,
Wait mobile phone connects, and the first SSID of mobile phone searching video camera connects this video camera.After being successfully established connection, mobile phone generates to be had
It is local that the SSID of effect and encrypted message are saved in mobile phone, and be handed down to video camera and preserve the SSID of video camera simultaneously.Secondly, hands
Machine creates connect focus according to SSID and the encrypted message of mobile phone, waits the connection of video camera.Mobile phone is creating connection focus
Meanwhile, mobile phone disconnects the connection of the camera that moves the camera to follow the subject's movement.Finally, video camera can come according to the SSID of the mobile phone that mobile phone sends and encrypted message
Actively connect the connection focus of upper mobile phone, it is achieved its Opposite direction connection communicates.
Specifically, as shown in Fig. 2 (a), first at mobile phoneIn display interface, display connects guide, and prompting can be by equipment The relevant information being connected with mobile phone, when user selects " beginning ", mobile phone can show the interface as shown in Fig. 2 (b).When user selects
When selecting " search equipment ", Veepai (i.e. video camera) can be scanned for by mobile phone, and shows the interface as shown in Fig. 3 (a).So
After, all Veepai search obtained show in the form of a list, as shown in Fig. 3 (b).When user selects therein one
After individual " Veepai-456 ", mobile phone carries out forward with this Veepai-456 and is connected, as shown in Fig. 3 (c).
When mobile phone is iOS system, video camera sends WIFI network signal after opening, and waits that mobile phone connects, first mobile phone
The SSID of search video camera connects this video camera.After being successfully established connection, in the display interface of mobile phone, show mobile phone
SSID and the inputting interface of encrypted message, be manually entered SSID and the encrypted message of mobile phone in this inputting interface for user.Hands
SSID and the encrypted message of this mobile phone are saved in mobile phone this locality by machine, and are handed down to video camera and preserve video camera simultaneously
SSID.Secondly, mobile phone creates connect focus according to SSID and the encrypted message of mobile phone, waits the connection of video camera.Mobile phone is in wound
While building connection focus, mobile phone disconnects the connection of the camera that moves the camera to follow the subject's movement.Finally, the SSID of the mobile phone that video camera can send according to mobile phone
The connection focus of upper mobile phone is actively connected, it is achieved its Opposite direction connection communicates with encrypted message.
The present embodiment video camera connects according to the active of mobile phone to be set up after forward is connected, according to receiving mobile phone with this mobile phone
Link information obtain connection focus and mobile phone that mobile phone creates and set up Opposite direction connection so that video camera can use mobile phone
Network traffics resource performs corresponding operation.Thus by mutually obtaining its SSID between mobile phone and video camera, promote video camera
The connection focus that in connection, mobile phone sends, while solving video camera connection mobile phone connection focus, video camera can use hands
The data of the network traffics resource transmission video camera shooting of machine, carry out real-time live broadcast, shoot and share, and without relying on third party
Route network, improves video camera and uses network traffics resource to carry out the convenience operated, more enrich the social activity side of user
Formula.
Further, above-mentioned method for connecting network also includes: when described terminal storage has the connection between described equipment
When information and connection focus, receive the connection request that described equipment sends, wake up described connection focus up according to described connection request,
Opposite direction connection is set up according to described connection focus and described equipment.
When mobile phone was connected and during Opposite direction connection with having built up forward before video camera, if mobile phone storage has mobile phone
SSID and encrypted message, and the connection focus generated according to the SSID of this mobile phone and encrypted message, and video camera storage has
The SSID of mobile phone and encrypted message, then when video camera needs to use network traffics resource, can be according to the mobile phone of storage
SSID sends connection request to this mobile phone.Mobile phone wakes up up between that stored and this video camera according to this connection request received
Connection focus, and send information to video camera, in order to inform that video camera connects focus and is already prepared to.Now video camera can
Set up Opposite direction connection logging in this connection focus and mobile phone according to encrypted message, just carrying out without between mobile phone and video camera
To the operation connected so that video camera can use the network traffics resource of mobile phone, substantially increase video camera and use network flow
Amount resource carries out convenience and the reliability operated.
Further, above-mentioned method for connecting network also includes:
Judge the network state of described terminal;
When the network state of described terminal is 3G/4G network, and described terminal storage has the service set of described equipment
Time, perform above-mentioned steps S2 successively to step S4;
When the network state of described terminal is WIFI network, and described terminal storage has the service set of described equipment
Time, whether there is the service set of described equipment in detecting the WIFI LAN of described terminal;
If there is not the service set of described equipment, the then service to described equipment in the WIFI LAN of described terminal
Set identifier scans for, and whether detecting searches the service set of described equipment;
When searching the service set of described equipment, perform above-mentioned steps S2 successively to step S4;
When search is less than the service set of described equipment, by the service set of other equipment that searches with list
Display, the determination instruction according to receiving determines that one of them is destination service set identifier, according to described destination service set identifier
Set up forward to connect with corresponding target device, and generate target link information;
Described target link information is sent to described target device, disconnects with described target device, and according to institute
State target link information and create target connection focus;
Receive the target connection request that described target device sends according to described target link information, according to described target even
The request that connects connects focus by described target and sets up Opposite direction connection with described target device.
Mobile phone is during being connected with video camera foundation, it is also possible to come and video camera according to the network state that mobile phone is current
Establishing a connection, mobile phone first determines whether self residing network state, when the network state of mobile phone is 3G/4G network, and
Connected video camera, when mobile phone storage has the SSID of video camera, directly connected during mobile phone searching to the SSID of the video camera stored
Connect this video camera, it is not necessary to user selects.When mobile phone carries out after forward is connected with video camera, the SSID of mobile phone that mobile phone will generate
Send to video camera with encrypted message, then disconnect with video camera, and the SSID and encrypted message according to mobile phone creates heat
Point, waits the connection of video camera.The connection focus that video camera can connect mobile phone according to the SSID of mobile phone and encrypted message is carried out
Net casts etc. operate.
Below it is illustrated, as shown in Fig. 6 (a), first at mobile phoneIn display interface, display connects guide, and carries Show relevant information equipment can being connected with mobile phone, when user selects " beginning ", mobile phone can show the boundary as shown in Fig. 6 (b)
Face.When user selects " search equipment ", Veepai (i.e. video camera) can be scanned for by mobile phone, and shows such as Fig. 6 (c) institute
The interface shown.Then, all Veepai that search is obtained by mobile phone show in the form of a list, as shown in Fig. 7 (a), and
" Veepai-456 " preserved from the last time that is dynamically connected, as shown in Fig. 7 (b).After forward successful connection, mobile phone is by the mobile phone of generation
SSID and encrypted message send to Veepai-456, are then turned off the connection with Veepai-456, wait that Veepai-456's is anti-
To connection.Veepai-456 can connect the connection focus of mobile phone according to the SSID of mobile phone and encrypted message, as shown in Fig. 7 (c).
When the network state of mobile phone is WIFI network, and connected video camera, when mobile phone storage has the SSID of video camera,
The SSID of the video camera stored searched in current WIFI LAN by mobile phone.If shooting can be searched in current local area network
During the SSID of machine, illustrate that mobile phone and equipment are all connected to same LAN, then mobile phone is according to the SSID of video camera and this shooting
Machine is set up and is connected, and now mobile phone can directly to video camera transmission instruction, to carry out information mutual.
When mobile phone can not search the SSID of video camera in current WIFI LAN, illustrate that video camera does not connect
Net, then the SSID of video camera is scanned for by mobile phone, if mobile phone searching is to the SSID of the video camera stored, is then directly connected to
This video camera.When mobile phone carries out after forward is connected with video camera, and SSID and the encrypted message of the mobile phone generated are sent extremely by mobile phone
Video camera, then disconnects with video camera, and the SSID and encrypted message according to mobile phone creates focus, waits the company of video camera
Connect.The connection focus that video camera can connect mobile phone according to the SSID of mobile phone and encrypted message carries out the operations such as net cast.
When mobile phone does not search the SSID of stored video camera, show other shootings searched in the form of a list
The SSID of machine, selects one of them to be target SSID for user.Mobile phone instructs according to the determination receiving user, determines wherein one
Individual as needing target SSID that connects, mobile phone according to the target SSID search target video camera corresponding with target SSID, and with
It is set up forward and connects, and generates target link information.This target link information can be target SSID and the encrypted message of mobile phone,
Target SSID and the encrypted message of mobile phone are saved in mobile phone this locality by mobile phone, target SSID and the encrypted message of mobile phone are sent out simultaneously
Deliver to target video camera.
Then, mobile phone disconnects with target video camera, and target SSID and encrypted message according to mobile phone creates target
Connect focus, wait the connection of target video camera.Target video camera, after disconnecting with mobile phone, sends over according to mobile phone
Target SSID of mobile phone searches the connection focus of corresponding mobile phone with encrypted message, and sends target connection request, hands to this mobile phone
Machine connects focus according to this target connection request by target and sets up Opposite direction connection with target video camera.Target video camera is connecting
After the connection focus of mobile phone, the network traffics resource of mobile phone can be used to perform the operation accordingly such as net cast, video sharing.
User can also arrange in interface what mobile phone was specified, arranges the company of the SSID of the video camera disconnected and stored
Connect, so that mobile phone can be attached with another video camera.Connect video camera by the network state of mobile phone, improve
Mobile phone connects the efficiency of video camera, and improves video camera and connect the reliability connecting focus of mobile phone.
Accordingly, as shown in Figure 4, one terminal of the present invention, including:
Acquisition module 10, for obtaining the service set of equipment;
First forward link block 20, sets up forward even for the service set according to described equipment and described equipment
Connect, and generate link information;
First creation module 30, for sending described link information to described equipment, disconnects with described equipment, and
Create according to described link information and connect focus;
First Opposite direction connection module 40, for receiving the connection request that described equipment sends, root according to described link information
Set up Opposite direction connection according to described connection request by described connection focus and described equipment, use described terminal for described equipment
Network traffics resource perform corresponding operation.
Forward connection described in the present embodiment refers to that terminal is according to service set (the Service Set searching equipment
Identifier, SSID) actively connect this equipment, Opposite direction connection refers to that equipment actively connects this end according to the link information of terminal
The connection focus of end, link information includes SSID and the encrypted message etc. of terminal.This terminal includes mobile phone, panel computer etc., should
Equipment includes video camera etc., below by with terminal as mobile phone, the link information SSID as mobile phone and encrypted message, equipment be shooting
It is described in detail as a example by machine.
When mobile phone was not connected with video camera, after video camera is opened, mobile phone calls acquisition module 10 by search video camera
SSID, and carried out forward according to the SSID of video camera with this video camera by the first forward link block 20 and be connected.When mobile phone is searched
When rope is to the SSID of multiple video cameras, can show in the form of a list in the display interface of mobile phone, show multiple video camera
SSID, selects the SSID of one of them video camera for user, in order to mobile phone is attached with this video camera.
Mobile phone is successfully established with video camera after being connected, and mobile phone generates SSID and the encrypted message of mobile phone, and by mobile phone
It is local that SSID and encrypted message are saved in mobile phone, sends SSID and the encrypted message of mobile phone to video camera simultaneously.Certainly, mobile phone
After setting up forward annexation with video camera, it is also possible to show the SSID of mobile phone and encrypted message in the display interface of mobile phone
Inputting interface, is manually entered SSID and the encrypted message of mobile phone in this inputting interface for user.
Now, the SSID of this video camera can be preserved by mobile phone, in order to when needing to reconnect this video camera next time, can
It is attached with this video camera with the SSID according to the video camera preserved.Then, mobile phone disconnects the connection pass between video camera
System, mobile phone calls the first creation module 30 and creates connect focus according to SSID and the encrypted message of mobile phone, waits the company of video camera
Connect.
Mobile phone after disconnecting with video camera, the SSID of the mobile phone that video camera sends over according to mobile phone and encrypted message
Searching the connection focus of corresponding mobile phone, send connection request to mobile phone, mobile phone is warm by connecting by the first Opposite direction connection module 40
Opposite direction connection set up by point and video camera.Video camera, after the connection focus connecting mobile phone, can use the network traffics of mobile phone to provide
Source performs the operation accordingly such as net cast, video sharing.Thus the connection focus of upper mobile phone is actively connected by video camera, real
Existing its Opposite direction connection communication.
Hereinafter being illustrated, when mobile phone is android system, video camera sends WIFI network signal after opening,
Wait mobile phone connects, and the first SSID of mobile phone searching video camera connects this video camera.After being successfully established connection, mobile phone generates to be had
It is local that the SSID of effect and encrypted message are saved in mobile phone, and be handed down to video camera and preserve the SSID of video camera simultaneously.Secondly, hands
Machine creates connect focus according to SSID and the encrypted message of mobile phone, waits the connection of video camera.Mobile phone is creating connection focus
Meanwhile, mobile phone disconnects the connection of the camera that moves the camera to follow the subject's movement.Finally, video camera can come according to the SSID of the mobile phone that mobile phone sends and encrypted message
Actively connect the connection focus of upper mobile phone, it is achieved its Opposite direction connection communicates.
Specifically, as shown in Fig. 2 (a), first at mobile phoneIn display interface, display connects guide, and prompting can be by equipment The relevant information being connected with mobile phone, when user selects " beginning ", mobile phone can show the interface as shown in Fig. 2 (b).When user selects
When selecting " search equipment ", Veepai (i.e. video camera) can be scanned for by mobile phone, and shows the interface as shown in Fig. 3 (a).So
After, all Veepai search obtained show in the form of a list, as shown in Fig. 3 (b).When user selects therein one
After individual " Veepai-456 ", mobile phone carries out forward with this Veepai-456 and is connected, as shown in Fig. 3 (c).
When mobile phone is iOS system, video camera sends WIFI network signal after opening, and waits that mobile phone connects, first mobile phone
The SSID of search video camera connects this video camera.After being successfully established connection, in the display interface of mobile phone, show mobile phone
SSID and the inputting interface of encrypted message, be manually entered SSID and the encrypted message of mobile phone in this inputting interface for user.Hands
SSID and the encrypted message of this mobile phone are saved in mobile phone this locality by machine, and are handed down to video camera and preserve video camera simultaneously
SSID.Secondly, mobile phone creates connect focus according to SSID and the encrypted message of mobile phone, waits the connection of video camera.Mobile phone is in wound
While building connection focus, mobile phone disconnects the connection of the camera that moves the camera to follow the subject's movement.Finally, the SSID of the mobile phone that video camera can send according to mobile phone
The connection focus of upper mobile phone is actively connected, it is achieved its Opposite direction connection communicates with encrypted message.
The present embodiment video camera connects according to the active of mobile phone to be set up after forward is connected, according to receiving mobile phone with this mobile phone
Link information obtain connection focus and mobile phone that mobile phone creates and set up Opposite direction connection so that video camera can use mobile phone
Network traffics resource performs corresponding operation.Thus by mutually obtaining its SSID between mobile phone and video camera, promote video camera
The connection focus that in connection, mobile phone sends, while solving video camera connection mobile phone connection focus, video camera can use hands
The data of the network traffics resource transmission video camera shooting of machine, carry out real-time live broadcast, shoot and share, and without relying on third party
Route network, improves video camera and uses network traffics resource to carry out the convenience operated, more enrich the social activity side of user
Formula.
Further, above-mentioned terminal also includes: the second Opposite direction connection module, for setting with described when described terminal storage has
Link information between Bei and when connecting focus, receives the connection request that described equipment sends, wakes up up according to described connection request
Described connection focus, sets up Opposite direction connection according to described connection focus and described equipment.
When mobile phone was connected and during Opposite direction connection with having built up forward before video camera, if mobile phone storage has mobile phone
SSID and encrypted message, and the connection focus generated according to the SSID of this mobile phone and encrypted message, and video camera storage has
The SSID of mobile phone and encrypted message, then when video camera needs to use network traffics resource, can be according to the mobile phone of storage
SSID sends connection request to this mobile phone.Second Opposite direction connection module wake up up according to this connection request received stored with
Connection focus between this video camera, and send information to video camera, in order to inform that video camera connects focus and is already prepared to.
Now video camera can log in this connection focus according to encrypted message and set up Opposite direction connection, without mobile phone and shooting with mobile phone
The operation of forward connection is carried out so that video camera can use the network traffics resource of mobile phone, substantially increases shooting between machine
Machine uses network traffics resource to carry out convenience and the reliability operated.
Further, above-mentioned terminal also includes: judge module, for judging the network state of described terminal;
First processing module, is used for when the network state of described terminal is 3G/4G network, and described terminal storage has described
During the service set of equipment, call forward link block, creation module and the first Opposite direction connection module successively and perform corresponding
Operation;
First detecting module, is used for when the network state of described terminal is WIFI network, and described terminal storage has described
During the service set of equipment, in detecting the WIFI LAN of described terminal, whether there is the service set of described equipment;
Second detecting module, if there is not the service set of described equipment in the WIFI LAN of described terminal,
Then scanning for the service set of described equipment, whether detecting searches the service set of described equipment;
Second processing module, for when searching the service set of described equipment, call successively forward link block,
Creation module and the first Opposite direction connection module perform corresponding operation;
Second forward link block, for when search is less than the service set of described equipment, by search other
The service set of equipment shows with list, and the determination instruction according to receiving determines that one of them is destination service set identifier,
Set up forward according to described destination service set identifier with corresponding target device to connect, and generate target link information;
Second creation module, for sending described target link information to described target device, with described target device
Disconnect, and create target connection focus according to described target link information;
3rd Opposite direction connection module, the target sent according to described target link information for receiving described target device connects
Connect request, connect focus according to described target connection request by described target and set up Opposite direction connection with described target device.
Mobile phone is during being connected with video camera foundation, it is also possible to come and video camera according to the network state that mobile phone is current
Establishing a connection, first mobile phone is judged self residing network state by judge module, when the network state of mobile phone is 3G/4G
Network, and connected video camera, when mobile phone storage has the SSID of video camera, mobile phone calls the first processing module and searches and deposited
It is directly connected to this video camera, it is not necessary to user selects during the SSID of video camera of storage.It is connected when mobile phone carries out forward with video camera
After, SSID and the encrypted message of the mobile phone generated are sent to video camera by the first processing module, then disconnect with video camera,
And the SSID and encrypted message according to mobile phone creates focus, wait the connection of video camera.Video camera is according to the SSID of mobile phone and close
Code information can connect the connection focus of mobile phone and carry out the operations such as net cast.
Below it is illustrated, as shown in Fig. 6 (a), first at mobile phoneIn display interface, display connects guide, and carries Show relevant information equipment can being connected with mobile phone, when user selects " beginning ", mobile phone can show the boundary as shown in Fig. 6 (b)
Face.When user selects " search equipment ", Veepai (i.e. video camera) can be scanned for by mobile phone, and shows such as Fig. 6 (c) institute
The interface shown.Then, all Veepai that search is obtained by mobile phone show in the form of a list, as shown in Fig. 7 (a), and
" Veepai-456 " preserved from the last time that is dynamically connected, as shown in Fig. 7 (b).After forward successful connection, mobile phone is by the mobile phone of generation
SSID and encrypted message send to Veepai-456, are then turned off the connection with Veepai-456, wait that Veepai-456's is anti-
To connection.Veepai-456 can connect the connection focus of mobile phone according to the SSID of mobile phone and encrypted message, as shown in Fig. 7 (c).
When the network state of mobile phone is WIFI network, and connected video camera, when mobile phone storage has the SSID of video camera,
The SSID of the video camera stored searched in current WIFI LAN by mobile phone, by the WIFI office of the first detecting module detecting mobile phone
The SSID of this video camera whether is there is in the net of territory.If the SSID of video camera can be searched in current local area network, hands is described
Machine and equipment are all connected to same LAN, then mobile phone is connected with the foundation of this video camera according to the SSID of video camera, now hands
It is mutual that machine directly can carry out information to video camera transmission instruction.
When mobile phone can not search the SSID of video camera in current WIFI LAN, illustrate that video camera does not connect
Net, then the SSID of video camera is scanned for by mobile phone, the second detecting module detecting whether search the SSID of video camera.If
Mobile phone searching is to the SSID of the video camera stored, then the second processing module is directly connected to this video camera.When mobile phone and video camera
After carrying out forward connection, the SSID of mobile phone generated and encrypted message are sent to video camera by the second processing module, then with take the photograph
Camera disconnects, and the SSID and encrypted message according to mobile phone creates focus, waits the connection of video camera.Video camera is according to hands
The SSID of machine and encrypted message can connect the connection focus of mobile phone and carry out the operations such as net cast.
When mobile phone does not search the SSID of stored video camera, show other shootings searched in the form of a list
The SSID of machine, selects one of them to be target SSID for user.Second forward link block refers to according to the determination receiving user
Order, determines that one of them target SSID connected as needs, mobile phone search for the mesh corresponding with target SSID according to target SSID
Mark video camera, and set up forward with it and be connected, and generate target link information.This target link information can be the target of mobile phone
SSID and encrypted message, target SSID and the encrypted message of mobile phone are saved in mobile phone this locality, simultaneously by the target of mobile phone by mobile phone
SSID and encrypted message send to target video camera.
Then, mobile phone disconnects with target video camera, and by the second creation module according to target SSID of mobile phone and close
Code information creating target connects focus, waits the connection of target video camera.Target video camera after disconnecting with mobile phone, according to
Target SSID of the mobile phone that mobile phone sends over searches the connection focus of corresponding mobile phone with encrypted message, sends target even to mobile phone
Connecing request, mobile phone calls the 3rd Opposite direction connection module and connects focus and target video camera according to this target connection request by target
Set up Opposite direction connection.Video camera, after the connection focus connecting mobile phone, can use the network traffics resource of mobile phone to perform video
The operation accordingly such as live, video sharing.
User can also arrange in interface what mobile phone was specified, arranges the company of the SSID of the video camera disconnected and stored
Connect, so that mobile phone can be attached with another video camera.Connect video camera by the network state of mobile phone, improve
Mobile phone connects the efficiency of video camera, and improves video camera and connect the reliability connecting focus of mobile phone.
Claims (10)
1. a method for connecting network, it is characterised in that described method for connecting network is applied to equipment, described method for connecting network
Including:
Set up with terminal after forward is connected at described equipment, receive the link information that described terminal sends, and disconnect and described end
The connection of end;
When obtaining described terminal with the disconnection of described equipment according to described link information, described equipment creates based on described link information
Connection focus, set up Opposite direction connection according to described connection focus and described terminal, use described terminal for described equipment
Network traffics resource performs corresponding operation.
2. method for connecting network as claimed in claim 1, it is characterised in that described method for connecting network also includes:
When described equipment storage has the link information between described terminal, send connection request to described terminal, and connecing
Receive described terminal when waking up the connection focus between that stored and described equipment up based on described connection request, according to described company
Connect focus and set up Opposite direction connection with described terminal.
3. an equipment, it is characterised in that described equipment includes:
Receiver module, for setting up after forward is connected with terminal at described equipment, receives the link information of described terminal transmission, and
Disconnect the connection with described terminal;
First link block, during for obtaining described terminal with the disconnection of described equipment according to described link information, described equipment base
In the connection focus that described link information creates, set up Opposite direction connection, for described according to described connection focus and described terminal
Equipment uses the network traffics resource of described terminal to perform corresponding operation.
4. equipment as claimed in claim 3, it is characterised in that described equipment also includes:
Second link block, for when described equipment storage has the link information between described terminal, sends out to described terminal
Send connection request, and wake up the connection between that stored and described equipment up based on described connection request receiving described terminal
During focus, set up Opposite direction connection according to described connection focus and described terminal.
5. a method for connecting network, it is characterised in that described method for connecting network is applied to terminal, described method for connecting network
Including:
Step S1, the service set of acquisition equipment;
Step S2, service set according to described equipment are set up forward with described equipment and are connected, and generate link information;
Step S3, described link information is sent to described equipment, disconnect with described equipment, and according to described link information
Create and connect focus;
Step S4, receive the connection request that described equipment sends according to described link information, pass through institute according to described connection request
State connection focus and set up Opposite direction connection with described equipment, use for described equipment the network traffics resource of described terminal to perform phase
The operation answered.
6. method for connecting network as claimed in claim 5, it is characterised in that described method for connecting network also includes:
When described terminal storage has the link information between described equipment and is connected focus, receive the company that described equipment sends
Connect request, wake up described connection focus up according to described connection request, reversely connect with the foundation of described equipment according to described connection focus
Connect.
7. the method for connecting network as described in claim 5 or 6, it is characterised in that described method for connecting network also includes:
Judge the network state of described terminal;
When the network state of described terminal is 3G/4G network, and when described terminal storage has the service set of described equipment, depend on
Secondary execution above-mentioned steps S2 is to step S4;
When the network state of described terminal is WIFI network, and when described terminal storage has the service set of described equipment, detect
The service set of described equipment whether is there is in surveying the WIFI LAN of described terminal;
If there is not the service set of described equipment in the WIFI LAN of described terminal, then the services set mark to described equipment
Knowledge scans for, and whether detecting searches the service set of described equipment;
When searching the service set of described equipment, perform above-mentioned steps S2 successively to step S4;
When search is less than the service set of described equipment, the service set of other equipment searched is shown with list
Show, according to receive determination instruction determine that one of them is destination service set identifier, according to described destination service set identifier with
Corresponding target device is set up forward and is connected, and generates target link information;
Described target link information is sent to described target device, disconnects with described target device, and according to described mesh
Mark link information creates target and connects focus;
Receiving the target connection request that described target device sends according to described target link information, connecting according to described target please
Ask and set up Opposite direction connection by described target connection focus with described target device.
8. a terminal, it is characterised in that described terminal includes:
Acquisition module, for obtaining the service set of equipment;
First forward link block, is connected for setting up forward according to the service set of described equipment with described equipment, and raw
Become link information;
First creation module, for sending described link information to described equipment, disconnects with described equipment, and according to institute
State link information and create connection focus;
First Opposite direction connection module, for receiving the connection request that described equipment sends according to described link information, according to described
Connection request sets up Opposite direction connection by described connection focus and described equipment, uses the network of described terminal for described equipment
Floating resources performs corresponding operation.
9. terminal as claimed in claim 8, it is characterised in that described terminal also includes:
Second Opposite direction connection module, for when described terminal storage has the link information between described equipment and is connected focus
Time, receive the connection request that described equipment sends, wake up described connection focus up according to described connection request, connect heat according to described
Point and described equipment set up Opposite direction connection.
10. terminal as claimed in claim 8 or 9, it is characterised in that described terminal also includes:
Judge module, for judging the network state of described terminal;
First processing module, is used for when the network state of described terminal is 3G/4G network, and described terminal storage has described equipment
Service set time, call forward link block successively, creation module and the first Opposite direction connection module perform corresponding operation;
First detecting module, is used for when the network state of described terminal is WIFI network, and described terminal storage has described equipment
Service set time, whether there is the service set of described equipment in detecting the WIFI LAN of described terminal;
Second detecting module, if there is not the service set of described equipment in the WIFI LAN of described terminal, the most right
The service set of described equipment scans for, and whether detecting searches the service set of described equipment;
Second processing module, for when searching the service set of described equipment, calls forward link block, establishment successively
Module and the first Opposite direction connection module perform corresponding operation;
Second forward link block, is used for when search is less than the service set of described equipment, other equipment that will search
Service set show with list, according to receive determination instruction determine that one of them is destination service set identifier, according to
Described destination service set identifier is set up forward and is connected with corresponding target device, and generates target link information;
Second creation module, for sending described target link information to described target device, disconnects with described target device
Connect, and create target connection focus according to described target link information;
3rd Opposite direction connection module, please according to the target connection that described target link information sends for receiving described target device
Ask, connect focus according to described target connection request by described target and set up Opposite direction connection with described target device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610674689.5A CN106131932A (en) | 2016-08-15 | 2016-08-15 | Method for connecting network, equipment and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610674689.5A CN106131932A (en) | 2016-08-15 | 2016-08-15 | Method for connecting network, equipment and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106131932A true CN106131932A (en) | 2016-11-16 |
Family
ID=57259064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610674689.5A Pending CN106131932A (en) | 2016-08-15 | 2016-08-15 | Method for connecting network, equipment and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106131932A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103596121A (en) * | 2013-10-30 | 2014-02-19 | 北京网河时代科技有限公司 | Flow sharing method for wireless mobile networks |
CN104080194A (en) * | 2014-06-25 | 2014-10-01 | 扬州芯云智能系统有限公司 | Method for wirelessly configuring WIFI access parameters of zero-input terminal equipment through mobile phone |
CN104244455A (en) * | 2014-09-01 | 2014-12-24 | 小米科技有限责任公司 | Wireless local area network access information sharing method and device |
CN104469896A (en) * | 2014-12-01 | 2015-03-25 | 深圳如果技术有限公司 | Quick access method for wireless network, flow sharing method and flow sharing management method |
CN104506360A (en) * | 2014-12-26 | 2015-04-08 | 深圳市彩易生活科技有限公司 | Network access configuration method and system of intelligent equipment and related equipment |
-
2016
- 2016-08-15 CN CN201610674689.5A patent/CN106131932A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103596121A (en) * | 2013-10-30 | 2014-02-19 | 北京网河时代科技有限公司 | Flow sharing method for wireless mobile networks |
CN104080194A (en) * | 2014-06-25 | 2014-10-01 | 扬州芯云智能系统有限公司 | Method for wirelessly configuring WIFI access parameters of zero-input terminal equipment through mobile phone |
CN104244455A (en) * | 2014-09-01 | 2014-12-24 | 小米科技有限责任公司 | Wireless local area network access information sharing method and device |
CN104469896A (en) * | 2014-12-01 | 2015-03-25 | 深圳如果技术有限公司 | Quick access method for wireless network, flow sharing method and flow sharing management method |
CN104506360A (en) * | 2014-12-26 | 2015-04-08 | 深圳市彩易生活科技有限公司 | Network access configuration method and system of intelligent equipment and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104365152B (en) | Delay network reselects after execution circuit exchanges back off procedure under call failure situation | |
CN103458215A (en) | Video call switching system, cellphone, electronic device and switching method | |
CN103200300B (en) | Terminal and resource sharing method | |
CN104767679B (en) | A kind of method and device for transmitting data in network system | |
CN111447660B (en) | Network roaming control method and device of terminal equipment and cloud control equipment | |
CN105872833A (en) | Video communication method and device, and smart television | |
CN105357633B (en) | Connection establishment method and device | |
KR20160086560A (en) | Recording medium recording program for method of providing augmented reality contents during video call service, and apparatus teherfor | |
JP2023519730A (en) | Information transmission method, device, communication device and storage medium | |
KR102197851B1 (en) | Method and apparatus for discovery target in device-to-device direct communication | |
CN113170334A (en) | Information transmission method, device, communication equipment and storage medium | |
CN114401537B (en) | Network redirection method, device and user equipment | |
CN108966331A (en) | Cell registration method, apparatus, wireless routing device, terminal and storage medium | |
CN106550314B (en) | Call forwarding method based on Bluetooth positioning technology | |
CN112333284B (en) | 5G intelligent gateway-based data transmission method, system and storage medium | |
CN104219733A (en) | Method and equipment for finding proximity communication relay node | |
US9432422B2 (en) | Method and apparatus for voice and/or video communication | |
CN106131932A (en) | Method for connecting network, equipment and terminal | |
CN108259741A (en) | Method, mobile terminal and the computer readable storage medium of multiple terminals synchronous photo taking | |
CN110139296B (en) | Terminal information acquisition method and device | |
CN106102050A (en) | Wireless network configuration method, wireless router and smart machine | |
CN111885593A (en) | Method and system for acquiring corresponding relation between IMSI and mobile phone number | |
CN114501490A (en) | Service transfer method, terminal and network side equipment | |
CN107148008A (en) | Call handover method, system, terminal and server | |
CN110784938B (en) | Correlation method, device and storage medium |
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: 20161116 |
|
RJ01 | Rejection of invention patent application after publication |