CN102984691B - Method and terminal and server and system and device of synchronous wireless network parameters - Google Patents

Method and terminal and server and system and device of synchronous wireless network parameters Download PDF

Info

Publication number
CN102984691B
CN102984691B CN201210447768.4A CN201210447768A CN102984691B CN 102984691 B CN102984691 B CN 102984691B CN 201210447768 A CN201210447768 A CN 201210447768A CN 102984691 B CN102984691 B CN 102984691B
Authority
CN
China
Prior art keywords
wireless network
terminal
network parameter
access point
mac address
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
CN201210447768.4A
Other languages
Chinese (zh)
Other versions
CN102984691A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201210447768.4A priority Critical patent/CN102984691B/en
Publication of CN102984691A publication Critical patent/CN102984691A/en
Priority to PCT/CN2013/086625 priority patent/WO2014071841A1/en
Application granted granted Critical
Publication of CN102984691B publication Critical patent/CN102984691B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Landscapes

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

Abstract

The invention discloses a method, a terminal, a server, a system and a device of synchronous wireless network parameters, and belongs to the field of communication. According to the method, the terminal, the server, the system and the device of the synchronous wireless network parameters, by means of the configured wireless network parameters of access points capable of being accessed, the server correspondingly stores the wireless network parameters and an account number which is successfully logged in beforehand by a user, configuration of the wireless network parameters of the access points is restored through the fact the user log in the account number, and synchronous configuration of the wireless network parameters of the configured access points of the user can be conducted among different terminals through logging in of the account number. The fact that repeat configuration of the same access point having permission to be accessed by the user is avoided, operation of the user is reduced, and user experience is improved.

Description

The method of synchronous radio network parameter, terminal, server, system and equipment
Technical field
The present invention relates to the communications field, more particularly, to a kind of method of synchronous radio network parameter, terminal, server, it is System and equipment.
Background technology
Due to not needing to connect up using Wireless Fidelity (Wireless Fidelity, abbreviation WiFi) network insertion the Internet The advantages of, people generally prefer that at home, the erection site access point (Access Point, abbreviation AP) such as company, and can simultaneously AP is carried out with priority assignation, the user only passing through certification just can access AP.
At this stage, most mobile terminal (as computer, mobile phone etc.) all supports the access to AP, meanwhile, can be The wireless network parameter of multiple AP is configured in mobile terminal, the service set of such as AP (Service Set Identifier, SSID), user cipher etc..After configuring a wireless network parameter to accessible AP, mobile terminal enters this AP in next time Coverage when so that it may automatic identification access this AP.
But, for same user, it may often occur to access the several AP of identical using different terminals Situation.For example, it is necessary to reconfigure it on new mobile phone manually originally had permission access after the replacing mobile phone of user Company, the wireless network parameter of the AP of family.Therefore, there is the defect for wireless network parameter configuration in correlation technique, can User can be occurred for configured mistake and have permission to access the phenomenon that AP is repeated several times configuration, complex operation, affect user's body Test.
Content of the invention
Embodiments provide a kind of method of synchronous radio network parameter, terminal, server, system and equipment, User can be avoided for configured mistake and have permission accessing the troublesome operation that AP is repeated several times configuration.
A kind of method of synchronous radio network parameter, methods described includes:
Obtain the wireless network parameter of configured accessible access point;
Described wireless network parameter is sent to server, so that described server is by described wireless network parameter and user The account of Successful login is corresponding in advance preserves, and passes through to log in the nothing to described access point for the described account reduction in order to described user The configuration of line network parameter.
A kind of method of synchronous radio network parameter, methods described includes:
Obtain the wireless network parameter of configured accessible access point;
Described wireless network parameter is sent to server, so that described server is by described wireless network parameter and user The account of Successful login is corresponding in advance preserves, and passes through to log in the nothing to described access point for the described account reduction in order to described user The configuration of line network parameter.
A kind of method of synchronous radio network parameter, methods described includes:
Send the request of synchronous wireless network parameter corresponding with the account of user's Successful login to server;
Receive the described wireless network parameter that described server sends;
Carry out the configuration of access point according to described wireless network parameter.
A kind of first terminal, described first terminal includes:
Acquisition module, for obtaining the wireless network parameter of configured accessible access point;
Sending module, for described wireless network parameter is sent to server, so that described server will be described wireless The account of network parameter and user Successful login in advance is corresponding to be preserved, and it is right to pass through to log in described account reduction in order to described user The configuration of the wireless network parameter of described access point.
A kind of server, described server includes:
First receiver module, the configured accessible access point of the described first terminal for receiving first terminal transmission Wireless network parameter, and corresponding with the account of user's Successful login in advance preserve;
Second receiver module, for receiving what described user was sent after account described in Successful login in second terminal The request of synchronous described wireless network parameter;
Sending module, for sending described wireless network parameter to described second terminal, in order in described second terminal The configuration of the wireless network parameter to described access point for the upper reduction.
A kind of second terminal, described second terminal includes:
Sending module, for sending synchronous wireless network parameter corresponding with the account of user's Successful login to server Request;
Receiver module, for receiving the described wireless network parameter that described server sends;
Recovery module, for carrying out the configuration of access point according to described wireless network parameter.
A kind of system for synchronous radio network parameter, described system includes arbitrary first terminal, such as above Any server described above and as above arbitrary second terminal.
A kind of equipment, described equipment includes:
One or more processors;
Memorizer;With
One or more modules, one or more of module stores and are configured to by described one in described memorizer Individual or multiple computing devices, wherein, one or more of modules have following function:
Obtain the wireless network parameter of configured accessible access point;
Described wireless network parameter is sent to server, so that described server is by described wireless network parameter and user The account of Successful login is corresponding in advance preserves, and passes through to log in the nothing to described access point for the described account reduction in order to described user The configuration of line network parameter.
A kind of equipment, described equipment includes:
One or more processors;
Memorizer;With
One or more modules, one or more of module stores and are configured to by described one in described memorizer Individual or multiple computing devices, wherein, one or more of modules have following function:
Receive the wireless network parameter of the configured accessible access point of described first terminal that first terminal sends, and Corresponding with the account of user's Successful login in advance preserve;
Receive the described wireless network of synchronization that described user is sent after account described in Successful login in second terminal The request of parameter;
Send described wireless network parameter to described second terminal, connect to described in order to reduce in described second terminal The configuration of the wireless network parameter of access point.
A kind of equipment, described equipment includes:
One or more processors;
Memorizer;With
One or more modules, one or more of module stores and are configured to by described one in described memorizer Individual or multiple computing devices, wherein, one or more of modules have following function:
Send the request of synchronous wireless network parameter corresponding with the account of user's Successful login to server;
Receive the described wireless network parameter that described server sends;
Carry out the configuration of access point according to described wireless network parameter.
The method of synchronous radio network parameter provided in an embodiment of the present invention, terminal, server, system and equipment, pass through The wireless network parameter of configured accessible access point is sent to server, so that described server is by described wireless network The account of network parameter and user Successful login in advance is corresponding to be preserved, and passes through to log in described account in described user and reduce to described The configuration of the wireless network parameter of access point, the wireless network parameter of the access point that user can be had configured mistake passes through to step on Record account synchronizes configuration among different terminals, it is to avoid user to the same access point having permission access repeat join Put, decrease the operation of user, improve Consumer's Experience.
Brief description
Fig. 1 is a kind of schematic flow sheet of the method for synchronous radio network parameter provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for another kind synchronous radio network parameter provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the method for another synchronous radio network parameter provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the method for another synchronous radio network parameter provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of first terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of second structural representation of first terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of server provided in an embodiment of the present invention;
Fig. 8 is a kind of second structural representation of server provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of second terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings, to a kind of method of synchronous radio network parameter provided in an embodiment of the present invention, terminal, service The specific embodiment of device, system and equipment is described in detail.
As shown in figure 1, a kind of method of synchronous radio network parameter provided in an embodiment of the present invention, in the method, excellent The first terminal of the wireless network parameter to have been configured with accessible access point for the selection of land illustrates for executive agent, the method Comprise the following steps:
The wireless network parameter of the configured accessible access point of S101, acquisition;
It is preferred that this step S101, can be in the following way:
Read the wireless network parameter of the accessible access point of storage in local default file.
S102, described wireless network parameter is sent to server, so that described server is by described wireless network parameter Corresponding with the account of user's Successful login in advance preserve, pass through to log in described account reducing to described access in order to described user The configuration of the wireless network parameter of point.
It is preferred that before this step S102, also including:
Determine that the access point being in connection status in described accessible access point (is in first terminal and is connected shape The access point of state), and the medium access control MAC Address of the described access point being in connection status.
It is preferred that this step S102, can be in the following way:
The wireless network parameter of the described access point being in connection status and MAC Address are converted to described server pre- The form first arranged, and it is sent to described server.
As shown in Fig. 2 a kind of method of synchronous radio network parameter provided in an embodiment of the present invention, in the method, excellent Selection of land illustrates for executive agent for the server preserving wireless network parameter, and the method comprises the following steps:
S201, receive the wireless network ginseng of the configured accessible access point of described first terminal that first terminal sends Number, and preservation corresponding with the account of user's Successful login in advance;
It is preferred that this step S201, can be in the following way:
Receive the wireless network of the wireless network access point being in connection status with described first terminal that first terminal sends Network parameter and MAC Address.
The synchronization that S202, the described user of reception are sent after account described in Successful login in second terminal is described wireless The request of network parameter;
S203, to described second terminal send described wireless network parameter, right in order to reduce in described second terminal The configuration of the wireless network parameter of described access point.
It is preferred that described send described wireless network parameter to described second terminal, can be in the following way:
To described second terminal send the configured accessible access point of described first terminal wireless network parameter, MAC Address.
It is preferred that before this step S203, can also include:
According to the configured accessible access of the described first terminal of described account lookup preservation corresponding with described account The wireless network parameter of point, MAC Address.
As shown in figure 3, a kind of method of synchronous radio network parameter provided in an embodiment of the present invention, in the method, excellent Selection of land is illustrated with the second terminal being ready for wireless network parameter configuration for executive agent, and the method includes following step Suddenly:
S301, the request to the synchronous wireless network parameter corresponding with the account of user's Successful login of server transmission;
The described wireless network parameter that S302, the described server of reception send;
It is preferred that this step S302, can be in the following way:
Receive described wireless network parameter, and the MAC Address of the corresponding access point of described wireless network parameter, and preserve In local cache file.
S303, carry out the configuration of access point according to described wireless network parameter.
It is preferred that this step S303, can be in the following way:
Determine that the MAC Address of currently accessible access point is identical with the MAC Address preserving in described cache file, and will The corresponding wireless network parameter of described identical MAC Address is written in local default file.
In another embodiment that the present invention provides, taking following scene as a example it is specifically described:
User has first terminal and a second terminal, and user once configured can access multiple in first terminal The wireless network parameter of AP, user, after obtaining second terminal, is intended to access the scene of AP using second terminal.
As shown in figure 4, another embodiment of the present invention provides a kind of method of synchronous radio network parameter, can solve State the problem in scene so that user need not reconfigure, you can be connected automatically to AP, specifically include following steps:
401st, first terminal obtains the wireless network parameter of itself configured accessible access point;
Preferably, first terminal obtains the wireless network parameter of itself configured accessible access point, can be using such as Lower form:
The wireless network parameter of itself configured accessible access point is read in local default file.
Illustrate, it obtains the wireless network of itself configured accessible access point taking the mobile phone of Android system as a example Network parameter, Ke Yiwei:
It is root@android in path:In the file of/data/misc/wifi#cat wpa_supplicant.conf Read the wireless network parameter of its accessible access point.
In embodiments of the present invention, the wireless network parameter of access point at least includes:The SSID of access point, can also include IKMP that access point is used, user name, password, key, access priority etc..
For example, the wireless network parameter of the access point that first terminal can access can be:
Network=
Ssid=" Private "
Key_mgmt=WPA-EAP IEEE8021X
Identity=" levin "
Password=" 123456 "
Priority=60
}
Network=
Ssid=" Public "
Psk=" 654321 "
Key_mgmt=WPA-PSK
Priority=59
}
In above-mentioned wireless network parameter, in each network, included data is a configured access point Wireless network parameter.
Wherein, in first network, the SSID of access point is Private, " key_mgmt=WPA-EAP IEEE8021X " represents that the IKMP of this access point is that " WPA-EAP IEEE8021X " (this protocol requirement user passes through Input username and password carries out authentication), user name identity is " levin ", and password password is " 123456 ", The access priority of this access point is " 60 ".
In second network, the SSID of access point is " Public ", and its IKMP is that " WPA-PSK " (should Protocol requirement user carries out authentication by key), key psk is " 654321 ", and the access priority of this access point is “59”.
When being implemented it is possible to there is following situation:
In the related, because SSID is configurable it is thus possible to SSID identical situation.For example, in public affairs In department, because Administrative Area ratio is larger, need to arrange that multiple AP carry out the covering of WiFi network, then these AP can be named as identical Title.But, in order to carry out control of authority, the access authority giving for the user being under different AP cover is different.
Therefore, embodiments provide a kind of preferred implementation for step 401, as follows:
After first terminal reads the wireless network parameter of accessible access point, determine and be currently in first terminal The access point of connection status (for convenience of description, is expressed as being in even with first terminal with access point A in the following examples Connect the access point of state), and the media access control layer (Medium Access Control, abbreviation MAC) of access point A Location.
Above-mentioned in the preferred implementation of step 401, MAC Address is the unique mark of hardware, can be used for distinguishing AP.
402nd, wireless network parameter is sent to server;
Before in this step 402, preferably also include:
The process of the account of User logs in itself.
As preferred embodiment, when wireless network parameter is sent to server, it is possible to use correlation technique Host-host protocol, in order to strengthen safety, it is preferred to use has SSL (the Secure Sockets of safety Layer, abbreviation SSL) Encryption Transmission Protocol.
In order to realize synchronizing function, before wireless network speed parameter is sent to server, this step 402 also includes:
Wireless network parameter is converted to the form made an appointment with described server.
Preferably, in the present embodiment, wireless network parameter is converted to JAVA scripting object form (JavaScript Object Notation, abbreviation JSON), and represent wireless network parameter with server commitment using JSON, wherein, JSON is A kind of data form of lightweight, so that parameter can easily be transmitted between various functions.
Preferably, this step 402, in the following way:
The wireless network parameter of access point A, MAC Address are converted to the form made an appointment with server, and will change The wireless network parameter of access point A after form and MAC Address is corresponding with the account of user is sent to server.
By the embodiment of above-mentioned steps 402 it can be seen that to server send access point wireless network parameter During with MAC Address, actually only send the wireless network parameter of access point and the MAC Address being in connection status every time.Cause This is it is preferable that go out to be pre-designed following processing mode in first terminal:
When first terminal is linked into the access point of wireless network each time or updates wireless network parameter, all will currently just It is sent to server in the wireless network parameter connecting and MAC Address, so that server collects what first terminal can access The wireless network parameter of access point.
403rd, server preserves corresponding with the account of user's Successful login for wireless network parameter;
It is preferred that in order to unique mark is carried out to access point, corresponding to the preferred implementation of step 401 and 402, this step Rapid 403 in the following way:
Preserve corresponding with the account of user's Successful login to the wireless network parameter of the access point receiving A and MAC Address.
404th, the synchronization request sending to server after user's Successful login account in second terminal;
In embodiments of the present invention, the account of user refers both to same account, and in the setting of the embodiment of the present invention, user is intended to The wireless network parameter of the access point that itself is had permission synchronizes, then must be under the support of same account, each account Number corresponding one user of management has permission the wireless network parameter of the access point of access.
It is preferred that the account of user can be phone number, mailbox etc., and password authentification need to be provided.
Exist in the embodiment of the present invention, second terminal can for other outside first terminal or first terminal eventually End.
For example, it is likely that losing the configuration of wireless network parameter after user carries out data dump to first terminal, it is Reconfigure wireless network parameter, then need to send the request of synchronous radio network parameter to server, now, second terminal is For first terminal.
When the first terminal of user occurs to lose or abandon to use, after purchasing new terminal, it is intended to connect using new terminal Enter wireless network, then need the wireless network parameter once configuring on first terminal to be synchronized in new terminal, then now, newly Terminal be second terminal.
405th, server searches wireless network parameter corresponding with its account according to the account of user;
It is preferred that in this step 405, server, while searching wireless network parameter corresponding with its account, is gone back Can include:
Search the corresponding MAC Address of wireless network parameter.
406th, server sends wireless network parameter corresponding with the account of user's Successful login to second terminal;
Preferably, in order to strengthen the safety of data transfer, send and user's Successful login to second terminal in server Account corresponding wireless network parameter when, the SSL encryption host-host protocol with safety can be taken.
As one kind preferred embodiment, in this step 406, server is joined to the wireless network that second terminal sends In number, once it was synchronized to the wireless network parameter of all accessible access point of described server including the user using this account And MAC Address.
407th, second terminal carries out the configuration of access point according to described wireless network parameter.
It is preferred that before second terminal carries out the configuration of access point according to described wireless network parameter, this method is also wrapped Include:
Wireless network parameter and the MAC Address of access point that second terminal the reception server sends, and according to first eventually The form of end agreement is changed, and obtains the discernible wireless network parameter of system and the MAC Address of second terminal, and will be wireless Network parameter and MAC Address are saved in a preset temporary file of second terminal.
In reference step 401 and 402 preferred embodiment, due to needing that access point is uniquely identified by MAC Address, Therefore, this step 407 is preferably by following manner:
When second terminal enters the coverage of arbitrary access point, obtain the MAC Address of current access point whether with face When file in the MAC Address of storage exist identical, if there is identical, then this is had the nothing of the access point of identical MAC Address Gauze network parameter read-in, in default file, completes the configuration of the wireless network parameter of this access point.
For example, with step 401, illustrate, the wireless network parameter of access point is still written to path taking Android system as a example For root@android:In the file of/data/misc/wifi#cat wpa_supplicant.conf.System can be given tacit consent to should Wireless network parameter in file carries out WiFi access as the wireless network parameter of spendable access point.
User can be had and join by the method for the synchronous radio network parameter being provided by embodiment as shown in Figure 4 The wireless network parameter of the access point put synchronizes configuration among different terminals by login account, it is to avoid user To the same access point having permission access repeat configure, decrease the operation of user, improve Consumer's Experience.
As shown in figure 5, the embodiment of the present invention additionally provides a kind of first terminal, this first terminal is virtual bench, is entering When row is embodied as, can be implemented among terminal by way of software, described first terminal includes:
Acquisition module 501, for obtaining the wireless network parameter of configured accessible access point;
Sending module 502, for described wireless network parameter is sent to server, so that described server is by described nothing The account of line network parameter and user Successful login in advance is corresponding to be preserved, and passes through to log in described account reduction in order to described user Configuration to the wireless network parameter of described access point.
It is preferred that described acquisition module 501, for reading the accessible access point of storage in local default file Wireless network parameter.
As shown in fig. 6, described first terminal also includes:
Determining module 503, before described wireless network parameter being sent to server in described sending module 502, Determine the access point being in connection status in described accessible access point, and the described access point being in connection status Medium access control MAC Address.
It is preferred that described sending module 502, for by the wireless network parameter of the described access point being in connection status Be converted to, with MAC Address, the form that described server is made an appointment, and be sent to described server.
As shown in fig. 7, the embodiment of the present invention additionally provides a kind of server, this server is virtual bench, is being had When body is realized, can be realized in property server by software, described server includes:
First receiver module 601, configured accessible the connecing of the described first terminal for receiving first terminal transmission The wireless network parameter of access point, and corresponding with the account of user's Successful login in advance preserve;
Second receiver module 602, is sent out after account described in Successful login in second terminal for receiving described user The request of the described wireless network parameter of synchronization going out;
Sending module 603, for sending described wireless network parameter to described second terminal, in order to described second eventually The configuration of the wireless network parameter to described access point is reduced on end.
It is preferred that described first receiver module 601, for receiving being in even with described first terminal of first terminal transmission Connect the wireless network parameter of netting twine Network Access Point and the MAC Address of state.
It is preferred that described sending module 603, for sending configured the connecing of described first terminal to described second terminal The wireless network parameter of the access point entering, MAC Address.
As shown in figure 8, described server also includes:
Searching modul 604, for described sending module 603 to described second terminal send described wireless network parameter it Before, according to the nothing of the configured accessible access point of the described first terminal of described account lookup preservation corresponding with described account Line network parameter, MAC Address.
As shown in figure 9, the embodiment of the present invention additionally provides a kind of second terminal, this second terminal is virtual bench, is entering When row is embodied as, can be implemented among terminal by way of software, described second terminal includes:
Sending module 701, for sending synchronous wireless network ginseng corresponding with the account of user's Successful login to server The request of number;
Receiver module 702, for receiving the described wireless network parameter that described server sends;
Recovery module 703, for carrying out the configuration of access point according to described wireless network parameter.
It is preferred that described receiver module 702, for receiving described wireless network parameter, and described wireless network parameter The MAC Address of corresponding access point, and be saved in local cache file.
It is preferred that described recovery module 703, for determining the MAC Address of currently accessible access point and described caching The MAC Address preserving in file is identical, and corresponding for described identical MAC Address wireless network parameter is written to local pre- If in file.
The embodiment of the present invention additionally provides a kind of system for synchronous radio network parameter, and this system includes as mentioned above Arbitrary first terminal, any server as described above and arbitrary second terminal as above.
The embodiment of the present invention additionally provides a kind of equipment, and described equipment includes:
One or more processors;
Memorizer;With
One or more modules (programs), one or more of module stores and are joined in described memorizer It is set to by one or more of computing devices, wherein, one or more of modules have following function:
Obtain the wireless network parameter of configured accessible access point;
Described wireless network parameter is sent to server, so that described server is by described wireless network parameter and user The account of Successful login is corresponding in advance preserves, and passes through to log in the nothing to described access point for the described account reduction in order to described user The configuration of line network parameter.
It is preferred that the described wireless network parameter obtaining configured accessible access point, can be in the following way:
Read the wireless network parameter of the accessible access point of storage in local default file.
It is preferred that one or more of modules can also include following function:
Described described wireless network parameter is sent to server before, determine in described accessible access point and locate In the access point of connection status, and the medium access control MAC Address of the described access point being in connection status.
It is preferred that described be sent to server by described wireless network parameter, can be in the following way:
The wireless network parameter of the described access point being in connection status and MAC Address are converted to described server pre- The form first arranged, and it is sent to described server.
In addition, the present embodiment additionally provides a kind of non-volatile readable storage medium, in this storage medium, it is stored with one Or multiple module (programs), when this one or more module is used in the equipment with Touch screen, so that should Equipment executes the instruction (instructions) of following steps:
Obtain the wireless network parameter of configured accessible access point;
Described wireless network parameter is sent to server, so that described server is by described wireless network parameter and user The account of Successful login is corresponding in advance preserves, and passes through to log in the nothing to described access point for the described account reduction in order to described user The configuration of line network parameter.
It is preferred that the described wireless network parameter obtaining configured accessible access point, can be in the following way:
Read the wireless network parameter of the accessible access point of storage in local default file.
It is preferred that one or more of modules are it is also possible that this equipment executes the instruction of following steps:
Described described wireless network parameter is sent to server before, determine in described accessible access point and locate In the access point of connection status, and the medium access control MAC Address of the described access point being in connection status.
It is preferred that described be sent to server by described wireless network parameter, can be in the following way:
The wireless network parameter of the described access point being in connection status and MAC Address are converted to described server pre- The form first arranged, and it is sent to described server.
The embodiment of the present invention additionally provides a kind of equipment, and described equipment includes:
One or more processors;
Memorizer;With
One or more modules (programs), one or more of module stores and are configured in described memorizer Become by one or more of computing devices, wherein, one or more of modules have following function:
Receive the wireless network parameter of the configured accessible access point of described first terminal that first terminal sends, and Corresponding with the account of user's Successful login in advance preserve;
Receive the described wireless network of synchronization that described user is sent after account described in Successful login in second terminal The request of parameter;
Send described wireless network parameter to described second terminal, connect to described in order to reduce in described second terminal The configuration of the wireless network parameter of access point.
It is preferred that the configured accessible access point of the described first terminal of described reception first terminal transmission is wireless Network parameter, can be in the following way:
Receive the wireless network of the netting twine Network Access Point being in connection status with described first terminal that first terminal sends Network parameter and MAC Address.
It is preferred that described send described wireless network parameter to described second terminal, can be in the following way:
To described second terminal send the configured accessible access point of described first terminal wireless network parameter, MAC Address.
It is preferred that one or more of modules can also include following function:
Before the described described wireless network parameter of transmission to described second terminal, searched and described account according to described account Number configured wireless network parameter of accessible access point of the corresponding described first terminal preserving, MAC Address.
In addition, the present embodiment additionally provides a kind of non-volatile readable storage medium, in this storage medium, it is stored with one Or multiple module (programs), when this one or more module is used in the equipment with Touch screen, so that should Equipment executes the instruction (instructions) of following steps:
Receive the wireless network parameter of the configured accessible access point of described first terminal that first terminal sends, and Corresponding with the account of user's Successful login in advance preserve;
Receive the described wireless network of synchronization that described user is sent after account described in Successful login in second terminal The request of parameter;
Send described wireless network parameter to described second terminal, connect to described in order to reduce in described second terminal The configuration of the wireless network parameter of access point.
It is preferred that the configured accessible access point of the described first terminal of described reception first terminal transmission is wireless Network parameter, can be in the following way:
Receive the wireless network of the netting twine Network Access Point being in connection status with described first terminal that first terminal sends Network parameter and MAC Address.
It is preferred that described send described wireless network parameter to described second terminal, can be in the following way:
To described second terminal send the configured accessible access point of described first terminal wireless network parameter, MAC Address.
It is preferred that one or more of modules are it is also possible that this equipment executes the instruction of following steps:
Before the described described wireless network parameter of transmission to described second terminal, searched and described account according to described account Number configured wireless network parameter of accessible access point of the corresponding described first terminal preserving, MAC Address.
The embodiment of the present invention additionally provides a kind of equipment, and described equipment includes:
One or more processors;
Memorizer;With
One or more modules (programs), one or more of module stores and are configured in described memorizer Become by one or more of computing devices, wherein, one or more of modules have following function:
Send the request of synchronous wireless network parameter corresponding with the account of user's Successful login to server;
Receive the described wireless network parameter that described server sends;
Carry out the configuration of access point according to described wireless network parameter.
It is preferred that described receive the described wireless network parameter that described server sends, can be in the following way:
Receive described wireless network parameter, and the MAC Address of the corresponding access point of described wireless network parameter, and preserve In local cache file.
It is preferred that the described configuration carrying out access point according to described wireless network parameter, can be in the following way:
Determine that the MAC Address of currently accessible access point is identical with the MAC Address preserving in described cache file, and will The corresponding wireless network parameter of described identical MAC Address is written in local default file.
In addition, the present embodiment additionally provides a kind of non-volatile readable storage medium, in this storage medium, it is stored with one Or multiple module (programs), when this one or more module is used in the equipment with Touch screen, so that should Equipment executes the instruction (instructions) of following steps:
Send the request of synchronous wireless network parameter corresponding with the account of user's Successful login to server;
Receive the described wireless network parameter that described server sends;
Carry out the configuration of access point according to described wireless network parameter.
It is preferred that described receive the described wireless network parameter that described server sends, can be in the following way:
Receive described wireless network parameter, and the MAC Address of the corresponding access point of described wireless network parameter, and preserve In local cache file.
It is preferred that the described configuration carrying out access point according to described wireless network parameter, can be in the following way:
Determine that the MAC Address of currently accessible access point is identical with the MAC Address preserving in described cache file, and will The corresponding wireless network parameter of described identical MAC Address is written in local default file.
The first terminal of the above-mentioned offer of the embodiment of the present invention, second terminal, server, system and equipment, can will use The wireless network parameter that family has the access point of configured mistake synchronizes configuration among different terminals by login account, Avoid user to the same access point having permission access repeat configure, decrease the operation of user, improve Consumer's Experience.
Through the above description of the embodiments, those skilled in the art can be understood that the embodiment of the present invention Can be realized by hardware it is also possible to realize by by way of software plus necessary general hardware platform.Based on such reason Solution, the technical scheme of the embodiment of the present invention can be embodied in the form of software product, and this software product can be stored in one In individual non-volatile memory medium (can be CD-ROM, USB flash disk, portable hard drive etc.), including some instructions with so that a meter Calculate machine equipment (can be personal computer, server, or network equipment etc.) and execute the side described in each embodiment of the present invention Method.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or stream Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that module in device in embodiment can be carried out point according to embodiment description It is distributed in the device of embodiment and be disposed other than in one or more devices of the present embodiment it is also possible to carry out respective change.On The module stating embodiment can merge into a module it is also possible to be further split into multiple submodule.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Obviously, those skilled in the art can carry out the various changes and modification essence without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprise these changes and modification.

Claims (17)

1. a kind of method of synchronous radio network parameter is it is characterised in that methods described includes:
First terminal reads the wireless network parameter of the accessible access point of storage in local default file;
Described wireless network parameter is sent to server by first terminal so that described server by described wireless network parameter with The account of user's Successful login in advance is corresponding to be preserved, and passes through to log in described account reducing to described access point in order to described user Wireless network parameter configuration;Wherein, the effect of described configuration includes:When second terminal enters the covering model of arbitrary access point When enclosing, obtain current access point MAC Address whether exist with the MAC Address of storage in temporary file identical, if there is phase Same, then the wireless network parameter of the described access point with identical MAC Address is written in default file, completes described access The configuration of the wireless network parameter of point, wherein, described second terminal receives the wireless network parameter of described server transmission and connects The MAC Address of access point, and changed according to the form arranged with described first terminal, the system obtaining described second terminal can The wireless network parameter of identification and MAC Address, and described wireless network parameter and MAC Address are saved in described second terminal In one preset temporary file.
2. method according to claim 1 it is characterised in that described by described wireless network parameter be sent to server it Before, also include:
Determine the access point being in connection status in described accessible access point, and described be in connecing of connection status The medium access control MAC Address of access point.
3. method according to claim 2 is it is characterised in that described be sent to server by described wireless network parameter, In the following way:
The wireless network parameter of the described access point being in connection status and MAC Address are converted to described server appoint in advance Fixed form, and it is sent to described server.
4. a kind of method of synchronous radio network parameter is it is characterised in that methods described includes:
Receive the wireless network parameter of the configured accessible access point of described first terminal that first terminal sends, and with The account of family Successful login in advance is corresponding to be preserved;
Receive the described wireless network parameter of synchronization that described user is sent after account described in Successful login in second terminal Request;
Send described wireless network parameter to described second terminal, in order to reduce to described access point in described second terminal Wireless network parameter configuration;Wherein, the effect of described configuration includes:When second terminal enters the covering model of arbitrary access point When enclosing, obtain current access point MAC Address whether exist with the MAC Address of storage in temporary file identical, if there is phase Same, then the wireless network parameter of the described access point with identical MAC Address is written in default file, completes described access The configuration of the wireless network parameter of point, wherein, wireless network parameter and access point that described second terminal the reception server sends MAC Address, and changed according to the form arranged with described first terminal, the system obtaining described second terminal can recognize that Wireless network parameter and MAC Address, and described wireless network parameter and MAC Address are saved in one of described second terminal In preset temporary file.
5. method according to claim 4 it is characterised in that described reception first terminal send described first terminal The wireless network parameter of the accessible access point of configuration, in the following way:
Receive the wireless network ginseng of the netting twine Network Access Point being in connection status with described first terminal that first terminal sends Number and MAC Address.
6. method according to claim 4 is it is characterised in that described send described wireless network ginseng to described second terminal Number, in the following way:
Send wireless network parameter, the MAC ground of the configured accessible access point of described first terminal to described second terminal Location.
7. method according to claim 6 is it is characterised in that described send described wireless network ginseng to described second terminal Before number, methods described also includes:
According to the configured accessible access point of the described first terminal of described account lookup preservation corresponding with described account Wireless network parameter, MAC Address.
8. a kind of method of synchronous radio network parameter is it is characterised in that methods described includes:
Second terminal sends the wireless network of synchronous accessible access point corresponding with the account of user's Successful login to server The request of network parameter;
Second terminal receives the described wireless network parameter that described server sends;
Second terminal carries out the configuration of access point according to described wireless network parameter;Wherein, the effect of described configuration includes:When When two terminals enter the coverage of arbitrary access points, whether the MAC Address obtaining current access point stores with temporary file MAC Address exist identical, if there is identical, then by the wireless network parameter of the described access point with identical MAC Address It is written in default file, completes the configuration of the wireless network parameter of described access point, wherein, described second terminal receives described Wireless network parameter and the MAC Address of access point that server sends, and changed according to the form arranged with first terminal, Obtain the discernible wireless network parameter of system and the MAC Address of described second terminal, and by described wireless network parameter and MAC Address is saved in a preset temporary file of described second terminal.
9. a kind of first terminal is it is characterised in that described first terminal includes:
Acquisition module, for reading the wireless network parameter of the accessible access point of storage in local default file;
Sending module, for described wireless network parameter is sent to server, so that described server is by described wireless network The account of parameter and user Successful login in advance is corresponding to be preserved, and passes through to log in described account reducing to described in order to described user The configuration of the wireless network parameter of access point;Wherein, the effect of described configuration includes:When second terminal enters arbitrary access point During coverage, obtain current access point MAC Address whether exist with the MAC Address of storage in temporary file identical, if Exist identical, then the wireless network parameter of the described access point with identical MAC Address is written in default file, completes institute State the configuration of the wireless network parameter of access point, wherein, described second terminal receives the wireless network ginseng that described server sends Number and the MAC Address of access point, and changed according to the form arranged with described first terminal, obtain described second terminal The discernible wireless network parameter of system and MAC Address, and described wireless network parameter and MAC Address are saved in described second In one preset temporary file of terminal.
10. first terminal according to claim 9 is it is characterised in that described first terminal also includes:
Determining module, before described wireless network parameter being sent to server in described sending module, determination is described can It has been in the access point of connection status in the access point accessing, and the medium access of the described access point being in connection status Control MAC Address.
11. first terminals according to claim 10 it is characterised in that described sending module, for being in described The wireless network parameter of the access point of connection status and MAC Address are converted to the form that described server is made an appointment, and send To described server.
A kind of 12. servers are it is characterised in that described server includes:
First receiver module, the nothing of the configured accessible access point of the described first terminal for receiving first terminal transmission Line network parameter, and corresponding with the account of user's Successful login in advance preserve;
Second receiver module, for receiving the synchronization that described user is sent after account described in Successful login in second terminal The request of described wireless network parameter;
Sending module, for sending described wireless network parameter to described second terminal, in order to go back in described second terminal The configuration of the former wireless network parameter to described access point;Wherein, the effect of described configuration includes:When second terminal entrance is arbitrary Whether during the coverage of access point, there is phase with the MAC Address of storage in temporary file in the MAC Address obtaining current access point Same, if there is identical, then the wireless network parameter of the described access point with identical MAC Address is written to default file In, complete the configuration of the wireless network parameter of described access point, wherein, described second terminal receives the nothing that described server sends Line network parameter and the MAC Address of access point, and changed according to the form arranged with described first terminal, obtain described The discernible wireless network parameter of system of two terminals and MAC Address, and described wireless network parameter and MAC Address are saved in In one preset temporary file of described second terminal.
13. servers according to claim 12 are it is characterised in that described first receiver module, whole for receiving first The wireless network parameter of netting twine Network Access Point and the MAC Address that are in connection status with described first terminal that end sends.
14. servers according to claim 12 it is characterised in that described sending module, for described second terminal Send the configured wireless network parameter of accessible access point of described first terminal, MAC Address.
15. servers according to claim 14 are it is characterised in that described server also includes:
Searching modul, before sending described wireless network parameter in described sending module to described second terminal, according to institute The wireless network stating the configured accessible access point of described first terminal that account searches preservation corresponding with described account is joined Number, MAC Address.
A kind of 16. second terminals are it is characterised in that described second terminal includes:
Sending module, for sending the nothing of synchronous accessible access point corresponding with the account of user's Successful login to server The request of line network parameter;
Receiver module, for receiving the described wireless network parameter that described server sends;
Recovery module, for carrying out the configuration of access point according to described wireless network parameter;Wherein, the effect bag of described configuration Include:When second terminal enters the coverage of arbitrary access point, obtain the MAC Address of current access point whether with temporary file The MAC Address of middle storage exists identical, if there is identical, then by the wireless network of the described access point with identical MAC Address Network parameter read-in, in default file, completes the configuration of the wireless network parameter of described access point, and wherein, described second terminal connects Receive the wireless network parameter of described server transmission and the MAC Address of access point, and entered according to the form arranged with first terminal Row conversion, obtains the discernible wireless network parameter of system and the MAC Address of described second terminal, and described wireless network is joined Number and MAC Address are saved in a preset temporary file of described second terminal.
A kind of 17. systems for synchronous radio network parameter are it is characterised in that described system includes claim 9-11 such as appoints First terminal described in one claim, the server as described in claim 12-15 any claim and as claim Second terminal described in 16.
CN201210447768.4A 2012-11-09 2012-11-09 Method and terminal and server and system and device of synchronous wireless network parameters Active CN102984691B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210447768.4A CN102984691B (en) 2012-11-09 2012-11-09 Method and terminal and server and system and device of synchronous wireless network parameters
PCT/CN2013/086625 WO2014071841A1 (en) 2012-11-09 2013-11-06 Method, terminal, server, system, and device for synchronizing wireless network parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210447768.4A CN102984691B (en) 2012-11-09 2012-11-09 Method and terminal and server and system and device of synchronous wireless network parameters

Publications (2)

Publication Number Publication Date
CN102984691A CN102984691A (en) 2013-03-20
CN102984691B true CN102984691B (en) 2017-02-15

Family

ID=47858338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210447768.4A Active CN102984691B (en) 2012-11-09 2012-11-09 Method and terminal and server and system and device of synchronous wireless network parameters

Country Status (2)

Country Link
CN (1) CN102984691B (en)
WO (1) WO2014071841A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984691B (en) * 2012-11-09 2017-02-15 小米科技有限责任公司 Method and terminal and server and system and device of synchronous wireless network parameters
CN103888290B (en) * 2014-02-20 2017-11-17 小米科技有限责任公司 Configuration information recovery method and apparatus
CN103974256A (en) * 2014-05-15 2014-08-06 浙江宇视科技有限公司 Wireless network access method and device
CN104796967B (en) * 2015-05-05 2018-05-04 广东欧珀移动通信有限公司 Wireless network data restoring method and device
CN105245382B (en) * 2015-10-23 2018-07-31 小米科技有限责任公司 Change the method and device of route configuration information
CN106658657A (en) * 2016-10-20 2017-05-10 青岛海信移动通信技术股份有限公司 Network access method and device
CN106452924B (en) * 2016-11-30 2019-11-15 北京小米移动软件有限公司 The method and apparatus of synchronous radio network configuration

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102016796A (en) * 2008-03-25 2011-04-13 高通股份有限公司 Apparatus and methods for widget intercommunication in a wireless communication environment
CN102368848A (en) * 2011-10-12 2012-03-07 惠州Tcl移动通信有限公司 Wireless communication device and configuration method thereof
CN102548023A (en) * 2011-12-27 2012-07-04 惠州Tcl移动通信有限公司 Wireless fidelity connecting method and wireless fidelity connecting device
CN102647771A (en) * 2012-04-10 2012-08-22 华为技术有限公司 Discovery and selection method, equipment, system and terminal of wireless local area network (WLAN)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101587003B1 (en) * 2010-09-07 2016-01-20 삼성전자주식회사 Apparatus and method for determining validity of wifi connection in wireless communication system
CN102984691B (en) * 2012-11-09 2017-02-15 小米科技有限责任公司 Method and terminal and server and system and device of synchronous wireless network parameters

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102016796A (en) * 2008-03-25 2011-04-13 高通股份有限公司 Apparatus and methods for widget intercommunication in a wireless communication environment
CN102368848A (en) * 2011-10-12 2012-03-07 惠州Tcl移动通信有限公司 Wireless communication device and configuration method thereof
CN102548023A (en) * 2011-12-27 2012-07-04 惠州Tcl移动通信有限公司 Wireless fidelity connecting method and wireless fidelity connecting device
CN102647771A (en) * 2012-04-10 2012-08-22 华为技术有限公司 Discovery and selection method, equipment, system and terminal of wireless local area network (WLAN)

Also Published As

Publication number Publication date
WO2014071841A1 (en) 2014-05-15
CN102984691A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102984691B (en) Method and terminal and server and system and device of synchronous wireless network parameters
CN111865598B (en) Identity verification method and related device for network function service
CN102687547B (en) Machine-to-machine gateway architecture
CN106851632B (en) A kind of method and device of smart machine access WLAN
CN105392126B (en) The trunking method of a kind of wireless relay apparatus and wireless relay apparatus
CN105933888B (en) A kind of eSIM card method for burn-recording and device based on NFC
CN103250397B (en) Methods and arrangements for enabling data transmission between a mobile device and a static destination address
CN110536375A (en) Method for network access, device, the network equipment and computer readable storage medium
CN107889194B (en) Obtain, provide method, equipment and the medium of wireless access point access information
US20190342738A1 (en) Method and Device for Sharing File Between Different Terminals
CN114868412A (en) Method and device for reporting and collecting measurement information
CN106656547A (en) Method and apparatus for updating network configuration of household electrical appliances
CN108683690A (en) Method for authenticating, user equipment, authentication device, authentication server and storage medium
CN105450546A (en) Wearable device and local area network access method thereof, and intelligent terminal
CN113498057A (en) Communication system, method and device
CN103702312A (en) Wireless information transmission method and equipment
CN104640122A (en) Wireless networking method of router and trunk equipment
CN115699678A (en) Device logout method, device registration method, communication device and cloud platform
US9609578B2 (en) Method, apparatus and system for transmitting gateway address
WO2017101211A1 (en) Method and apparatus for accessing wireless communication system, and terminal
CN105072212B (en) To code method and to code system
CN106537962B (en) Wireless network configuration, access and access method, device and equipment
CN108429628A (en) A kind of wireless network configuration method and device
CN111132373A (en) Network connection method, device and equipment
CN105163313A (en) WiFi (Wireless Fidelity) connection authentication method based on hidden SSID (Service Set Identifier)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085, Qinghe street, Beijing, Huarun colorful city shopping center, two, 13, 68

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102, No. 50, block A, building No. 12, winding stone world building, Wangjing West Road, Beijing, Chaoyang District

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant