CN107172689A - A kind of method for network access and device - Google Patents

A kind of method for network access and device Download PDF

Info

Publication number
CN107172689A
CN107172689A CN201710544747.7A CN201710544747A CN107172689A CN 107172689 A CN107172689 A CN 107172689A CN 201710544747 A CN201710544747 A CN 201710544747A CN 107172689 A CN107172689 A CN 107172689A
Authority
CN
China
Prior art keywords
net
search
terminal
manually
instruction
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
Application number
CN201710544747.7A
Other languages
Chinese (zh)
Inventor
董志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201710544747.7A priority Critical patent/CN107172689A/en
Publication of CN107172689A publication Critical patent/CN107172689A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of method for network access and device.This method includes:When detect effective single search manually net instruction when, according to the single search manually net instruction perform web search;After the completion of pending, the net pattern of searching of terminal is stored as searching net pattern automatically;When detecting limit switch machine or off-grid is searched again, automatic search the current network of net pattern search according to described and set up connection.The embodiment of the present invention, can automatically access roaming place network, improve network connection efficiency.

Description

A kind of method for network access and device
Technical field
The present invention relates to communication technical field, and in particular to a kind of method for network access and device.
Background technology
With the development and the development of radio network technique of mobile communication terminal, user expects whole using same mobile communication End can automatically access network in different places.As the improvement of people's living standards, carrying mobile communication terminal goes out National Travel Agency The user for swimming or being on business is more and more, and when user carries out roaming communication in roaming place, its mobile communication terminal etc. is set It is standby to need to find network again, to obtain roaming place network.
When mobile communication terminal is moved to roaming place from a ground, mobile communication terminal needs to find roaming place in roaming place Network, however, mobile communication terminal is manual search network in the method that network is found in roaming place at present, selection access roaming Network, this method, which will consume the substantial amounts of time, could connect roaming place network.Accordingly, with respect to mobile communication terminal how Roaming place automatically accesses the technology of roaming place network, the focus studied as current researcher.
The content of the invention
The embodiment of the present invention provides a kind of method for network access and device, can search for automatically and access roaming ground network, Save and searched the net time.
First aspect of the embodiment of the present invention provides a kind of method for network access, and this method includes:
When detect effective single search manually net instruction when, according to the single search manually net instruction perform network search Rope;
After the completion of pending, the net pattern of searching of terminal is stored as searching net pattern automatically;
When detecting limit switch machine or off-grid is searched again, automatic search the current network of net pattern search according to described and build Vertical connection.
Optionally, it is described when detect effective single search manually net instruction when, according to the single search manually net instruction Before execution web search, in addition to:
When detecting single and searching the click event of net button manually, obtain that single searches net instruction manually and single searches net Parameter value;
The single that network parameters value is searched including the single is searched into net instruction manually and is sent to modem, so that described adjust Modulator-demodulator searches network parameters value according to the single and judges whether the single searches net instruction manually effective;
If receiving the confirmation instruction that the modem is returned, it is determined that it is effective that the single searches net instruction manually.
Optionally, methods described also includes:
If receive the modem return denies instruction, the configuration that terminal searches net pattern is obtained;
Fixed value in the configuration is set, by terminal search that net pattern is set to specify search net pattern.
Optionally, it is described to be stored as searching net pattern automatically by the net pattern of searching of terminal, including:
Obtain the fixed value that the terminal is searched in net pattern configurations;
The fixed value is changed, the net pattern of searching of terminal is set to search net pattern automatically.
Optionally, it is described when detecting limit switch machine or off-grid is searched again, work as according to the automatic net pattern search of searching Preceding network simultaneously sets up connection, including:
When detecting limit switch machine or off-grid is searched again, obtain the terminal searches the fixed value configured in net pattern;
According to the fixed value got, determine that the net pattern of searching of the terminal currently is to search net pattern automatically;
Net pattern is searched according to automatic, current network is searched for and sets up connection.
Optionally, it is described when detecting single and searching the click event of net button, obtain single and search manually before net instruction, Including:
Detect the opening of the termination function;
If testing result confirms that open the single searches the corresponding processing procedure of net instruction manually to open.
Accordingly, second aspect of the embodiment of the present invention also provides a kind of network access device, and the device includes:
Performing module, when searching net instruction manually for detecting effective single, net instruction is searched according to the single manually Perform web search;
Memory module, after the completion of pending, the net pattern of searching of terminal is stored as searching net pattern automatically;
AM access module, for when detecting limit switch machine or off-grid is searched again, net pattern search to be searched automatically according to described Current network simultaneously sets up connection.
Optionally, the performing module, is additionally operable to when detecting single and searching the click event of net button manually, obtains single It is secondary manually search net instruction and single search network parameters value;The single that network parameters value is searched including the single is searched into net instruction hair manually Modem is given, so that the modem searches network parameters value according to the single judges that the single is searched net and referred to manually Whether order is effective;If receiving the confirmation instruction that the modem is returned, it is determined that the single searches net instruction manually to be had Effect.
Optionally, the performing module, if being additionally operable to receive, the modem returns denies instruction, obtains Terminal searches the configuration of net pattern;Fixed value in the configuration is set, by terminal search that net pattern is set to specify search net mould Formula.
Optionally, the memory module, specifically for obtaining the fixed value that the terminal is searched in net pattern configurations;Modification institute Fixed value is stated, the net pattern of searching of terminal is set to search net pattern automatically.
Optionally, the AM access module, specifically for when detecting limit switch machine or off-grid is searched again, obtaining the end That holds searches the fixed value configured in net pattern;According to the fixed value got, determine that the net pattern of searching of the terminal currently is certainly It is dynamic to search net pattern;Net pattern is searched according to automatic, current network is searched for and sets up connection.
Optionally, described device also includes:
Detection module, the opening for detecting the termination function;If testing result confirms to open to open The single searches the corresponding processing procedure of net instruction manually.
In the embodiment of the present invention, terminal can perform web search by detecting that effective single searches net instruction manually, and The net pattern of searching of terminal is stored as searching net pattern automatically, when the limit switch machine or off-grid are searched again, according to the automatic of storage Search the current network of net pattern search and set up connection, so as to realize that terminal can automatically access roaming place when being moved to roaming place Network, saving is searched the net time, improves network connection efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of method for network access provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of user interface capabilities option provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another method for network access provided in an embodiment of the present invention;
Fig. 4 is a kind of interface schematic diagram of function items provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of network access device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Embodiment
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 clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The embodiments of the invention provide a kind of method for network access.The methods described of the embodiment of the present invention can be by intelligent end Hold to realize, the intelligent terminal includes the terminals with network function such as smart mobile phone, tablet personal computer, intelligent wearable device, The embodiment of the present invention is not limited.Image processing method provided in an embodiment of the present invention and device are described in detail below.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of method for network access provided in an embodiment of the present invention, the implementation The method for network access that example is illustrated can be performed by network access device, and the network access device can be arranged on intelligent end In end, the method for network access can automatically access roaming place network when intelligent terminal is moved to roaming place, improve network Joint efficiency.As shown in figure 1, the method for network access may comprise steps of:
S101:When detect effective single search manually net instruction when, according to the single search manually net instruction perform network Search.
In the embodiment of the present invention, terminal can detect that single searches net instruction manually, be searched manually when detecting effective single During net instruction, net instruction is searched manually according to the single and performs web search.Specifically, being illustrated by taking Fig. 2 as an example, Fig. 2 is this The schematic diagram for a kind of user interface capabilities option that inventive embodiments are provided, as shown in Fig. 2 the user interface provides single hand It is dynamic to search net button 201 and forever search net button 202 manually for users to use.Terminal can on a user interface be provided by monitoring One single searches the click event of net button 201 manually, when terminal monitoring to the single searches the click event of net button manually, Terminal can get single and search net instruction manually, when terminal, which detects effective single, searches net instruction manually, according to the list It is secondary to search net instruction execution web search manually.
Optionally, when terminal detects effective single and searches net instruction manually, net instruction is searched manually according to the single and is held Before row web search, terminal can obtain single and search net manually when detecting single and searching the click event of net button manually Instruction and single search network parameters value, and the single that network parameters value is searched including the single is searched into net instruction manually is sent to modulation /demodulation Device modem so that the modem according to the single search network parameters value judge the single search manually net instruction it is whether effective, if Terminal receives the confirmation instruction of modem return, then terminal can determine that the single searches net instruction effectively manually, from And search net instruction manually according to the single and perform web search.For example, terminal can search net button manually detecting single During click event, acquisition single searches net instruction manually and single searches network parameters value qmi_request.change_duration =NAS_POWER_CYCLE_V01, searches net instruction by the single that network parameters value is searched including the single and is sent to modulation /demodulation manually Device, the modem receives the single and searches network parameters value qmi_request.change_duration=NAS_POWER_ After CYCLE_V01, network parameters value qmi_request.change_duration=NAS_POWER_CYCLE_ is searched according to the single V01 determines that the single searches net instruction effectively manually, and will determine that result returns to the terminal.If terminal receives the modulatedemodulate The single for adjusting device to return searches net instruction and effectively confirms instruction manually, then terminal can determine that the single is searched net instruction and had manually Effect, so that searching net instruction manually according to the single performs web search.It can be seen that, the embodiment can be effective single by obtaining It is secondary to search net instruction manually, perform network and search net.
S102:The net pattern of searching of terminal is stored as searching net pattern automatically.
In the embodiment of the present invention, after terminal can search net instruction manually obtaining effective single, web search is performed, and The net pattern of searching of the terminal is stored as searching net pattern automatically.Specifically, terminal can search net manually obtaining effective single After instruction, the non-volatile value (Non-Volatile value, NV) of the terminal is obtained, wherein, the NV matches somebody with somebody for storing terminal It can be stored in the fixed value put, the NV and search net pattern.Terminal is got after the NV, can change the fixation configured in the NV Value, the net pattern of searching of terminal is stored as searching net pattern automatically.It can be seen that, in NV of the embodiment by obtaining and changing terminal The fixed value of configuration, the net pattern of searching of terminal can be set to search net pattern automatically, facilitate limit switch machine or off-grid weight Using searching net pattern automatically when searching.
S103:When detecting limit switch machine or off-grid is searched again, the current network of net pattern search is searched automatically according to this And set up connection.
In the embodiment of the present invention, terminal can search net pattern automatically when detecting switching on and shutting down or off-grid is searched again according to this The current network of search simultaneously sets up connection.Specifically, terminal can read the terminal when progress off-grid in arrival roaming place is searched again NV, obtain the terminal currently search net pattern to search net pattern, and the network current according to net pattern search is searched automatically automatically And set up connection.It can be seen that, the embodiment by the NV of reading terminals, obtains current automatic of terminal and searches net pattern, can make Terminal automatic search net pattern search current network and sets up connection according to what is got.
The embodiment of the present invention, terminal can detect effective single search manually net instruction when, perform the single manual Net instruction is searched, and the net pattern of searching of terminal is stored as searching net pattern automatically, can during so that limit switch machine or off-grid being searched again By net pattern is searched automatically, net current network is searched automatically and connection is set up.It can be seen that, the network access side that the embodiment of the present invention is somebody's turn to do Method, can automatically access network, improve the efficiency of network connection.
Referring to Fig. 3, Fig. 3 is the schematic flow sheet of another method for network access provided in an embodiment of the present invention.The reality Apply method for network access that example illustrated and the difference of embodiment one is that the embodiment can manually be searched obtaining single Before net instruction, the opening of detection termination function, when detecting the function items for opening, terminal can confirm that Open single and search the corresponding processing procedure of net instruction manually, so as to confirm that terminal can perform single and search net instruction manually.Such as Fig. 3 The shown method for network access may comprise steps of:
S301:Detect the opening of termination function.
In the embodiment of the present invention, terminal can detect the opening of the function items of the terminal.For example, terminal can be detected Whether termination function feature opening opens.
S302:If testing result confirms that open the single searches the corresponding processing procedure of net instruction manually to open.
In the embodiment of the present invention, terminal can detect the opening of the function items of the terminal, if testing result is opens, Then confirm that open terminal single searches the corresponding processing procedure of net instruction manually.Specifically illustrated by taking Fig. 4 as an example, Fig. 4 is this hair A kind of interface schematic diagram for function items that bright embodiment is provided.As shown in figure 4, terminal can detect the function items of terminal definitions Whether feature opens, if detecting function items unlatching, terminal can perform single and search the corresponding place of net instruction manually Reason process.
S303:When detecting single and searching the click event of net button manually, obtain single and search net instruction manually and single It is secondary to search network parameters value.
In the embodiment of the present invention, terminal can obtain single when detecting single and searching the click event of net button manually Net instruction is searched manually and single searches network parameters value.Specifically, terminal opens it in the function items feature for confirming terminal definitions Afterwards, the click event that the single as shown in the 201 of Fig. 2 searches net button manually can be detected, single is obtained and searches net instruction manually, And acquisition single searches network parameters qmi_request.change_duration=NAS_POWER_ from the code of the terminal CYCLE_V01。
S304:The single that network parameters value is searched including the single is searched into net instruction manually and is sent to modem.
In the embodiment of the present invention, the single that network parameters value is searched including the single can be searched net instruction manually and is sent to by terminal Modem.Specifically, terminal can detect the single as shown in the 201 of Fig. 2 and searching manually the click event of net button When, obtain single and search net instruction manually, and single is obtained from the code of the terminal and search network parameters qmi_ Request.change_duration=NAS_POWER_CYCLE_V01, and the single including the parameter value is searched into net manually referred to Order is sent to modem.
S305:If receiving the confirmation instruction of modem return, it is determined that the single searches net instruction effectively manually, holds Row step S308.
In the embodiment of the present invention, if terminal receives the confirmation instruction of modem return, the single can be determined It is effective that net instruction is searched manually.Specifically, the single that network parameters value is searched including single is searched net instruction by terminal manually is sent to modulation After demodulator, the modem searches network parameters value according to the single received and judges that the single searches whether net instruction has manually Effect.If the parameter value that modem is received is qmi_request.change_duration=NAS_POWER_CYCLE_ V01, then can determine that the single searches net instruction effectively manually, the confirmation that terminal can receive modem return refers to Order, so that it is determined that the single searches net instruction effectively manually.
S306:If receive modem return denies instruction, the configuration that terminal searches net pattern is obtained, step is performed Rapid S307.
In the embodiment of the present invention, if terminal receive modem return deny instruction, can determine obtain eventually The configuration of net pattern is searched at end.Specifically, the single that network parameters value is searched including single is searched net instruction by terminal manually is sent to modulation After demodulator, the modem searches network parameters value according to the single received and judges that the single searches whether net instruction has manually Effect.If the parameter value that modem is received is not qmi_request.change_duration=NAS_POWER_ CYCLE_V01, then can determine that the single searches net instruction ignore manually, terminal can receive the no of modem return Instruction is recognized, so that terminal can obtain the configuration that the terminal searches net pattern.
S307:Fixed value in the configuration is set, by terminal search that net pattern is set to specify search net pattern.
In the embodiment of the present invention, terminal can set the fixed value in the configuration, and the net pattern of searching of terminal is set into finger Fixed searches net pattern.If specifically, terminal receive modem return deny instruction, terminal can obtain the end Search the configuration of net pattern in the NV of end, and the fixed value in the configuration be set, by terminal search that net pattern is set to specify search net Pattern, such as searches net pattern or searches net pattern automatically manually.
S308:Net instruction is searched manually according to the single performs web search.
In the embodiment of the present invention, terminal can search net instruction manually according to the single and perform web search.If specifically, Terminal receives the confirmation instruction of modem return, then terminal can confirm that the single searches net instruction effectively manually, from And the search that net instruction performs current network is searched manually according to the single.
S309:Obtain the fixed value that the terminal is searched in net pattern configurations.
In the embodiment of the present invention, terminal can obtain the fixed value that the terminal is searched in net pattern configurations.Specifically, terminal exists Confirm that the single is searched manually and net instruction effectively, when searching the search of net instruction execution current network manually according to the single, can read The NV of the terminal is taken, and obtains the fixed value to search net pattern configurations stored in NV.
S310:The fixed value is changed, the net pattern of searching of terminal is set to search net pattern automatically.
In the embodiment of the present invention, terminal can change the fixed value searched in net pattern configurations, and the net pattern of searching of terminal is set It is set to and searches net pattern automatically.
S311:When detecting limit switch machine or off-grid is searched again, obtain the terminal searches the fixation configured in net pattern Value.
In the embodiment of the present invention, terminal can obtain searching for the terminal when detecting limit switch machine or off-grid is searched again The fixed value configured in net pattern.Specifically, if a terminal detects that switching on and shutting down or off-grid search again event when, the terminal can The fixed value configured in net pattern is searched to obtain, is determined current to search net pattern according to the fixed value.
S312:According to the fixed value got, determine that the net pattern of searching of the terminal currently is to search net pattern automatically.
In the embodiment of the present invention, terminal can determine that the net pattern of searching of the terminal currently is according to the fixed value got Automatically net pattern is searched.Specifically, terminal can get when detecting the event that switching on and shutting down or off-grid are searched again and search net pattern The automatic fixed value for searching net pattern of middle configuration, and determine that current net pattern of searching is to search net pattern automatically according to the fixed value.
S313:Net pattern is searched according to automatic, current network is searched for and sets up connection.
In the embodiment of the present invention, terminal can according to it is identified it is current it is automatic search net pattern, search for current network And set up connection.For example, when terminal reaches roaming place, terminal, which can be obtained, current search configured in net pattern automatic and searches net The fixed value of pattern, according to it is identified it is current it is automatic search net pattern, the network for searching for current roaming place simultaneously sets up connection.
In the embodiment of the present invention, terminal can confirm to open the list of the terminal by detecting the opening of its function items It is secondary to search the corresponding processing procedure of net instruction manually, so that terminal can search the click thing of net button manually according to the single detected Part, obtains that single searches net instruction manually and single searches network parameters value, and the single is searched into net instruction manually and single searches net Parameter value is sent to modem.The instruction that terminal can be returned according to modem, confirms that the single is searched net and referred to manually Whether order is effective, if effectively, performing web search, obtains and change the fixed value that the terminal is searched in net pattern configurations, will eventually The net pattern of searching at end is set to search net pattern automatically, when detecting limit switch machine or off-grid is searched again, according to searching net mould automatically Formula, searches for current network and sets up connection.It can be seen that, the method for network access of the embodiment of the present invention, it is possible to achieve pass through detection The opening of function items, opens single and searches the corresponding processing procedure of net instruction manually, the net pattern of searching of storage terminal is automatic Net pattern is searched, so as to when switching on and shutting down or off-grid are searched again, net be searched automatically and connection is set up, the effect of network connection is improved Rate.
Using above method embodiment, the embodiment of the present invention additionally provides a kind of network access device, and the device is applied to Terminal.
Referring to Fig. 5, Fig. 5 is a kind of structural representation of network access device provided in an embodiment of the present invention, the network Access device can be set in the terminal.As shown in figure 5, the network access device can include:
Performing module 501, when searching net instruction manually for detecting effective single, net instruction is searched according to the single manually Perform web search.
Memory module 502, after the completion of pending, the net pattern of searching of terminal is stored as searching net pattern automatically.
AM access module 503, for when detecting limit switch machine or off-grid is searched again, net pattern search to be searched automatically according to this Current network simultaneously sets up connection.
Optionally, performing module 501, are additionally operable to when detecting single and searching the click event of net button manually, obtain single It is secondary manually search net instruction and single search network parameters value;The single for searching network parameters value including the single is searched into net instruction manually to send To modem, so that the modem searches network parameters value according to the single judges that the single searches whether net instruction has manually Effect;If receiving the confirmation instruction of modem return, it is determined that it is effective that the single searches net instruction manually.
Optionally, performing module 501, if being additionally operable to receive the instruction of denying of modem return, acquisition is eventually The configuration of net pattern is searched at end;Fixed value in the configuration is set, by terminal search that net pattern is set to specify search net pattern.
Optionally, memory module 502, specifically for obtaining the fixed value that the terminal is searched in net pattern configurations;This is changed to consolidate Definite value, the net pattern of searching of terminal is set to search net pattern automatically.
Optionally, AM access module 503, specifically for when detecting limit switch machine or off-grid is searched again, obtaining the terminal Search the fixed value configured in net pattern;According to the fixed value got, determine that the net pattern of searching of the terminal currently is to search automatically Net pattern;Net pattern is searched according to automatic, current network is searched for and sets up connection.
Optionally, the device also includes detection module 504, wherein,
Detection module 504, the opening for detecting the termination function;If the testing result confirms to open Open the single and search the corresponding processing procedure of net instruction manually
It can be seen that, in the embodiment shown in Fig. 5, network access device can detect its function items by performing module 501 Opening, confirms that the single for opening the terminal searches the corresponding processing procedure of net instruction manually, so that terminal can be according to detection To single search the click event of net button manually, obtain that single searches net instruction manually and single searches network parameters value, and should Single searches net instruction manually and single searches network parameters value and is sent to modem, and performing module 501 can be according to modulatedemodulate Adjust device return instruction, confirm the single search manually net instruction it is whether effective, if effectively, performing web search, pass through storage Module 502 obtains and changed the fixed value that the terminal is searched in net pattern configurations, and the net pattern of searching of terminal is set to search net automatically Pattern, AM access module 503 detects limit switch machine or when off-grid is searched again, searches net pattern according to automatic, searches for current network And set up connection.It can be seen that, the method for network access of the embodiment of the present invention, it is possible to achieve the net pattern of searching for keeping terminal is to search automatically Net pattern, when switching on and shutting down or off-grid are searched again, searches net and sets up connection, so as to improve network insertion efficiency automatically.
Referring to Fig. 6, Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention, as illustrated, the terminal It can include:At least one processor 601, such as CPU (Central Processing Unit, central processing unit), at least one Individual communication interface 603, memory 604, at least one communication bus 602.Wherein, communication bus 602 is used to realize these components Between connection communication.Wherein, communication interface 603 can include display screen (Display), keyboard (Keyboard), can gate Letter interface 603 can also include wireline interface, the wave point of standard.Memory 604 can be high-speed RAM memory (Ramdom Access Memory, effumability random access memory) or non-labile memory (non- Volatile memory), for example, at least one magnetic disk storage.It is remote that memory 604 optionally can also be that at least one is located at From the storage device of aforementioned processor 601.Wherein processor 601 can be deposited with device described in conjunction with Figure 5 in memory 604 Batch processing code is stored up, and processor 601 calls the program code stored in memory 604, is connect for performing a kind of network Enter method, i.e., for performing following operation:
When detect effective single search manually net instruction when, according to the single search manually net instruction perform web search;
After the completion of pending, the net pattern of searching of terminal is stored as searching net pattern automatically;
When detecting limit switch machine or off-grid is searched again, the current network of net pattern search and foundation are searched automatically according to this Connection.
In the embodiment of the present invention, processor 601 calls the program code in memory 604, for performing following operation:
When detecting single and searching the click event of net button manually, obtain that single searches net instruction manually and single searches net Parameter value;
The single that network parameters value is searched including the single is searched into net instruction manually and is sent to modem, so that the modulatedemodulate Adjust device to search network parameters value according to the single and judge whether the single searches net instruction manually effective;
If receiving the confirmation instruction of modem return, it is determined that it is effective that the single searches net instruction manually.
In the embodiment of the present invention, processor 601 calls the program code in memory 604, for performing following operation:
If receive modem return denies instruction, the configuration that terminal searches net pattern is obtained;
Fixed value in the configuration is set, by terminal search that net pattern is set to specify search net pattern.
In the embodiment of the present invention, processor 601 calls the program code in memory 604, for performing following operation:
Obtain the fixed value that the terminal is searched in net pattern configurations;
The fixed value is changed, the net pattern of searching of terminal is set to search net pattern automatically.
In the embodiment of the present invention, processor 601 calls the program code in memory 604, can perform following operation:
When detecting limit switch machine or off-grid is searched again, obtain the terminal searches the fixed value configured in net pattern;
According to the fixed value got, determine that the net pattern of searching of the terminal currently is to search net pattern automatically;
Net pattern is searched according to automatic, current network is searched for and sets up connection.
In the embodiment of the present invention, processor 601 calls the program code in memory 604, can perform following operation:
Detect the opening of the termination function;
If the testing result confirms that open the single searches the corresponding processing procedure of net instruction manually to open.
Wherein, communication bus 602 can be Peripheral Component Interconnect standard (peripheral component Interconnect, abbreviation PCI) bus or EISA (extended industry standard Architecture, abbreviation EISA) bus etc..Communication bus 602 can be divided into address bus, data/address bus, controlling bus etc.. For ease of representing, only represented in Fig. 6 with a thick line, it is not intended that only one bus or a type of bus.
Wherein, memory 604 can include volatile memory (English:Volatile memory), such as arbitrary access Memory (English:Random-access memory, abbreviation:RAM);Memory can also include nonvolatile memory (English Text:Non-volatile memory), such as flash memory (English:Flash memory), hard disk (English:hard disk Drive, abbreviation:HDD) or solid state hard disc (English:Solid-state drive, abbreviation:SSD);Memory 604 can also be wrapped Include the combination of the memory of mentioned kind.
Wherein, processor 601 can be central processing unit (English:Central processing unit, abbreviation: CPU), network processing unit (English:Network processor, abbreviation:NP) or CPU and NP combination.
Wherein, processor 601 can further include hardware chip.Above-mentioned hardware chip can be application specific integrated circuit (English:Application-specific integrated circuit, abbreviation:ASIC), PLD (English: Programmable logic device, abbreviation:PLD) or its combination.Above-mentioned PLD can be CPLD (English:Complex programmable logic device, abbreviation:CPLD), field programmable gate array (English: Field-programmable gate array, abbreviation:FPGA), GAL (English:generic array Logic, abbreviation:GAL) or its any combination.
Alternatively, memory 604 is additionally operable to storage program instruction.Processor 601 can be instructed with caller, be realized such as this Apply for the method for network access shown in Fig. 1 and 3 embodiments.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the invention, can not limit the power of the present invention with this certainly Sharp scope, one of ordinary skill in the art will appreciate that all or part of flow of above-described embodiment is realized, and according to present invention power Profit requires made equivalent variations, still falls within and invents covered scope.

Claims (12)

1. a kind of method for network access, it is characterised in that including:
When detect effective single search manually net instruction when, according to the single search manually net instruction perform web search;
After the completion of pending, the net pattern of searching of terminal is stored as searching net pattern automatically;
When detecting limit switch machine or off-grid is searched again, the current network of net pattern search and the company of foundation are searched automatically according to described Connect.
2. according to the method described in claim 1, it is characterised in that described to search net instruction manually when detecting effective single When, searched manually before net instruction execution web search according to the single, in addition to:
When detecting single and searching the click event of net button manually, obtain that single searches net instruction manually and single searches network parameters Value;
The single that network parameters value is searched including the single is searched into net instruction manually and is sent to modem, so that the modulatedemodulate Adjust device to search network parameters value according to the single and judge whether the single searches net instruction manually effective;
If receiving the confirmation instruction that the modem is returned, it is determined that it is effective that the single searches net instruction manually.
3. method according to claim 2, it is characterised in that methods described also includes:
If receive the modem return denies instruction, the configuration that terminal searches net pattern is obtained;
Fixed value in the configuration is set, by terminal search that net pattern is set to specify search net pattern.
4. according to the method described in claim 1, it is characterised in that described to be stored as searching net mould automatically by the net pattern of searching of terminal Formula, including:
Obtain the fixed value that the terminal is searched in net pattern configurations;
The fixed value is changed, the net pattern of searching of terminal is set to search net pattern automatically.
5. the method according to claim 1 or 3, it is characterised in that described when detecting limit switch machine or off-grid is searched again When, according to it is described it is automatic search the current network of net pattern search and set up connection, including:
When detecting limit switch machine or off-grid is searched again, obtain the terminal searches the fixed value configured in net pattern;
According to the fixed value got, determine that the net pattern of searching of the terminal currently is to search net pattern automatically;
Net pattern is searched according to automatic, current network is searched for and sets up connection.
6. method according to claim 2, it is characterised in that described to detect the click event that single searches net button When, obtain single and search manually before net instruction, including:
Detect the opening of the termination function;
If testing result confirms that open the single searches the corresponding processing procedure of net instruction manually to open.
7. a kind of network access device, it is characterised in that including:
Performing module, when searching net instruction manually for detecting effective single, searches net instruction according to the single and performs manually Web search;
Memory module, after the completion of pending, the net pattern of searching of terminal is stored as searching net pattern automatically;
AM access module, for when detecting limit switch machine or off-grid is searched again, automatic to search net pattern search current according to described Network and set up connection.
8. device according to claim 7, it is characterised in that
The performing module, is additionally operable to when detecting single and searching the click event of net button manually, obtains single and searches net manually Instruction and single search network parameters value;The single that network parameters value is searched including the single is searched into net instruction manually and is sent to modulatedemodulate Device is adjusted, so that the modem searches network parameters value according to the single judges that the single searches whether net instruction has manually Effect;If receiving the confirmation instruction that the modem is returned, it is determined that it is effective that the single searches net instruction manually.
9. device according to claim 8, it is characterised in that
The performing module, if being additionally operable to receive the instruction of denying of the modem return, acquisition terminal searches net mould The configuration of formula;Fixed value in the configuration is set, by terminal search that net pattern is set to specify search net pattern.
10. device according to claim 7, it is characterised in that
The memory module, specifically for obtaining the fixed value that the terminal is searched in net pattern configurations;The fixed value is changed, will The net pattern of searching of terminal is set to search net pattern automatically.
11. the device according to claim 7 or 9, it is characterised in that
The AM access module, specifically for when detecting limit switch machine or off-grid is searched again, obtain the terminal searches net mould The fixed value configured in formula;According to the fixed value got, determine that the net pattern of searching of the terminal currently is to search net pattern automatically; Net pattern is searched according to automatic, current network is searched for and sets up connection.
12. device according to claim 8, it is characterised in that described device also includes:
Detection module, the opening for detecting the termination function;If testing result confirms to open described to open Single searches the corresponding processing procedure of net instruction manually.
CN201710544747.7A 2017-07-05 2017-07-05 A kind of method for network access and device Pending CN107172689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710544747.7A CN107172689A (en) 2017-07-05 2017-07-05 A kind of method for network access and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710544747.7A CN107172689A (en) 2017-07-05 2017-07-05 A kind of method for network access and device

