CN106686545B - A kind of application method and device of Wireless Fidelity national code - Google Patents
A kind of application method and device of Wireless Fidelity national code Download PDFInfo
- Publication number
- CN106686545B CN106686545B CN201611117009.6A CN201611117009A CN106686545B CN 106686545 B CN106686545 B CN 106686545B CN 201611117009 A CN201611117009 A CN 201611117009A CN 106686545 B CN106686545 B CN 106686545B
- Authority
- CN
- China
- Prior art keywords
- national code
- national
- code
- intelligent terminal
- location information
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
Abstract
The invention belongs to the communications fields, and provide the application method and device of a kind of Wireless Fidelity national code, described method includes following steps: intelligent terminal obtains current location information;The intelligent terminal location information current according to this extracts corresponding first national code of the current location information;Intelligent terminal judges whether first national code and the second national code saved are identical;If first national code and second national code be not identical, intelligent terminal replaces second national code with first national code, and first national code is saved.Technical solution provided by the invention has the advantages that not influence user's use.
Description
Technical field
The present invention relates to the communications field more particularly to a kind of application methods and device of Wireless Fidelity national code.
Background technique
The equipment such as the terminal of the communications field, such as mobile phone, tablet computer are to belong to the common equipment of user, due at present should
Equipment all has the operating system of itself, so terminal is also known as intelligent terminal or smart phone, smart phone (English:
Smartphone) it is collectivity appellation for those operational capabilities and function mobile phone more stronger than traditional function mobile phone.
The platform (ISO platform or Android platform etc.) of existing smart phone, is equipped with Wifi chip, props up simultaneously
It holds the online of connection router or is connected as Wifi hot spot for other people, i.e., existing smart phone is in different scenes
Think station (STA), or access point (AP), at present in Android technology every time using wifi when use be all
One fixed channel, due to the difference of country, the channel that different countries is able to use is not quite identical, so intelligence is eventually
It holds in different countries because the difference of national code may cause the intelligent terminal and can not use as AP, influences user's use.
Summary of the invention
An object of the present invention is to provide a kind of application method of Wireless Fidelity national code, mainly solves existing intelligence
Energy terminal can not be used as access point, influence the shortcomings that user uses.
In a first aspect, providing a kind of application method of Wireless Fidelity national code, described method includes following steps: intelligence is eventually
End obtains current location information;The intelligent terminal location information current according to this extracts the current location information corresponding
One national code;Intelligent terminal judges whether first national code and the second national code saved are identical;Such as first state
Family's code and second national code be not identical, intelligent terminal first national code replacement, second national code, and by institute
State the preservation of the first national code.
Optionally, the location information includes: in coordinate information, IP address, base station cell information or latitude and longitude information
A kind of or any combination.
Optionally, the method also includes:
Intelligent terminal selects letter of the available channel as hot spot when opening hot spot, according to first national code
Road.
Optionally, the method also includes:
The national code that first national code is the WIFI is arranged when opening WIFI in intelligent terminal.
Optionally, the method also includes:
For intelligent terminal when opening WIFI, intelligent terminal extracts the Access Point Name in the scanning result of WIFI scan operation
Claim, analysis described access point title determines the corresponding first language type of described access point title, judges the first language kind
Whether class is in the category of language of the access point name of history access, such as access point that accesses in history of the first language type
In the category of language of title, then it is the national code that WIFI is used that first national code, which is arranged, not such as the first language type
In the category of language of the access point name of history access, the corresponding national title of corresponding category of language is obtained, the state is obtained
The national code that the third national code is WIFI is arranged in the corresponding third national code of family's title.
Second aspect provides a kind of application apparatus of Wireless Fidelity national code, described device: acquiring unit, for obtaining
Current location information;Extraction unit extracts the current location information corresponding for the location information current according to this
One national code;Judging unit, for judging whether first national code and the second national code saved are identical.It saves single
Member, it is not identical for such as first national code and second national code, second state is replaced with first national code
Family's code, and first national code is saved.
Optionally, the location information includes: in coordinate information, IP address, base station cell information or latitude and longitude information
A kind of or any combination.
Optionally, described device further include: selecting unit, for being selected according to first national code when opening hot spot
Select channel of the available channel as hot spot.
Optionally, described device further include: setting unit is used for when opening WIFI, and first national code is arranged and is
The national code of the WIFI.
Optionally, described device further include: processing unit, for extracting sweeping for WIFI scan operation when opening WIFI
The access point name in result is retouched, analysis described access point title determines the corresponding first language type of described access point title,
Judge the first language type whether history access access point name category of language in, such as the first language type
In the category of language of the access point name of history access, then it is the national code that WIFI is used that first national code, which is arranged, such as
The first language type obtains the corresponding state of corresponding category of language not in the category of language of the access point name of history access
Family's title obtains the corresponding third national code of the national title, the national code that the third national code is WIFI is arranged.
The third aspect, provides a kind of intelligent terminal, and the intelligent terminal includes: processor, memory, transceiver and total
Line;The processor, the memory, the transceiver are connected by the bus;The memory, for storing program generation
Code;The processing unit, for calling said program code to execute the application side for the Wireless Fidelity national code that first aspect provides
Method.
Those of ordinary skill in the art will understand that although following detailed description carries out referenced in schematic embodiment, attached drawing,
But the present invention is not limited to these embodiments.But the scope of the present invention is extensive, and is intended to only through appended right
It is required that limiting the scope of the invention.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is the flow chart of the application method of the Wireless Fidelity national code provided according to a preferred embodiment of the invention.
Fig. 2 is the process of the application method of the Wireless Fidelity national code provided according to another preferred embodiment of the present invention
Figure.
Fig. 3 is the process of the application method of the Wireless Fidelity national code provided according to another preferred embodiment of the invention
Figure.
Fig. 4 is a kind of structure chart of the application apparatus of Wireless Fidelity national code provided by the invention.
Fig. 5 is the hardware structural diagram of intelligent terminal provided by the invention.
Specific embodiment
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing or method described as flow chart.Although operations are described as the processing of sequence by flow chart, therein to be permitted
Multioperation can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be rearranged.When it
The processing can be terminated when operation completion, it is also possible to have the additional step being not included in attached drawing.The processing
It can correspond to method, function, regulation, subroutine, subprogram etc..
Alleged " computer equipment " within a context, also referred to as " computer ", referring to can be by running preset program or referring to
Enable to execute numerical value and calculate and/or the intelligent electronic device of the predetermined process process such as logic calculation, may include processor with
Memory executes the survival prestored in memory instruction by processor to execute predetermined process process, or by ASIC,
The hardware such as FPGA, DSP execute predetermined process process, or are realized by said two devices combination.Computer equipment includes but unlimited
In server, PC, laptop, tablet computer, smart phone etc..
Method (some of them are illustrated by process) discussed hereafter can be by hardware, software, firmware, centre
Part, microcode, hardware description language or any combination thereof are implemented.Implement when with software, firmware, middleware or microcode
When, program code or code segment to implement necessary task can be stored in machine or computer-readable medium and (for example deposit
Storage media) in.Necessary task can be implemented in (one or more) processor.
Specific structure and function details disclosed herein are only representative, and are for describing the present invention show
The purpose of example property embodiment.But the present invention can be implemented by many alternative forms, and be not interpreted as
It is limited only by the embodiments set forth herein.
Although it should be understood that may have been used term " first ", " second " etc. herein to describe each unit,
But these units should not be limited by these terms.The use of these items is only for by a unit and another unit
It distinguishes.For example, without departing substantially from the range of exemplary embodiment, it is single that first unit can be referred to as second
Member, and similarly second unit can be referred to as first unit.Term "and/or" used herein above include one of them or
Any and all combinations of more listed associated items.
Term used herein above is not intended to limit exemplary embodiment just for the sake of description specific embodiment.Unless
Context clearly refers else, otherwise singular used herein above "one", " one " also attempt to include plural number.Also answer
When understanding, term " includes " and/or "comprising" used herein above provide stated feature, integer, step, operation,
The presence of unit and/or component, and do not preclude the presence or addition of other one or more features, integer, step, operation, unit,
Component and/or combination thereof.
It should further be mentioned that the function action being previously mentioned can be attached according to being different from some replace implementations
The sequence indicated in figure occurs.For example, related function action is depended on, the two width figures shown in succession actually may be used
Substantially simultaneously to execute or can execute in a reverse order sometimes.
Present invention is further described in detail with reference to the accompanying drawing.
According to an aspect of the invention, there is provided a kind of method of the application of Wireless Fidelity national code, this method is by intelligence
Energy terminal realizes that the intelligent terminal is specifically as follows: mobile phone, tablet computer, smartwatch, Intelligent bracelet, personal digital assistant
Etc. smart machine, this method is as shown in Figure 1, include the following steps:
Step S101, intelligent terminal obtains current location information.
It should be noted that the location information in above-mentioned steps S101 includes but is not limited to: coordinate information, the coordinate information
Including but do not limit: GPS coordinate, the location information can also include: IP address, and certain above-mentioned location information can also include:
Base station cell information, certain above-mentioned location information can be with are as follows: latitude and longitude information.
For example, intelligent terminal can pass through locating module (such as GPS module or north when location information is coordinate information
Struggle against module) obtain current position coordinates.For another example, when location information is IP address, intelligent terminal can be obtained by data packet
Take the IP address.Such as, when current location information is base station cell information, intelligent terminal can obtain base station according to connection base station
Cell information.For another when location information is latitude and longitude information, intelligent terminal can be obtained according to the position coordinates of locating module
Latitude and longitude information.
Step S102, the intelligent terminal location information current according to this extracts corresponding first state of the current location information
Family's code.
For example, intelligent terminal can pass through locating module (such as GPS module or north when location information is coordinate information
Struggle against module) current position coordinates are obtained, national title is determined according to position coordinates, determines corresponding first country of country's title
Code.For another example, when location information is IP address, intelligent terminal can obtain corresponding state's letter from home in the IP address by IP address
Breath, the corresponding national code of the national information is inquired according to the national information from national code list.Such as, current location information
When for base station cell information, intelligent terminal can determine international code (MCC) according to base station cell information.For another location information is
When latitude and longitude information, national information is determined according to latitude and longitude information, inquires national code according to national information.
Step S103, intelligent terminal judges whether the first national code and the second national code saved are identical.
Step S104, such as the first national code and the second national code be not identical, intelligent terminal with the first national code replace this
Two national codes, and first national code is saved.
The history national code that above-mentioned second national code can save for intelligent terminal, for example, user carries intelligent terminal
From China to Japan, i.e. the second national code of history national code of the intelligent terminal before unmodified national code is corresponding state, China
Family's code, modified national code i.e. the first national code are Japanese national code.
The technical solution provided on one side according to the present invention, obtains current location information, the position current according to this
Then the first national code of information extraction compares the first national code with the second national code saved, if there is changing i.e. first
When national code and inconsistent the second national code, the second national code is replaced with the first national code, avoids to save in this way
Two national codes the first national code corresponding with current location is inconsistent and then influences the use problem of WIFI connection or WIFI hot spot,
So technical solution of the present invention will not influence user's use.
According to another aspect of the present invention, provide a kind of method of the application of Wireless Fidelity national code, this method by
Intelligent terminal realizes that the intelligent terminal is specifically as follows: mobile phone, tablet computer, smartwatch, Intelligent bracelet, individual digital help
Reason etc. smart machine, this method is as shown in Fig. 2, include the following steps:
Step S201, intelligent terminal obtains current location information.
It should be noted that the location information in above-mentioned steps S201 includes but is not limited to: coordinate information, the coordinate information
Including but do not limit: GPS coordinate, the location information can also include: IP address, and certain above-mentioned location information can also include:
Base station cell information, certain above-mentioned location information can be with are as follows: latitude and longitude information.
For example, intelligent terminal can pass through locating module (such as GPS module or north when location information is coordinate information
Struggle against module) obtain current position coordinates.For another example, when location information is IP address, intelligent terminal can be obtained by data packet
Take the IP address.Such as, when current location information is base station cell information, intelligent terminal can obtain base station according to connection base station
Cell information.For another when location information is latitude and longitude information, intelligent terminal can be obtained according to the position coordinates of locating module
Latitude and longitude information.
Step S202, the intelligent terminal location information current according to this extracts corresponding first state of the current location information
Family's code.
For example, intelligent terminal can pass through locating module (such as GPS module or north when location information is coordinate information
Struggle against module) current position coordinates are obtained, national title is determined according to position coordinates, determines corresponding first country of country's title
Code.For another example, when location information is IP address, intelligent terminal can obtain corresponding state's letter from home in the IP address by IP address
Breath, the corresponding national code of the national information is inquired according to the national information from national code list.Such as, current location information
When for base station cell information, intelligent terminal can determine international code (MCC) according to base station cell information.For another location information is
When latitude and longitude information, national information is determined according to latitude and longitude information, inquires national code according to national information.
Step S203, intelligent terminal judges whether the first national code and the second national code saved are identical.
Step S204, such as the first national code and the second national code be not identical, intelligent terminal with the first national code replace this
Two national codes, and first national code is saved.
Step S205, intelligent terminal is when opening hot spot, according to first national code select an available channel as
The channel of hot spot.
The implementation method of above-mentioned steps S205 is specifically as follows:
For example, in a specific embodiment of the invention, it can be by the way that touching display screen be arranged in intelligent terminal, then
Set interface is shown on touching display screen, shows that the switch that WIFI is opened or closed is selected for user in set interface, such as
User has selected hot spot opening, then intelligent terminal, which determines, opens hot spot.
For another example, in another specific embodiment of the present invention, can by intelligent terminal send a control command come
It realizes and opens hot spot, after intelligent terminal receives the control command, confirmly detect user and open hot spot.Above-mentioned control command
It can wirelessly send, including but not limited to: 3G, 4G network or by modes such as bluetooths, sending order end can be with
For other terminals being connect with intelligent terminal, for example, smartwatch, Intelligent bracelet etc., naturally it is also possible to be other equipment to intelligence
Energy terminal sends the control command, and the specific embodiment of the invention is not limited to the specific sending method of above-mentioned control command.
This technical solution can increase the availability of hot spot.
The technical solution provided on the other hand according to the present invention, obtains current location information, the position current according to this
The first national code of information extraction is set, then compares the first national code with the second national code saved, if there is changing i.e. the
When one national code and inconsistent the second national code, the second national code is replaced with the first national code, avoids to save in this way
Second national code the first national code corresponding with current location is inconsistent and then influence WIFI connection or the use of WIFI hot spot are asked
Topic, so technical solution of the present invention will not influence user's use.
According to a further aspect of the invention, provide a kind of method of the application of Wireless Fidelity national code, this method by
Intelligent terminal realizes that the intelligent terminal is specifically as follows: mobile phone, tablet computer, smartwatch, Intelligent bracelet, individual digital help
Reason etc. smart machine, this method is as shown in figure 3, include the following steps:
Step S301, intelligent terminal obtains current location information.
It should be noted that the location information in above-mentioned steps S301 includes but is not limited to: coordinate information, the coordinate information
Including but do not limit: GPS coordinate, the location information can also include: IP address, and certain above-mentioned location information can also include:
Base station cell information, certain above-mentioned location information can be with are as follows: latitude and longitude information.
For example, intelligent terminal can pass through locating module (such as GPS module or north when location information is coordinate information
Struggle against module) obtain current position coordinates.For another example, when location information is IP address, intelligent terminal can be obtained by data packet
Take the IP address.Such as, when current location information is base station cell information, intelligent terminal can obtain base station according to connection base station
Cell information.For another when location information is latitude and longitude information, intelligent terminal can be obtained according to the position coordinates of locating module
Latitude and longitude information.
Step S302, the intelligent terminal location information current according to this extracts corresponding first state of the current location information
Family's code.
For example, intelligent terminal can pass through locating module (such as GPS module or north when location information is coordinate information
Struggle against module) current position coordinates are obtained, national title is determined according to position coordinates, determines corresponding first country of country's title
Code.For another example, when location information is IP address, intelligent terminal can obtain corresponding state's letter from home in the IP address by IP address
Breath, the corresponding national code of the national information is inquired according to the national information from national code list.Such as, current location information
When for base station cell information, intelligent terminal can determine international code (MCC) according to base station cell information.For another location information is
When latitude and longitude information, national information is determined according to latitude and longitude information, inquires national code according to national information.
Step S303, intelligent terminal judges whether the first national code and the second national code saved are identical.
Step S304, such as the first national code and the second national code be not identical, intelligent terminal with the first national code replace this
Two national codes, and first national code is saved.
Step S305, when opening WIFI, intelligent terminal extracts in the scanning result of WIFI scan operation intelligent terminal
Access point name analyzes the access point name and determines the corresponding first language type of the access point name, judges the first language
Whether type is in the category of language of the access point name of history access, the access point that accesses such as the first language type in history
In the category of language of title, then it is the national code that WIFI is used that the first national code, which is arranged, if the first language type is not in history
In the category of language of the access point name of access, the corresponding national title of corresponding category of language is obtained, it is corresponding to obtain national title
Third national code, setting third national code be WIFI national code.
For example, it generally is mother tongue or English for the title of AP access point, for example, in China, it is most of
The title of AP be Chinese or Chinese plus English, in Japan, the entitled Japanese of most AP, similarly, in some countries,
Such as Germany or France, everybody title of the mother tongue more accustomed to using as access point, then when country replaces, such as user exists
When newly to a country, the AP for access of marching into the arena for it i.e. history access AP has its mother tongue and English certainly, newly to a country
Such as when Japan, when the corresponding AP name of scanning result occur and Japanese occur, it can judge that this has arrived Japan with user, thus
National code is replaced with the corresponding national code of Japan.
The technical solution that another aspect provides according to the present invention, obtains current location information, the position current according to this
The first national code of information extraction is set, then compares the first national code with the second national code saved, if there is changing i.e. the
When one national code and inconsistent the second national code, the second national code is replaced with the first national code, avoids to save in this way
Second national code the first national code corresponding with current location is inconsistent and then influence WIFI connection or the use of WIFI hot spot are asked
Topic, so technical solution of the present invention will not influence user's use.
Optionally, the above method can also include: after step S305
Access parameter, the AP for selecting the maximum AP of access parameter to access as WIFI are calculated according to formula 1.
Wherein, Xn is the value of the access parameter of n-th of AP, and Sn is the signal strength indication of n-th of AP,For the letter of all AP
Number intensity value average value, Yn are the quantitative value of the access terminal of n-th of AP,The number average of all AP access terminals.
This mode, which can be calculated quantitatively, needs the AP that accesses, with reference to access terminal quantity and signal it is strong
Degree, avoids after terminal is linked into AP and needs the problem of switching.
Refering to Fig. 4, Fig. 4 be a kind of application apparatus 400 of Wireless Fidelity national code provided by the invention, described device:
Acquiring unit 401, for obtaining current location information;
Extraction unit 402 extracts corresponding first state of the current location information for the location information current according to this
Family's code;
Judging unit 403, for judging whether first national code and the second national code saved are identical.
Storage unit 404, it is not identical for such as first national code and second national code, with first country
Code replaces second national code, and first national code is saved.
Optionally, the location information includes: in coordinate information, IP address, base station cell information or latitude and longitude information
A kind of or any combination.
Optionally, described device further include: selecting unit 405 is used for when opening hot spot, according to first national code
Select channel of the available channel as hot spot.
Optionally, described device further include: setting unit 406, for first national code to be arranged when opening WIFI
For the national code of the WIFI.
Optionally, described device further include: processing unit 407, for extracting WIFI scan operation when opening WIFI
Access point name in scanning result, analysis described access point title determine the corresponding first language kind of described access point title
Class, judge the first language type whether history access access point name category of language in, such as the first language
For type in the category of language for the access point name that history accesses, then it is the country that WIFI is used that first national code, which is arranged,
Code obtains corresponding category of language pair if the first language type is not in the category of language of the access point name of history access
The national title answered obtains the corresponding third national code of the national title, the country that the third national code is WIFI is arranged
Code.
The details of the embodiment of the present invention, and without departing from the spirit or essential characteristics of the present invention, can be with
Other concrete forms realize the present invention.Therefore, in all respects, the embodiments should be taken as exemplary, and
And be non-limiting, the scope of the invention being indicated by the appended claims rather than by the foregoing description, it is intended that power will be fallen in
All changes in the meaning and scope for the equivalency that benefit requires are included in the present invention.It should not will be any in claim
Appended drawing reference is construed as limiting the claims involved.Furthermore, it is to be understood that one word of " comprising " does not exclude other units or steps, odd number
It is not excluded for plural number.The multiple units or device stated in system claims can also by a unit or device by software or
Person hardware is realized.The first, the second equal words are used to indicate names, and are not indicated any particular order.
The flow chart and block diagram in the drawings show the system of multiple embodiments according to the present invention, method and computer journeys
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, section or code of table, a part of the module, section or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually base
Originally it is performed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that
It is the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, can uses and execute rule
The dedicated hardware based system of fixed function or movement is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Referring to Fig. 5, the embodiment of the present invention also provides a kind of intelligent terminal 500, which includes but is not limited to:
Smart phone, smartwatch, tablet computer, personal computer, laptop or computer group, as shown in figure 5, the intelligence
Terminal 500 includes: processor 501, memory 502, transceiver 503 and bus 504.Transceiver 503 be used for external equipment it
Between sending and receiving data.The quantity of processor 501 in terminal 300 can be one or more.In some embodiments of the present application, place
Reason device 501, memory 502 can be connected with transceiver 503 by bus system or other modes.Intelligent terminal 500 can be used for
Execute Fig. 1, method shown in Fig. 2.About the meaning and citing of the term that the present embodiment is related to, Fig. 1, Fig. 2 couple can be referred to
The explanation answered.Details are not described herein again.
Wherein, program code is stored in memory 502.Processor 501 is for calling the program generation stored in memory 502
Code, for executing step as shown in Figure 1, Figure 2, Figure 3 shows.
It should be noted that processor 501 here can be a processing element, it is also possible to multiple processing elements
It is referred to as.For example, the processing element can be central processing unit (Central Processing Unit, CPU), it is also possible to spy
Determine integrated circuit (Application Specific Integrated Circuit, ASIC), or is arranged to implement this
Apply for one or more integrated circuits of embodiment, such as: one or more microprocessors (digital signal
Processor, DSP), or, one or more field programmable gate array (Field Programmable Gate Array,
FPGA)。
Memory 502 can be a storage device, be also possible to the general designation of multiple memory elements, and for storing and can hold
Parameter, data required for line program code or application program running gear are run etc..And memory 503 may include random storage
Device (RAM) also may include nonvolatile memory (non-volatile memory), such as magnetic disk storage, flash memory
(Flash) etc..
It is total that bus 504 can be industry standard architecture (Industry Standard Architecture, ISA)
Line, external equipment interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended
Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control
Bus processed etc..Only to be indicated with a thick line in Fig. 5, it is not intended that an only bus or a type of convenient for indicating
Bus.
The terminal can also include input/output unit, be connected to bus 504, to wait it by bus and processor 501
Its part connects.The input/output unit can provide an input interface for operator, so that operator passes through the input
Interface selects item of deploying to ensure effective monitoring and control of illegal activities, and can also be other interfaces, can pass through the external other equipment of the interface.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can
To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be through some communication interfaces, device or unit it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme should all cover within the scope of the claims and the description of the invention.
Claims (9)
1. a kind of application method of Wireless Fidelity national code, which is characterized in that described method includes following steps:
Intelligent terminal obtains current location information;
The intelligent terminal location information current according to this extracts corresponding first national code of the current location information;
Intelligent terminal judges whether first national code and the second national code saved are identical;
If first national code and second national code be not identical, intelligent terminal first national code replacement described the
Two national codes, and first national code is saved;
The method also includes:
For intelligent terminal when opening WIFI, intelligent terminal extracts the access point name in the scanning result of WIFI scan operation, point
Analysis described access point title determines the corresponding first language type of described access point title, whether judges the first language type
In the category of language of the access point name of history access, such as the first language type in the access point name that history accesses
In category of language, then it is the national code that WIFI is used that first national code, which is arranged, and such as first language type is not in history
In the category of language of the access point name of access, the corresponding national title of corresponding category of language is obtained, the national title is obtained
The national code that the third national code is WIFI is arranged in corresponding third national code.
2. the method according to claim 1, wherein
The location information includes: one of coordinate information, IP address, base station cell information or latitude and longitude information or any group
It closes.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
Intelligent terminal selects channel of the available channel as hot spot when opening hot spot, according to first national code.
4. method according to claim 1 or 2, which is characterized in that the method also includes:
The national code that first national code is the WIFI is arranged when opening WIFI in intelligent terminal.
5. a kind of application apparatus of Wireless Fidelity national code, which is characterized in that described device:
Acquiring unit, for obtaining current location information;
Extraction unit extracts corresponding first national code of the current location information for the location information current according to this;
Judging unit, for judging whether first national code and the second national code saved are identical;
Storage unit, it is not identical for such as first national code and second national code, it is replaced with first national code
Second national code, and first national code is saved;
Described device further include:
Processing unit analyzes institute for extracting the access point name in the scanning result of WIFI scan operation when opening WIFI
It states access point name and determines the corresponding first language type of described access point title, judge whether the first language type is being gone through
In the category of language of the access point name of history access, the language for the access point name that such as first language type is accessed in history
In type, then it is the national code that WIFI is used that first national code, which is arranged, and such as the first language type is not accessed in history
Access point name category of language in, obtain the corresponding national title of corresponding category of language, it is corresponding to obtain the national title
Third national code, be arranged the third national code be WIFI national code.
6. device according to claim 5, which is characterized in that
The location information includes: one of coordinate information, IP address, base station cell information or latitude and longitude information or any group
It closes.
7. device according to claim 5 or 6, which is characterized in that described device further include:
Selecting unit, for selecting letter of the available channel as hot spot according to first national code when opening hot spot
Road.
8. device according to claim 5 or 6, which is characterized in that described device further include:
Setting unit, for the national code that first national code is the WIFI when opening WIFI, to be arranged.
9. a kind of intelligent terminal, which is characterized in that the intelligent terminal includes: processor, memory, transceiver and bus;Institute
Processor, the memory, the transceiver is stated to connect by the bus;
The memory, for storing program;
The processor, for calling described program to execute Wireless Fidelity national code according to any one of claims 1-4
Application method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611117009.6A CN106686545B (en) | 2016-12-07 | 2016-12-07 | A kind of application method and device of Wireless Fidelity national code |
PCT/CN2017/107532 WO2018103466A1 (en) | 2016-12-07 | 2017-10-24 | Method for applying wireless fidelity country code, apparatus, intelligent terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611117009.6A CN106686545B (en) | 2016-12-07 | 2016-12-07 | A kind of application method and device of Wireless Fidelity national code |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106686545A CN106686545A (en) | 2017-05-17 |
CN106686545B true CN106686545B (en) | 2019-04-26 |
Family
ID=58868476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611117009.6A Active CN106686545B (en) | 2016-12-07 | 2016-12-07 | A kind of application method and device of Wireless Fidelity national code |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106686545B (en) |
WO (1) | WO2018103466A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106686545B (en) * | 2016-12-07 | 2019-04-26 | Oppo广东移动通信有限公司 | A kind of application method and device of Wireless Fidelity national code |
CN109155667B (en) * | 2017-10-12 | 2021-08-17 | 深圳市大疆创新科技有限公司 | Wireless compliance implementation method of unmanned aerial vehicle, terminal equipment and system |
CN111405650A (en) * | 2020-03-06 | 2020-07-10 | 杭州涂鸦信息技术有限公司 | Method and system for setting zigbee equipment power |
CN111698340B (en) * | 2020-04-23 | 2023-04-07 | 新华三技术有限公司 | Wireless service providing method, device, electronic equipment and storage medium |
CN116918389A (en) * | 2021-02-22 | 2023-10-20 | Oppo广东移动通信有限公司 | Apparatus and method for wireless communication |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469779A (en) * | 2013-09-16 | 2015-03-25 | 中兴通讯股份有限公司 | Wireless local area network channel adapting method and device and terminal |
CN105933382A (en) * | 2016-04-01 | 2016-09-07 | 乐视控股(北京)有限公司 | Method and device for pushing information according to roaming destination |
CN105933954A (en) * | 2016-05-13 | 2016-09-07 | 珠海市魅族科技有限公司 | Method and device for selecting network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106686545B (en) * | 2016-12-07 | 2019-04-26 | Oppo广东移动通信有限公司 | A kind of application method and device of Wireless Fidelity national code |
-
2016
- 2016-12-07 CN CN201611117009.6A patent/CN106686545B/en active Active
-
2017
- 2017-10-24 WO PCT/CN2017/107532 patent/WO2018103466A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469779A (en) * | 2013-09-16 | 2015-03-25 | 中兴通讯股份有限公司 | Wireless local area network channel adapting method and device and terminal |
CN105933382A (en) * | 2016-04-01 | 2016-09-07 | 乐视控股(北京)有限公司 | Method and device for pushing information according to roaming destination |
CN105933954A (en) * | 2016-05-13 | 2016-09-07 | 珠海市魅族科技有限公司 | Method and device for selecting network |
Also Published As
Publication number | Publication date |
---|---|
CN106686545A (en) | 2017-05-17 |
WO2018103466A1 (en) | 2018-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106686545B (en) | A kind of application method and device of Wireless Fidelity national code | |
CN107071865B (en) | A kind of method and device that Wireless Fidelity quickly connects | |
CN111767108B (en) | Application program label generation method, application interface display method and device | |
CN105046186A (en) | Two-dimensional code recognition method and device | |
WO2017063499A1 (en) | File sending and transmission method and apparatus | |
CN104053126B (en) | Show wireless communication terminal, the device and method of both call sides position | |
WO2017096976A1 (en) | Wifi state switching method and apparatus for mobile terminal | |
CN103298074A (en) | Network terminal equipment and network switching method for same | |
CN106325878B (en) | Picture batch uploads or the progress display methods and device of downloading | |
KR20170067888A (en) | Card addition method, device, and apparatus and computer storage medium | |
CN104702782A (en) | Short message management method and mobile terminal thereof | |
CN109614168A (en) | Memory Optimize Method and device | |
CN105530625A (en) | Information processing method and electronic device | |
CN107484214A (en) | Internet of Things access point frequency point selecting method and device | |
CN110297764B (en) | Vulnerability test model training method and device | |
CN106527979B (en) | Data migration method and device | |
CN106302096A (en) | Conversation page realizes the method and system that geographical position is shown | |
CN106686574B (en) | DDS card setting method and device and double-card-based DDS card setting method and device | |
CN106162569A (en) | The transmitting-receiving conflict processing method of a kind of Multi-card multi-standby communication terminal and device | |
CN106503511B (en) | A kind of method and device improving mobile phone removal of home cryptographic check safety | |
CN106888496B (en) | A kind of Wireless Fidelity Wi-Fi connection method and mobile terminal | |
CN106658669B (en) | A kind of quick connecting method and device of Wireless Fidelity | |
CN110191225B (en) | Communication method and communication device | |
CN114143855A (en) | Network automatic connection method and device | |
CN102891888B (en) | Data access method and related equipment and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |