CN105451300A - Network connection method and mobile equipment - Google Patents
Network connection method and mobile equipment Download PDFInfo
- Publication number
- CN105451300A CN105451300A CN201510751070.5A CN201510751070A CN105451300A CN 105451300 A CN105451300 A CN 105451300A CN 201510751070 A CN201510751070 A CN 201510751070A CN 105451300 A CN105451300 A CN 105451300A
- Authority
- CN
- China
- Prior art keywords
- mobile device
- mesh network
- ssid1
- authentication information
- target
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiments of the invention disclose a network connection method and mobile equipment. The method comprises the steps of searching a mesh network by mobile equipment; when the mobile equipment searches at least one mesh network, selecting one mesh network out of the at least one mesh network as a target mesh network by the mobile equipment; accessing the mobile equipment to the target mesh network; sending service set identifier SSID1 and a password corresponding to SSID1, pre-acquired by the mobile equipment, to a target main loudspeaker box in the target mesh network through the target mesh network by the mobile equipment. In this way, the target main loudspeaker box is accessed to the target wireless network corresponding to the SSID1. The embodiments of the invention show that, the main loudspeaker box can still be accessed to the wireless network when the mobile equipment cannot be connected with the main loudspeaker box in the Bluetooth or WiFi connection manner.
Description
Technical field
The present invention relates to communication technical field, be specifically related to a kind of method for connecting network and mobile device.
Background technology
Wireless sound box is a kind of novel intelligent appliance equipment, it can connect the application program (Application on the mobile devices such as mobile phone, flat board, notebook computer by wireless network, APP), after mobile device is connected by wireless network with wireless sound box, mobile device can control by APP the music play in wireless sound box.In order to improve the result of broadcast of wireless sound box, usually multiple wireless sound box is formed a sound box system, only have a main sound box in a sound box system, other audio amplifier is all from audio amplifier, main sound box can create mesh network, adds the mesh network of this main sound box establishment from audio amplifier.After main sound box creates mesh network, if non-connecting wireless network, main sound box cannot obtain the Internet resources such as audio frequency, system update from wireless network, because main sound box cannot add wireless network automatically, mobile device is needed to set up bluetooth with main sound box or after WIFI is connected, main sound box needs password corresponding to the service set SSID of the wireless network connected and SSID to be sent to main sound box by mobile device, connects upper wireless network to make main sound box.When mobile device cannot set up bluetooth with main sound box or WIFI is connected, main sound box cannot connecting wireless network.
Summary of the invention
The embodiment of the present invention provides a kind of method for connecting network and mobile device, when mobile device cannot set up bluetooth with main sound box or WIFI is connected, main sound box can be connected to wireless network.
Embodiment of the present invention first aspect, provides a kind of method for connecting network, comprising:
Mobile device search mesh network;
When described mobile device searches at least one mesh network, described mobile device selects a mesh network as target mesh network from least one mesh network described;
Described mobile device adds described target mesh network;
The password that the service set SSID1 that described mobile device is obtained by described target mesh network by described mobile device in advance and described SSID1 is corresponding is sent to the target main sound box in described target mesh network, adds target radio network corresponding to described SSID1 to make described target main sound box.
In the first possible implementation of embodiment of the present invention first aspect, after described mobile device adds described target mesh network, and before password corresponding to the service set SSID1 that obtained in advance by described mobile device by described target mesh network of described mobile device and described SSID1 be sent to the main sound box in described target mesh network, described method also comprises:
If the non-connecting wireless network of described mobile device, described mobile device is inquired about described mobile device and is connected number of times at most and connect hours the longest SSID1 from least one SSID that described mobile device prestores, and obtains the password that described SSID1 and described SSID1 is corresponding;
If described mobile device connecting wireless network, described mobile device obtains password corresponding to SSID1 that described mobile device connecting and described SSID1;
Described mobile device prompting input authentication information;
Described mobile device detects the authentication information of input;
Described mobile device obtains first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run;
Whether described mobile device checking described first is identical with reference to authentication information with described second with reference to authentication information; If identical, described mobile device using described first with reference to authentication information or described second with reference to authentication information as effective authentication information;
Whether the more described authentication information of described mobile device is consistent with described effective authentication information;
If consistent, described mobile device performs the step that password corresponding to the described service set SSID1 that obtained in advance by described mobile device by described target mesh network and described SSID1 is sent to the target main sound box in described target mesh network.
In conjunction with embodiment of the present invention first aspect, in the implementation that the second of embodiment of the present invention first aspect is possible,
After described mobile device adds described target mesh network, and before password corresponding to the service set SSID1 that obtained in advance by described mobile device by described target mesh network of described mobile device and described SSID1 be sent to the main sound box in described target mesh network, described method also comprises:
If the non-connecting wireless network of described mobile device, described mobile device is inquired about described mobile device and is connected number of times at most and connect hours the longest SSID1 from least one SSID that described mobile device prestores, and obtains the password that described SSID1 and described SSID1 is corresponding;
If described mobile device connecting wireless network, described mobile device obtains password corresponding to SSID1 that described mobile device connecting and described SSID1;
Described mobile device prompting input authentication information;
Described mobile device detects the authentication information of input;
Described mobile device obtains first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run;
Described mobile device splices described first with reference to authentication information and described second reference authentication information becomes effective authentication information;
Whether the more described authentication information of described mobile device is consistent with described effective authentication information;
If consistent, described mobile device performs the step that password corresponding to the described service set SSID1 that obtained in advance by described mobile device by described target mesh network and described SSID1 is sent to the target main sound box in described target mesh network.
In conjunction with embodiment of the present invention first aspect, in the third possible implementation of embodiment of the present invention first aspect, described mobile device adds described target mesh network, comprising:
The broadcast that target main sound box in target mesh network described in described mobile device identification sends, sends to described target main sound box the confirmation comprising mobile device mark and adds message;
Described mobile device receives the interpolation instruction of the SSID2 comprising described target mesh network that described target main sound box sends and password corresponding to described SSID2, wherein, described interpolation instruction is that described target main sound box receives after described confirmation adds message and confirms that described mobile device sends when being designated effective device identification;
Described mobile device is resolved described interpolation instruction and is obtained password corresponding to the SSID2 of described target mesh network and described SSID2, adds described target mesh network.
In conjunction with the first of embodiment of the present invention first aspect or embodiment of the present invention first aspect to any one possible implementation in the third, in the 4th kind of possible implementation of embodiment of the present invention first aspect, described mobile device selects a mesh network as target mesh network from least one mesh network described, comprising:
Described mobile device selects mesh network name to comprise effective mesh network of preset keyword from least one mesh network described;
The mesh network that described mobile device selects priority the highest according to mesh network priority from described effective mesh network is as target mesh network, wherein, described mesh network priority is determined based on described mobile device and described mesh network successful connection number of times.
Embodiment of the present invention second aspect, provides a kind of mobile device, comprising:
Search unit, for searching for mesh network;
Selected cell, during for searching at least one mesh network when described search unit, selects a mesh network as target mesh network from least one mesh network described;
Add unit, for adding described target mesh network;
Transmitting element, be sent to the target main sound box in described target mesh network for the password that the service set SSID1 that obtained in advance by mobile device by described target mesh network and described SSID1 is corresponding, add target radio network corresponding to described SSID1 to make described target main sound box.
In the first possible implementation of embodiment of the present invention second aspect, describedly add after unit adds described target mesh network, and before password corresponding to the service set SSID1 that obtained in advance by mobile device by described target mesh network of described transmitting element and described SSID1 be sent to the main sound box in described target mesh network, described mobile device also comprises:
First acquiring unit, for when the non-connecting wireless network of mobile device, from at least one SSID that described mobile device prestores, inquire about described mobile device connect number of times at most and connect hours the longest SSID1, obtain the password that described SSID1 and described SSID1 is corresponding;
Second acquisition unit, for when described mobile device connecting wireless network, obtains the password that SSID1 that described mobile device connecting and described SSID1 is corresponding;
Tip element, for pointing out input authentication information;
Detecting unit, for detecting the authentication information of input;
3rd acquiring unit, for obtaining first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run;
Authentication unit, for verifying that whether described first is identical with reference to authentication information with described second with reference to authentication information;
Determining unit, for when described authentication unit the result is for being, using described first with reference to authentication information or described second with reference to authentication information as effective authentication information;
Comparing unit, whether consistent with described effective authentication information for more described authentication information;
When described comparing unit comparative result is for being, triggers password corresponding to service set SSID1 that described mobile device obtained by described target mesh network by described transmitting element in advance and described SSID1 and being sent to target main sound box in described target mesh network.
In conjunction with embodiment of the present invention second aspect, in the implementation that the second of embodiment of the present invention second aspect is possible, describedly add after unit adds described target mesh network, and before password corresponding to the service set SSID1 that obtained in advance by mobile device by described target mesh network of described transmitting element and described SSID1 be sent to the main sound box in described target mesh network, described mobile device also comprises:
First acquiring unit, for when the non-connecting wireless network of mobile device, from at least one SSID that described mobile device prestores, inquire about described mobile device connect number of times at most and connect hours the longest SSID1, obtain the password that described SSID1 and described SSID1 is corresponding;
Second acquisition unit, for when described mobile device connecting wireless network, obtains the password that SSID1 that described mobile device connecting and described SSID1 is corresponding;
Tip element, for pointing out input authentication information;
Detecting unit, for detecting the authentication information of input;
3rd acquiring unit, for obtaining first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run;
Concatenation unit, becomes effective authentication information for splicing described first with reference to authentication information and described second reference authentication information;
Comparing unit, whether consistent with described effective authentication information for more described authentication information;
When described comparing unit comparative result is for being, triggers password corresponding to service set SSID1 that described mobile device obtained by described target mesh network by described transmitting element in advance and described SSID1 and being sent to target main sound box in described target mesh network.
In conjunction with embodiment of the present invention second aspect, in the third possible implementation of embodiment of the present invention second aspect, described in add unit and comprise:
Mutual subelement, the broadcast that the target main sound box for identifying in described target mesh network sends, sends to described target main sound box the confirmation comprising mobile device mark and adds message;
Described mutual subelement, also for receiving the interpolation instruction of the SSID2 comprising described target mesh network that described target main sound box sends and password corresponding to described SSID2, wherein, described interpolation instruction is that described target main sound box receives after described confirmation adds message and confirms that described mobile device sends when being designated effective device identification;
Add subelement, obtaining password corresponding to the SSID2 of described target mesh network and described SSID2 for resolving described interpolation instruction, adding described target mesh network.
In conjunction with the first of embodiment of the present invention second aspect or embodiment of the present invention second aspect to any one possible implementation in the third, in the 4th kind of possible implementation of embodiment of the present invention second aspect, described selected cell comprises:
First chooser unit, comprises effective mesh network of preset keyword for selecting mesh network name from least one mesh network described;
Second chooser unit, for from described effective mesh network, select priority the highest according to mesh network priority mesh network as target mesh network, wherein, described mesh network priority is determined based on described mobile device and described mesh network successful connection number of times.
In the embodiment of the present invention, mobile device can be searched for mesh network and add the target mesh network at main sound box place, communicated with the main sound box in target mesh network by target mesh network, the password that SSID1 and SSID1 of the target radio network that main sound box will be connected by target mesh network by mobile device is corresponding is sent to the main sound box in target mesh network, adds target radio network to make main sound box.Implement the embodiment of the present invention, can mobile device do not set up with main sound box the wireless network such as bluetooth or WIFI be connected time, main sound box is connected to wireless network.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention;
Fig. 2 is the flow chart of a kind of method for connecting network disclosed in the embodiment of the present invention;
Fig. 3 is the flow chart of another kind of method for connecting network disclosed in the embodiment of the present invention;
Fig. 4 is the flow chart of another kind of method for connecting network disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of a kind of mobile device disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another kind of mobile device disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of another kind of mobile device disclosed in the embodiment of the present invention;
Fig. 8 is the structural representation of another kind of mobile device disclosed in the embodiment of the present invention;
Fig. 9 is the structural representation of another kind of mobile device disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in embodiment of the present invention, the technical scheme in embodiment of the present invention is clearly and completely described.Obviously, described execution mode is a part of execution mode of the present invention, instead of whole execution mode.Based on the execution mode in the present invention, the every other execution mode that those of ordinary skill in the art obtain under the prerequisite not making creative work, all should belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method for connecting network and mobile device, when mobile device cannot set up bluetooth with main sound box or WIFI is connected, main sound box can be connected to wireless network.Below be described in detail respectively.
In order to better understand a kind of method for connecting network and mobile device disclosed in the embodiment of the present invention, first the network architecture that the embodiment of the present invention is suitable for is described below.Refer to Fig. 1, Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention.In the network architecture shown in Fig. 1, mobile device can be comprised, main sound box and at least one is from audio amplifier, wherein, after main sound box creates mesh network, the mesh network of main sound box establishment can be added from audio amplifier, mobile device also can add mesh network, communicated with from audio amplifier with main sound box by mesh network, Mesh network, i.e. " radio honeycomb grid network ", also referred to as " multihop network ", it is the network architecture can constantly expanded dynamically, mesh Web vector graphic IEEE802.11s agreement communicates, in mesh network, main sound box is as the node with external network communication, be called MPP (MeshPortalPoint), from the node of audio amplifier as transceiving data, be called MP (MeshPoint), any two equipment in Mesh network all can keep that wireless interconnected (all audio amplifiers in mesh network all can keep wireless interconnected, intercom mutually).In the network architecture shown in Fig. 1, mobile device can comprise cell phone, panel computer, personal digital assistant (PersonalDigitalAssistant, PDA), mobile internet device (MobileInternetDevice, MID), all kinds of mobile device such as Intelligent worn device (as intelligent watch, Intelligent bracelet), the embodiment of the present invention is not construed as limiting.By implementing the network architecture shown in Fig. 1, when mobile device cannot set up bluetooth with main sound box or WIFI is connected, main sound box can be connected to wireless network.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses a kind of method for connecting network.Refer to Fig. 2, Fig. 2 is the flow chart of a kind of method for connecting network disclosed in the embodiment of the present invention.As shown in Figure 2, this method for connecting network can comprise the following steps:
201, mobile device search mesh networks.
In the embodiment of the present invention, mobile device can be real-time or mesh network periodically near search, mobile device search near mesh network time, mobile device can not connect any wireless network, and mobile device also can connect a wireless network.During mobile device search mesh network, mobile device is not set up network with any wireless sound box and is connected.
202, when mobile device searches at least one mesh network, mobile device selects a mesh network as target mesh network from least one mesh network.
In the embodiment of the present invention, after mobile device searches at least one mesh network, mobile device selects a mesh network as target mesh network from least one mesh network, and mobile device selects a mesh network as the mode of target mesh network can be from least one mesh network: the mesh network that mobile device selects signal the strongest from least one mesh network is as target mesh network.
In the execution mode that some are feasible, step 202 can comprise:
Mobile device selects mesh network name to comprise effective mesh network of preset keyword from least one mesh network;
The mesh network that mobile device selects priority the highest according to mesh network priority from effective mesh network is as target mesh network, and wherein, mesh network priority is determined based on mobile device and mesh network successful connection number of times.
In the embodiment of the present invention, mobile device selects mesh network name to comprise effective mesh network of preset keyword from least one mesh network, preset keyword can comprise some specific characters, such as, preset keyword can be one or several the combination in " OPPO ", " Mesh ", " OPPO-Mesh ", " Mesh-OPPO ".The mesh network that mobile device selects priority the highest according to mesh network priority from effective mesh network as target mesh network can be: mobile device from effective mesh network optional m igration equipment and the maximum mesh network of mesh network successful connection number of times as target mesh network, after each and mesh network successful connection of mobile device, the number of times of mobile device and this mesh network successful connection adds 1.In concrete scene, for example, if mobile device has searched 5 mesh networks, preset keyword is " Mesh ", 5 mesh network of network titles are respectively " Mesh-1 ", " Mesh-2 ", " Mesh-3 ", " TP-12 ", " TP-34 ", mobile device selects mesh network name to comprise effective mesh network of preset keyword for " Mesh-1 " from 5 mesh networks, " Mesh-2 " and " Mesh-3 ", if mobile device is 3 times with the number of times of " Mesh-1 " successful connection, if mobile device is 2 times with the number of times of " Mesh-2 " successful connection, if mobile device is 0 time with the number of times of " Mesh-3 " successful connection, then mobile device selects " Mesh-1 " as target mesh network.
203, mobile device adds target mesh network.
In the embodiment of the present invention, when mobile device select from least one mesh network a mesh network as target mesh network after, mobile device adds target mesh network.
In the execution mode that some are feasible, step 203 can comprise:
The broadcast that target main sound box in mobile device identification target mesh network sends, sends to target main sound box the confirmation comprising mobile device mark and adds message;
The interpolation instruction of the password that SSID2 and SSID2 comprising target mesh network that mobile device receiving target main sound box sends is corresponding, wherein, add instruction be target main sound box receive the confirmation add message after confirm that mobile device sends when being designated effective device identification;
Mobile device is resolved and is added instruction and obtain password corresponding to SSID2 and SSID2 of target mesh network, adds target mesh network.
In the embodiment of the present invention, mobile device selects a mesh network as target mesh network from least one mesh network, obtain the target main sound box mark of the target main sound box in target mesh network, all have a main sound box to communicate with outside at least one mesh network in each mesh network, main sound box outwards can send broadcast.Mobile terminal can receive the broadcast that at least one main sound box sends over, broadcast carries main sound box mark, when mobile device identification main sound box is designated target main sound box mark, sends to target main sound box the confirmation comprising mobile device mark and add message; Target main sound box confirms after receiving the confirmation and adding message whether mobile device mark is effective device identification, if, target main sound box sends the service set (ServiceSetIdentifier comprising target mesh network to mobile device, the interpolation instruction of the password that SSID) SSID2 and SSID2 is corresponding, after mobile device receives and adds instruction, resolve the password that SSID2 and SSID2 of interpolation instruction acquisition target mesh network is corresponding, add target mesh network.
204, the service set SSID1 that mobile device is obtained by target mesh network by mobile device in advance and password corresponding to SSID1 be sent to target main sound box in target mesh network, add target radio network corresponding to SSID1 to make target main sound box.
In the embodiment of the present invention, service set (the ServiceSetIdentifier that mobile device obtains in advance, SSID) one in the SSID of wireless network that connects before can being mobile device of SSID1, also can be the SSID of the wireless network that mobile device is connecting, the service set of target radio network be SSID1.The password that the service set SSID1 that mobile device is obtained by target mesh network by mobile device in advance and SSID1 is corresponding is sent to the target main sound box in target mesh network, and the password that target main sound box receives SSID1 and SSID1 corresponding adds target radio network corresponding to SSID1.Implement the embodiment of the present invention, can mobile device do not set up with main sound box the wireless network such as bluetooth or WIFI be connected time, main sound box is connected to wireless network.
In the embodiment of the present invention, mobile device search mesh network; When mobile device searches at least one mesh network, mobile device selects a mesh network as target mesh network from least one mesh network; Mobile device adds target mesh network; The password that the service set SSID1 that mobile device is obtained by target mesh network by mobile device in advance and SSID1 is corresponding is sent to the target main sound box in target mesh network, adds target radio network corresponding to SSID1 to make target main sound box.Implement the embodiment of the present invention, can mobile device do not set up with main sound box the wireless network such as bluetooth or WIFI be connected time, main sound box is connected to wireless network.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses another kind of method for connecting network.Refer to Fig. 3, Fig. 3 is the flow chart of another kind of method for connecting network disclosed in the embodiment of the present invention.As shown in Figure 3, this method for connecting network can comprise the following steps:
301, mobile device search mesh networks.
302, when mobile device searches at least one mesh network, mobile device selects a mesh network as target mesh network from least one mesh network.
303, mobile device adds target mesh network.
304, if the non-connecting wireless network of mobile device, mobile device is inquired about mobile device and is connected number of times at most and connect hours the longest SSID1 from least one SSID that mobile device prestores, and obtains the password that SSID1 and SSID1 is corresponding, performs step 306.
In the embodiment of the present invention, if the non-connecting wireless network of mobile device, mobile device is inquired about mobile device and is connected number of times at most and connect hours the longest SSID1 from least one SSID that mobile device prestores, and obtains the password that SSID1 and SSID1 is corresponding.When mobile device often connects a wireless network, during as connected WIFI, password corresponding for SSID and SSID of the WIFI network at every turn connected can store in a mobile device by mobile device, and add up the number of times that mobile device adds up to connect this WIFI network, when mobile device and this WIFI network disconnect, record move equipment and this WIFI network are added up the time be connected.Mobile device can be inquired about and be connected number of times with mobile device at most and connect hours the longest SSID1, obtains the password that SSID1 and SSID1 is corresponding, performs step 306.
305, if mobile device connecting wireless network, the password that SSID1 and SSID1 that mobile device acquisition mobile device is connecting is corresponding, performs step 306.
In the embodiment of the present invention, if mobile device connecting wireless network, the password that SSID1 and SSID1 that mobile device acquisition mobile device is connecting is corresponding, performs step 306.It should be noted that, when mobile device runs in IOS system, mobile device cannot obtain password corresponding to SSID1 and SSID1 that mobile device connecting.
306, mobile device prompting input authentication information.
In the embodiment of the present invention, after mobile device obtains password corresponding to SSID1 and SSID1, can export information in mobile device, mobile device can point out user to input authentication information.
307, mobile device detects the authentication information of input.
In the embodiment of the present invention, after mobile device prompting input authentication information, detect the authentication information of input, the identity information of input can be inputted by user.
308, mobile device obtains first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run.
In the embodiment of the present invention, while mobile device detects the authentication information of input, mobile device obtains first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run.Such as, mobile device can send SMS message to the designated contact in address list (short message comprises with reference to authentication information acquisition request), and designated contact can set in advance; Mobile device can send to the social user of appointment in the social activity application run and obtain request message with reference to authentication information, specifies social user to set in advance.After designated contact receives short message, whether effective confirm to obtain request with reference to authentication information, if confirm the validity, designated contact sends first with reference to authentication information to mobile device; Confirm whether reference authentication information obtains request effective when the social user of appointment receives with reference to authentication information acquisition request message, if confirm the validity, specify social user to send second with reference to authentication information to mobile device, mobile device obtains the first reference information and the second reference information.
309, whether mobile device checking first is identical with reference to authentication information with second with reference to authentication information; If so, perform step 310, if not, prompting first is not identical with reference to authentication information with second with reference to authentication information.
In the embodiment of the present invention, whether mobile device checking first is identical with reference to authentication information with second with reference to authentication information; If so, confirm that first is effective authentication information with reference to authentication information and second with reference to authentication information, perform step 310.
310, mobile device using first with reference to authentication information or second with reference to authentication information as effective authentication information.
In the embodiment of the present invention, when mobile device checking first with reference to authentication information with second with reference to authentication information identical time, using first with reference to authentication information or second reference authentication information as effective authentication information.
311, whether mobile device compares authentication information consistent with effective authentication information, if so, perform step 312, if not, prompting authentication information and effective authentication information inconsistent.
In the embodiment of the present invention, whether mobile device compares authentication information consistent with effective authentication information, if unanimously, performs step 312.
312, the service set SSID1 that mobile device is obtained by target mesh network by mobile device in advance and password corresponding to SSID1 be sent to target main sound box in target mesh network, add target radio network corresponding to SSID1 to make target main sound box.
Step 301 in the embodiment of the present invention ~ step 303 can be shown in Figure 2 step 201 ~ step 203, the step 204 that step 312 can be shown in Figure 2, the embodiment of the present invention repeats no more.
In the embodiment of the present invention, after mobile device obtains password corresponding to SSID1 and SSID1, mobile device needs the identity information of authentication of users, when the authentication information that mobile device compares input is consistent with effective authentication information that mobile device obtains, the password that the service set SSID1 that mobile device is obtained by target mesh network by mobile device in advance and SSID1 is corresponding is sent to the target main sound box in target mesh network, adds target radio network corresponding to SSID1 to make target main sound box.Implement the embodiment of the present invention, can the authentication information of authentication of users, prevent the user of unauthenticated from mobile device is accessed target mesh network, improve the fail safe that mobile device adds mesh network.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses another kind of method for connecting network.Refer to Fig. 4, Fig. 4 is the flow chart of another kind of method for connecting network disclosed in the embodiment of the present invention.As shown in Figure 4, this method for connecting network can comprise the following steps:
401, mobile device search mesh networks.
402, when mobile device searches at least one mesh network, mobile device selects a mesh network as target mesh network from least one mesh network.
403, mobile device adds target mesh network.
404, if the non-connecting wireless network of mobile device, mobile device is inquired about mobile device and is connected number of times at most and connect hours the longest SSID1 from least one SSID that mobile device prestores, and obtains the password that SSID1 and SSID1 is corresponding, performs step 406.
405, if mobile device connecting wireless network, the password that SSID1 and SSID1 that mobile device acquisition mobile device is connecting is corresponding, performs step 406.
406, mobile device prompting input authentication information.
407, mobile device detects the authentication information of input.
408, mobile device obtains first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run.
409, mobile device splices first with reference to authentication information and the second reference authentication information becomes effective authentication information.
In the embodiment of the present invention, mobile device splices with reference to authentication information the mode becoming effective authentication information with reference to authentication information and second by first and is specifically as follows: mobile device splices first with reference to all or part of of authentication information with second with reference to all or part of of authentication information, such as, first comprises A1 with reference to authentication information, (the first reference authentication information can be understood as the name of designated contact to B1 and C1, as, A1 is the surname of designated contact), second comprises A2 and B2 with reference to authentication information, and (second can be understood as the name of specifying social user with reference to authentication information, as, A2 is the name of designated contact), can splice first with reference to the A2 in authentication information with reference to the A1 in authentication information and second, obtain effective authentication information.
410, whether mobile device compares authentication information consistent with effective authentication information, if so, perform step 411, if not, prompting authentication information and effective authentication information inconsistent.
411, the service set SSID1 that mobile device is obtained by target mesh network by mobile device in advance and password corresponding to SSID1 be sent to target main sound box in target mesh network, add target radio network corresponding to SSID1 to make target main sound box.
Step 401 in the embodiment of the present invention ~ step 403 can be shown in Figure 2 step 201 ~ step 203, step 404 ~ step 408 can be shown in Figure 3 step 304 ~ step 308, step 410 can be shown in Figure 3 step 311, step 411 can be shown in Figure 2 step 204, the embodiment of the present invention repeats no more.
In the embodiment of the present invention, after mobile device obtains password corresponding to SSID1 and SSID1, mobile device needs the identity information of authentication of users, mobile device is spliced into effective authentication information with reference to authentication information and second with reference to authentication information by obtain first, when the authentication information that mobile device compares input is consistent with effective authentication information that mobile device obtains, the password that the service set SSID1 that mobile device is obtained by target mesh network by mobile device in advance and SSID1 is corresponding is sent to the target main sound box in target mesh network, target radio network corresponding to SSID1 is added to make target main sound box.Implement the embodiment of the present invention, can the authentication information of authentication of users, prevent the user of unauthenticated from mobile device is accessed target mesh network, improve the fail safe that mobile device adds mesh network.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses a kind of mobile device.Refer to the structural representation that 5, Fig. 5 is a kind of mobile device disclosed in the embodiment of the present invention.As shown in Figure 5, this mobile device can comprise search unit 501, selected cell 502, add unit 503 and transmitting element 504, wherein:
Search unit 501, for searching for mesh network.
In the embodiment of the present invention, search unit 501 can be real-time or mesh network periodically near search, when search unit 501 searches for neighbouring mesh network, mobile device can not connect any wireless network, and mobile device also can connect a wireless network.When search unit 501 searches for mesh network, mobile device is not set up network with any wireless sound box and is connected.
Selected cell 502, during for searching at least one mesh network when search unit 501, selects a mesh network as target mesh network from least one mesh network.
In the embodiment of the present invention, after search unit 501 searches at least one mesh network, selected cell 502 selects a mesh network as target mesh network from least one mesh network, and selected cell 502 selects a mesh network as the mode of target mesh network can be from least one mesh network: the mesh network that selected cell 502 selects signal the strongest from least one mesh network is as target mesh network.
Optionally, as shown in Figure 6, selected cell 502 can comprise:
First chooser unit 5201, for the effective mesh network selecting mesh network name to comprise preset keyword from least one mesh network;
Second chooser unit 5202, for from effective mesh network, select priority the highest according to mesh network priority mesh network as target mesh network, wherein, mesh network priority is determined based on mobile device and mesh network successful connection number of times.
In the embodiment of the present invention, first chooser unit 5201 selects mesh network name to comprise effective mesh network of preset keyword from least one mesh network, preset keyword can comprise some specific characters, such as, preset keyword can be one or several the combination in " OPPO ", " Mesh ", " OPPO-Mesh ", " Mesh-OPPO ".The mesh network that second chooser unit 5202 selects priority the highest according to mesh network priority from effective mesh network as target mesh network can be: the second chooser unit 5202 from effective mesh network optional m igration equipment and the maximum mesh network of mesh network successful connection number of times as target mesh network, after each and mesh network successful connection of mobile device, the number of times of mobile device and this mesh network successful connection adds 1.In concrete scene, for example, if search unit 501 has searched 5 mesh networks, preset keyword is " Mesh ", 5 mesh network of network titles are respectively " Mesh-1 ", " Mesh-2 ", " Mesh-3 ", " TP-12 ", " TP-34 ", first chooser unit 5201 selects mesh network name to comprise effective mesh network of preset keyword for " Mesh-1 " from 5 mesh networks, " Mesh-2 " and " Mesh-3 ", if mobile device is 3 times with the number of times of " Mesh-1 " successful connection, if mobile device is 2 times with the number of times of " Mesh-2 " successful connection, if mobile device is 0 time with the number of times of " Mesh-3 " successful connection, second chooser unit 5202 selects " Mesh-1 " as target mesh network.
Add unit 503, for adding target mesh network.
In the embodiment of the present invention, when selected cell 502 select from least one mesh network a mesh network as target mesh network after, add unit 503 and add target mesh network.
Optionally, as shown in Figure 7, add unit 503 can comprise:
Mutual subelement 5301, the broadcast that the target main sound box for identifying in target mesh network sends, sends to target main sound box the confirmation comprising mobile device mark and adds message;
Mutual subelement 5301, the interpolation instruction of password corresponding to SSID2 and SSID2 comprising target mesh network also sent for receiving target main sound box, wherein, add instruction be target main sound box receive the confirmation add message after confirm that mobile device sends when being designated effective device identification;
Adding subelement 5302, the password that SSID2 and SSID2 for resolving interpolation instruction acquisition target mesh network is corresponding, adding target mesh network.
In the embodiment of the present invention, selected cell 502 selects a mesh network as target mesh network from least one mesh network, obtain the target main sound box mark of the target main sound box in target mesh network, all have a main sound box to communicate with outside at least one mesh network in each mesh network, main sound box outwards can send broadcast.Mutual subelement 5301 can receive the broadcast that at least one main sound box sends over, broadcast carries main sound box mark, when mutual subelement 5301 identifies that main sound box is designated target main sound box mark, send to target main sound box the confirmation comprising mobile device mark and add message; Target main sound box confirms after receiving the confirmation and adding message whether mobile device mark is effective device identification, if, target main sound box sends the service set (ServiceSetIdentifier comprising target mesh network to mobile device, the interpolation instruction of the password that SSID) SSID2 and SSID2 is corresponding, after mutual subelement 5301 receives and adds instruction, add the password that SSID2 and SSID2 of subelement 5302 parsing interpolation instruction acquisition target mesh network is corresponding, add target mesh network.
Transmitting element 504, be sent to the target main sound box in target mesh network for the password that the service set SSID1 that obtained in advance by mobile device by target mesh network and SSID1 is corresponding, add target radio network corresponding to SSID1 to make target main sound box.
In the embodiment of the present invention, service set (the ServiceSetIdentifier that mobile device obtains in advance, SSID) one in the SSID of wireless network that connects before can being mobile device of SSID1, also can be the SSID of the wireless network that mobile device is connecting, the service set of target radio network be SSID1.The password that the service set SSID1 that mobile device is obtained by target mesh network by transmitting element 504 in advance and SSID1 is corresponding is sent to the target main sound box in target mesh network, and the password that target main sound box receives SSID1 and SSID1 corresponding adds target radio network corresponding to SSID1.Implement the embodiment of the present invention, can mobile device do not set up with main sound box the wireless network such as bluetooth or WIFI be connected time, main sound box is connected to wireless network.
In the embodiment of the present invention, search unit 501 searches for mesh network; When mobile device searches at least one mesh network, selected cell 502 selects a mesh network as target mesh network from least one mesh network; Add unit 503 and add target mesh network; The password that the service set SSID1 that mobile device is obtained by target mesh network by transmitting element 504 in advance and SSID1 is corresponding is sent to the target main sound box in target mesh network, adds target radio network corresponding to SSID1 to make target main sound box.Implement the embodiment of the present invention, can mobile device do not set up with main sound box the wireless network such as bluetooth or WIFI be connected time, main sound box is connected to wireless network.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses another kind of mobile device.Refer to the structural representation that 8, Fig. 8 is another kind of mobile device disclosed in the embodiment of the present invention.As shown in Figure 8, this mobile device is except comprising search unit 501, selected cell 502 described by Fig. 5, adding except unit 503 and transmitting element 504, also comprise the first acquiring unit 505, second acquisition unit 506, Tip element 507, detecting unit 508, the 3rd acquiring unit 509, authentication unit 510, determining unit 511 and comparing unit 512, wherein:
First acquiring unit 505, for when the non-connecting wireless network of mobile device, inquires about mobile device and connects number of times at most and connect hours the longest SSID1, obtain the password that SSID1 and SSID1 is corresponding from least one SSID that mobile device prestores.
In the embodiment of the present invention, if the non-connecting wireless network of mobile device, first acquiring unit 505 is inquired about mobile device and is connected number of times at most and connect hours the longest SSID1 from least one SSID that mobile device prestores, and obtains the password that SSID1 and SSID1 is corresponding.When mobile device often connects a wireless network, during as connected WIFI, password corresponding for SSID and SSID of the WIFI network at every turn connected can store in a mobile device by mobile device, and add up the number of times that mobile device adds up to connect this WIFI network, when mobile device and this WIFI network disconnect, record move equipment and this WIFI network are added up the time be connected.First acquiring unit 505 can be inquired about and be connected number of times with mobile device at most and connect hours the longest SSID1, and obtain the password that SSID1 and SSID1 is corresponding, trigger prompts unit 507 points out input authentication information.
Second acquisition unit 506, for when mobile device connecting wireless network, obtains the password that SSID1 and SSID1 that mobile device connecting is corresponding.
In the embodiment of the present invention, if mobile device connecting wireless network, second acquisition unit 506 obtains password corresponding to SSID1 and SSID1 that mobile device connecting, and trigger prompts unit 507 points out input authentication information.It should be noted that, when mobile device runs in IOS system, second acquisition unit 506 cannot obtain password corresponding to SSID1 and SSID1 that mobile device connecting.
Tip element 507, for pointing out input authentication information.
In the embodiment of the present invention, after the first acquiring unit 505 or second acquisition unit 506 obtain password corresponding to SSID1 and SSID1, can export information in mobile device, Tip element 507 points out user to input authentication information.
Detecting unit 508, for detecting the authentication information of input.
In the embodiment of the present invention, after Tip element 507 points out input authentication information, detecting unit 508 detects the authentication information of input, and the identity information of input can be inputted by user.
3rd acquiring unit 509, for obtaining first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run.
In the embodiment of the present invention, while detecting unit 508 detects the authentication information of input, 3rd acquiring unit 509 can obtain first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run.Such as, the 3rd acquiring unit 509 can send SMS message to the designated contact in address list (short message comprises with reference to authentication information acquisition request), and designated contact can set in advance; 3rd acquiring unit 509 can send to the social user of appointment in the social activity application run and obtain request message with reference to authentication information, specifies social user to set in advance.After designated contact receives short message, whether effective confirm to obtain request with reference to authentication information, if confirm the validity, designated contact sends first with reference to authentication information to mobile device; Confirm whether reference authentication information obtains request effective when the social user of appointment receives with reference to authentication information acquisition request message, if confirm the validity, specify social user to send second with reference to authentication information to mobile device, the 3rd acquiring unit 509 obtains the first reference information and the second reference information.
Authentication unit 510, for verifying that whether first is identical with reference to authentication information with second with reference to authentication information.
In the embodiment of the present invention, authentication unit 510 verifies that whether first is identical with reference to authentication information with second with reference to authentication information; If so, confirm that first is effective authentication information with reference to authentication information and second with reference to authentication information.
Determining unit 511, for when authentication unit 510 the result is for being, using first with reference to authentication information or second with reference to authentication information as effective authentication information.
In the embodiment of the present invention, when authentication unit 510 verify first with reference to authentication information with second with reference to authentication information identical time, determining unit 511 using first with reference to authentication information or second reference authentication information as effective authentication information.
Comparing unit 512, whether consistent with effective authentication information for comparing authentication information.
In the embodiment of the present invention, whether comparing unit 512 compares authentication information consistent with effective authentication information, when comparing unit 512 comparative result is for being, triggers password corresponding to service set SSID1 that mobile device obtained by target mesh network by transmitting element 504 in advance and SSID1 and being sent to target main sound box in target mesh network.
In the embodiment of the present invention, after the first acquiring unit 505 obtains password corresponding to SSID1 and SSID1, authentication unit 510 needs the identity information of authentication of users, when the authentication information that comparing unit 512 compares input is consistent with effective authentication information that mobile device obtains, the password that the service set SSID1 that mobile device is obtained by target mesh network by transmitting element 504 in advance and SSID1 is corresponding is sent to the target main sound box in target mesh network, adds target radio network corresponding to SSID1 to make target main sound box.Implement the embodiment of the present invention, can the authentication information of authentication of users, prevent the user of unauthenticated from mobile device is accessed target mesh network, improve the fail safe that mobile device adds mesh network.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses another kind of mobile device.Refer to the structural representation that 9, Fig. 9 is another kind of mobile device disclosed in the embodiment of the present invention.As shown in Figure 9, this mobile device is except comprising search unit 501, selected cell 502 described by Fig. 5, adding except unit 503 and transmitting element 504, also comprise the first acquiring unit 505, second acquisition unit 506, Tip element 507, detecting unit 508, the 3rd acquiring unit 509, concatenation unit 513 and comparing unit 512, wherein:
First acquiring unit 505, for when the non-connecting wireless network of mobile device, inquires about mobile device and connects number of times at most and connect hours the longest SSID1, obtain the password that SSID1 and SSID1 is corresponding from least one SSID that mobile device prestores.
Second acquisition unit 506, for when mobile device connecting wireless network, obtains the password that SSID1 and SSID1 that mobile device connecting is corresponding.
Tip element 507, for pointing out input authentication information.
Detecting unit 508, for detecting the authentication information of input.
3rd acquiring unit 509, for obtaining first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run.
Concatenation unit 513, becomes effective authentication information for splicing first with reference to authentication information and the second reference authentication information.
In the embodiment of the present invention, concatenation unit 513 splices with reference to authentication information the mode becoming effective authentication information with reference to authentication information and second by first and is specifically as follows: concatenation unit 513 splices first with reference to all or part of of authentication information with second with reference to all or part of of authentication information, such as, first comprises A1 with reference to authentication information, (the first reference authentication information can be understood as the name of designated contact to B1 and C1, as, A1 is the surname of designated contact), second comprises A2 and B2 with reference to authentication information, and (second can be understood as the name of specifying social user with reference to authentication information, as, A2 is the name of designated contact), concatenation unit 513 can splice first with reference to the A2 in authentication information with reference to the A1 in authentication information and second, obtain effective authentication information.
Comparing unit 512, whether consistent with effective authentication information for comparing authentication information.
When comparing unit 512 comparative result is for being, triggers password corresponding to service set SSID1 that mobile device obtained by target mesh network by transmitting element 504 in advance and SSID1 and being sent to target main sound box in target mesh network.
In the embodiment of the present invention, after the first acquiring unit 505 obtains password corresponding to SSID1 and SSID1, authentication unit 510 needs the identity information of authentication of users, concatenation unit 513 is spliced into effective authentication information with reference to authentication information and second with reference to authentication information by obtain first, when the authentication information that comparing unit 512 compares input is consistent with effective authentication information that mobile device obtains, the password that the service set SSID1 that mobile device is obtained by target mesh network by transmitting element 504 in advance and SSID1 is corresponding is sent to the target main sound box in target mesh network, target radio network corresponding to SSID1 is added to make target main sound box.Implement the embodiment of the present invention, can the authentication information of authentication of users, prevent the user of unauthenticated from mobile device is accessed target mesh network, improve the fail safe that mobile device adds mesh network.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, read-only memory (Read-OnlyMemory, ROM), random access device (RandomAccessMemory, RAM), disk or CD etc.
A kind of method for connecting network provided the embodiment of the present invention above and mobile device are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (10)
1. a method for connecting network, is characterized in that, comprising:
Mobile device search mesh network;
When described mobile device searches at least one mesh network, described mobile device selects a mesh network as target mesh network from least one mesh network described;
Described mobile device adds described target mesh network;
The password that the service set SSID1 that described mobile device is obtained by described target mesh network by described mobile device in advance and described SSID1 is corresponding is sent to the target main sound box in described target mesh network, adds target radio network corresponding to described SSID1 to make described target main sound box.
2. method according to claim 1, it is characterized in that, after described mobile device adds described target mesh network, and before password corresponding to the service set SSID1 that obtained in advance by described mobile device by described target mesh network of described mobile device and described SSID1 be sent to the main sound box in described target mesh network, described method also comprises:
If the non-connecting wireless network of described mobile device, described mobile device is inquired about described mobile device and is connected number of times at most and connect hours the longest SSID1 from least one SSID that described mobile device prestores, and obtains the password that described SSID1 and described SSID1 is corresponding;
If described mobile device connecting wireless network, described mobile device obtains password corresponding to SSID1 that described mobile device connecting and described SSID1;
Described mobile device prompting input authentication information;
Described mobile device detects the authentication information of input;
Described mobile device obtains first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run;
Whether described mobile device checking described first is identical with reference to authentication information with described second with reference to authentication information; If identical, described mobile device using described first with reference to authentication information or described second with reference to authentication information as effective authentication information;
Whether the more described authentication information of described mobile device is consistent with described effective authentication information;
If consistent, described mobile device performs the step that password corresponding to the described service set SSID1 that obtained in advance by described mobile device by described target mesh network and described SSID1 is sent to the target main sound box in described target mesh network.
3. method according to claim 1, it is characterized in that, after described mobile device adds described target mesh network, and before password corresponding to the service set SSID1 that obtained in advance by described mobile device by described target mesh network of described mobile device and described SSID1 be sent to the main sound box in described target mesh network, described method also comprises:
If the non-connecting wireless network of described mobile device, described mobile device is inquired about described mobile device and is connected number of times at most and connect hours the longest SSID1 from least one SSID that described mobile device prestores, and obtains the password that described SSID1 and described SSID1 is corresponding;
If described mobile device connecting wireless network, described mobile device obtains password corresponding to SSID1 that described mobile device connecting and described SSID1;
Described mobile device prompting input authentication information;
Described mobile device detects the authentication information of input;
Described mobile device obtains first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run;
Described mobile device splices described first with reference to authentication information and described second reference authentication information becomes effective authentication information;
Whether the more described authentication information of described mobile device is consistent with described effective authentication information;
If consistent, described mobile device performs the step that password corresponding to the described service set SSID1 that obtained in advance by described mobile device by described target mesh network and described SSID1 is sent to the target main sound box in described target mesh network.
4. method according to claim 1, is characterized in that, described mobile device adds described target mesh network, comprising:
The broadcast that target main sound box in target mesh network described in described mobile device identification sends, sends to described target main sound box the confirmation comprising mobile device mark and adds message;
Described mobile device receives the interpolation instruction of the SSID2 comprising described target mesh network that described target main sound box sends and password corresponding to described SSID2, wherein, described interpolation instruction is that described target main sound box receives after described confirmation adds message and confirms that described mobile device sends when being designated effective device identification;
Described mobile device is resolved described interpolation instruction and is obtained password corresponding to the SSID2 of described target mesh network and described SSID2, adds described target mesh network.
5. the method according to any one of Claims 1 to 4, is characterized in that, described mobile device selects a mesh network as target mesh network from least one mesh network described, comprising:
Described mobile device selects mesh network name to comprise effective mesh network of preset keyword from least one mesh network described;
The mesh network that described mobile device selects priority the highest according to mesh network priority from described effective mesh network is as target mesh network, wherein, described mesh network priority is determined based on described mobile device and described mesh network successful connection number of times.
6. a mobile device, is characterized in that, comprising:
Search unit, for searching for mesh network;
Selected cell, during for searching at least one mesh network when described search unit, selects a mesh network as target mesh network from least one mesh network described;
Add unit, for adding described target mesh network;
Transmitting element, be sent to the target main sound box in described target mesh network for the password that the service set SSID1 that obtained in advance by mobile device by described target mesh network and described SSID1 is corresponding, add target radio network corresponding to described SSID1 to make described target main sound box.
7. mobile device according to claim 6, it is characterized in that, describedly add after unit adds described target mesh network, and before password corresponding to the service set SSID1 that obtained in advance by mobile device by described target mesh network of described transmitting element and described SSID1 be sent to the main sound box in described target mesh network, described mobile device also comprises:
First acquiring unit, for when the non-connecting wireless network of mobile device, from at least one SSID that described mobile device prestores, inquire about described mobile device connect number of times at most and connect hours the longest SSID1, obtain the password that described SSID1 and described SSID1 is corresponding;
Second acquisition unit, for when described mobile device connecting wireless network, obtains the password that SSID1 that described mobile device connecting and described SSID1 is corresponding;
Tip element, for pointing out input authentication information;
Detecting unit, for detecting the authentication information of input;
3rd acquiring unit, for obtaining first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run;
Authentication unit, for verifying that whether described first is identical with reference to authentication information with described second with reference to authentication information;
Determining unit, for when described authentication unit the result is for being, using described first with reference to authentication information or described second with reference to authentication information as effective authentication information;
Comparing unit, whether consistent with described effective authentication information for more described authentication information;
When described comparing unit comparative result is for being, triggers password corresponding to service set SSID1 that described mobile device obtained by described target mesh network by described transmitting element in advance and described SSID1 and being sent to target main sound box in described target mesh network.
8. mobile device according to claim 6, it is characterized in that, describedly add after unit adds described target mesh network, and before password corresponding to the service set SSID1 that obtained in advance by mobile device by described target mesh network of described transmitting element and described SSID1 be sent to the main sound box in described target mesh network, described mobile device also comprises:
First acquiring unit, for when the non-connecting wireless network of mobile device, from at least one SSID that described mobile device prestores, inquire about described mobile device connect number of times at most and connect hours the longest SSID1, obtain the password that described SSID1 and described SSID1 is corresponding;
Second acquisition unit, for when described mobile device connecting wireless network, obtains the password that SSID1 that described mobile device connecting and described SSID1 is corresponding;
Tip element, for pointing out input authentication information;
Detecting unit, for detecting the authentication information of input;
3rd acquiring unit, for obtaining first with reference to authentication information to the designated contact in address list, and obtains second with reference to authentication information to the social user of appointment in the social activity application run;
Concatenation unit, becomes effective authentication information for splicing described first with reference to authentication information and described second reference authentication information;
Comparing unit, whether consistent with described effective authentication information for more described authentication information;
When described comparing unit comparative result is for being, triggers password corresponding to service set SSID1 that described mobile device obtained by described target mesh network by described transmitting element in advance and described SSID1 and being sent to target main sound box in described target mesh network.
9. mobile device according to claim 6, is characterized in that, described in add unit and comprise:
Mutual subelement, the broadcast that the target main sound box for identifying in described target mesh network sends, sends to described target main sound box the confirmation comprising mobile device mark and adds message;
Described mutual subelement, also for receiving the interpolation instruction of the SSID2 comprising described target mesh network that described target main sound box sends and password corresponding to described SSID2, wherein, described interpolation instruction is that described target main sound box receives after described confirmation adds message and confirms that described mobile device sends when being designated effective device identification;
Add subelement, obtaining password corresponding to the SSID2 of described target mesh network and described SSID2 for resolving described interpolation instruction, adding described target mesh network.
10. the mobile device according to any one of claim 6 ~ 9, is characterized in that, described selected cell comprises:
First chooser unit, comprises effective mesh network of preset keyword for selecting mesh network name from least one mesh network described;
Second chooser unit, for from described effective mesh network, select priority the highest according to mesh network priority mesh network as target mesh network, wherein, described mesh network priority is determined based on described mobile device and described mesh network successful connection number of times.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510751070.5A CN105451300B (en) | 2015-11-04 | 2015-11-04 | A kind of method for connecting network and mobile device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510751070.5A CN105451300B (en) | 2015-11-04 | 2015-11-04 | A kind of method for connecting network and mobile device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105451300A true CN105451300A (en) | 2016-03-30 |
CN105451300B CN105451300B (en) | 2019-02-01 |
Family
ID=55560975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510751070.5A Active CN105451300B (en) | 2015-11-04 | 2015-11-04 | A kind of method for connecting network and mobile device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105451300B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107454657A (en) * | 2016-05-31 | 2017-12-08 | 九阳股份有限公司 | A kind of voice matches somebody with somebody network method |
CN107959553A (en) * | 2017-02-21 | 2018-04-24 | 北京百瑞互联技术有限公司 | The method that lifting blueteeth network enters net spee |
CN108199905A (en) * | 2018-02-01 | 2018-06-22 | 乐鑫信息科技(上海)有限公司 | MESH network and its MESH equipment and with network method |
CN108252461A (en) * | 2018-01-16 | 2018-07-06 | 广州格绿朗遮阳篷科技有限公司 | A kind of intelligent sunshading method based on internet of things |
CN109921969A (en) * | 2019-03-27 | 2019-06-21 | 魏嘉琦 | A kind of communication means applied to smart home |
CN111955018A (en) * | 2018-05-02 | 2020-11-17 | 谷歌有限责任公司 | Wireless solution for Bluetooth stereo audio playback |
WO2020253695A1 (en) * | 2019-06-17 | 2020-12-24 | 华为技术有限公司 | Smart home device access method and electronic device |
CN112217831A (en) * | 2017-09-18 | 2021-01-12 | 创新先进技术有限公司 | Information interaction method, device and equipment about Internet of things equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130272164A1 (en) * | 2012-04-17 | 2013-10-17 | Econais Ae | Systems and methods of wi-fi enabled device configuration |
CN103607751A (en) * | 2013-11-18 | 2014-02-26 | 深圳市通力科技开发有限公司 | Wireless device configuration method and system |
CN104683994A (en) * | 2015-03-18 | 2015-06-03 | 北京联盛德微电子有限责任公司 | Wireless network configuration method and wireless network devices |
CN104918302A (en) * | 2015-05-29 | 2015-09-16 | 广东欧珀移动通信有限公司 | Method for constructing mesh network and wireless sound box |
-
2015
- 2015-11-04 CN CN201510751070.5A patent/CN105451300B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130272164A1 (en) * | 2012-04-17 | 2013-10-17 | Econais Ae | Systems and methods of wi-fi enabled device configuration |
CN103607751A (en) * | 2013-11-18 | 2014-02-26 | 深圳市通力科技开发有限公司 | Wireless device configuration method and system |
CN104683994A (en) * | 2015-03-18 | 2015-06-03 | 北京联盛德微电子有限责任公司 | Wireless network configuration method and wireless network devices |
CN104918302A (en) * | 2015-05-29 | 2015-09-16 | 广东欧珀移动通信有限公司 | Method for constructing mesh network and wireless sound box |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107454657B (en) * | 2016-05-31 | 2020-10-27 | 九阳股份有限公司 | Voice network distribution method |
CN107454657A (en) * | 2016-05-31 | 2017-12-08 | 九阳股份有限公司 | A kind of voice matches somebody with somebody network method |
CN107959553B (en) * | 2017-02-21 | 2020-10-02 | 北京百瑞互联技术有限公司 | Method for improving network access speed of Bluetooth network |
CN107959553A (en) * | 2017-02-21 | 2018-04-24 | 北京百瑞互联技术有限公司 | The method that lifting blueteeth network enters net spee |
CN112217831A (en) * | 2017-09-18 | 2021-01-12 | 创新先进技术有限公司 | Information interaction method, device and equipment about Internet of things equipment |
CN108252461A (en) * | 2018-01-16 | 2018-07-06 | 广州格绿朗遮阳篷科技有限公司 | A kind of intelligent sunshading method based on internet of things |
WO2019149036A1 (en) * | 2018-02-01 | 2019-08-08 | 乐鑫信息科技(上海)股份有限公司 | Mesh network and mesh device and network distribution method thereof |
US11109185B2 (en) | 2018-02-01 | 2021-08-31 | Espressif Systems (Shanghai) Co., Ltd. | Mesh network and mesh device and network distribution method thereof |
CN108199905A (en) * | 2018-02-01 | 2018-06-22 | 乐鑫信息科技(上海)有限公司 | MESH network and its MESH equipment and with network method |
CN111955018A (en) * | 2018-05-02 | 2020-11-17 | 谷歌有限责任公司 | Wireless solution for Bluetooth stereo audio playback |
US11690109B2 (en) | 2018-05-02 | 2023-06-27 | Google Llc | True wireless solution for BT stereo audio playback |
US11071150B2 (en) | 2018-05-02 | 2021-07-20 | Google Llc | True wireless solution for BT stereo audio playback |
CN111955018B (en) * | 2018-05-02 | 2022-02-01 | 谷歌有限责任公司 | Method and system for connecting an audio accessory device with a client computing device |
CN109921969A (en) * | 2019-03-27 | 2019-06-21 | 魏嘉琦 | A kind of communication means applied to smart home |
CN109921969B (en) * | 2019-03-27 | 2021-07-30 | 魏嘉琦 | Communication method applied to smart home |
WO2020253695A1 (en) * | 2019-06-17 | 2020-12-24 | 华为技术有限公司 | Smart home device access method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN105451300B (en) | 2019-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105451300A (en) | Network connection method and mobile equipment | |
CN105307143B (en) | A kind of method for connecting network and wireless sound box | |
US9749324B2 (en) | System, device and method for network authorization based on no password or random password | |
CN105007201A (en) | Method for accessing network, wireless sound box and system | |
CN108781473B (en) | Method and equipment for sharing files among different terminals | |
CN103068066A (en) | Intelligent mobile communication terminal and wireless network access method and system thereof | |
CN103068070A (en) | Negotiation method, mobile terminal, base station and communication system of protocol version | |
CN105142010A (en) | Bluetooth connection selection method of multi-play device and main play device | |
WO2021082527A1 (en) | Communication method and system, base station and terminal | |
CN107135149B (en) | Method and equipment for recommending social users | |
CN106686752B (en) | It is a kind of that the method and apparatus being wirelessly connected is established by the first application on user equipment | |
CN104767767A (en) | Method, device and system for sharing Internet access data and network equipment | |
CN104918302B (en) | A kind of method and wireless sound box for building wireless mesh network | |
CN109417492A (en) | A kind of network function NF management method and NF management equipment | |
CN105187900A (en) | Wireless connection control method for playing system and playing equipment | |
CN105282829A (en) | Network connecting method and wireless speaker | |
CN103209418A (en) | Mobile terminal and wireless fidelity (WIFI) hot spot information updating method thereof | |
CN104754132A (en) | Electronic device and method of determining operating mode of electronic device | |
KR20160103115A (en) | Method, apparatus and system for selecting authentication algorithm | |
CN104703211A (en) | A virtualization accessing method and apparatus | |
CN105451129A (en) | Network switching method and wireless loudspeaker box | |
EP3833153B1 (en) | Network connection methods and devices | |
WO2017031870A1 (en) | Playing device grouping control method and user terminal | |
CN113810899A (en) | eSIM device configuration system, method, apparatus and storage medium | |
WO2016173070A1 (en) | Terminal network searching method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |