CN103517385B - The method of attachment of the AP of Android system Wi-Fi and system - Google Patents
The method of attachment of the AP of Android system Wi-Fi and system Download PDFInfo
- Publication number
- CN103517385B CN103517385B CN201210238701.XA CN201210238701A CN103517385B CN 103517385 B CN103517385 B CN 103517385B CN 201210238701 A CN201210238701 A CN 201210238701A CN 103517385 B CN103517385 B CN 103517385B
- Authority
- CN
- China
- Prior art keywords
- coded format
- ssid
- unicode
- android system
- bssid
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 claims abstract description 92
- 238000001514 detection method Methods 0.000 claims abstract description 17
- 239000000284 extract Substances 0.000 claims abstract description 9
- 230000006870 function Effects 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 9
- 238000013075 data extraction Methods 0.000 claims description 6
- 230000006399 behavior Effects 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 4
- 238000004321 preservation Methods 0.000 claims description 4
- 238000012546 transfer Methods 0.000 claims description 4
- 239000000203 mixture Substances 0.000 claims description 2
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 230000007547 defect Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention discloses method of attachment and the system of the AP of Android system Wi Fi, including: open Wi Fi, initiate AP scanning, and the AP information scanned is preserved in the memory unit;Extract in AP information BSSID and SSID and be saved in List container;In detection memory element, the coded format of the SSID of AP, if non-Unicode coded format, then enters next step after being converted to Unicode coded format;In the AP list of the UI region Wi Fi being chosen as Unicode coded format, any one AP is attached.The present invention can make up Android system itself and not support the defect of Wi Fi Chinese SSID, and the AP of Chinese name android terminal scanned normally shows, and can connect the AP of this Chinese SSID.
Description
Technical field
The present invention relates to Android system Wi-Fi interconnection technique field, in particular a kind of Android system Wi-Fi supports
The method of attachment of the AP of Chinese SSID and system.
Background technology
Android is the intelligent platform of a new generation, and increasing electric terminal uses Android as operating system so that peace
The user of the electric terminal of tall and erect system grows with each passing day.Meanwhile, along with the development of Wi-Fi technology, particularly Android system are applied to
After mobile phone, user is also got more and more for the application being connected Wi-Fi network by Android system mobile phone.So present Android system
System supports Chinese SSID(Service Set Identifier for Wi-Fi, the definition of American Electronic the Institution of Electrical Engineers
The service set identifier of one or one group infrastructure mode wireless network) AP(Access Point, i.e. wireless routing, under
Connection support together) is just particularly important.
In current Android system, Wi-Fi only supports the SSID of non-Chinese, Chinese SSID often occurs when scanning AP
The situation of mess code, and can not be attached with this AP, then without this phenomenon if English.Current all of android terminal will with in
The AP of literary composition SSID is attached needing third-party Wi-Fi management application software to support, and as a primary Android user
For he and may not know about these, the compatible generation of Android system can be queried, and operate the most loaded down with trivial details.Therefore,
Client developer is needed fundamentally to solve Android system Wi-Fi extra without user installation to the support of Chinese SSID
Application software, thus improve ease for operation.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, it is provided that a kind of Android system Wi-
Fi supports method of attachment and the system of the AP of Chinese SSID, can make up existing Android system itself and not support Wi-Fi Chinese SSID
Defect, android terminal can be scanned Chinese name AP normally show, and can connect this Chinese SSID AP.
It is as follows that the present invention solves the technical scheme that technical problem used:
A kind of Android system Wi-Fi supports the method for attachment of the AP of Chinese SSID, wherein, including step:
A, unlatching Android system Wi-Fi, initiate AP scanning, and the AP information scanned preserved in the memory unit;
B, extract in AP information BSSID and SSID and be saved in List container;
In C, detection memory element, whether the coded format of the SSID of AP is Unicode coded format, if Unicode
Coded format, then enter step E;If non-Unicode coded format, then enter step D;
D, be converted to Unicode coded format;
E, the UI region Wi-Fi being chosen as Unicode coded format AP list in any one AP be attached.
Described a kind of Android system Wi-Fi supports the method for attachment of the AP of Chinese SSID, wherein, described step D transfer
It is changed to Unicode coded format specifically include:
D1, by non-Unicode coded format, be converted to UTF8 coded format;
UTF8 coded format is transferred to Android discernible Unicode coded format by D2, Android system JNI layer.
Described a kind of Android system Wi-Fi supports the method for attachment of the AP of Chinese SSID, and wherein, described step D1 is concrete
For:
Utilizing enca storehouse first to detect current coded format, interface function is detected_charset (), according to detection
Carrying out code conversion to result to be UTF8 coded format or directly utilize ICU4C storehouse and carry out encoding and decoding, interface function is ucnv_
Convert (), is converted to UTF8 coded format.
Described a kind of Android system Wi-Fi supports the method for attachment of the AP of Chinese SSID, and wherein, described step B is concrete
For:
Extract in AP information set form valid data section first and last critical field be BSSID and
SSID。
Described a kind of Android system Wi-Fi supports the method for attachment of the AP of Chinese SSID, and wherein, described step E is concrete
Including:
E1, user select a certain target to connect AP, and the information that this AP of lower report is corresponding;
The BSSID that in E2, the BSSID extracting this AP and step B, List container preserves carries out comparison one by one, if not phase
With, then return step E1;If identical, then will report under corresponding information to wireless network management layer, and final information is written to
In configuration file, it is attached behavior afterwards.
Described a kind of Android system Wi-Fi supports the method for attachment of the AP of Chinese SSID, wherein, carries in described step E2
Take this AP BSSID and in step B List container preserve BSSID by standard library function strcmp () complete one by one than
Right.
A kind of connection system of the AP of Android system Wi-Fi support Chinese SSID, wherein, including:
Scan module, is used for opening Android system Wi-Fi, initiates AP scanning, and the AP information scanned is saved in and deposits
In storage unit;
Data extraction module, extracts in AP information BSSID and SSID and is saved in List container;
Detection coding module, for detecting the coded format of the SSID of AP in memory element, if Unicode encodes lattice
Formula, then enter next step operation;If non-Unicode coded format, then enter next after being converted to Unicode coded format
Step operation;
Link block, in the AP list of the UI region Wi-Fi being chosen as Unicode coded format, any one AP enters
Row connects.
Described a kind of Android system Wi-Fi supports the connection system of the AP of Chinese SSID, wherein, described detection coding mould
Block also includes:
First coding module, for by non-Unicode coded format, is converted to UTF8 coded format;
Second coding module, transfers aforementioned UTF8 coded format to Android for Android system JNI layer discernible
Unicode encodes and reports.
Described a kind of Android system Wi-Fi supports the connection system of the AP of Chinese SSID, and wherein, described link block is also
Including:
Select module, select a certain target to connect AP, and the information that this AP of lower report is corresponding for user;
Comparing module, enters with the BSSID of List container preservation in data extraction module for extracting the BSSID of this target AP
Row comparison one by one, selects module operation if it is not the same, then return;If identical, then report under corresponding information to wireless network
Management level, and final information is written in configuration file, it is attached behavior afterwards.
The method of attachment of the AP of a kind of Android system Wi-Fi provided by the present invention and system, when android terminal scans
During the SSID of this AP, which kind of coded format first goes to detect this SSID is, during if non-Unicode coded format, then need by
This coded format is converted into UTF8, then UTF8 code conversion is become Unicode coding to realize by the method provided by JNI layer
The normal display of Chinese.So after terminal scanning to AP, then SSID and the BSSID address of this AP is saved in List container
In, what user saw on interface would is that complete Chinese SSID, click on this SSID carry out Wi-Fi connect then follow standard
Android Wi-Fi flow process, thus substantially increase the existing Android mobile phone user convenience by Wi-Fi network application operating.
Accompanying drawing explanation
Fig. 1 is the first embodiment that the present invention a kind of Android system Wi-Fi supports the method for attachment of the AP of Chinese SSID
Flow chart.
Fig. 2 is the second embodiment that the present invention a kind of Android system Wi-Fi supports the method for attachment of the AP of Chinese SSID
Flow chart.
Fig. 3 is the principle that the present invention a kind of Android system Wi-Fi supports the embodiment of the connection system of the AP of Chinese SSID
Block diagram.
Detailed description of the invention
The method of attachment of the AP of a kind of Android system Wi-Fi provided by the present invention and system, for make the purpose of the present invention,
Technical scheme and advantage are clearer, clear and definite, and the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.Should
Understanding, specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Do not support the connection of AP of Chinese SSID for existing Android system Wi-Fi, cause when scanning AP often
The situation of Chinese SSID mess code, and the problem can not being attached with this AP, a kind of Android system provided by the present invention occur
System Wi-Fi supports the method for attachment of the AP of Chinese SSID, and which kind of coded format first goes to detect this SSID is, if non-
(ten thousand country codes, Universal Multiple-Octet Coded Character Set, based on universal character set for Unicode
The standard evolution of (Universal Character Set)) coded format time, then need to be converted into this coded format
UTF8(UCS Transformation Format 8-bit, is that the elongated character code of one of Unicode is also known as ten thousand states
Code), then call by JNI(JAVA this locality, Java Native Interface) layer provide method by UTF8 code conversion one-tenth
Unicode coding is to realize the normal display of Chinese.
To be done further by concrete Application Example file scanning method based on storage device to the present invention below
Illustrate:
Referring to Fig. 1, Fig. 1 is that the present invention a kind of Android system Wi-Fi supports the of the method for attachment of the AP of Chinese SSID
The flow chart of one embodiment.As it is shown in figure 1, the present invention a kind of Android system Wi-Fi supports the method for attachment of the AP of Chinese SSID
First embodiment comprise the following steps:
S1, unlatching Android system Wi-Fi, initiate AP scanning, and the AP information scanned preserved in the memory unit;
Described memory element is the object that the Wi-Fi scanning all AP information is deposited by Android system, at the present embodiment
In be preferably Android system deposit the mScanResults(of AP information specially for the information scanned by Android Wi-Fi
The object preserved, is a variable name in source code) unit.
BSSID(Basic service set identification in S2, extraction AP information, basic service set identification
Symbol, for representing the data link layer MAC address of AP) and SSID be saved in List container (List container is that C++/Java marks
The sequence container type of quasi-storehouse definition, supports quick insertion and the grammer of deletion) in;
BSSID and the SSID information of described extraction AP is also saved in List container all AP letter referring to that terminal scanning arrives
BSSID and SSID of breath will resolve and be saved in List container.Because AP information format is fixing, form is:
Bssid frequency signal level flags ssid //
Accompanying examples is as follows:
40:16:9f:a6:ae:9a(BSSID) 2,412 193 [WPA-PSK-CCMP] TCL_BSP(SSID)
With space as cut-point between each valid data section, it is only necessary to extract first and last critical field is
BSSID and SSID.BSSID is MAC Address, can be directly saved in List container by BSSID and SSID extracted,
So as the contrast of subsequent step.
In S3, detection memory element, whether the coded format of the SSID of AP is Unicode coded format, if
Unicode coded format, then enter step S5;If non-Unicode coded format, then enter step S4;
S4, be converted to Unicode coded format;
Detection encodes and updates the purpose of code and is, Android system can only identify Unicode coded format, if non-
If Unicode coded format, then can show mess code so that user cannot confirm;So add detection coded format merit at this
Can, first confirm that whether be Unicode coded format, if it is, carry out the work of below step, if non-Unicode compiles
Code form then carries out coded format conversion, carries out the work of below step after being converted to Unicode coded format again.
AP(wireless routing) SSID typically accessed configuration by PC browser by the Web server of AP, and domestic mostly
The Web server Chinese character code of number AP is GB2312(CNS simplified Chinese character collection, travels China's Mainland;Newly
Add the ground such as slope and be also adopted by this coding) coded format or other coded format, thus it is non-for configuring the SSID of AP by PC
Unicode coded format, and the Java layer of Android can only resolve Unicode coding, therefore when android terminal scans this AP's
During SSID, which kind of coded format first goes to detect this SSID is, during if non-Unicode coded format, needs first to be converted
For Unicode coded format, next step operation the most just can be carried out.
S5, the UI region Wi-Fi being chosen as Unicode coded format AP list in any one AP be attached.
Being encoded by the detection of abovementioned steps and recompile, what user saw on interface would is that complete Chinese
SSID, it then follows the Wi-Fi flow process of the Android of standard, clicks on this SSID and carries out Wi-Fi and connect and then can complete to connect Chinese SSID's
AP。
The said method provided by the present invention, Android system user need not additionally install third-party application software, just
Can fundamentally solve the Android system Wi-Fi not support issue to Chinese SSID.
Hereinafter by the second embodiment of the present invention, a kind of Android system Wi-Fi of the present invention will be supported Chinese SSID
The method of attachment of AP be described in further detail.
As in figure 2 it is shown, Fig. 2 a kind of Android system Wi-Fi that is the present invention supports the of the method for attachment of the AP of Chinese SSID
The flow chart of two embodiments, described method specifically includes following steps:
S21, unlatching Android system Wi-Fi, initiate AP scanning, and the AP information scanned preserved in the memory unit;
S22, extract in AP information BSSID and SSID and be saved in List container;
In S23, detection memory element, whether the coded format of the SSID of AP is Unicode coded format, if
Unicode coded format, then enter step S26;If non-Unicode coded format, then enter step S24;
Described step S21, S22, S23 are identical with S1, S2, S3 step of first embodiment, do not repeat them here.
S24, transcoding are UTF8;Non-Unicode coded format will be converted to UTF8 form;
S25, transcoding are Unicode;The UTF8 form reconvert that i.e. abovementioned steps obtains becomes Unicode coded format, and
Enter step S26;
The purpose using detection in said method step to encode and update code is that Android system can only identify
Unicode coded format, if non-Unicode coded format, then can show mess code so that user cannot confirm;So
Add detection coded format function, first confirm that whether be Unicode coded format, if it is, carry out the work of below step
Make, if non-Unicode coded format, carry out coded format conversion, be converted to Unicode coded format.
Because the JNI layer of current Android system supports the transcoding of UTF8 to Unicode, extended formatting is not supported, in order to
Ensure that the interface of Android own is constant so first transferring non-Unicode coded format to UTF8 form.Below the present embodiment uses
Non-Unicode coded format is transferred to UTF8 form by one of two kinds of methods: method 1: utilize enca(Extremely Naive
Charset Analyser, analysis of encoding) storehouse first detects current coded format, and interface function is detected_charset
();Then encode according to detecting result.Method 2: directly utilize ICU4C storehouse (be ICU version under C/C++ platform,
ICU i.e. International Component for Unicode is based on " IBM General Public License ", and tissue closes with increasing income
Work is studied, for supporting the open source projects storehouse of International Software) carry out encoding and decoding, interface function function is ucnv_
convert()。
Further, again by UTF-8 format conversion Unicode coded format: this converts by Android system base library
Libutils.so(libutils.so is the bottom storehouse of Android) the String16 class that provides (provides by libutils.so
Represent the class of strings of double-byte characters) realize, specifically call String16 class example initialization interface, String16::String16
(const String8& o);
Such as: har * szDst;String16 str(szDst);
Again by Android system dalvikVM(VM, Virtual Machine, DalvikVM are that Google company sets oneself
Meter is for the Java Virtual Machine of Android platform) the NewString function interface that provides creates the String of a Unicode format
Object, i.e. can be exchanged into Unicode coded format.
Such as: env-> NewString ((const jchar*) str.string (), str.size ())
S26, the UI region WiFi being chosen as Unicode coded format AP list in any one AP initiate connect please
Ask;
S27, the information of lower this target AP of report;
S28, extract the BSSID of this AP;
S29, the BSSID of AP all of in BSSID with List of target AP is compared the most consistent, be then to enter
Step S30;No, then return step S26;
S30, will report under comparison result to wireless network management layer;
S31, connection.
Because target AP information is also fixing form, can obtain with the method for step S22 extraction BSSID with SSID is the same
Getting the BSSID in target AP information, the AP information preserved in List container contrasts completely, and this comparison can be passed through
Standard library function strcmp () completes, and by the traversal of Container elements is come comparison one by one, until comparison result is consistent, then will
Reporting under comparison result to wireless network management layer, in the present embodiment, wireless network management layer is preferably the wpa_ of Android system
Supplicant layer, the most at last in relevant information write configuration file/etc/wpa_supplicant.conf, thus completes peace
The normal process of tall and erect Wi-Fi, it is achieved connect.
AP information herein of it should be noted that carries out contrast and mainly uses BSSID comparison, because SSID is to weigh
Multiple, BSSID is then unique, so contrasting as keyword with BSSID at this, in order to unique confirmation user AP.
By above-mentioned second embodiment it can be seen that a kind of Android system Wi-Fi that the present embodiment provides supports Chinese SSID
The method of attachment of AP, when being scanned the SSID of AP by android terminal, which kind of coded format first goes to detect this SSID is, if
During for non-Unicode coded format, then need to be converted into this coded format UTF8, then the method provided by JNI layer is incited somebody to action
UTF8 code conversion becomes Unicode coding to realize the normal display of Chinese.Further, then will after terminal scanning to AP
SSID and the BSSID address of this AP is saved in List container, and what user saw on interface would is that complete Chinese SSID,
Click on this SSID and carry out Wi-Fi connection, thus solve the problem that current Android system itself does not support Wi-Fi Chinese SSID.
Based on above-described embodiment, the embodiment of the present invention three additionally provides a kind of Android system Wi-Fi and supports Chinese SSID's
The connection system of AP, as it is shown on figure 3, Fig. 3 a kind of Android system Wi-Fi that is the present invention supports the connection system of the AP of Chinese SSID
The theory diagram of embodiment.
Described system includes:
Scan module 301, is used for opening Android system Wi-Fi, initiates AP scanning, and the AP information scanned is saved in
In memory element;Described memory element is preferably Android system in the present embodiment and deposits the mScanResults of AP information specially
Unit.
Data extraction module 302, extracts in AP information BSSID and SSID and is saved in List container;
Detection coding module 303, for detecting the coded format of the SSID of AP in memory element, if Unicode compiles
Code form, then enter next step operation;If non-Unicode coded format, then enter after being converted to Unicode coded format
Next step operation;
Link block 304, in the AP list of the UI region Wi-Fi that is chosen as Unicode coded format any one
AP is attached.
Further, described detection coding module 303 also includes:
First coding module 3031, for by non-Unicode coded format, is converted to UTF8 coded format;
Second coding module 3032, transfers aforementioned UTF8 coded format to Android for Android system JNI layer discernible
Unicode encodes and reports.
Further, described link block 304 also includes:
Select module 3041, select a certain target to connect AP, and the information that this AP of lower report is corresponding for user;
Comparing module 3042, for extracting BSSID and the List container preservation in data extraction module of this target AP
BSSID carries out comparison one by one, selects module operation if it is not the same, then return;If identical, then report under corresponding information to nothing
Line NML, is preferably the wpa_supplicant layer of Android system, and is written to join by final information in the present embodiment
Put in file/etc/wpa_supplicant.conf, be attached behavior afterwards.
In sum, the method for attachment of the AP of a kind of Android system Wi-Fi provided by the present invention and system, when Android is whole
When end scans the SSID of this AP, which kind of coded format first goes to detect this SSID is, during if non-Unicode coded format,
Then need this coded format is converted into UTF8(UCS Transformation Format 8-bit, be the one of Unicode
Kind of elongated character code is also known as ten thousand country codes), then the method provided by JNI layer UTF8 code conversion is become Unicode encode with
Realize the normal display of Chinese.So then by SSID and the BSSID(Basic service of this AP after terminal scanning to AP
Set identification, BSSID, for representing the data link layer MAC address of AP) address is saved in
In List container (List container sees C++/Java Container Description), what user saw on interface would is that complete Chinese
SSID, clicks on this SSID and carries out Wi-Fi and connect and then follow the Android Wi-Fi flow process of standard, thus substantially increase existing Android
Cellphone subscriber's convenience by Wi-Fi network application operating.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved according to the above description or to convert, all these modifications and variations all should belong to the guarantor of claims of the present invention
Protect scope.
Claims (9)
1. an Android system Wi-Fi supports the method for attachment of AP of Chinese SSID, it is characterised in that include step:
A, unlatching Android system Wi-Fi, initiate AP scanning, and the AP information scanned preserved in the memory unit;
B, extract in AP information BSSID and SSID and be saved in List container;
In C, detection memory element, whether the coded format of the SSID of AP is Unicode coded format, if Unicode coding
Form, then enter step E;If non-Unicode coded format, then enter step D;
D, be converted to Unicode coded format;
E, the UI region Wi-Fi being chosen as Unicode coded format AP list in any one AP be attached.
A kind of Android system Wi-Fi the most according to claim 1 supports the method for attachment of the AP of Chinese SSID, and its feature exists
In, described step D is converted to Unicode coded format and specifically includes:
D1, by non-Unicode coded format, be converted to UTF8 coded format;
UTF8 coded format is transferred to Android discernible Unicode coded format by D2, Android system JNI layer.
A kind of Android system Wi-Fi the most according to claim 2 supports the method for attachment of the AP of Chinese SSID, and its feature exists
In, described step D1 particularly as follows:
Utilizing enca storehouse first to detect current coded format, interface function is detected_charset (), according to detecting knot
Fruit carries out code conversion and is UTF8 coded format or directly utilizes ICU4C storehouse and carry out encoding and decoding, and interface function is ucnv_
Convert (), is converted to UTF8 coded format.
A kind of Android system Wi-Fi the most according to claim 1 supports the method for attachment of the AP of Chinese SSID, and its feature exists
In, described step B particularly as follows:
In extraction AP information set form valid data section, first is BSSID and SSID with last critical field.
A kind of Android system Wi-Fi the most according to claim 1 supports the method for attachment of the AP of Chinese SSID, and its feature exists
In, described step E specifically includes:
E1, user select a certain target to connect AP, and the information that this AP of lower report is corresponding;
The BSSID that in E2, the BSSID extracting this AP and step B, List container preserves carries out comparison one by one, if it is not the same, then
Return step E1;If identical, then will report under corresponding information to wireless network management layer, and final information is written to configuration literary composition
In part, it is attached behavior afterwards.
A kind of Android system Wi-Fi the most according to claim 5 supports the method for attachment of the AP of Chinese SSID, and its feature exists
In, the BSSID extracting this AP in described step E2 passes through standard library function with the BSSID of List container preservation in step B
Strcmp () completes comparison one by one.
7. the connection system of the AP of an Android system Wi-Fi support Chinese SSID, it is characterised in that including:
Scan module, is used for opening Android system Wi-Fi, initiates AP scanning, and it is single that the AP information scanned is saved in storage
In unit;
Data extraction module, extracts in AP information BSSID and SSID and is saved in List container;
Detection coding module, for detecting the coded format of the SSID of AP in memory element, if Unicode coded format,
Then enter next step operation;If non-Unicode coded format, then enter next step after being converted to Unicode coded format
Operation;
Link block, in the AP list of the UI region Wi-Fi being chosen as Unicode coded format, any one AP is carried out even
Connect.
A kind of Android system Wi-Fi the most according to claim 7 supports the connection system of the AP of Chinese SSID, and its feature exists
In, described detection coding module also includes:
First coding module, for by non-Unicode coded format, is converted to UTF8 coded format;
Second coding module, transfers aforementioned UTF8 coded format to Android discernible Unicode for Android system JNI layer and compiles
Code also reports.
A kind of Android system Wi-Fi the most according to claim 7 supports the connection system of the AP of Chinese SSID, and its feature exists
In, described link block also includes:
Select module, select a certain target to connect AP, and the information that this AP of lower report is corresponding for user;
Comparing module, carries out one for extracting the BSSID of this target AP with the BSSID of List container preservation in data extraction module
One comparison, selects module operation if it is not the same, then return;If identical, then report under corresponding information to wireless network management
Layer, and final information is written in configuration file, it is attached behavior afterwards.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210238701.XA CN103517385B (en) | 2012-07-11 | 2012-07-11 | The method of attachment of the AP of Android system Wi-Fi and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210238701.XA CN103517385B (en) | 2012-07-11 | 2012-07-11 | The method of attachment of the AP of Android system Wi-Fi and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103517385A CN103517385A (en) | 2014-01-15 |
| CN103517385B true CN103517385B (en) | 2016-08-03 |
Family
ID=49899198
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210238701.XA Active CN103517385B (en) | 2012-07-11 | 2012-07-11 | The method of attachment of the AP of Android system Wi-Fi and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103517385B (en) |
Families Citing this family (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104661285B (en) * | 2013-11-18 | 2018-06-01 | 联想(北京)有限公司 | A kind of processing method of information, device and electronic equipment |
| CN104125336B (en) * | 2014-07-03 | 2016-07-27 | 珠海市君天电子科技有限公司 | The method and apparatus repairing wireless network name |
| CN104135754A (en) * | 2014-08-05 | 2014-11-05 | 广东欧珀移动通信有限公司 | A method and device for adding and connecting hidden Chinese wifi hotspots |
| CN104283642B (en) * | 2014-10-22 | 2018-07-24 | 小米科技有限责任公司 | The method and device of issuing service set identifier SSID in WLAN |
| CN106068028B (en) * | 2016-07-04 | 2019-09-20 | 青岛海信宽带多媒体技术有限公司 | The method and terminal of wireless network name messy code are handled in terminal |
| CN108377528B (en) * | 2016-10-28 | 2021-02-05 | 中国电信股份有限公司 | Wireless network access method, terminal and wireless network system |
| CN106792622A (en) * | 2016-12-27 | 2017-05-31 | 广东欧珀移动通信有限公司 | Method and terminal equipment for connecting hidden AP |
| KR101723984B1 (en) * | 2017-01-31 | 2017-04-06 | (주)그립 | Device and Method for Controlling Internet of Things Device |
| WO2018166093A1 (en) * | 2017-03-13 | 2018-09-20 | 华为技术有限公司 | Method and apparatus for processing service set identifier, and terminal |
| CN107729302B (en) * | 2017-10-23 | 2021-10-15 | Oppo广东移动通信有限公司 | Decoding algorithm determination method, device, terminal and storage medium |
| CN107770844B (en) * | 2017-10-23 | 2020-12-29 | Oppo广东移动通信有限公司 | Decoding algorithm determination method, device, terminal and storage medium |
| CN107766305A (en) * | 2017-10-23 | 2018-03-06 | 广东欧珀移动通信有限公司 | Method, device, terminal and storage medium for determining decoding algorithm |
| CN108235249B (en) * | 2018-01-16 | 2020-11-17 | Oppo广东移动通信有限公司 | Method and device for determining coding mode, storage medium and terminal |
| CN108900601B (en) * | 2018-06-27 | 2020-09-29 | 掌阅科技股份有限公司 | File transfer method, computer device and storage medium |
| CN109089265B (en) * | 2018-08-14 | 2021-04-20 | 四川虹美智能科技有限公司 | Equipment networking management system and method and intelligent equipment |
| CN111629376B (en) * | 2019-02-28 | 2023-09-12 | 阿里巴巴集团控股有限公司 | Information display method, device, equipment and system |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101605077A (en) * | 2008-06-10 | 2009-12-16 | 上海贝尔阿尔卡特股份有限公司 | A kind of providing by the WiFi network moved method and the device thereof that inserts |
| CN101662762A (en) * | 2009-09-11 | 2010-03-03 | 深圳华为通信技术有限公司 | Sending method, receiving method and device of service set identifiers |
| CN102172061A (en) * | 2008-09-30 | 2011-08-31 | 佳能株式会社 | Communication device and method for controlling the same |
-
2012
- 2012-07-11 CN CN201210238701.XA patent/CN103517385B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101605077A (en) * | 2008-06-10 | 2009-12-16 | 上海贝尔阿尔卡特股份有限公司 | A kind of providing by the WiFi network moved method and the device thereof that inserts |
| CN102172061A (en) * | 2008-09-30 | 2011-08-31 | 佳能株式会社 | Communication device and method for controlling the same |
| CN101662762A (en) * | 2009-09-11 | 2010-03-03 | 深圳华为通信技术有限公司 | Sending method, receiving method and device of service set identifiers |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103517385A (en) | 2014-01-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103517385B (en) | The method of attachment of the AP of Android system Wi-Fi and system | |
| CN101964813B (en) | Method and system for detecting terminal information in GPRS network | |
| US11516732B2 (en) | Provisioning an embedded universal integrated circuit card (eUICC) of a mobile communication device | |
| CN102355500B (en) | Service push method and device | |
| CN101227345B (en) | Automatic testing method based on application program interface | |
| CN109408132A (en) | A kind of configuration file processing method and server, user terminal, storage medium | |
| KR20140123086A (en) | Systems and methods for enabling stations to connect to wireless hotspots using non-unicode service set identification information | |
| CN106294178A (en) | Automated testing method and device | |
| CN106293675A (en) | Static system resource loading method and device | |
| CN102316129A (en) | Method of data exchange between embedded device and remote database | |
| BRPI0902009A2 (en) | mediation trigger system | |
| CN103176834A (en) | Method and device for calling expansion interface | |
| CN103634393A (en) | IVR (interactive voice response) and realization method thereof | |
| CN112015384A (en) | An interface mapping method and device | |
| CN102073705B (en) | Intelligent short message resolving system of color card client | |
| CN101217734B (en) | BREW page layout access method and terminal with BREW_URL addresses | |
| CN102811272A (en) | Updating method, updating apparatus and communication terminal | |
| WO2015176443A1 (en) | Method and device for processing enterprise internet application | |
| CN113064627A (en) | Service access data processing method, platform, terminal, equipment and system | |
| CN109614592B (en) | Text processing method and device, storage medium and electronic equipment | |
| CN101101606A (en) | Web page coding language automatic identification method and device for embedded type browser | |
| CN104113837A (en) | Method and device for access authentication of wireless local area network | |
| CN102711092A (en) | Dial-up data download method of client software | |
| US7747711B2 (en) | Network configuration method and system | |
| CN106528144B (en) | Replace the method and user terminal of system font |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |