CN106211266A - The sharing method of a kind of access-in point information and mobile terminal - Google Patents
The sharing method of a kind of access-in point information and mobile terminal Download PDFInfo
- Publication number
- CN106211266A CN106211266A CN201510232657.5A CN201510232657A CN106211266A CN 106211266 A CN106211266 A CN 106211266A CN 201510232657 A CN201510232657 A CN 201510232657A CN 106211266 A CN106211266 A CN 106211266A
- Authority
- CN
- China
- Prior art keywords
- access
- mobile terminal
- point information
- file
- coding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
Abstract
The embodiment of the invention discloses the sharing method of a kind of access-in point information, the method includes: obtain Wi-Fi access-in point information;Wi-Fi access-in point information is encoded, generates coding file;Transmission coding file is to purpose mobile terminal, and this coding file is used for indicating this purpose mobile terminal automatically to carry out wireless connections.The embodiment of the invention discloses a kind of mobile terminal.
Description
Technical field
The present invention relates to Information Sharing Technology in wireless communication technology, particularly relate to being total to of a kind of access-in point information
Enjoy method and mobile terminal.
Background technology
In daily life, owing to using WiMAX (Wi-Fi, WIreless-FIdelit) to make user exist
Carry out instant messaging, browse webpage, send and receive e-mail, music download, digital photograph transmission, Streaming Media,
During the functions such as online game, it is not necessary to worrying that speed is slow and spends high problem again, therefore, Wi-Fi becomes user
Use the widest a kind of wireless network transmission technology.
In prior art, the coverage of wireless network is more extensive, such as, and hotel, house
The place of district, airport and coffee shop etc has Wi-Fi to provide.When user goes tourism, handles official business or stop
Idle, it is possible to use mobile terminal to get online without being tethered to a cable in above-mentioned place.Concrete, user is mobile whole
The Wi-Fi access-in point information inputting some place on end is got online without being tethered to a cable.
Along with being widely used of Wi-Fi, the record of Wi-Fi access-in point information has become as user and uses mobile whole
Hold and carrying out the steps necessary got online without being tethered to a cable.But, connected mobile end of wireless network when user has
End, and when using another mobile terminal being not connected with above-mentioned same wireless network, user is accomplished by
This another mobile terminal re-enters Wi-Fi access-in point information (such as: title and password), due to
Wi-Fi access-in point information is different in different places, and therefore, every user had carried out Wi-Fi
The place connected, user also to carry out Wi-Fi to another mobile terminal being not connected with same wireless network
The input of access-in point information, so that user is poor with the interactive performance of mobile terminal.
Summary of the invention
For solving above-mentioned technical problem, embodiment of the present invention expectation provides the sharing method of a kind of access-in point information
And mobile terminal, it is possible in different mobile terminals, share Wi-Fi access-in point information, thus improve movement
The intellectuality of terminal, promotes the interactive performance of user and mobile terminal.
The technical scheme is that and be achieved in that:
The embodiment of the present invention provides the sharing method of a kind of access-in point information, and described method includes:
Obtain WiMAX Wi-Fi access-in point information;
Described Wi-Fi access-in point information is encoded, generates coding file;
Sending described coding file to purpose mobile terminal, described coding file is used for indicating described purpose to move
Terminal carries out wireless connections automatically.
In such scheme, described described Wi-Fi access-in point information is encoded, including:
According to default file format, described Wi-Fi access-in point information is encoded;Wherein, described pre-
If file format include: start separator, terminate separator and file object field, described file object
Field is corresponding with described Wi-Fi access-in point information.
In such scheme, described Wi-Fi access-in point information includes: Wi-Fi network title, Wi-Fi password
And Wi-Fi security type.
The embodiment of the present invention also provides for the sharing method of a kind of access-in point information, and described method includes:
Receive coding file;
Described coding file is resolved;
When parsing Wi-Fi access-in point information from described coding file, believe according to described Wi-Fi access point
Breath carries out wireless connections.
In such scheme, described described coding file is resolved after, described method also includes:
When not parsing Wi-Fi access-in point information from described coding file, delete described coding file.
In such scheme, described described coding file is resolved, including:
According to default file format, described coding file is resolved;Wherein, described default file
Form includes: starts separator, terminate separator and file object field, described file object field and institute
State Wi-Fi access-in point information corresponding.
The embodiment of the present invention provides a kind of source mobile terminal, and described source mobile terminal includes:
Acquiring unit, is used for obtaining WiMAX Wi-Fi access-in point information;
Coding unit, encodes for the described Wi-Fi access-in point information obtaining described acquiring unit,
Generate coding file;
Transmitting element, for send described coding unit coding described coding file to purpose mobile terminal,
Described coding file is used for indicating described purpose mobile terminal automatically to carry out wireless connections.
In such scheme, described coding unit, specifically for according to default file format, obtaining described
The described Wi-Fi access-in point information taking unit acquisition encodes;Wherein, described default file format bag
Include: start separator, terminate separator and file object field, described file object field and described Wi-Fi
Access-in point information is corresponding.
In such scheme, the described Wi-Fi access-in point information that described acquiring unit obtains includes: Wi-Fi
Network name, Wi-Fi password and Wi-Fi security type.
The embodiment of the present invention provides a kind of purpose mobile terminal, and described purpose mobile terminal includes:
Receive unit, be used for receiving coding file;
Resolution unit, resolves for the described coding file receiving described reception unit;
Connect unit, from described coding file, parse Wi-Fi access-in point information for described resolution unit
Time, carry out wireless connections according to the described Wi-Fi access-in point information that described resolution unit resolves.
In such scheme, described mobile terminal also includes: delete unit;
Described deletion unit, after described coding file is resolved by described resolution unit, from described
When coding file does not parses Wi-Fi access-in point information, delete the described coding that described reception unit receives
File.
In such scheme, described resolution unit, specifically for according to default file format, connecing described
The described coding file receiving unit reception resolves;Wherein, described default file format includes: start
Separator, end separator and file object field, described file object field and described Wi-Fi access point
Information is corresponding.
The sharing method of the access-in point information that the embodiment of the present invention is provided and mobile terminal, source mobile terminal obtains
Take Wi-Fi access-in point information;And Wi-Fi access-in point information is encoded, generate coding file;And
Transmission coding file is to purpose mobile terminal, and this coding file is used for indicating this purpose mobile terminal automatically to carry out
Wireless connections.Use above-mentioned technic relization scheme, owing to source mobile terminal can will carry out wireless company
The Wi-Fi access-in point information connect, shares to purpose mobile terminal, so that this purpose mobile terminal can be straight
Connect according to the Wi-Fi access-in point information shared, complete the connection of wireless network, thus improve mobile terminal
Intellectuality, improve the interactive performance of user and mobile terminal.
Accompanying drawing explanation
The flow chart one of the sharing method of a kind of access-in point information that Fig. 1 provides for the embodiment of the present invention;
The flowchart 2 of the sharing method of a kind of access-in point information that Fig. 2 provides for the embodiment of the present invention;
The interaction figure of the sharing method of a kind of access-in point information that Fig. 3 provides for the embodiment of the present invention;
The structural representation one of the source mobile terminal that Fig. 4 provides for the embodiment of the present invention;
The structural representation two of the source mobile terminal that Fig. 5 provides for the embodiment of the present invention;
The structural representation one of the purpose mobile terminal that Fig. 6 provides for the embodiment of the present invention;
The structural representation two of the purpose mobile terminal that Fig. 7 provides for the embodiment of the present invention;
The structural representation three of the source mobile terminal that Fig. 8 provides for the embodiment of the present invention;
The structural representation three of the purpose mobile terminal that Fig. 9 provides for the embodiment of the present invention;
The system block diagram of the shared system of a kind of access-in point information that Figure 10 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, it is fully described by.
Embodiment one
Embodiments of the invention provide the sharing method of a kind of access-in point information, as it is shown in figure 1, move for source
The sharing method of the access-in point information that end side realizes, the method may include that
S101, source acquisition for mobile terminal Wi-Fi access-in point information.
It should be noted that the application scenarios of the embodiment of the present invention is: source mobile terminal (mobile terminal)
Will be on the premise of same place carry out wireless connections with purpose mobile terminal (another mobile terminal), source
Mobile terminal has carried out wireless connections, the nothing that purpose mobile terminal was not carried out in this place in this place
When line connects, source mobile terminal shares the Wi-Fi access-in point information in this place to purpose mobile terminal.
Optionally, the source mobile terminal in the embodiment of the present invention and purpose mobile terminal can be smart mobile phone,
Panel computer can recognize that identical default file form with notebook computer etc., and supports the electricity of Wi-Fi connection
Subset.
Comprising file version information in mobile terminal in the embodiment of the present invention, this document version information is follow-up
Source mobile terminal generates file version information during coding file;As such, it is possible to be the tray of coding file
Formula or file version updating provide convenient.In embodiments of the present invention, acquisition for mobile terminal Wi-Fi in source accesses
The method of dot information is: this source mobile terminal is for the first time when a certain place carries out wireless connections, and user is manual
The Wi-Fi access-in point information that input is attached, source mobile terminal preserves the Wi-Fi access-in point information of input.
Preferably, Wi-Fi access-in point information includes: Wi-Fi network title, Wi-Fi password and Wi-Fi peace
Universal class type.
It should be noted that Wi-Fi network title can be service set (SSID, Service Set
Identifier), Wi-Fi password can be wildcard pattern (PSK, pre-shared key), and
Wi-Fi security type can represent with KEY_MGMT;Wherein, SSID, PSK and KEY_MGMT
For text message.
Particularly, the Wi-Fi access-in point information in the embodiment of the present invention be not limited only to Wi-Fi network title,
Wi-Fi password and Wi-Fi security type, it is also possible to be included in wireless connection procedures the parameter needing to use,
The present invention does not limits.
Wi-Fi access-in point information is encoded by S102, source mobile terminal, generates coding file.
It should be noted that in order to ensure safety and the compatibility that Wi-Fi access-in point information transmits, source is moved
The Wi-Fi access-in point information preserved to be encoded by dynamic terminal according to certain rule.Therefore, this is used
The mobile terminal of inventive embodiments has the encoder consistent with the implementation in the embodiment of the present invention or decoding
Device.
Concrete, after the acquisition for mobile terminal Wi-Fi access-in point information of source, according to default file format,
Encoding Wi-Fi access-in point information, generate coding file, wherein, this file format preset includes:
Starting separator, terminate separator and file object field, this document object field is believed with Wi-Fi access point
Breath correspondence.
It should be noted that Wi-Fi access-in point information include Wi-Fi network title, Wi-Fi password and
Wi-Fi security type is the file object field that all coding becomes coding file.Source mobile terminal first will
Wi-Fi access-in point information is encrypted respectively, then according to the file format preset encodes, generates coding
File, this coding file is that source mobile terminal and purpose mobile terminal can be with encoding and decoding.
Concrete cataloged procedure and example will be described in detail in subsequent embodiment.
S103, source mobile terminal transmission coding file is to purpose mobile terminal, and this coding file is used for indicating this
Purpose mobile terminal carries out wireless connections automatically.
Wi-Fi access-in point information is encoded by source mobile terminal, after generating coding file, when needs are total to
When enjoying to purpose mobile terminal, this source mobile terminal sends this coding file to purpose mobile terminal so that should
Purpose mobile terminal can carry out wireless connections according to this coding file.
Optionally, source mobile terminal sends the mode of coding file can be bluetooth, note, infrared and sudden strain of a muscle biography
Deng, the present invention is not limiting as encoding the transmission mode of file.
It is understood that source mobile terminal shares Wi-Fi access-in point information to purpose mobile terminal so that
Purpose mobile terminal can be dynamically connected same wireless network certainly, thus improves the intellectuality of mobile terminal and man-machine
Interactive performance.
Embodiments of the invention also provide for the sharing method of a kind of access-in point information, as in figure 2 it is shown, for the purpose of
The sharing method of the access-in point information that mobile terminal side realizes, the method may include that
S201, purpose mobile terminal receive coding file.
It should be noted that the application scenarios of the embodiment of the present invention is: source mobile terminal enters in a certain place
Having gone wireless connections, purpose mobile terminal and source mobile terminal did not carried out wireless connections in same place,
And this purpose mobile terminal is recognizable default file form, can resolve or decode the mobile terminal of coding file.
Concrete, purpose mobile terminal, when needing to access the wireless network identical with source mobile terminal, receives
The coding file that source mobile terminal sends, this coding file includes the wireless network of source mobile terminal connection
The information that Wi-Fi access-in point information is corresponding.
Optionally, purpose mobile terminal receives the mode of coding file can be bluetooth, note, infrared and sudden strain of a muscle
Passing, the present invention is not limiting as encoding the reception mode of file.
Coding file is resolved by S202, purpose mobile terminal.
Concrete, after purpose mobile terminal receives coding file, according to default file format to coding
File resolves, and wherein, the file format preset includes: starts separator, terminate separator and file
Object field, this document object field is corresponding with Wi-Fi access-in point information.
It should be noted that purpose mobile terminal resolves process and the source mobile terminal coding Wi-Fi of coding file
Access-in point information is reciprocal.Purpose mobile terminal can be by resolving, by Wi-Fi access point from coding file
Information analysis is out.
When S203, purpose mobile terminal parse Wi-Fi access-in point information from coding file, according to this
Wi-Fi access-in point information carries out wireless connections.
Concrete, after coding file is resolved by purpose mobile terminal, parse from coding file
Wi-Fi access-in point information, and this Wi-Fi access-in point information is arranged on the wireless network in purpose mobile terminal
In module so that wireless network module can carry out wireless connections according to this Wi-Fi access-in point information.
Further, purpose mobile terminal may can not parse Wi-Fi access point letter because of fortuitous event
Breath, therefore, when purpose mobile terminal does not parses Wi-Fi access-in point information from coding file, this mesh
Mobile terminal can delete coding file.
It is understood that when purpose mobile terminal does not parses Wi-Fi access-in point information from coding file
Time, this purpose mobile terminal deletes the process of coding file so that be encoded file in purpose mobile terminal
The resource taken releases, and cleans up the discarded record of purpose mobile terminal, to improve the profit of space resources
By rate, and the intellectuality of this purpose mobile terminal, thus promote Man machine interaction.
It should be noted that in embodiments of the present invention, mobile terminal both can be as source mobile terminal, also
Can as purpose mobile terminal, can be according to practical situation depending on, the present invention does not limits.
The sharing method of the access-in point information that the embodiment of the present invention is provided, owing to source mobile terminal can be by
Through carrying out the Wi-Fi access-in point information of wireless connections, share to purpose mobile terminal, so that purpose is moved
Dynamic terminal can complete the connection of wireless network directly according to the Wi-Fi access-in point information shared, thus carry
The high intellectuality of mobile terminal, improves the interactive performance of user and mobile terminal.
Embodiment two
Embodiments of the invention provide the sharing method of a kind of access-in point information, as it is shown on figure 3, the method can
To include:
S301, source acquisition for mobile terminal Wi-Fi access-in point information.
It should be noted that the application scenarios of the embodiment of the present invention is: source mobile terminal (mobile terminal)
Will be on the premise of wireless network be accessed in same place with purpose mobile terminal (another mobile terminal), source
Mobile terminal had accessed this wireless network in this place, and purpose mobile terminal did not accessed this in this place
During wireless network, source mobile terminal shares the Wi-Fi access-in point information in this place to purpose mobile terminal.
Optionally, the source mobile terminal in the embodiment of the present invention and purpose mobile terminal can be smart mobile phone,
Panel computer can recognize that identical default file form with notebook computer etc., and supports the electricity of Wi-Fi connection
Subset.
Comprising file version information in mobile terminal in the embodiment of the present invention, this document version information is follow-up
Source mobile terminal generates file version information during coding file;As such, it is possible to be the tray of coding file
Formula or file version updating provide convenient.In embodiments of the present invention, acquisition for mobile terminal Wi-Fi in source accesses
The method of dot information is: this source mobile terminal is for the first time when a certain place carries out wireless connections, and user is manual
The Wi-Fi access-in point information that input is attached, source mobile terminal preserves the Wi-Fi access-in point information of input.
Preferably, Wi-Fi access-in point information includes: Wi-Fi network title, Wi-Fi password and Wi-Fi peace
Universal class type.
It should be noted that Wi-Fi network title can be SSID, Wi-Fi password can be PSK, with
And Wi-Fi security type can represent with KEY_MGMT;Wherein, SSID, PSK and KEY_MGMT
For text message.
Particularly, the Wi-Fi access-in point information in the embodiment of the present invention be not limited only to Wi-Fi network title,
Wi-Fi password and Wi-Fi security type, it is also possible to be included in wireless connection procedures the parameter needing to use,
The present invention does not limits.
Exemplary, user A uses smart mobile phone m, user A to remove coffee-house for the first time, uses intelligence hands
Machine m searches the network name of coffee-house: coffee, and is manually entered password: 14725836, security classes
Type is: security type is WPA-PSK (being stored as 1 in smart mobile phone m).Then, smart mobile phone m
Acquisition SSID be coffee, PSK be 14725836, KEY_MGMT is 1.
Wi-Fi access-in point information, according to default file format, is encoded by S302, source mobile terminal,
Generate coding file;Wherein, the file format preset includes: starts separator, terminate separator and file
Object field, this document object field is corresponding with Wi-Fi access-in point information.
It should be noted that in order to ensure safety and the compatibility that Wi-Fi access-in point information transmits, source is moved
The Wi-Fi access-in point information preserved to be encoded by dynamic terminal according to certain rule.Therefore, this is used
The mobile terminal of inventive embodiments has the encoder consistent with the implementation in the embodiment of the present invention or decoding
Device.
Optionally, the file format preset in the embodiment of the present invention can be: VWIFI, it is also possible to be fixed
Other title of justice, the present invention does not limits.
Concrete, in the embodiment of the present invention, after the acquisition for mobile terminal Wi-Fi access-in point information of source, this source
Wi-Fi access-in point information is encoded by mobile terminal according to default file format, each file object word
Duan Hang is corresponding with a feature of mobile phone Wi-Fi access-in point information.VWIFI file object is by multiple files
Object field forms, and each file object field a line represents (i.e. file object field row), each
File object field is made up of field name and field value two parts, wherein field name (Property Name) and
Separating with ": " between field value (Property Value), concrete form is as follows:
Property Name:Property Value
Wherein, each VWIFI object, represent the setting of a feature of a Wi-Fi access-in point information.
Each VWIFI object, is started by row BEGIN:VWIFI (separator VWIFI), and centre has
Any number of file object field row, finally terminate with END:VWIFI (VWIFI terminates separator).
VWIFI object field row terminates with CRLF (carriage return+line feed), say, that multiple files in VWIFI object
Object field row is split by CRLF, including BEGIN:VWIFI and END:VWIFI.
It should be noted that Wi-Fi access-in point information include Wi-Fi network title, Wi-Fi password and
Wi-Fi security type is the file object field that all coding becomes coding file.Source mobile terminal first will
Wi-Fi access-in point information is encrypted respectively, then according to the file format preset encodes, generates coding
File, this coding file is that source mobile terminal and purpose mobile terminal can be with encoding and decoding.
Concrete, the scrambled introduction of Wi-Fi access-in point information:
SSID is text message, can with use corresponding text code mode (UTF-8 or QP coding etc.),
Such as " SSID:CHARSET=UTF-8:title ";Wherein, title represents with utf-8 said shank
Wi-Fi network title.
PSK is text message, can use corresponding text code, such as " PSK:CHARSET=UTF-8:
key”;Wherein, key represents the Wi-Fi password with utf-8 said shank.
KEY_MGMT is text message, characterizes Wi-Fi security type, corresponding text can be used to compile
Code mode, such as " KEY_MGMT:type ";Wherein, type represents Wi-Fi security type.
Further, coding file is with .vwifi as suffix name.
Exemplary, build one with SSID be coffee, PSK be 14725836, KEY_MGMT
It is that the coding file of 1 correspondence is:
BEGIN:VWIFI
VERSION:1.0
SSID: " coffee "
PSK:CHARSET=UTF-8:22=31=34=37=32=35=38=33=36=22
KEY_MGMT:1
END:VWIFI
This coding file is named with coffee.vwifi.
S303, source mobile terminal preserve coding file.
Concrete, Wi-Fi access-in point information is encoded by source mobile terminal, after generating coding file,
External RAM (random access memory) card or SIM etc. that coding file can be saved in source mobile terminal by this source mobile terminal are mobile
In storage device.
Optionally, source mobile terminal preserves this coding file with .vwifi for suffix.
S304, source mobile terminal transmission coding file is to purpose mobile terminal, and this coding file is used for indicating this
Purpose mobile terminal carries out wireless connections automatically.
After source mobile terminal preserves coding file, when needs share to purpose mobile terminal, end is moved in source
End this coding file of transmission is to purpose mobile terminal, and this source mobile terminal sends coding file and moves end to purpose
End so that this purpose mobile terminal can carry out wireless connections according to this coding file.
Optionally, source mobile terminal sends the mode of coding file can be bluetooth, note, infrared and sudden strain of a muscle biography
Deng, the present invention is not limiting as encoding the transmission mode of file.
It is understood that source mobile terminal shares Wi-Fi access-in point information to purpose mobile terminal so that
Purpose mobile terminal can be dynamically connected same wireless network certainly, thus improves the intellectuality of mobile terminal and man-machine
Interactive performance.
When S305, source mobile terminal wireless connections are interrupted, the coding file according to preserving carries out wireless connections.
It should be noted that after source mobile terminal preserves coding file, when source mobile terminal brush machine, (source is moved
Dynamic terminal wireless disconnecting) after, the Wi-Fi access-in point information of the wireless network that source mobile terminal connected
It is required for re-starting input.In embodiments of the present invention, user only need to will preserve the movement of coding file
Storage device is reinserted in the mobile terminal of source, and this coding file just can directly be entered by this source mobile terminal
Row resolves, and obtains Wi-Fi access-in point information, and then carries out wireless connections.
Further, after user has changed new mobile terminal, can be new by movable storage device is inserted into
On mobile terminal so that new mobile terminal can be according to the coding file solution being stored in movable storage device
Separate out Wi-Fi access-in point information, and automatically carry out wireless connections according to this Wi-Fi access-in point information.
Concrete, new mobile terminal can go out according to the coding document analysis being stored in movable storage device
Wi-Fi access-in point information, and this Wi-Fi access-in point information is arranged on the Wi-Fi mould of this new mobile terminal
Block so that the Wi-Fi module of this new mobile terminal can be carried out automatically according to this Wi-Fi access-in point information
Wireless connections.
Exemplary, user A uses smart mobile phone m, smart mobile phone m to be coffee, PSK by SSID
Being 14725836, KEY_MGMT is 1 to be saved in mobile phone EMS memory card.Assume that smart mobile phone m is broken,
When user A uses new smart mobile phone n, the mobile phone EMS memory card in smart mobile phone m can be inserted by user A
On smart mobile phone n, this smart mobile phone n by acquisition SSID be coffee, PSK be 14725836,
KEY_MGMT is the Wi-Fi access-in point information of 1, and this Wi-Fi access-in point information is arranged on intelligence
In the Wi-Fi module of mobile phone n.When user enters the coffee-house corresponding with this Wi-Fi access-in point information,
This smart mobile phone n can carry out wireless connections automatically according to this Wi-Fi access-in point information.
It should be noted that after S304 and S305 is S303, two steps arranged side by side, i.e. at S303
Afterwards, S304 can be performed, it is also possible to performing S305, concrete can perform according to practical situation, this
Bright do not limit.
S306, purpose mobile terminal receive coding file.
It should be noted that the application scenarios of the embodiment of the present invention is: source mobile terminal enters in a certain place
Having gone wireless connections, purpose mobile terminal and source mobile terminal did not carried out wireless connections in same place,
And this purpose mobile terminal is recognizable default file form, can resolve or decode the mobile terminal of coding file.
Concrete, after source mobile terminal transmission coding file to purpose mobile terminal, this purpose mobile terminal
When needing to access the wireless network identical with source mobile terminal, receive the coding file that source mobile terminal sends,
This coding file includes the information that the Wi-Fi access-in point information of the wireless network of source mobile terminal connection is corresponding.
Optionally, purpose mobile terminal receives the mode of coding file can be bluetooth, note, infrared and sudden strain of a muscle
Passing, the present invention is not limiting as encoding the reception mode of file.
Coding file, according to default file format, is resolved by S307, purpose mobile terminal.
Concrete, after purpose mobile terminal receives coding file, according to default file format to coding literary composition
Part resolves, and wherein, the file format preset includes: starts separator, terminate separator and file pair
As field, this document object field is corresponding with Wi-Fi access-in point information.
It should be noted that purpose mobile terminal resolves process and the source mobile terminal coding Wi-Fi of coding file
Access-in point information is reciprocal.Purpose mobile terminal can be by resolving, by Wi-Fi access point from coding file
Information analysis is out.
When S308, purpose mobile terminal parse Wi-Fi access-in point information from coding file, according to this
Wi-Fi access-in point information carries out wireless connections.
Concrete, after coding file is resolved by purpose mobile terminal, parse from coding file
Wi-Fi access-in point information, and this Wi-Fi access-in point information is arranged on the wireless network in purpose mobile terminal
In module so that wireless network module can carry out wireless connections according to this Wi-Fi access-in point information.
It should be noted that in embodiments of the present invention, mobile terminal both can be as source mobile terminal, also
Can as purpose mobile terminal, can be according to practical situation depending on, the present invention does not limits.
Exemplary, at a certain coffee-house, the smart mobile phone k that user B uses receives what user A used
The coding file corresponding with this coffee-house that smart mobile phone m sends, this coding file is:
BEGIN:VWIFI
VERSION:1.0
SSID: " coffee "
PSK:CHARSET=UTF-8:22=31=34=37=32=35=38=33=36=22
KEY_MGMT:1
END:VWIFI
Then, this coding file is resolved by the decoder of this smart mobile phone k, parses Wi-Fi and accesses
Dot information is: SSID be coffee, PSK be 14725836, KEY_MGMT is 1, then intelligence hands
Above-mentioned data are arranged on Wi-Fi module by machine k so that the entitled coffee's of Wi-Fi network is wireless permissible
Oneself obtain its network cipher and security type, complete wireless being certainly dynamically connected of coffee.
When S309, purpose mobile terminal do not parse Wi-Fi access-in point information from coding file, deleting should
Coding file.
After coding file is resolved by purpose mobile terminal, purpose mobile terminal may be because of unexpected feelings
Condition can not parse Wi-Fi access-in point information, therefore, when purpose mobile terminal does not resolves from coding file
When going out Wi-Fi access-in point information, this purpose mobile terminal can delete coding file.
It is understood that when purpose mobile terminal does not parses Wi-Fi access-in point information from coding file
Time, this purpose mobile terminal deletes the process of coding file so that be encoded file in purpose mobile terminal
The resource taken releases, and cleans up the discarded record of purpose mobile terminal, to improve the profit of space resources
By rate, and the intellectuality of this purpose mobile terminal, thus improve Man machine interaction.
It should be noted that in embodiments of the present invention, mobile terminal both can be as source mobile terminal, also
Can as purpose mobile terminal, can be according to practical situation depending on, the present invention does not limits.
It should be noted that after S308 and S309 is S307, two optional steps, i.e. can perform
S307-S308, it is also possible to performing S307-S309, concrete can perform according to practical situation, and the present invention does not does
Limit.
The sharing method of the access-in point information that the embodiment of the present invention is provided, owing to source mobile terminal can be by
Through carrying out the Wi-Fi access-in point information of wireless connections, share to purpose mobile terminal, so that purpose is moved
Dynamic terminal can complete the connection of wireless network directly according to the Wi-Fi access-in point information shared, thus carry
The high intellectuality of mobile terminal, improves the interactive performance of user and mobile terminal.
Embodiment three
As shown in Figure 4, embodiments of the invention provide a kind of source mobile terminal 1, corresponding source mobile terminal side
The sharing method of the access-in point information realized, this source mobile terminal 1 includes:
Acquiring unit 10, is used for obtaining Wi-Fi access-in point information.
Coding unit 11, compiles for the described Wi-Fi access-in point information obtaining described acquiring unit 10
Code, generates coding file.
Transmitting element 12, moves to purpose for sending the described coding file of described coding unit 11 coding
Terminal, described coding file is used for indicating described purpose mobile terminal automatically to carry out wireless connections.
Optionally, described coding unit 11, specifically for according to default file format, obtaining list to described
The described Wi-Fi access-in point information that unit 10 obtains encodes;Wherein, described default file format includes:
Starting separator, terminate separator and file object field, described file object field connects with described Wi-Fi
Enter dot information corresponding.
Optionally, as it is shown in figure 5, described source mobile terminal 1 also includes: storage unit 13.
Described storage unit 13, after described coding unit 11 generates coding file, described transmission is single
Unit 12 sends described coding files to before purpose mobile terminal, raw after preserving described coding unit 11 coding
The described coding file become.
Optionally, the described Wi-Fi access-in point information that described acquiring unit 10 obtains includes: Wi-Fi network
Title, Wi-Fi password and Wi-Fi security type.
It should be noted that the source mobile terminal 1 in the embodiment of the present invention can be smart mobile phone, flat board electricity
The electronic equipment that Wi-Fi connects supported by brain and notebook computer etc..
The source mobile terminal that the embodiment of the present invention is provided, owing to source mobile terminal can will carry out nothing
The Wi-Fi access-in point information that line connects, shares to purpose mobile terminal, so that purpose mobile terminal is permissible
Directly according to the Wi-Fi access-in point information shared, complete the connection of wireless network, thus improve mobile whole
The intellectuality of end, improves the interactive performance of user and mobile terminal.
As shown in Figure 6, embodiments of the invention provide a kind of purpose mobile terminal 2, corresponding purpose to move end
The sharing method of the access-in point information that side realizes, this purpose mobile terminal 2 includes:
Receive unit 20, be used for receiving coding file.
Resolution unit 21, resolves for the described coding file receiving described reception unit 20.
Connect unit 22, from described coding file, parse Wi-Fi access point for described resolution unit 21
During information, carry out wireless connections according to the described Wi-Fi access-in point information that described resolution unit 21 resolves.
Optionally, as it is shown in fig. 7, described purpose mobile terminal 2 also includes: delete unit 23.
Described deletion unit 23, after described coding file is resolved by described resolution unit 21,
When not parsing Wi-Fi access-in point information from described coding file, delete what described reception unit 20 received
Described coding file.
Optionally, described resolution unit 21, specifically for according to default file format, receiving list to described
The described coding file that unit 20 receives resolves;Wherein, described default file format includes: start point
Every symbol, terminating separator and file object field, described file object field is believed with described Wi-Fi access point
Breath correspondence.
It should be noted that the purpose mobile terminal 2 in the embodiment of the present invention can be smart mobile phone, flat board
The electronic equipment that Wi-Fi connects supported by computer and notebook computer etc..
The purpose mobile terminal that the embodiment of the present invention is provided, owing to source mobile terminal can will have been carried out
The Wi-Fi access-in point information of wireless connections, shares to purpose mobile terminal, so that purpose mobile terminal can
The Wi-Fi access-in point information shared with direct basis, completes the connection of wireless network, thus improves movement
The intellectuality of terminal, improves the interactive performance of user and mobile terminal.
Embodiment four
As shown in Figure 8, embodiments of the invention provide a kind of source mobile terminal, and corresponding source mobile terminal side is real
The sharing method of existing access-in point information, this source mobile terminal includes:
Transmitter 14, processor 15, encoder 17 and memorizer 16, wherein, transmitter 14, encoder
17 and memorizer 16 be all connected with processor 15, such as, transmitter 14, memorizer 16 and encoder 17
Can be all connected by bus with processor 15.
Memorizer 16 is used for storing executable program code, and this program code includes computer-managed instruction, deposits
Reservoir 16 may comprise high-speed RAM memorizer, it is also possible to also includes nonvolatile memory (non-volatile
Memory), such as, at least one disk memory.
Processor 15 can be central processing unit, or specific integrated circuit, or is configured to implement
One or more integrated circuits of the present invention.
Concrete, described processor 15, can be used for obtaining Wi-Fi access-in point information;Described encoder 17,
The described Wi-Fi access-in point information that can be used for obtaining described processor 15 encodes, and generates coding file;
Described transmitter 14, the described coding file that can be used for sending described encoder 17 coding moves end to purpose
End, described coding file is used for indicating described purpose mobile terminal automatically to carry out wireless connections;Described memorizer
16, can be used for storing Wi-Fi access-in point information and software code thereof, and it is complete to control described source mobile terminal
Become the software program of said process, so that described processor 15 is by performing above-mentioned software program and calling
Above-mentioned software code, completes said process.
Optionally, described encoder 17, specifically for according to default file format, to described processor 15
The described Wi-Fi access-in point information obtained encodes;Wherein, described default file format includes: open
Beginning separator, end separator and file object field, described file object field accesses with described Wi-Fi
Dot information is corresponding.
Optionally, described memorizer 16, after being additionally operable to described encoder 17 generation coding file, described
Transmitter 14 sends described coding file to before purpose mobile terminal, after preserving described encoder 17 coding
The described coding file generated.
Optionally, the described Wi-Fi access-in point information that described processor 15 obtains includes: Wi-Fi network name
Title, Wi-Fi password and Wi-Fi security type.
It should be noted that the source mobile terminal in the embodiment of the present invention can be smart mobile phone, panel computer
With the electronic equipment that Wi-Fi connection supported by notebook computer etc..
The source mobile terminal that the embodiment of the present invention is provided, owing to source mobile terminal can will carry out nothing
The Wi-Fi access-in point information that line connects, shares to purpose mobile terminal, so that purpose mobile terminal is permissible
Directly according to the Wi-Fi access-in point information shared, complete the connection of wireless network, thus improve mobile whole
The intellectuality of end, improves the interactive performance of user and mobile terminal.
As it is shown in figure 9, embodiments of the invention provide a kind of purpose mobile terminal, corresponding purpose mobile terminal
The sharing method of the access-in point information that side realizes, this purpose mobile terminal includes:
Receptor 24, processor 25, decoder 27 and memorizer 26, wherein, receptor 24, decoder
27 and memorizer 26 be all connected with processor 25, such as, receptor 24, decoder 27 and memorizer 26
Can be all connected by bus with processor 25.
Memorizer 26 is used for storing executable program code, and this program code includes computer-managed instruction, deposits
Reservoir 26 may comprise high-speed RAM memorizer, it is also possible to also includes nonvolatile memory, such as, extremely
A few disk memory.
Processor 25 can be central processing unit, or specific integrated circuit, or is configured to implement
One or more integrated circuits of the present invention.
Concrete, described receptor 24, can be used for receiving coding file;Described decoder 27, it is right to can be used for
The described coding file that described receptor 24 receives resolves;Described processor 25, can be used for described solution
When code device 27 parses Wi-Fi access-in point information from described coding file, according to described Wi-Fi access point
Information carries out wireless connections;Described memorizer 26, can be used for storing the Wi-Fi that described decoder 27 resolves
Access-in point information and software code thereof, and control described purpose mobile terminal and complete the software journey of said process
Sequence, so that described processor 25 is by performing above-mentioned software program and calling above-mentioned software code, completes
Said process.
Optionally, described processor 25, after being additionally operable to described coding file is resolved, described decoding
When device 27 does not parses Wi-Fi access-in point information from described coding file, delete described receptor 24 and connect
The described coding file received.
Optionally, described decoder 27, specifically for according to default file format, to described receptor 24
The described coding file received resolves;Wherein, described default file format includes: beginning separator,
Terminating separator and file object field, described file object field is corresponding with described Wi-Fi access-in point information.
It should be noted that the purpose mobile terminal in the embodiment of the present invention can be smart mobile phone, flat board electricity
The electronic equipment that Wi-Fi connects supported by brain and notebook computer etc..
The purpose mobile terminal that the embodiment of the present invention is provided, owing to source mobile terminal can will have been carried out
The Wi-Fi access-in point information of wireless connections, shares to purpose mobile terminal, with obtain this purpose mobile terminal can
The Wi-Fi access-in point information shared with direct basis, completes the connection of wireless network, thus improves movement
The intellectuality of terminal, improves the interactive performance of user and mobile terminal.
Embodiment five
As shown in Figure 10, embodiments of the invention provide a kind of access-in point information shared system, and this access point is believed
Breath shared system includes:
As any one described in embodiment three or embodiment four forms the source mobile terminal of structure, with
And n purpose shifting of any one composition structure of information transmission is carried out respectively with this source mobile terminal
Dynamic terminal, n >=1.
The access-in point information shared system that embodiments of the invention are provided, the shared side of corresponding access-in point information
Method.Concrete, source mobile terminal is by obtaining Wi-Fi access-in point information, and to Wi-Fi access-in point information
Encode, generate coding file, and send coding file to any one purpose mobile terminal, this volume
Code file is used for indicating this purpose mobile terminal automatically to carry out wireless connections.Owing to source mobile terminal can be by
Through carrying out the Wi-Fi access-in point information of wireless connections, share to any one purpose mobile terminal, so that
Obtain any one purpose mobile terminal and can complete wireless network directly according to the Wi-Fi access-in point information shared
The connection of network, thus improve the intellectuality of mobile terminal, improve the interactive performance of user and mobile terminal.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can use hardware embodiment, software implementation or combine software and
The form of the embodiment of hardware aspect.And, the present invention can use and wherein include calculating one or more
The computer-usable storage medium of machine usable program code (includes but not limited to disk memory and optical storage
Device etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program according to embodiments of the present invention
Flow chart and/or block diagram describe.It should be understood that can be by computer program instructions flowchart and/or side
Flow process in each flow process in block diagram and/or square frame and flow chart and/or block diagram and/or the knot of square frame
Close.Can provide these computer program instructions to general purpose computer, special-purpose computer, Embedded Processor or
The processor of other programmable data processing device is to produce a machine so that by computer or other can
The instruction that the processor of programming data processing equipment performs produces for realizing in one flow process or multiple of flow chart
The device of the function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device
In the computer-readable memory worked in a specific way so that be stored in this computer-readable memory
Instruction produces the manufacture including command device, and this command device realizes at one flow process of flow chart or multiple stream
The function specified in journey and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Sequence of operations step must be performed to produce computer implemented process on computer or other programmable devices,
Thus the instruction performed on computer or other programmable devices provides for realizing in one flow process of flow chart
Or the step of the function specified in multiple flow process and/or one square frame of block diagram or multiple square frame.
The above, only presently preferred embodiments of the present invention, it is not intended to limit the protection model of the present invention
Enclose.
Claims (12)
1. the sharing method of an access-in point information, it is characterised in that described method includes:
Obtain WiMAX Wi-Fi access-in point information;
Described Wi-Fi access-in point information is encoded, generates coding file;
Sending described coding file to purpose mobile terminal, described coding file is used for indicating described purpose to move
Terminal carries out wireless connections automatically.
The sharing method of access-in point information the most according to claim 1, it is characterised in that described to institute
State Wi-Fi access-in point information to encode, including:
According to default file format, described Wi-Fi access-in point information is encoded;Wherein, described pre-
If file format include: start separator, terminate separator and file object field, described file object
Field is corresponding with described Wi-Fi access-in point information.
The sharing method of access-in point information the most according to claim 1 and 2, it is characterised in that described
Wi-Fi access-in point information includes: Wi-Fi network title, Wi-Fi password and Wi-Fi security type.
4. the sharing method of an access-in point information, it is characterised in that described method includes:
Receive coding file;
Described coding file is resolved;
When parsing Wi-Fi access-in point information from described coding file, believe according to described Wi-Fi access point
Breath carries out wireless connections.
The sharing method of access-in point information the most according to claim 4, it is characterised in that described to institute
After stating coding file resolving, described method also includes:
When not parsing Wi-Fi access-in point information from described coding file, delete described coding file.
6. according to the sharing method of the access-in point information described in claim 4 or 5, it is characterised in that described
Described coding file is resolved, including:
According to default file format, described coding file is resolved;Wherein, described default file
Form includes: starts separator, terminate separator and file object field, described file object field and institute
State Wi-Fi access-in point information corresponding.
7. a source mobile terminal, it is characterised in that described source mobile terminal includes:
Acquiring unit, is used for obtaining WiMAX Wi-Fi access-in point information;
Coding unit, encodes for the described Wi-Fi access-in point information obtaining described acquiring unit,
Generate coding file;
Transmitting element, for send described coding unit coding described coding file to purpose mobile terminal,
Described coding file is used for indicating described purpose mobile terminal automatically to carry out wireless connections.
Source the most according to claim 7 mobile terminal, it is characterised in that
Described coding unit, specifically for according to default file format, the institute obtaining described acquiring unit
State Wi-Fi access-in point information to encode;Wherein, described default file format includes: beginning separator,
Terminating separator and file object field, described file object field is corresponding with described Wi-Fi access-in point information.
9. according to the source mobile terminal described in claim 7 or 8, it is characterised in that described acquiring unit obtains
The described Wi-Fi access-in point information taken includes: Wi-Fi network title, Wi-Fi password and Wi-Fi security classes
Type.
10. a purpose mobile terminal, it is characterised in that described purpose mobile terminal includes:
Receive unit, be used for receiving coding file;
Resolution unit, resolves for the described coding file receiving described reception unit;
Connect unit, from described coding file, parse Wi-Fi access-in point information for described resolution unit
Time, carry out wireless connections according to the described Wi-Fi access-in point information that described resolution unit resolves.
11. purpose mobile terminals according to claim 10, it is characterised in that described mobile terminal is also
Including: delete unit;
Described deletion unit, after described coding file is resolved by described resolution unit, from described
When coding file does not parses Wi-Fi access-in point information, delete the described coding that described reception unit receives
File.
12. according to the purpose mobile terminal described in claim 10 or 11, it is characterised in that
Described resolution unit, specifically for according to default file format, the institute receiving described reception unit
State coding file to resolve;Wherein, described default file format includes: starts separator, terminate to divide
Every symbol and file object field, described file object field is corresponding with described Wi-Fi access-in point information.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510232657.5A CN106211266A (en) | 2015-05-08 | 2015-05-08 | The sharing method of a kind of access-in point information and mobile terminal |
PCT/CN2016/073890 WO2016180062A1 (en) | 2015-05-08 | 2016-02-16 | Information sharing method for access points and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510232657.5A CN106211266A (en) | 2015-05-08 | 2015-05-08 | The sharing method of a kind of access-in point information and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106211266A true CN106211266A (en) | 2016-12-07 |
Family
ID=57248772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510232657.5A Pending CN106211266A (en) | 2015-05-08 | 2015-05-08 | The sharing method of a kind of access-in point information and mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106211266A (en) |
WO (1) | WO2016180062A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101668258A (en) * | 2009-07-23 | 2010-03-10 | 中兴通讯股份有限公司 | Method, system and device for data transmission |
CN102572836A (en) * | 2010-12-20 | 2012-07-11 | 联想(北京)有限公司 | Method for accessing wireless network, portable mobile terminal and wireless network system |
CN102843686A (en) * | 2012-09-14 | 2012-12-26 | 惠州Tcl移动通信有限公司 | Wireless network system and portable electronic device |
CN103068066A (en) * | 2012-12-24 | 2013-04-24 | 广东欧珀移动通信有限公司 | Intelligent mobile communication terminal and wireless network access method and system thereof |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9648549B2 (en) * | 2013-08-30 | 2017-05-09 | Qualcomm Incorporated | Methods, access point and wireless device for providing neighbor report information from an access point to a wireless device |
CN103929796B (en) * | 2013-12-31 | 2019-03-15 | 小米科技有限责任公司 | The method and device of shared access point |
CN104484737A (en) * | 2014-11-19 | 2015-04-01 | 德州百广电子科技有限公司 | Information management system based on WiFi (wireless fidelity) network and application method thereof |
-
2015
- 2015-05-08 CN CN201510232657.5A patent/CN106211266A/en active Pending
-
2016
- 2016-02-16 WO PCT/CN2016/073890 patent/WO2016180062A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101668258A (en) * | 2009-07-23 | 2010-03-10 | 中兴通讯股份有限公司 | Method, system and device for data transmission |
CN102572836A (en) * | 2010-12-20 | 2012-07-11 | 联想(北京)有限公司 | Method for accessing wireless network, portable mobile terminal and wireless network system |
CN102843686A (en) * | 2012-09-14 | 2012-12-26 | 惠州Tcl移动通信有限公司 | Wireless network system and portable electronic device |
CN103068066A (en) * | 2012-12-24 | 2013-04-24 | 广东欧珀移动通信有限公司 | Intelligent mobile communication terminal and wireless network access method and system thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2016180062A1 (en) | 2016-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103873692B (en) | Method, device and system for resource sharing | |
CN104967997B (en) | A kind of Wi-Fi cut-in method, Wi-Fi equipment, terminal device and system | |
CN104602238B (en) | A kind of wireless network connecting method, device and system | |
CN103037538B (en) | Data transmission method and mobile terminal | |
CN103347137B (en) | A kind of customer service is handled processing method and the device of data | |
CN103415084B (en) | Mobile terminal Internet access method and mobile terminal | |
CN103546652B (en) | A kind of Number translation service device and the communication means of telephone number secrecy, system | |
US9516684B2 (en) | Data transmission method, data acquiring method, and electronic device | |
KR20150053927A (en) | Information Processing Method, and Priority Information Sending Method and Device | |
CN105657781B (en) | WiFi network access method and device | |
CN105141567A (en) | Interactive data processing method and system of terminal application and service end and interaction method | |
CN104767767A (en) | Method, device and system for sharing Internet access data and network equipment | |
CN103595818A (en) | Method and device for sharing among circle of friends | |
CN105721469B (en) | Audio data processing method, server, client and system | |
CN107707686B (en) | Equipment identification method and device | |
CN104639985A (en) | Multimedia playing control method and system | |
CN103873251A (en) | Method and equipment for establishing connection by audio frequency | |
CN109391473A (en) | A kind of method, apparatus and storage medium of Electronic Signature | |
CN103888264A (en) | Inter-mobile-phone data transferring method based on background data exchange, terminal and system | |
JP5074140B2 (en) | Base station apparatus and terminal apparatus | |
CN104598782A (en) | Data packaging and analysis method and device | |
CN109195139B (en) | Data transmission method, device, platform and medium for M2M management platform and eSIM card | |
CN103561317A (en) | Conditional access card CAM and data processing method | |
CN103490984A (en) | Method and device for obtaining user information | |
CN106211266A (en) | The sharing method of a kind of access-in point information and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161207 |
|
WD01 | Invention patent application deemed withdrawn after publication |