Publications (1)

Publication Number Publication Date
CN107172689A true CN107172689A (en) 2017-09-15

Family

ID=59822867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710544747.7A Pending CN107172689A (en) 2017-07-05 2017-07-05 A kind of method for network access and device

Country Status (1)

Country Link
CN (1) CN107172689A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012310A (en) * 2017-12-05 2018-05-08 广东欧珀移动通信有限公司 Network search method, mobile terminal and computer-readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102217382A (en) * 2008-11-03 2011-10-12 高通股份有限公司 Selection of wireless network in conjunction with selection of a wireless cell set
CN102932771A (en) * 2011-08-10 2013-02-13 中兴通讯股份有限公司 Roaming user access method and system, user terminal and network-side equipment
CN103298074A (en) * 2013-05-21 2013-09-11 华为终端有限公司 Network terminal equipment and network switching method for same
CN104902458A (en) * 2015-04-30 2015-09-09 广东欧珀移动通信有限公司 Network access method and mobile communication terminal
CN105592525A (en) * 2014-10-24 2016-05-18 中国移动通信集团公司 Method, apparatus, and system for starting-up network searching by terminal equipment in roaming scene
CN105636165A (en) * 2014-11-04 2016-06-01 深圳富泰宏精密工业有限公司 Network setting method and system
CN106028374A (en) * 2016-05-04 2016-10-12 深圳市万普拉斯科技有限公司 Control method and system for network search mode in terminal
CN106332239A (en) * 2016-08-25 2017-01-11 刘华英 Network searching method and device
US20170164261A1 (en) * 2008-03-24 2017-06-08 Interdigital Patent Holdings, Inc. Cell selection and reselection for closed subscriber group cells

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170164261A1 (en) * 2008-03-24 2017-06-08 Interdigital Patent Holdings, Inc. Cell selection and reselection for closed subscriber group cells
CN102217382A (en) * 2008-11-03 2011-10-12 高通股份有限公司 Selection of wireless network in conjunction with selection of a wireless cell set
CN102932771A (en) * 2011-08-10 2013-02-13 中兴通讯股份有限公司 Roaming user access method and system, user terminal and network-side equipment
CN103298074A (en) * 2013-05-21 2013-09-11 华为终端有限公司 Network terminal equipment and network switching method for same
CN105592525A (en) * 2014-10-24 2016-05-18 中国移动通信集团公司 Method, apparatus, and system for starting-up network searching by terminal equipment in roaming scene
CN105636165A (en) * 2014-11-04 2016-06-01 深圳富泰宏精密工业有限公司 Network setting method and system
CN104902458A (en) * 2015-04-30 2015-09-09 广东欧珀移动通信有限公司 Network access method and mobile communication terminal
CN106028374A (en) * 2016-05-04 2016-10-12 深圳市万普拉斯科技有限公司 Control method and system for network search mode in terminal
CN106332239A (en) * 2016-08-25 2017-01-11 刘华英 Network searching method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012310A (en) * 2017-12-05 2018-05-08 广东欧珀移动通信有限公司 Network search method, mobile terminal and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN106096425A (en) System permission starting method, device and equipment
CN106507445A (en) A kind of Wireless Fidelity Wi Fi scan methods and mobile terminal
CN107241771A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN110020382A (en) Intelligent input method, user equipment, storage medium and the device of information
CN103870750B (en) A kind of method and device for realizing equipment safety scanning in a browser
CN111163503A (en) Network searching method of mobile terminal and mobile terminal
CN104853410B (en) A kind of method for network access and mobile communication terminal
CN107274587A (en) The display methods and device, clothes washing system and storage medium of free time laundry machine information
CN105791560A (en) Data network access control method and user terminal
CN104640174A (en) Method and device for promoting wireless network access points
CN110351787A (en) Processing method, device, relevant device and storage medium based on cell reselection
CN106060899A (en) Flow control method and device
CN107087247A (en) A kind of bluetooth processing method and processing device
CN106603762A (en) Terminal control method and the controlled terminal
CN105392142B (en) A kind of Wireless Fidelity Wi-Fi access-in point information storage method and device
CN105517131B (en) Frequency range processing method, device and terminal in a kind of communication terminal
CN104679239A (en) Terminal input method
CN109195197A (en) Dual-card dual-standby terminal network selecting method, device, terminal device and storage medium
CN106933822A (en) A kind of content recommendation method and device
CN107172689A (en) A kind of method for network access and device
CN104899275A (en) Cell search method and terminal
CN106714181A (en) Method and apparatus for accessing WiFi hotspot
CN112333734B (en) Serving cell switching method and device
CN107734496A (en) Mobile terminal searches network control method, device and mobile terminal
CN106550423A (en) A kind of access point management method and terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170915

RJ01 Rejection of invention patent application after publication