Nothing Special   »   [go: up one dir, main page]

CN105162670B - Routing device connection method and device - Google Patents

Routing device connection method and device Download PDF

Info

Publication number
CN105162670B
CN105162670B CN201510641165.1A CN201510641165A CN105162670B CN 105162670 B CN105162670 B CN 105162670B CN 201510641165 A CN201510641165 A CN 201510641165A CN 105162670 B CN105162670 B CN 105162670B
Authority
CN
China
Prior art keywords
hotspot device
device information
information
character
character string
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.)
Active
Application number
CN201510641165.1A
Other languages
Chinese (zh)
Other versions
CN105162670A (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 Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology 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 Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201510641165.1A priority Critical patent/CN105162670B/en
Publication of CN105162670A publication Critical patent/CN105162670A/en
Application granted granted Critical
Publication of CN105162670B publication Critical patent/CN105162670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of routing device connection method and devices, belong to smart home field.The method includes:Continuous several times carry out hotspot device scanning, obtain multiple hotspot device information;The multiple hotspot device information obtained to scanning parses, and obtains multiple character strings;The multiple character string obtained to parsing is combined, and obtains the facility information of target routing device;Based on the facility information that combination obtains, it is attached with the target routing device.The present invention is by control device based on the facility information of target routing device, facility information is converted into multiple hotspot device information, equipment to be connected is enabled to automatically derive facility information by hotspot device scanning and subsequent data handling procedure, so as to fulfill the connection with target routing device, avoid manual operation, the degree of automation is improved, and multiple electronic equipment can disposably be configured, largely avoided the situation of connection error.

Description

Routing device connection method and device
Technical field
The present invention relates to smart home field, more particularly to a kind of routing device connection method and device.
Background technology
With flourishing for smart home technology, more and more household electric appliances such as sound equipment, electric light etc. are also begun to To intelligent development, user can be by the way that electronic equipment to be configured to connect with routing device in family, so as to fulfill networking work( Energy.
However, the connection of existing routing device, generally require electronic equipment and start one in itself and exempt from password hot spot, by third Method, apparatus such as mobile phone etc. logs on to this and exempts from password hot spot, and connection routing device institute is configured by accessing a webpage thereon The routing iinformation needed, the final connection established between routing device.
In the implementation of the present invention, inventor has found that the prior art has at least the following problems:This routing device An electronic equipment can only be configured in connection method each time, and needs to operate step by step manually, and the degree of automation is low, needs simultaneously The network connection of third party device is changed, step is complicated, easily malfunctions.
Invention content
In order to solve problem of the prior art, an embodiment of the present invention provides a kind of routing device connection method and devices. The technical solution is as follows:
On the one hand, a kind of routing device connection method is provided, the method includes:
Continuous several times carry out hotspot device scanning, obtain multiple hotspot device information;
The multiple hotspot device information obtained to scanning parses, and obtains multiple character strings;
The multiple character string obtained to parsing is combined, and obtains the facility information of target routing device;
Based on the facility information that combination obtains, it is attached with the target routing device.
On the other hand, a kind of routing device connection method is provided, the method includes:
Obtain the facility information of target routing device;
Character string conversion is carried out to the facility information, obtains equipment character string, and the equipment character string is torn open Point, obtain multiple character strings;
Respectively according to the multiple character string, multiple hotspot device information are generated;
The hot spot itself generated is configured successively based on the multiple hotspot device information so that electronic equipment is being swept It retouches after obtaining multiple hotspot device information, is attached according to the multiple hotspot device information and the target routing device.
Another aspect, provides a kind of routing device attachment device, and described device includes:
Scan module carries out hotspot device scanning for continuous several times, obtains multiple hotspot device information;
Parsing module, the multiple hotspot device information for being obtained to scanning parse, and obtain multiple character strings;
Composite module, the multiple character string for being obtained to parsing are combined, and obtain setting for target routing device Standby information;
Link block for the facility information obtained based on combination, is attached with the target routing device.
In another aspect, providing a kind of routing device attachment device, described device includes:
Data obtaining module, for obtaining the facility information of target routing device;
Character string acquisition module for carrying out character string conversion to the facility information, obtains equipment character string, and to institute It states equipment character string to be split, obtains multiple character strings;
Generation module, for according to the multiple character string, generating multiple hotspot device information respectively;
Hot spot configuration module, the hot spot for being generated based on the multiple hotspot device information to itself are matched successively It puts so that electronic equipment is after scanning obtains multiple hotspot device information, according to the multiple hotspot device information and the mesh Mark routing device is attached.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:By control device with target routing device Facility information based on, facility information is converted into multiple hotspot device information so that equipment to be connected can pass through hot spot Device scan and subsequent data handling procedure automatically derive facility information, so as to fulfill the connection with target routing device, Manual operation is avoided, the degree of automation is improved, and multiple electronic equipment can disposably be configured, largely avoided and connect out Wrong situation.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of flow chart of routing device connection method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of routing device connection method provided in an embodiment of the present invention;
Fig. 3 is a kind of implement scene schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of interaction schematic diagram of routing device connection method provided in an embodiment of the present invention;
Fig. 5 is a kind of structure diagram of routing device attachment device provided in an embodiment of the present invention;
Fig. 6 is a kind of structure diagram of routing device attachment device provided in an embodiment of the present invention;
Fig. 7 is a kind of structure diagram of terminal 700 provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is a kind of flow chart of routing device connection method provided in an embodiment of the present invention.Referring to Fig. 1, the method Including:
101st, continuous several times carry out hotspot device scanning, obtain multiple hotspot device information.
102nd, the multiple hotspot device information obtained to scanning parses, and obtains multiple character strings.
103rd, the multiple character string obtained to parsing is combined, and obtains the facility information of target routing device.
104th, the facility information obtained based on combination, is attached with the target routing device.
Method provided in an embodiment of the present invention, will by control device based on the facility information of target routing device Facility information is converted into multiple hotspot device information so that equipment to be connected can be scanned by hotspot device and subsequent number Facility information is automatically derived according to processing procedure, so as to fulfill the connection with target routing device, manual operation is avoided, improves The degree of automation, and multiple electronic equipment can disposably be configured, it largely avoided the situation of connection error.
Optionally, the continuous several times carry out hotspot device scanning, obtain multiple hotspot device information and include:
Using preset time period as sweep spacing, continuous several times carry out hotspot device scanning, obtain multiple hotspot devices successively Information.
Optionally, continuous several times carry out hotspot device scanning, obtain multiple hotspot device information and include:
Start hotspot device scanning;
If scanning obtains the hotspot device information for including bebinning character, continue hotspot device scanning, until scanning During to hotspot device information including termination character, terminate scanning process.
Optionally, the multiple hotspot device information obtained to scanning parses, and obtains multiple character strings and includes:
The multiple hotspot device information obtained to scanning is identified, and refers to when any one hotspot device information does not include During calibration character learning symbol, the hotspot device information of designated identification character is not included described in deletion;
From the specific field of remaining hotspot device information, the multiple character string is extracted.
Optionally, the specific field includes the field except the head and/or tail portion of the hotspot device information.
Optionally, the method further includes:
The multiple hotspot device information obtained to scanning parses, and obtains the order word of each hotspot device information Symbol, the order character are used to represent order of the character string in the facility information corresponding to hotspot device information.
Optionally, the multiple character string obtained to parsing is combined, and obtains the facility information of target routing device Including:
According to the clooating sequence indicated by the order character of each hotspot device information, parsing is obtained described more A character string is combined, and obtains the facility information of target routing device.
Optionally, the hotspot device information includes SSID (Service Set Identifier, the service of hotspot device Set identifier), BSSID (Basic Service Set Identifier, basic service set identifier) or hot spot cipher mode At least one of in.
The alternative embodiment that any combination forms the disclosure may be used, herein no longer in above-mentioned all optional technical solutions It repeats one by one.
Fig. 2 is a kind of flow chart of routing device connection method provided in an embodiment of the present invention.Referring to Fig. 2, the method Including:
201st, the facility information of target routing device is obtained.
202nd, character string conversion is carried out to the facility information, obtains equipment character string, and to the equipment character string into Row is split, and obtains multiple character strings.
203rd, multiple hotspot device information are generated according to the multiple character string respectively.
204th, the hot spot itself generated is configured successively based on the multiple hotspot device information so that electronic equipment After scanning obtains multiple hotspot device information, connected according to the multiple hotspot device information and the target routing device It connects.
Method provided in an embodiment of the present invention, will by control device based on the facility information of target routing device Facility information is converted into multiple hotspot device information so that equipment to be connected can be scanned by hotspot device and subsequent number Facility information is automatically derived according to processing procedure, so as to fulfill the connection with target routing device, manual operation is avoided, improves The degree of automation, and multiple electronic equipment can disposably be configured, it largely avoided the situation of connection error.
Optionally, multiple hotspot device information are generated and are included according to the multiple character string respectively:
Respectively in the head of each character string and/or tail portion addition designated identification character, the multiple hotspot device is obtained Information.
Optionally, multiple hotspot device information are generated and are included according to the multiple character string respectively:
According to order is split, the adding order character in each character string, obtains the multiple hotspot device information respectively.
Optionally, multiple hotspot device information are generated and are included according to the multiple character string respectively:
Bebinning character is added on obtained first character string is split;
Termination character is added on obtained last character string is split.
Optionally, configuration successively is carried out to the hot spot itself generated based on the multiple hotspot device information to include:
Using preset time period as change interval, according to the multiple hotspot device information, continuous several times change itself hot spot Hotspot device information.
Optionally, the hotspot device information includes the service set identifier SSID of hotspot device, basic service set identification Accord at least one in BSSID or hot spot cipher mode.
The alternative embodiment that any combination forms the disclosure may be used, herein no longer in above-mentioned all optional technical solutions It repeats one by one.
Fig. 3 is a kind of implement scene schematic diagram provided in an embodiment of the present invention, referring to Fig. 3, can be wrapped in the implement scene Household electric appliances, routing device and control device are included, which can establish with routing device and connect, to access Network, and itself can be set as hot spot by the control device, so as to provide network access facility for other electronic equipments.The family Occupying electronic equipment can be after the facility information of routing device be got, and the device identification and access in facility information are close The information such as code initiate access request, so as to be attached with routing device to routing device.Wherein, electronic equipment can be such as Intelligent bracelet, intelligent socket, smart television, intelligent refrigerator, intelligent air condition, intelligent radio, intelligent sound system and intelligent lamp Deng.And control device can be for smart mobile phone, tablet computer and with WiFi (Wireless Fidelity, Wireless Fidelity) work( PC (Personal Computer, PC) of energy etc..
Fig. 4 is a kind of interaction schematic diagram of routing device connection method provided in an embodiment of the present invention.Referring to Fig. 4, the friendship Mutual process includes:
401st, control device obtains the facility information of target routing device.
The control device can obtain the facility information of target routing device in advance, which can be at this Method has been stored in the routing device of control device before performing, can the current connected routing device of equipment in order to control, Or the routing device that control device user is configured by control device interface.For example, control device can provide one Facility information sets interface, is target by the apparatus information acquiring when detecting the facility information that user inputs at the interface The facility information of routing device.
It should be noted that the facility information can include device identification, access pin of routing device etc. for accessing The information of routing device, certainly, the information can also include hot spot cipher mode etc., and the embodiment of the present invention does not limit this specifically It is fixed.
402nd, control device carries out character string conversion to the facility information, obtains equipment character string, and to the equipment character String is split, and obtains multiple character strings.
Facility information can be converted into equipment character string, the conversion process by control device according to default converting algorithm It can regard a cataloged procedure as, used default converting algorithm can be Base64 coding techniques.Then, control is set It is standby that the equipment character string is split, obtain multiple character strings.The fractionation can be split according to regular length, which grows The value of degree can be according to the short length in the maximum SSID length that the control device and electronic equipment to be accessed are supported It determines.For example, the regular length can be 30~32 bytes, preferably 30 bytes, the setting of 30 byte can improve compatibility Property.
Certainly, before character string conversion is carried out, facility information can also be encrypted, obtains encrypted set Standby information, and character string conversion is carried out based on encrypted facility information, equipment character string is obtained, equipment letter can be greatly improved The safety of breath.
403rd, control device generates multiple hotspot device information respectively according to multiple character string.
When generating hotspot device information, following any modes may be used:
First way adds designated identification character on the head of each character string and/or tail portion respectively, obtains described more A hotspot device information.
In actual scene, other electronic equipments as hot spot are also likely to be present in the environment around control device, are Electronic equipment to be accessed distinguishes the information of other hot spots and control device itself hot spot, it can be every The head or tail portion of a character string or head-tail addition designated identification character, to obtain multiple hotspot device information.
The second way, according to split order, the adding order character in each character string, obtains the multiple heat respectively Point device information.
In order to enable electronic equipment to be accessed can identify order of each hotspot device information in facility information, it can With according to split order, the adding order character in each character string.
Such as, when splitting obtained multiple character strings as S1, S2 ... Sn, number is used to indicate the split gradation of the character string Sequence, then can be in character string S1, S2 ... Sn specific field on adding order character, which can be that character string is taken up an official post One field or the specific field subsequently added on the basis of the character string.
The third mode adds bebinning character on obtained first character string is split;It is obtained most in fractionation Termination character is added in the latter character string.
In order to avoid the excessive electric energy loss of electronic equipment to be accessed, starting can also be added on first character string Character;Termination character is added on obtained last character string is split, so that the electronic equipment can know follow-up institute It scans obtained character string and is used to indicate facility information, be also capable of determining when to stop scanning.
It should be noted that above-mentioned three kinds of modes can be carried out individually, it can also be carried out at the same time, that is to say, for character For string, at least two in above-mentioned three kinds of modes can be performed.For example, it is added on the head of each character string and/or tail portion It, can also be in adding order character in the character string after being added to designated identification character after designated identification character.Or every Behind the head of a character string and/or tail portion addition designated identification character, it can also can also be added to designated identification character Bebinning character is added on first character string afterwards;Knot is added on the last character string after being added to designated identification character Beam character.It is, of course, also possible to it is identified with reference to above-mentioned three kinds of modes, so that electronic equipment to be accessed can be while energy saving Get facility information.
404th, control device is configured the hot spot itself generated based on multiple hotspot device information successively.
Specifically, using preset time period as change interval, according to the multiple hotspot device information, continuous several times change is certainly The hotspot device information of body hot spot.Wherein, which can be 1 second, or other numerical value, the embodiment of the present invention This is not construed as limiting.
Further, which can also carry out above-mentioned configuration successively within a certain period of time, for example, when determining After electronic equipment to be accessed, control device can be set as hotspot pattern, to start time point of hotspot pattern as starting point, Control device constantly changes the hotspot device letter of itself hot spot within certain time later based on multiple hotspot device information The hotspot device information of itself hot spot every time during change, is changed to the corresponding hotspot device information of current order by breath.The process In fact it is the process constantly to rename to control device itself hot spot.
In above process, only by the hotspot device information changed to be illustrated for SSID, and in fact, may be used also Other equipment information to be taken into account, e.g., the hotspot device information changed can include SSID, BSSID or hot spot is encrypted At least one of mode etc. so that the electronic equipment of scanning to these hotspot device information can be according to the information that scanning obtains also Original goes out the information for connecting routing device.It that is to say, it, can also be according to generation in another embodiment provided by the invention Hotspot device information in the SSID, basic service set identifier BSSID or hot spot cipher mode of control device itself hot spot extremely One item missing is configured successively.
405th, electronic equipment continuous several times carry out hotspot device scanning, obtain multiple hotspot device information.
Electronic equipment upon actuation, accesses routing device if necessary, can be realized by starting its access function, when So, the electronic equipment itself can also directly initiate scanning upon actuation, subsequently to be accessed.The scanning process is specifically wrapped It includes:Using preset time period as sweep spacing, continuous several times carry out hotspot device scanning, obtain multiple hotspot device information successively. The preset time period can be that 1 second or other numerical value, the embodiment of the present invention are not especially limited this.
In order to save the energy consumption needed for electronic equipment scanning, the hotspot device information that control device side is provided can also wrap Bebinning character and termination character are included, that is to say, this method can also include:Start hotspot device scanning;If scanning is wrapped When including the hotspot device information of bebinning character, continue hotspot device scanning, until the hot spot that scanning obtains including termination character is set During standby information, terminate scanning process.The scanning process of this mode can persistently be scanned to avoid electronic equipment.
406th, multiple hotspot device information that electronic equipment obtains scanning parses, and obtains multiple character strings.
It control device side, can be to scanning obtained the multiple hotspot device information when providing the hotspot device information It is identified, when any one hotspot device information does not include designated identification character, does not include designated identification character described in deletion Hotspot device information;From the specific field of remaining hotspot device information, the multiple character string is extracted.This method can To avoid the interference of other hotspot devices in implementation environment, accuracy rate higher avoids getting the facility information of error.
Wherein, the specific field includes the field except the head and/or tail portion of the hotspot device information.Specifically Ground, the specific field can be carried only in head or tail portion, can also be carried on head and tail portion, the embodiment of the present invention is to this It is not construed as limiting.
In addition, on the basis of above-mentioned scanning, the hotspot device information scanned can be by order character mark Its fractionation sequence, therefore, the multiple hotspot device information that electronic equipment can also obtain scanning parse, and obtain every The order character of a hotspot device information, the order character are used to represent character string corresponding to hotspot device information described Order in facility information.
407th, multiple character string that electronic equipment obtains parsing is combined, and obtains the equipment letter of target routing device Breath.
Due to there is certain sequence when control device splits facility information, electronic equipment can restore Clooating sequence according to indicated by the order character of each hotspot device information in the process obtains parsing the multiple Character string is combined, and obtains the facility information of target routing device.
Certainly, which can also include the reverse decoding process of information obtained to character string combinations, with final Obtain the facility information of target routing device.
408th, facility information that electronic equipment is obtained based on combination, is attached with the target routing device.
Electronic equipment can send access request, access request after the facility information is got to target routing device The device identification in the facility information and access pin are carried, to be attached after being verified by target routing device.
Method provided in an embodiment of the present invention, will by control device based on the facility information of target routing device Facility information is converted into multiple hotspot device information so that equipment to be connected can be scanned by hotspot device and subsequent number Facility information is automatically derived according to processing procedure, so as to fulfill the connection with target routing device, manual operation is avoided, improves The degree of automation, and multiple electronic equipment can disposably be configured, it largely avoided the situation of connection error.
Fig. 5 is a kind of structure diagram of routing device attachment device provided in an embodiment of the present invention.It is described referring to Fig. 5 Device includes:
Scan module 501 carries out hotspot device scanning for continuous several times, obtains multiple hotspot device information;
Parsing module 502, the multiple hotspot device information for being obtained to scanning parse, and obtain multiple characters String;
Composite module 503, the multiple character string for being obtained to parsing are combined, and obtain target routing device Facility information;
Link block 504 for the facility information obtained based on combination, is connected with the target routing device It connects.
Optionally, the scan module 501 is used in the first preset time period, using preset time period as sweep spacing, Continuous several times carry out hotspot device scanning, obtain multiple hotspot device information successively.
Optionally, the scan module 501 scans for starting hotspot device;If scanning obtains including bebinning character During hotspot device information, continue hotspot device scanning, when scanning obtains the hotspot device information for including termination character, terminate Scanning process.
Optionally, the parsing module 502 is used to that the multiple hotspot device information that scanning obtains to be identified, when When any one hotspot device information does not include designated identification character, the hotspot device that designated identification character is not included described in deletion is believed Breath;From the specific field of remaining hotspot device information, the multiple character string is extracted.
Optionally, the specific field includes the field except the head and/or tail portion of the hotspot device information.
Optionally, the parsing module 502 is additionally operable to parse the multiple hotspot device information that scanning obtains, The order character of each hotspot device information is obtained, the order character is used to represent the character string corresponding to hotspot device information Order in the facility information.
Optionally, the composite module 503 is used for according to indicated by the order character of each hotspot device information Clooating sequence, the multiple character string obtained to parsing are combined, and obtain the facility information of target routing device.
Optionally, the hotspot device information includes the service set identifier SSID of hotspot device, basic service set identification Accord at least one in BSSID or hot spot cipher mode.
Fig. 6 is a kind of structure diagram of routing device attachment device provided in an embodiment of the present invention.It is described referring to Fig. 6 Device includes:
Data obtaining module 601, for obtaining the facility information of target routing device;
Character string acquisition module 602 for carrying out character string conversion to the facility information, obtains equipment character string, and The equipment character string is split, obtains multiple character strings;
Generation module 603, for according to the multiple character string, generating multiple hotspot device information respectively;
Hot spot configuration module 604, for being carried out successively to the hot spot itself generated based on the multiple hotspot device information Configuration so that electronic equipment after scanning obtains multiple hotspot device information, according to the multiple hotspot device information with it is described Target routing device is attached.
Optionally, the generation module 603 is for respectively in the head of each character string and/or tail portion addition designated identification Character obtains the multiple hotspot device information.
Optionally, the generation module 603 is used for according to order is split, respectively the adding order word in each character string Symbol, obtains the multiple hotspot device information.
Optionally, the generation module 603 is used to add bebinning character on obtained first character string is split; It splits and adds termination character on obtained last character string.
Optionally, the hot spot configuration module 604 be used in the first preset time period, using preset time period for change between Every according to the multiple hotspot device information, continuous several times change the hotspot device information of itself hot spot.
Optionally, the hotspot device information includes the service set identifier SSID of hotspot device, basic service set identification Accord at least one in BSSID or hot spot cipher mode.
It should be noted that:Above-described embodiment provide routing device attachment device when routing device connects, only more than The division progress of each function module is stated for example, in practical application, it can be as needed and by above-mentioned function distribution by difference Function module complete, i.e., the internal structure of equipment is divided into different function modules, with complete it is described above whole or Person's partial function.In addition, the routing device attachment device that above-described embodiment provides belongs to routing device connection method embodiment Same design, specific implementation process refer to embodiment of the method, and which is not described herein again.
A kind of terminal is present embodiments provided, which, which can be used for performing the routing provided in above-mentioned each embodiment, sets Standby connection method.Referring to Fig. 7, which includes:
Terminal 700 can include RF (Radio Frequency, radio frequency) circuit 110, include one or more meters The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (Wireless Fidelity, Wireless Fidelity) module 170, including there are one or more than one processing core processing The components such as device 180 and power supply 190.It will be understood by those skilled in the art that the terminal structure shown in Fig. 7 is not formed pair The restriction of terminal can include either combining certain components or different component cloth than illustrating more or fewer components It puts.Wherein:
RF circuits 110 can be used for receive and send messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, transfer to one or more than one processor 180 is handled;In addition, the data for being related to uplink are sent to Base station.In general, RF circuits 110 include but not limited to antenna, at least one amplifier, tuner, one or more oscillators, use Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuits 110 can also communicate with network and other equipment by radio communication.The wireless communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storage software program and module, and processor 180 is stored in memory 120 by operation Software program and module, so as to perform various functions application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data field, wherein, storing program area can storage program area, the application program (ratio needed at least one function Such as sound-playing function, image player function) etc.;Storage data field can be stored uses created number according to terminal 700 According to (such as audio data, phone directory etc.) etc..In addition, memory 120 can include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for receiving the number inputted or character information and generate and user setting and function Control related keyboard, mouse, operating lever, optics or the input of trace ball signal.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or neighbouring touch operation (such as user using any suitable object such as finger, stylus or attachment in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and processor 180 can be received The order sent simultaneously is performed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), It is one or more in trace ball, mouse, operating lever etc..
Display unit 140 can be used for display by information input by user or be supplied to the information of user and terminal 700 Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination. Display unit 140 may include display panel 141, optionally, LCD (Liquid Crystal Display, liquid crystal may be used Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) display panel is configured 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects on it or neighbouring touches After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing type of the device 180 according to touch event Corresponding visual output is provided on display panel 141.Although in the figure 7, touch sensitive surface 131 and display panel 141 are conducts Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 700 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 700 is moved in one's ear Panel 141 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, size and the direction of gravity are can detect that when static, can be used to identify mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensors that terminal 700 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 700.Audio The transformed electric signal of the audio data received can be transferred to loud speaker 161, sound is converted to by loud speaker 161 by circuit 160 Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Audio data is converted to, then after audio data output processor 180 is handled, through RF circuits 110 to be sent to such as another end Audio data is exported to memory 120 to be further processed by end.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone and terminal 700.
WiFi belongs to short range wireless transmission technology, and terminal 700 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 7 is shown WiFi module 170, but it is understood that, and must be configured into for terminal 700 is not belonging to, completely it can exist as needed Do not change in the range of the essence of invention and omit.
Processor 180 is the control centre of terminal 700, utilizes various interfaces and each portion of connection whole mobile phone Point, it is stored in memory 120 by running or performing the software program being stored in memory 120 and/or module and call Interior data perform the various functions of terminal 700 and processing data, so as to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 700 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power, recharging system, power supply event Hinder the random components such as detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 700 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality It applies in example, the display unit of terminal is touch-screen display, and terminal has further included memory and one or more than one Program, either more than one program is stored in memory and is configured to by one or more than one processing for one of them Device performs.The one or more programs include instructions for performing the following operations:Obtain target routing device Facility information;Character string conversion is carried out to the facility information, obtains equipment character string, and the equipment character string is torn open Point, obtain multiple character strings;Respectively according to the multiple character string, multiple hotspot device information are generated;Based on the multiple heat The hot spot itself generated is configured in point device information successively so that electronic equipment obtains multiple hotspot device information in scanning Afterwards, it is attached according to the multiple hotspot device information and the target routing device.
Further, the one or more programs also include to perform either step in above-described embodiment Instruction, therefore not to repeat here.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (28)

1. a kind of routing device connection method, which is characterized in that the method includes:
Continuous several times carry out hotspot device scanning, obtain multiple hotspot device information;
The multiple hotspot device information obtained to scanning parses, and obtains multiple character strings of target routing device;
The multiple character string obtained to parsing is combined, and obtains the facility information of the target routing device;
Based on the facility information that combination obtains, it is attached with the target routing device.
2. according to the method described in claim 1, it is characterized in that, continuous several times progress hotspot device scanning, obtains more A hotspot device information includes:
Using preset time period as sweep spacing, continuous several times carry out hotspot device scanning, obtain multiple hotspot device information successively.
3. according to the method described in claim 1, it is characterized in that, continuous several times progress hotspot device scanning, obtains multiple heat Point device information includes:
Start hotspot device scanning;
If scanning obtains the hotspot device information for including bebinning character, continue hotspot device scanning, until scanning is wrapped When including the hotspot device information of termination character, terminate scanning process.
4. according to the method described in claim 1, it is characterized in that, the multiple hotspot device information that scanning obtains is carried out Parsing, obtains multiple character strings and includes:
The multiple hotspot device information obtained to scanning is identified, when any one hotspot device information does not include specified mark During character learning symbol, the hotspot device information of designated identification character is not included described in deletion;
From the specific field of remaining hotspot device information, the multiple character string is extracted.
5. according to the method described in claim 4, it is characterized in that, the specific field includes the head of the hotspot device information Field except portion and/or tail portion.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
The multiple hotspot device information obtained to scanning parses, and obtains the order character of each hotspot device information, The order character is used to represent order of the character string in the facility information corresponding to hotspot device information.
7. according to the method described in claim 6, it is characterized in that, be combined to the obtained the multiple character string of parsing, The facility information for obtaining target routing device includes:
According to the clooating sequence indicated by the order character of each hotspot device information, the multiple word obtained to parsing Symbol string is combined, and obtains the facility information of target routing device.
8. according to the method described in claim 1, it is characterized in that, the hotspot device information includes the services set of hotspot device At least one of in identifier SSID, basic service set identifier BSSID or hot spot cipher mode.
9. a kind of routing device connection method, which is characterized in that the method includes:
Obtain the facility information of target routing device;
Character string conversion is carried out to the facility information, equipment character string is obtained, and the equipment character string is split, obtains To multiple character strings;
Respectively according to the multiple character string, multiple hotspot device information are generated;
The hot spot itself generated is configured successively based on the multiple hotspot device information so that electronic equipment is scanning To after multiple hotspot device information, it is attached according to the multiple hotspot device information and the target routing device.
10. according to the method described in claim 9, it is characterized in that, multiple hot spots are generated according to the multiple character string respectively Facility information includes:
Respectively in the head of each character string and/or tail portion addition designated identification character, the multiple hotspot device information is obtained.
11. according to the method described in claim 9, it is characterized in that, multiple hot spots are generated according to the multiple character string respectively Facility information includes:
According to order is split, the adding order character in each character string, obtains the multiple hotspot device information respectively.
12. according to the method described in claim 9, it is characterized in that, multiple hot spots are generated according to the multiple character string respectively Facility information includes:
Bebinning character is added on obtained first character string is split;
Termination character is added on obtained last character string is split.
13. according to the method described in claim 9, it is characterized in that, itself is generated based on the multiple hotspot device information Hot spot carry out successively configuration include:
Using preset time period as change interval, according to the multiple hotspot device information, continuous several times change the heat of itself hot spot Point device information.
14. according to the method described in claim 9, it is characterized in that, the hotspot device information includes the service of hotspot device At least one of in set identifier SSID, basic service set identifier BSSID or hot spot cipher mode.
15. a kind of routing device attachment device, which is characterized in that described device includes:
Scan module carries out hotspot device scanning for continuous several times, obtains multiple hotspot device information;
Parsing module, the multiple hotspot device information for being obtained to scanning parse, and obtain target routing device Multiple character strings;
Composite module, the multiple character string for being obtained to parsing are combined, and obtain setting for the target routing device Standby information;
Link block for the facility information obtained based on combination, is attached with the target routing device.
16. device according to claim 15, which is characterized in that the scan module is used for using preset time period as scanning Interval, continuous several times carry out hotspot device scanning, obtain multiple hotspot device information successively.
17. device according to claim 15, which is characterized in that the scan module scans for starting hotspot device; If scanning obtains the hotspot device information for including bebinning character, continue hotspot device scanning, until scanning obtains including knot During the hotspot device information of beam character, terminate scanning process.
18. device according to claim 15, which is characterized in that the parsing module is used to obtain scanning described more A hotspot device information is identified, and when any one hotspot device information does not include designated identification character, is not wrapped described in deletion Include the hotspot device information of designated identification character;From the specific field of remaining hotspot device information, the multiple word is extracted Symbol string.
19. device according to claim 18, which is characterized in that the specific field includes the hotspot device information Field except head and/or tail portion.
20. device according to claim 15, which is characterized in that the parsing module be additionally operable to scanning obtain described in Multiple hotspot device information are parsed, and obtain the order character of each hotspot device information, and the order character is used to represent Order of the character string in the facility information corresponding to hotspot device information.
21. device according to claim 20, which is characterized in that the composite module is used to be set according to each hot spot Clooating sequence indicated by the order character of standby information, the multiple character string obtained to parsing are combined, and obtain target The facility information of routing device.
22. device according to claim 15, which is characterized in that the hotspot device information includes the service of hotspot device At least one of in set identifier SSID, basic service set identifier BSSID or hot spot cipher mode.
23. a kind of routing device attachment device, which is characterized in that described device includes:
Data obtaining module, for obtaining the facility information of target routing device;
Character string acquisition module for carrying out character string conversion to the facility information, obtains equipment character string, and set to described Standby character string is split, and obtains multiple character strings;
Generation module, for according to the multiple character string, generating multiple hotspot device information respectively;
Hot spot configuration module, the hot spot for being generated based on the multiple hotspot device information to itself are configured, are made successively Electronic equipment is obtained after scanning obtains multiple hotspot device information, is route according to the multiple hotspot device information and the target Equipment is attached.
24. device according to claim 23, which is characterized in that the generation module is used for respectively in each character string Head and/or tail portion addition designated identification character, obtain the multiple hotspot device information.
25. device according to claim 23, which is characterized in that the generation module is used for according to order is split, respectively The adding order character in each character string obtains the multiple hotspot device information.
26. device according to claim 23, which is characterized in that the generation module is used to split obtained first Bebinning character is added in a character string;Termination character is added on obtained last character string is split.
27. device according to claim 23, which is characterized in that the hot spot configuration module be used for using preset time period as Change interval, according to the multiple hotspot device information, continuous several times change the hotspot device information of itself hot spot.
28. device according to claim 23, which is characterized in that the hotspot device information includes the service of hotspot device At least one of in set identifier SSID, basic service set identifier BSSID or hot spot cipher mode.
CN201510641165.1A 2015-09-29 2015-09-29 Routing device connection method and device Active CN105162670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510641165.1A CN105162670B (en) 2015-09-29 2015-09-29 Routing device connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510641165.1A CN105162670B (en) 2015-09-29 2015-09-29 Routing device connection method and device

Publications (2)

Publication Number Publication Date
CN105162670A CN105162670A (en) 2015-12-16
CN105162670B true CN105162670B (en) 2018-06-08

Family

ID=54803430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510641165.1A Active CN105162670B (en) 2015-09-29 2015-09-29 Routing device connection method and device

Country Status (1)

Country Link
CN (1) CN105162670B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454827A (en) * 2016-09-30 2017-02-22 上海斐讯数据通信技术有限公司 Intelligent equipment networking method and intelligent equipment networking system
CN107949035A (en) * 2017-11-30 2018-04-20 维沃移动通信有限公司 A kind of connection method of Wireless LAN, device and mobile terminal
CN112672400A (en) * 2020-12-15 2021-04-16 成都新潮传媒集团有限公司 Data interaction control method, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243262A (en) * 2014-08-22 2014-12-24 吴凡 System and method for achieving networking transferring service
CN104639354A (en) * 2013-11-14 2015-05-20 腾讯科技(深圳)有限公司 Router management method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8825109B2 (en) * 2008-02-15 2014-09-02 Blackberry Limited Policy-based data routing for a multi-mode device
US8555047B2 (en) * 2011-03-16 2013-10-08 Rammohan Malasani Wi-Fi router with integrated touch-screen and enhanced security features

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639354A (en) * 2013-11-14 2015-05-20 腾讯科技(深圳)有限公司 Router management method and device
CN104243262A (en) * 2014-08-22 2014-12-24 吴凡 System and method for achieving networking transferring service

Also Published As

Publication number Publication date
CN105162670A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
US10142845B2 (en) Network connection method and apparatus, and computer storage medium
CN105933904B (en) Network connection method and device
CN104639672B (en) The method and apparatus for carrying out domain name mapping
CN104519485B (en) Communication means, device and system between a kind of terminal
WO2017185711A1 (en) Method, apparatus and system for controlling smart device, and storage medium
CN104426962B (en) Method, binding server, terminal and the system of multiple terminals binding
CN106658489B (en) Terminal application processing method and device and mobile terminal
WO2016082194A1 (en) Message processing method and apparatus
CN104426963B (en) The method and terminal of associated terminal
WO2015024391A1 (en) Method and device for conducting wireless control on network television terminal
WO2016127795A1 (en) Service processing method, server, and terminal
CN104837042B (en) The coding method of digital multimedia data and device
CN104519197A (en) User login method, user login device and terminal devices
CN104581993B (en) It is wirelessly connected the method and terminal of the method established, data transmission
CN106454810A (en) Hotspot establishing method and terminal equipment
CN107423099B (en) Key code programming method, server, terminal, key code programming system and storage medium
CN107147549A (en) Intelligent home device networking method and device
CN105162591A (en) Equipment registration method and device
CN105530222B (en) Connection method for building up between multiple terminals, device and system
CN105246075B (en) access point connection method and device
CN104660769B (en) A kind of methods, devices and systems for adding associated person information
CN107465802A (en) A kind of methods, devices and systems for showing communication message
CN103607377B (en) Information sharing method, Apparatus and system
CN105162670B (en) Routing device connection method and device
CN105630517A (en) Configuration information setting method, configuration information setting device and communication system

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: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: Guangzhou KuGou Networks Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant