CN105657708A - Connection method and device for mobile terminal and server side - Google Patents

Connection method and device for mobile terminal and server side Download PDF

Info

Publication number
CN105657708A
CN105657708A CN201610053448.9A CN201610053448A CN105657708A CN 105657708 A CN105657708 A CN 105657708A CN 201610053448 A CN201610053448 A CN 201610053448A CN 105657708 A CN105657708 A CN 105657708A
Authority
CN
China
Prior art keywords
mobile terminal
service end
address
network information
display icon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610053448.9A
Other languages
Chinese (zh)
Other versions
CN105657708B (en
Inventor
何恩桥
田楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shirui Electronics 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 Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shirui Electronics Co Ltd
Priority to CN201610053448.9A priority Critical patent/CN105657708B/en
Publication of CN105657708A publication Critical patent/CN105657708A/en
Priority to PCT/CN2016/113199 priority patent/WO2017128919A1/en
Application granted granted Critical
Publication of CN105657708B publication Critical patent/CN105657708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

The invention relates to a connection method and device for a mobile terminal and a server side. The connection method for the mobile terminal and the server side comprises the following steps of obtaining network connection information of the server side according to a display icon of the server side, wherein the network connection information comprises each IP (Internet Protocol) address; and detecting whether each IP address and the network connected to the mobile terminal currently are in the same network segment in sequence, if yes, connecting the mobile terminal and the IP addresses in the same network segment. Another connection method for the mobile terminal and the server side comprises the following steps of obtaining network connection information of the server side, wherein the network connection information comprises each IP (Internet Protocol) address; and generating a display icon of the server side according to the network connection information, wherein the display icon is used for providing each IP address of the server side for the mobile terminal. According to the method and the device, operating steps which are needed when the mobile terminal is connected to the server side are greatly simplified, so that a process for connecting the mobile terminal and the server side is simpler and more convenient.

Description

The method of attachment of mobile terminal and service end and device
Technical field
The present invention relates to communication technical field, particularly relate to the connecting device of a kind of mobile terminal and the method for attachment of service end, mobile terminal and service end.
Background technology
When needs connect mobile terminal and service end carries out data transmission, traditional technical scheme is generally: the service end in search LAN, find the IP (InternetProtocol of corresponding with service end, the agreement of interconnection between network) address, the IP address that then input service end is corresponding is attached. There is following defect in the program: mobile terminal and service end connect inconvenience, troublesome poeration, and user needs to scan for service end, input the operations such as IP address corresponding to service end; User, it is to be appreciated that some basic network concepts just can move the connection of terminal and service end, adds the learning cost of user.
Summary of the invention
Based on this, it is necessary to for the problems referred to above, it is provided that the method for attachment of a kind of mobile terminal and service end and device, make the connection simple and fast of mobile terminal and service end, and reduce the learning cost of user.
In order to achieve the above object, the technical scheme that the present invention takes is as follows:
A kind of method of attachment of mobile terminal and service end, including step:
Display icon according to service end obtains the connection network information of service end, and the described connection network information includes each IP address;
Detect whether the network that each IP address is currently connected with mobile terminal is in the same network segment successively;
If so, described mobile terminal is connected with the IP address of the same network segment.
The method of attachment of above-mentioned mobile terminal and service end, the display icon of service end includes each IP address of service end, display icon can be Quick Response Code or bar code etc., namely mobile terminal only needs to be scanned the operation such as Quick Response Code or bar code can get each IP address of service end, is then attached according to the IP address obtained. The present invention enormously simplify operating procedure required during mobile terminal Connection Service end, and user is no longer necessary to scan for the operations such as service end, input service end address, and the process making mobile terminal Connection Service end is simpler, convenient;The whole attended operation full automation of mobile terminal and service end, user requires no knowledge about the complicated concepts such as IP address, reduces the learning cost of user.
Wherein in an embodiment, the described connection network information also includes SSID and the password of the WIFI hot spot that service end currently connects; After being connected with the IP address of the same network segment by described mobile terminal, if further comprising the steps of: described mobile terminal and each IP address to be all connected with failure, whether identical with described WIFI hot spot detect the network that described mobile terminal currently connects; If differing, according to described SSID and password, described mobile terminal is switched to described WIFI hot spot by the network currently connected; Using described WIFI hot spot as the new current network connected of described mobile terminal, return and detect whether the network that each IP address is currently connected with mobile terminal is in the step of the same network segment successively. If do not find the service end of correspondence when the connection of mobile terminal and service end, conventional art is to look at the focus that service end connects, then manually mobile terminal is connected to this focus, repeat the step of the service end searched in LAN, the present invention is when mobile terminal is all connected with unsuccessfully with each IP address, automatically mobile terminal can be connected to the focus that service end connects, user need not be performed manually by the operation of switching WIFI network, further increases mobile terminal and the convenience of service end connection.
Wherein in an embodiment, include according to the step of display icon the connections network information that obtains service end of service end: add ciphertext data according to the acquisition of the display icon of service end; The described ciphertext data that adds is decrypted, obtains solving ciphertext data; Described solution ciphertext data is resolved according to preset format, obtains the connection network information of service end.
A kind of connecting device of mobile terminal and service end, including:
Connecting the network information and determine module, obtain the connection network information of service end for the display icon according to service end, the described connection network information includes each IP address;
IP address detected module, whether the network being currently connected with mobile terminal for detecting each IP address successively is in the same network segment;
Link block, when the network being currently connected with mobile terminal for IP address is in the same network segment, is connected described mobile terminal with the IP address of the same network segment.
The connecting device of above-mentioned mobile terminal and service end, the display icon of service end includes each IP address of service end, display icon can be Quick Response Code or bar code etc., namely mobile terminal only needs to be scanned the operation such as Quick Response Code or bar code can get each IP address of service end, is then attached according to the IP address obtained. The present invention enormously simplify operating procedure required during mobile terminal Connection Service end, and user is no longer necessary to scan for the operations such as service end, input service end address, and the process making mobile terminal Connection Service end is simpler, convenient; The whole attended operation full automation of mobile terminal and service end, user requires no knowledge about the complicated concepts such as IP address, reduces the learning cost of user.
Wherein in an embodiment, the described connection network information also includes SSID and the password of the WIFI hot spot that service end currently connects; This device also includes the focus handover module being connected with described link block, described focus handover module includes: Hot spots detection unit, for when described mobile terminal and each IP address are all connected with unsuccessfully, whether identical with described WIFI hot spot detect the network that described mobile terminal currently connects;Focus switch unit, for when the network that described mobile terminal currently connects differs with described WIFI hot spot, being switched to described WIFI hot spot by described mobile terminal by the network currently connected according to described SSID and password; The new network that connects determines unit, for using described WIFI hot spot as the new current network connected of described mobile terminal. If do not find the service end of correspondence when the connection of mobile terminal and service end, conventional art is to look at the focus that service end connects, then manually mobile terminal is connected to this focus, repeat the step of the service end searched in LAN, the present invention is when mobile terminal is all connected with unsuccessfully with each IP address, automatically mobile terminal can be connected to the focus that service end connects, user need not be performed manually by the operation of switching WIFI network, further increases mobile terminal and the convenience of service end connection.
Wherein in an embodiment, the described connection network information determines that module includes: encryption data capture unit, obtains for the display icon according to service end and adds ciphertext data; Deciphering data capture unit, for the described ciphertext data that adds is decrypted, obtains solving ciphertext data; Connect network information acquiring unit, for being resolved according to preset format by described solution ciphertext data, obtain the connection network information of service end.
A kind of method of attachment of mobile terminal and service end, including step:
Obtaining the connection network information of service end, the described connection network information includes each IP address;
Generate the display icon of service end according to the described connection network information, described display icon for providing each IP address of service end to mobile terminal.
The method of attachment of above-mentioned mobile terminal and service end, each IP addresses according to the service end obtained etc. generate display icon, display icon can be Quick Response Code or bar code etc., so mobile terminal only requires over the operations such as the display icon of scan service end, namely can get each IP address of service end. The present invention enormously simplify operating procedure required during mobile terminal Connection Service end, and user is no longer necessary to scan for the operations such as service end, input service end address, and the process making mobile terminal Connection Service end is simpler, convenient; The whole attended operation full automation of mobile terminal and service end, user requires no knowledge about the complicated concepts such as IP address, reduces the learning cost of user.
Wherein in an embodiment, the described connection network information also includes SSID and the password of the WIFI hot spot that service end currently connects; Described display icon is additionally operable to provide mobile terminal to be switched to SSID and the password of described WIFI hot spot to mobile terminal. Display icon comprises SSID and the password of the WIFI hot spot that service end connects, so namely mobile terminal can get, by scanning the operation of display icon, the WIFI hot spot information that service end connects, it is made without checking that the focus etc. that service end connects operates, further increases mobile terminal and the convenience of service end connection.
A kind of connecting device of mobile terminal and service end, including:
Connecting network information acquisition module, for obtaining the connection network information of service end, the described connection network information includes each IP address;
Display icon generation module, for generating the display icon of service end according to the described connection network information, described display icon for providing each IP address of service end to mobile terminal.
The connecting device of above-mentioned mobile terminal and service end, each IP addresses according to the service end obtained etc. generate display icon, display icon can be Quick Response Code or bar code etc., so mobile terminal only requires over the operations such as the display icon of scan service end, namely can get each IP address of service end.The present invention enormously simplify operating procedure required during mobile terminal Connection Service end, and user is no longer necessary to scan for the operations such as service end, input service end address, and the process making mobile terminal Connection Service end is simpler, convenient; The whole attended operation full automation of mobile terminal and service end, user requires no knowledge about the complicated concepts such as IP address, reduces the learning cost of user.
Wherein in an embodiment, the described connection network information also includes SSID and the password of the WIFI hot spot that service end currently connects; Described display icon is additionally operable to provide mobile terminal to be switched to SSID and the password of described WIFI hot spot to mobile terminal. Display icon comprises SSID and the password of the WIFI hot spot that service end connects, so namely mobile terminal can get, by scanning the operation of display icon, the WIFI hot spot information that service end connects, it is made without checking that the focus etc. that service end connects operates, further increases mobile terminal and the convenience of service end connection.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of mobile terminal of the present invention and the method for attachment embodiment of service end;
Fig. 2 is the structural representation of a kind of mobile terminal of the present invention and the connecting device embodiment one of service end;
Fig. 3 is that the present invention connects the network information and determines the structural representation of module embodiments;
Fig. 4 is the structural representation of a kind of mobile terminal of the present invention and the connecting device embodiment two of service end;
Fig. 5 is the structural representation of link block embodiment of the present invention;
Fig. 6 is the schematic flow sheet of another kind mobile terminal of the present invention and the method for attachment embodiment of service end;
Fig. 7 is the structural representation of another kind mobile terminal of the present invention and the connecting device embodiment of service end.
Detailed description of the invention
For further setting forth the effect of technological means that the present invention takes and acquirement, below in conjunction with accompanying drawing and preferred embodiment, from mobile terminal and two angles of service end, to technical scheme, carry out clear and complete description.
First from the angle of mobile terminal, the solution of the present invention is discussed in detail.
As it is shown in figure 1, the method for attachment of a kind of mobile terminal and service end, including step:
S110, display icon according to service end obtain the connection network information of service end, and the described connection network information includes each IP address;
S120, detect whether the network that each IP address is currently connected with mobile terminal is in the same network segment successively;
S130, if so, described mobile terminal is connected with the IP address of the same network segment.
The present invention enormously simplify operating procedure required during mobile terminal Connection Service end, and user is no longer necessary to scan for the operations such as service end, input service end address, and the process making mobile terminal Connection Service end is simpler, convenient; The whole attended operation full automation of mobile terminal and service end, user requires no knowledge about the complicated concepts such as IP address, reduces the learning cost of user.
Before service end and mobile terminal being attached, mobile terminal and service end are already connected to a certain network in LAN. The network that mobile terminal and service end have connected can be the same network segment, it is also possible to be not the same network segment. Display icon includes each IP address of service end, IP address can be the IP address of all network card interface of service end, can also be the WIFI (WIreless-Fidelity that currently connects of service end, Wireless Fidelity) each IP address of focus, it is also possible to it is the IP address of all network card interface of service end and each IP address of WIFI hot spot that service end currently connects.
The mode of the connection network information that the display icon according to service end obtains service end has a variety of, for instance, in one embodiment, step S110 may include that
Display icon according to service end obtains and adds ciphertext data;
The described ciphertext data that adds is decrypted, obtains solving ciphertext data;
Described solution ciphertext data is resolved according to preset format, obtains the connection network information of service end.
The display icon of service end can be Quick Response Code, bar code etc. Mobile terminal can be obtained by modes such as scanning display icons and add ciphertext data. Data being encrypted, be primarily to the safety of protection data, data can be encrypted according to algorithm existing in prior art, for instance Base64. Data can not also be encrypted, then display icon is scanned by mobile terminal, is directly obtained solution ciphertext data. To adding the algorithm that when ciphertext data is decrypted, employing is identical with AES. Solving ciphertext data is the data previously encapsulated according to user-defined format, after obtaining solution ciphertext data, is resolved according to previous user-defined format by solution ciphertext data, obtains the connection network information of service end. Each IP address that the connection network information includes can show with forms such as lists.
After obtaining each IP address, in order to save the time that mobile terminal is connected with service end, mobile terminal judges that the network whether being currently connected with mobile terminal of the IP in each IP address is in the same network segment one by one. If it is, attempt being connected mobile terminal with this IP address, if successful connection, ceasing attempt to, mobile terminal and service end enter connection status, and connection procedure terminates, and otherwise continue to judge next IP address.
When the connection of mobile terminal and service end, if not finding the service end of correspondence, conventional art being to look at the focus that service end connects, then manually mobile terminal is connected to this focus, repeat the step of the service end searched in LAN. The present invention is in order to further increase mobile terminal and the convenience of service end connection, it is possible to mobile terminal is connected to focus that service end connects automatically. So, in one embodiment, the described connection network information can also include SSID (ServiceSetIdentifier, service set) and the password of the WIFI hot spot that service end currently connects. After described mobile terminal is connected with the IP address of the same network segment, it is also possible to include step:
If described mobile terminal and each IP address are all connected with failure, whether identical with described WIFI hot spot detect the network that described mobile terminal currently connects;
If differing, according to described SSID and password, described mobile terminal is switched to described WIFI hot spot by the network currently connected;
Using described WIFI hot spot as the new current network connected of described mobile terminal, return and detect whether the network that each IP address is currently connected with mobile terminal is in the step of the same network segment successively.
If the WIFI hot spot that the network that mobile terminal currently connects currently connects with service end is identical, then showing the prompting message of connection failure, connection terminates. If the WIFI hot spot that the network that mobile terminal currently connects currently is connected with service end differs, then automatically the network of mobile terminal is connected in this WIFI hot spot, again detect whether the WIFI hot spot that the IP address in each IP address is currently connected with mobile terminal is in the same network segment, if it is, attempt being attached.
Based on same inventive concept, the present invention also provides for the connecting device of a kind of mobile terminal and service end, below in conjunction with accompanying drawing, the detailed description of the invention of connecting device of the present invention is described in detail.
As in figure 2 it is shown, the connecting device of a kind of mobile terminal and service end, including:
Connecting the network information and determine module 110, obtain the connection network information of service end for the display icon according to service end, the described connection network information includes each IP address;
IP address detected module 120, whether the network being currently connected with mobile terminal for detecting each IP address successively is in the same network segment;
Link block 130, when the network being currently connected with mobile terminal for IP address is in the same network segment, is connected described mobile terminal with the IP address of the same network segment.
The present invention enormously simplify operating procedure required during mobile terminal Connection Service end, and user is no longer necessary to scan for the operations such as service end, input service end address, and the process making mobile terminal Connection Service end is simpler, convenient; The whole attended operation full automation of mobile terminal and service end, user requires no knowledge about the complicated concepts such as IP address, reduces the learning cost of user.
Before service end and mobile terminal being attached, mobile terminal and service end are already connected to a certain network in LAN. The network that mobile terminal and service end have connected can be the same network segment, it is also possible to be not the same network segment. Display icon includes each IP address of service end, IP address can be the IP address of all network card interface of service end, can also be each IP address of the WIFI hot spot that service end currently connects, it is also possible to be the IP address of all network card interface of service end and each IP address of WIFI hot spot that service end currently connects.
Connect the network information and determine that module 110 has a variety of according to the mode of the connection network information of the display icon acquisition service end of service end, for instance, in one embodiment, as it is shown on figure 3, the described connection network information determines that module 110 may include that
Encryption data capture unit 1101, obtains for the display icon according to service end and adds ciphertext data;
Deciphering data capture unit 1102, for the described ciphertext data that adds is decrypted, obtains solving ciphertext data;
Connect network information acquiring unit 1103, for being resolved according to preset format by described solution ciphertext data, obtain the connection network information of service end.
The display icon of service end can be Quick Response Code, bar code etc. Encryption data capture unit 1101 can be obtained by modes such as scanning display icons and add ciphertext data. Data being encrypted, be primarily to the safety of protection data, data can be encrypted according to algorithm existing in prior art, for instance Base64. Data can not also be encrypted, then display icon is scanned by mobile terminal, is directly obtained solution ciphertext data. Deciphering data capture unit 1102 is to adding the algorithm that when ciphertext data is decrypted, employing is identical with AES. Solving ciphertext data is the data previously encapsulated according to user-defined format, after deciphering data capture unit 1102 obtains solution ciphertext data, connect network information acquiring unit 1103 to be resolved according to previous user-defined format by solution ciphertext data, obtain the connection network information of service end. Each IP address that the connection network information includes can show with forms such as lists.
After the connection network information determines that module 110 obtains each IP address, in order to save the time that mobile terminal is connected with service end, IP address detected module 120 judges that the network whether being currently connected with mobile terminal of the IP in each IP address is in the same network segment one by one. If it is, link block 130 then attempts being connected mobile terminal with this IP address, if successful connection, ceasing attempt to, mobile terminal and service end enter connection status, and connection procedure terminates, and otherwise IP address detected module 120 continues to judge next IP address.
The present invention is in order to further increase mobile terminal and the convenience of service end connection, it is possible to mobile terminal is connected to focus that service end connects automatically.So, in one embodiment, the described connection network information can also include SSID and the password of the WIFI hot spot that service end currently connects. As shown in Figure 4, apparatus of the present invention can also include the focus handover module 140 that is connected with described link block 130. As it is shown in figure 5, described focus handover module 140 may include that
Whether identical with described WIFI hot spot Hot spots detection unit 1401, for when described mobile terminal and each IP address are all connected with unsuccessfully, detect the network that described mobile terminal currently connects;
Focus switch unit 1402, for when the network that described mobile terminal currently connects differs with described WIFI hot spot, being switched to described WIFI hot spot by described mobile terminal by the network currently connected according to described SSID and password;
The new network that connects determines unit 1403, for using described WIFI hot spot as the new current network connected of described mobile terminal. Described IP address detected module 120 detects whether the network that each IP address is currently connected with mobile terminal is in the same network segment again successively.
If the WIFI hot spot that the network that mobile terminal currently connects currently connects with service end is identical, then showing the prompting message of connection failure, connection terminates.
Below from the angle of service end, in conjunction with accompanying drawing, another kind mobile terminal of the present invention is described in detail with the method for attachment of service end and the detailed description of the invention of device.
As shown in Figure 6, the method for attachment of a kind of mobile terminal and service end, including step:
S210, obtain service end the connection network information, the described connection network information includes each IP address;
S220, according to the described connection network information generate service end display icon, described display icon for mobile terminal provide service end each IP address.
The present invention enormously simplify operating procedure required during mobile terminal Connection Service end, and user is no longer necessary to scan for the operations such as service end, input service end address, and the process making mobile terminal Connection Service end is simpler, convenient; The whole attended operation full automation of mobile terminal and service end, user requires no knowledge about the complicated concepts such as IP address, reduces the learning cost of user.
Before service end and mobile terminal being attached, mobile terminal and service end are already connected to a certain network in LAN. The network that mobile terminal and service end have connected can be the same network segment, it is also possible to be not the same network segment.
Service end obtains the connection network information of service end at set intervals, the IP address that the connection network information includes can be the IP address of all network card interface of service end, can also be each IP address of the WIFI hot spot that service end currently connects, it is also possible to be the IP address of all network card interface of service end and each IP address of WIFI hot spot that service end currently connects. Mobile terminal can get each IP address of service end according to display icon, is then attached with each IP address.
In one embodiment, the described connection network information can also include SSID and the password of the WIFI hot spot that service end currently connects; Described display icon is additionally operable to provide mobile terminal to be switched to SSID and the password of described WIFI hot spot to mobile terminal. WIFI hot spot service end currently connected provides mobile terminal, and mobile terminal just when not finding the service end of correspondence, can be connected to the focus that service end connects by mobile terminal automatically, further increases mobile terminal and the convenience of service end connection.
The mode showing icon generating service end according to the described connection network information has a variety of, such as, first according to user-defined format, the connection network information is encapsulated as burst of data, then existing algorithm in the data prior art after encapsulation is encrypted, encrypt for example with Base64, finally by the data genaration display icon after encryption.Data being encrypted and is primarily to the safety ensureing data, user can not also be encrypted, directly by the data genaration display icon after encapsulation. Display icon can be Quick Response Code or bar code etc. Existing method in prior art all can be adopted to realize the process connecting process, the process that encapsulation of data is encrypted and generation display icon that the network information is packaged.
Based on same inventive concept, the present invention also provides for the connecting device of a kind of mobile terminal and service end, below in conjunction with accompanying drawing, the detailed description of the invention of apparatus of the present invention is described in detail.
As it is shown in fig. 7, the connecting device of a kind of mobile terminal and service end, including:
Connecting network information acquisition module 210, for obtaining the connection network information of service end, the described connection network information includes each IP address;
Display icon generation module 220, for generating the display icon of service end according to the described connection network information, described display icon for providing each IP address of service end to mobile terminal.
The present invention enormously simplify operating procedure required during mobile terminal Connection Service end, and user is no longer necessary to scan for the operations such as service end, input service end address, and the process making mobile terminal Connection Service end is simpler, convenient; The whole attended operation full automation of mobile terminal and service end, user requires no knowledge about the complicated concepts such as IP address, reduces the learning cost of user.
Before service end and mobile terminal being attached, mobile terminal and service end are already connected to a certain network in LAN. The network that mobile terminal and service end have connected can be the same network segment, it is also possible to be not the same network segment.
Connect network information acquisition module 210 and obtain the connection network information of service end at set intervals, the IP address that the connection network information includes can be the IP address of all network card interface of service end, can also be each IP address of the WIFI hot spot that service end currently connects, it is also possible to be the IP address of all network card interface of service end and each IP address of WIFI hot spot that service end currently connects. Mobile terminal can get each IP address of service end according to display icon, is then attached with each IP address.
In one embodiment, the described connection network information can also include SSID and the password of the WIFI hot spot that service end currently connects; Described display icon is additionally operable to provide mobile terminal to be switched to SSID and the password of described WIFI hot spot to mobile terminal. WIFI hot spot service end currently connected provides mobile terminal, and mobile terminal just when not finding the service end of correspondence, can be connected to the focus that service end connects by mobile terminal automatically, further increases mobile terminal and the convenience of service end connection.
Display icon generation module 220 has a variety of according to the mode of the display icon that the described connection network information generates service end, such as, the connection network information is first encapsulated as burst of data according to user-defined format by display icon generation module 220, then existing algorithm in the data prior art after encapsulation is encrypted, encrypt for example with Base64, finally by the data genaration display icon after encryption. Data being encrypted and is primarily to the safety ensureing data, user can also by the data genaration display icon after encapsulation. Display icon can be Quick Response Code or bar code etc. The process connecting process, the process that encapsulation of data is encrypted and generation display icon that the network information is packaged all can be adopted existing method in prior art to realize by display icon generation module 220.
In order to be better understood from the connection procedure of mobile terminal and service end, below in conjunction with a specific embodiment, from the angle that mobile terminal and service end are mutual, specific embodiment of the invention process is described in detail.
Assume that user needs to be connected mobile phone with the Intelligent flat in classroom:
Intelligent flat obtains all of IP address of the machine and the current Wi-Fi hotspot information connected, and IP address includes the IP address of all network card interface of the machine and the IP address of Wi-Fi hotspot, and Wi-Fi hotspot information includes SSID and the password of Wi-Fi hotspot;
The Information encapsulation of acquisition is burst of data according to user-defined format by Intelligent flat, the data after encapsulation is encrypted with Base64, then according to the data genaration Quick Response Code after encryption, and is shown on Intelligent flat interface by the Quick Response Code generated;
Quick Response Code on mobile telephone scanning Intelligent flat interface, obtains after parsing adding ciphertext data, adds ciphertext data with Base64 deciphering, the data after deciphering is resolved according to previous user-defined format, obtains IP address list and Wi-Fi hotspot information;
Mobile phone judges that the network whether being currently connected with mobile phone of the IP in IP address list is in the same network segment one by one. If it is, attempt connecting, if successful connection, ceasing attempt to, enter connection status, connection procedure terminates; Otherwise, continue to judge next IP address.
If mobile phone all cannot be connected by success identity with all IP addresses, it is judged that whether the network that mobile phone currently connects is identical with resolving the Wi-Fi hotspot obtained. If it is not the same, then automatically the network of mobile phone is connected in the Wi-Fi hotspot parsed, returns mobile phone and judge that the network whether being currently connected with mobile phone of the IP in IP address list is in the step in the same network segment one by one; If identical, then point out connection failure.
Each technical characteristic of embodiment described above can combine arbitrarily, for making description succinct, the all possible combination of each technical characteristic in above-described embodiment is not all described, but, as long as the combination of these technical characteristics is absent from contradiction, all it is considered to be the scope that this specification is recorded.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be construed as limiting the scope of the patent. It should be pointed out that, for the person of ordinary skill of the art, without departing from the inventive concept of the premise, it is also possible to making some deformation and improvement, these broadly fall into protection scope of the present invention. Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. the method for attachment of a mobile terminal and service end, it is characterised in that include step:
Display icon according to service end obtains the connection network information of service end, and the described connection network information includes each IP address;
Detect whether the network that each IP address is currently connected with mobile terminal is in the same network segment successively;
If so, described mobile terminal is connected with the IP address of the same network segment.
2. the method for attachment of mobile terminal according to claim 1 and service end, it is characterised in that the described connection network information also includes SSID and the password of the WIFI hot spot that service end currently connects;
After described mobile terminal is connected with the IP address of the same network segment, further comprise the steps of:
If described mobile terminal and each IP address are all connected with failure, whether identical with described WIFI hot spot detect the network that described mobile terminal currently connects;
If differing, according to described SSID and password, described mobile terminal is switched to described WIFI hot spot by the network currently connected;
Using described WIFI hot spot as the new current network connected of described mobile terminal, return and detect whether the network that each IP address is currently connected with mobile terminal is in the step of the same network segment successively.
3. the method for attachment of mobile terminal according to claim 1 and 2 and service end, it is characterised in that the step of the connection network information obtaining service end according to the display icon of service end includes:
Display icon according to service end obtains and adds ciphertext data;
The described ciphertext data that adds is decrypted, obtains solving ciphertext data;
Described solution ciphertext data is resolved according to preset format, obtains the connection network information of service end.
4. the method for attachment of a mobile terminal and service end, it is characterised in that include step:
Obtaining the connection network information of service end, the described connection network information includes each IP address;
Generate the display icon of service end according to the described connection network information, described display icon for providing each IP address of service end to mobile terminal.
5. the method for attachment of mobile terminal according to claim 4 and service end, it is characterised in that the described connection network information also includes SSID and the password of the WIFI hot spot that service end currently connects; Described display icon is additionally operable to provide mobile terminal to be switched to SSID and the password of described WIFI hot spot to mobile terminal.
6. the connecting device of a mobile terminal and service end, it is characterised in that including:
Connecting the network information and determine module, obtain the connection network information of service end for the display icon according to service end, the described connection network information includes each IP address;
IP address detected module, whether the network being currently connected with mobile terminal for detecting each IP address successively is in the same network segment;
Link block, when the network being currently connected with mobile terminal for IP address is in the same network segment, is connected described mobile terminal with the IP address of the same network segment.
7. the connecting device of mobile terminal according to claim 6 and service end, it is characterised in that the described connection network information also includes SSID and the password of the WIFI hot spot that service end currently connects;
Also including the focus handover module being connected with described link block, described focus handover module includes:
Whether identical with described WIFI hot spot Hot spots detection unit, for when described mobile terminal and each IP address are all connected with unsuccessfully, detect the network that described mobile terminal currently connects;
Focus switch unit, for when the network that described mobile terminal currently connects differs with described WIFI hot spot, being switched to described WIFI hot spot by described mobile terminal by the network currently connected according to described SSID and password;
The new network that connects determines unit, for using described WIFI hot spot as the new current network connected of described mobile terminal.
8. the connecting device of the mobile terminal according to claim 6 or 7 and service end, it is characterised in that the described connection network information determines that module includes:
Encryption data capture unit, obtains for the display icon according to service end and adds ciphertext data;
Deciphering data capture unit, for the described ciphertext data that adds is decrypted, obtains solving ciphertext data;
Connect network information acquiring unit, for being resolved according to preset format by described solution ciphertext data, obtain the connection network information of service end.
9. the connecting device of a mobile terminal and service end, it is characterised in that including:
Connecting network information acquisition module, for obtaining the connection network information of service end, the described connection network information includes each IP address;
Display icon generation module, for generating the display icon of service end according to the described connection network information, described display icon for providing each IP address of service end to mobile terminal.
10. the connecting device of mobile terminal according to claim 9 and service end, it is characterised in that the described connection network information also includes SSID and the password of the WIFI hot spot that service end currently connects; Described display icon is additionally operable to provide mobile terminal to be switched to SSID and the password of described WIFI hot spot to mobile terminal.
CN201610053448.9A 2016-01-25 2016-01-25 The connection method of mobile terminal and server-side and device Active CN105657708B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610053448.9A CN105657708B (en) 2016-01-25 2016-01-25 The connection method of mobile terminal and server-side and device
PCT/CN2016/113199 WO2017128919A1 (en) 2016-01-25 2016-12-29 Mobile terminal and service end connection method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610053448.9A CN105657708B (en) 2016-01-25 2016-01-25 The connection method of mobile terminal and server-side and device

Publications (2)

Publication Number Publication Date
CN105657708A true CN105657708A (en) 2016-06-08
CN105657708B CN105657708B (en) 2019-08-13

Family

ID=56484264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610053448.9A Active CN105657708B (en) 2016-01-25 2016-01-25 The connection method of mobile terminal and server-side and device

Country Status (2)

Country Link
CN (1) CN105657708B (en)
WO (1) WO2017128919A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128919A1 (en) * 2016-01-25 2017-08-03 广州视睿电子科技有限公司 Mobile terminal and service end connection method and apparatus
CN108566649A (en) * 2018-03-12 2018-09-21 广东欧珀移动通信有限公司 The network segment management method and Related product of personal hot spot

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005033704A (en) * 2003-07-11 2005-02-03 Denso Wave Inc Communication system
CN102692881A (en) * 2012-05-16 2012-09-26 中国海洋大学 Household appliance control method and control system based on two-dimension code
CN102802155A (en) * 2012-08-17 2012-11-28 珠海金山办公软件有限公司 Method for rapidly establishing connection between mobile terminal and intelligent display equipment
CN103036702A (en) * 2012-04-01 2013-04-10 浙江宇视科技有限公司 Network segment crossing N+1 backup method and network segment crossing N+1 backup device
CN104796308A (en) * 2014-01-16 2015-07-22 腾讯科技(深圳)有限公司 Method and system for network interconnection of devices
CN105163174A (en) * 2015-09-10 2015-12-16 康佳集团股份有限公司 Method and system for connecting mobile terminal with television by scanning two-dimension code

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376048A (en) * 2014-08-27 2016-03-02 深圳Tcl新技术有限公司 Method and system for connecting terminal with display equipment
CN105657708B (en) * 2016-01-25 2019-08-13 广州视睿电子科技有限公司 The connection method of mobile terminal and server-side and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005033704A (en) * 2003-07-11 2005-02-03 Denso Wave Inc Communication system
CN103036702A (en) * 2012-04-01 2013-04-10 浙江宇视科技有限公司 Network segment crossing N+1 backup method and network segment crossing N+1 backup device
CN102692881A (en) * 2012-05-16 2012-09-26 中国海洋大学 Household appliance control method and control system based on two-dimension code
CN102802155A (en) * 2012-08-17 2012-11-28 珠海金山办公软件有限公司 Method for rapidly establishing connection between mobile terminal and intelligent display equipment
CN104796308A (en) * 2014-01-16 2015-07-22 腾讯科技(深圳)有限公司 Method and system for network interconnection of devices
CN105163174A (en) * 2015-09-10 2015-12-16 康佳集团股份有限公司 Method and system for connecting mobile terminal with television by scanning two-dimension code

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128919A1 (en) * 2016-01-25 2017-08-03 广州视睿电子科技有限公司 Mobile terminal and service end connection method and apparatus
CN108566649A (en) * 2018-03-12 2018-09-21 广东欧珀移动通信有限公司 The network segment management method and Related product of personal hot spot
CN108566649B (en) * 2018-03-12 2021-07-02 Oppo广东移动通信有限公司 Network segment management method of personal hotspot and related products

Also Published As

Publication number Publication date
WO2017128919A1 (en) 2017-08-03
CN105657708B (en) 2019-08-13

Similar Documents

Publication Publication Date Title
EP3484196B1 (en) Method and apparatus for registering wireless device in wireless communication system
CN110139271B (en) Method, system and device for configuring intelligent household equipment to access network in batch
CN106658659B (en) Method and device for accessing intelligent terminal equipment to Internet
CN101605330B (en) Method and device for building wireless distribution system connection
CN105050083B (en) A kind of network collocating method and system of smart machine
CN104159219A (en) WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP
CN107567017B (en) Wireless connection system, device and method
CN105188013A (en) Network hotspot sharing method, device and system
JP5468601B2 (en) Apparatus and associated method for facilitating access to a home network or other public network
CN103945499B (en) The switching method and device of WIFI module mode of operation
KR100666947B1 (en) Network Access Method of WLAN Terminal And Network system thereof
KR20010096543A (en) System and method for provisioning or updating a mobile station using over-the-air transfer of interpreted byte-code program
CN105959968B (en) wifi configuration method and device
CN106856609A (en) A kind of network collocating method and device
CN105451230A (en) Internet-of-things device configuration method and Internet-of-things device configuration system
CN107205239B (en) Method for detecting wireless network connection and detection equipment
CN108307479B (en) Communication module, network distribution method and device thereof, storage medium, equipment and terminal
CN113132983B (en) Network disconnection reconnection method for intelligent terminal
CN105392182B (en) The setting method and system of the network configuration information of WIFI equipment
CN107124744B (en) Network switching method and wireless access point
CN105657708A (en) Connection method and device for mobile terminal and server side
JP2015119313A (en) Wireless connection device, method for duplicating setting information on wireless communication, and network system
CN105828274A (en) Terminal connection method, first terminal and second terminal
CN110621018B (en) WIFI detection terminal method
CN105282822A (en) Method and device for connecting with encrypted hot spots based on terminal SIM card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant