Summary of the invention
The embodiment of the invention provides the network search methods and equipment after a kind of roaming, can be unrestrained when terminal device
After trip, web search mode is switched to automatic network selection by manual network selection automatically, to be registered to the shifting of ownership place public land
Dynamic network (Home Public Land Mobile Network, HPLMN) makes user that terminal device progress can be used normally
Communication.
First aspect of the embodiment of the present invention discloses the network search method after a kind of roaming, comprising:
Judge whether the current web search mode of terminal device is manual network selection;
If the web search mode is manual network selection, the time that the terminal device is in non-service state is counted;
If the time that the terminal device is in non-service state is more than preset time threshold, by the web search mould
Formula is switched to automatic network selection.
As an alternative embodiment, after determining that the web search mode is manual network selection, the method
Further include:
Inquire the service state record of the terminal device;
Judge whether the service state by roaming state is switched to local state;
The statistics terminal device is in the time of non-service state, comprising:
If the service state is switched to local state by roaming state, counts the terminal device and be in without service shape
The time of state.
As an alternative embodiment, after determining that the web search mode is manual network selection, the method
Further include:
Obtain current geographic position;
Judge whether the geographical location is geography belonging to the ownership place public land mobile network HPLMN of the user
Position;
The statistics terminal device is in the time of non-service state, comprising:
If the geographical location is geographical location belonging to the HPLMN, the terminal device is counted in no service
The time of state.
As an alternative embodiment, it is described by after the web search pattern switching to automatic network selection, it is described
Method further include:
Obtain the band information of the HPLMN preset in the terminal device;
The radio-frequency driven of the corresponding band information of load, unloading do not correspond to the radio-frequency driven of the band information;
The HPLMN is searched for using the radio-frequency driven of the correspondence band information to be registered.
As an alternative embodiment, it is described by after the web search pattern switching to automatic network selection, it is described
Method further include:
Obtain the network formats of the HPLMN preset in the terminal device;
The radio access technologies RAT of the terminal device is revised as the network formats comprising the HPLMN;
The HPLMN is searched for using the RAT of the network formats comprising the HPLMN to be registered.
As an alternative embodiment, described by the web search pattern switching to automatic network selection, comprising:
Make the application processor of the terminal device send web search pattern switching to instruct to the base of the terminal device
Provided with processor, so that the web search pattern switching is automatic network selection by the baseband processor.
Second aspect of the embodiment of the present invention discloses the network search device after a kind of roaming, comprising:
First judging unit, for judging whether the current web search mode of terminal device is manual network selection;
Statistic unit, for counting the terminal device in no clothes when the web search mode is manual network selection
The time of business state;
Switch unit will when the time for being in non-service state when the terminal device is more than preset time threshold
The web search pattern switching is to automatic network selection.
As an alternative embodiment, the equipment further include:
Query unit, the service state for inquiring the terminal device record;
Second judgment unit, for judging whether the service state by roaming state is switched to local state;
The statistic unit, specifically for counting institute when the service state is switched to local state by roaming state
State the time that terminal device is in non-service state.
As an alternative embodiment, the equipment further include:
First acquisition unit, for obtaining current geographic position;
Third judging unit, for judge the geographical location whether be the user ownership Public Land Mobile Network
Geographical location belonging to network HPLMN;
The statistic unit, specifically for when the geographical location be the HPLMN belonging to geographical location when, count institute
State the time that terminal device is in non-service state.
As an alternative embodiment, the equipment further include:
Second acquisition unit, for obtaining the band information of the HPLMN preset in the terminal device;
Loading unit, for loading the radio-frequency driven of the corresponding band information;
First search unit, for the radio-frequency driven using the correspondence band information search for the HPLMN with into
Row registration.
As an alternative embodiment, the equipment further include:
Third acquiring unit, for obtaining the network formats of the HPLMN preset in the terminal device;
Unit is modified, for the radio access technologies RAT of the terminal device to be revised as the net comprising the HPLMN
Network standard;
Second search unit searches for the HPLMN for the RAT using the network formats comprising the HPLMN to carry out
Registration.
As an alternative embodiment, the switch unit, specifically for handling the application of the terminal device
Device sends web search pattern switching and instructs to the baseband processor of the terminal device, so that the baseband processor will be described
Web search pattern switching is automatic network selection.
The third aspect of the embodiment of the present invention discloses a kind of terminal device, comprising: processor and memory, wherein the place
Reason device is for executing method disclosed in above-mentioned first aspect.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
In the embodiment of the present invention, judge whether the current web search mode of terminal device is manual network selection;If the net
Network search pattern is manual network selection, then counts the time that the terminal device is in non-service state;If at the terminal device
It is more than preset time threshold in the time of non-service state, then by the web search pattern switching to automatic network selection.Thus may be used
See, implement the embodiment of the present invention, automatically can switch web search mode by manual network selection after terminal device roaming
To automatic network selection, to be registered to HPLMN, makes user that terminal device can be used normally and communicate.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
The embodiment of the invention provides the network search methods and equipment after a kind of roaming, can be unrestrained when terminal device
After trip, web search mode is switched to automatic network selection by manual network selection automatically, to be registered to HPLMN, allows user
Normal use terminal device is communicated.It is described in detail separately below.
Referring to Fig. 1, the process that Fig. 1 is the network search method after a kind of roaming disclosed by the embodiments of the present invention is shown
It is intended to.Wherein, the network search method after roaming shown in FIG. 1 may comprise steps of:
101, judge whether the current web search mode of terminal device is manual network selection.
In the embodiment of the present invention, terminal device can be smart phone, smartwatch, palm PC, tablet computer, a number
Word assistant (Personal Digital Assistant, PDA), point-of-sale terminal (Point of Sales, POS) etc., the present invention
Embodiment is subsequent not to be repeated.
In the embodiment of the present invention, when user is when foreign countries are serviced using international roaming, in order to select the ownership place with user
The roaming place carrier network that the network signal of operators in co-operation is more preferable, rate are more preferential, often by the net of terminal device
Network search pattern is adjusted to manual network selection mode, and user is autonomous from the accessible network list listed on terminal device later
Choose the network for wanting access.However, problem caused by this application method is, when user comes back home from foreign countries, need to access
When HPLMN, since web search mode is manual network selection, before terminal device will continue to search for when international roaming selected by user
Network, cause that HPLMN can not be accessed.
Therefore, after terminal device turns back on, it can be determined that whether the current network mode of terminal device is to select manually
Whether net then needs to may search for network according to subsequent come to searching, net is tactful to carry out certain tune if manual network selection mode
It is whole.
If 102, above-mentioned web search mode is manual network selection, the time that terminal device is in non-service state is counted.
In the embodiment of the present invention, if the web search mode of terminal device is manual network selection, counts terminal device and be in
The time of non-service state;If terminal device can search network in preset time threshold, it is detached from non-service state, then is said
It is bright may be where geographical location network signal it is weaker caused by search net slower;If the time for searching for network is more than preset time
Threshold value, then terminal device may be to return to ownership place by roaming place, and ownership place does not have user to select under manual network selection mode
Network and caused by cannot search network.
If 103, the time that terminal device is in non-service state is more than preset time threshold, by above-mentioned web search mould
Formula is switched to automatic network selection.
In the embodiment of the present invention, ownership place is returned to by roaming place to solve user, ownership place does not have user in manual network selection
The network that is selected under mode and caused by the problem of cannot searching network, it can be determined that the web search mode of terminal device is
Manual network selection, and in non-service state time be more than preset time threshold after, by the web search mode of terminal device
It is switched to automatic network selection.Terminal device is under automatic network selection mode, and according to network selection strategy, the registered public land of first search is moved
Dynamic network (Registered Public Land Mobile Network, RPLMN) and HPLMN, can relatively quickly search for
To belonging area network and accessed.
In the method depicted in fig. 1, after judging the web search mode of terminal device for manual network selection, terminal is counted
Equipment is in the time of non-service state;If the time that terminal device is in non-service state is more than preset time threshold, can
Infer that terminal device is by international roaming to return to ownership place, is automatic by the web search pattern switching of terminal device therefore
Network selection is accessed with searching HPLMN.It can be seen that using method described in Fig. 1, it can be when terminal device roaming knot
Web search mode is switched to automatic network selection by manual network selection automatically by Shu Hou, to be registered to HPLMN, keeps user normal
Using terminal equipment is communicated.
Referring to Fig. 2, Fig. 2 is the process of the network search method after another roaming disclosed by the embodiments of the present invention
Schematic diagram.As shown in Fig. 2, this method may comprise steps of:
201, judge whether the current web search mode of terminal device is manual network selection.
In the embodiment of the present invention, after terminal device turns back on, it can be determined that the current network mode of terminal device is
It is no be manual network selection, if manual network selection mode, then need according to it is subsequent whether may search for network come to search net strategy into
The certain adjustment of row.
If 202, above-mentioned web search mode is manual network selection, the service state record of terminal device is inquired.
203, judge whether above-mentioned service state by roaming state is switched to local state.
In the embodiment of the present invention, the service state of terminal device will record terminal device when providing service for user, be
In roaming state or local state.If inquiring the service state of terminal device, to be switched to local state by roaming state,
It is used before then illustrating terminal device in foreign countries, is international roaming mode, turning now to ownership place.
If 204, above-mentioned service state is switched to local state by roaming state, counts terminal device and be in without service shape
The time of state.
In the embodiment of the present invention, when determined terminal device web search mode be manual network selection, and for by foreign countries return
To after ownership place, statistics terminal device is in the time of non-service state, if the time in non-service state is more than default
Between threshold value, then need to be switched to automatic network selection from manual network selection, be accessed with searching HPLMN.
If 205, the time that terminal device is in non-service state is more than preset time threshold, by above-mentioned web search mould
Formula is switched to automatic network selection.
As an alternative embodiment, the application processor of terminal device is made to send the instruction of web search pattern switching
To the baseband processor of terminal device, so that web search pattern switching is automatic network selection by baseband processor.
206, the band information of above-mentioned HPLMN preset in terminal device is obtained.
The network of different operators is searched in the embodiment of the present invention, in terminal device, needs the preset net with operator
Radio-frequency driven corresponding to the frequency range of network.When needing the whole network to search for, needs to load all radio-frequency drivens and searched to carry out the whole network
Rope, such net strategy of searching will increase the power consumption of terminal device, and the stability of signal of communication is caused to reduce.Therefore, when known
After the network of required search is HPLMN, the radio-frequency driven of corresponding HPLMN band information can be only loaded, unloads the drive of other radio frequencies
It is dynamic, to reduce base band power consumption, guarantee communication stability.
207, the radio-frequency driven of the corresponding above-mentioned band information of load, unloading do not correspond to the radio-frequency driven of above-mentioned band information.
208, above-mentioned HPLMN is searched for be registered using the radio-frequency driven of the above-mentioned band information of above-mentioned correspondence.
In the method depicted in fig. 2, after judging the web search mode of terminal device for manual network selection, terminal is inquired
The service state of equipment records;If service state is switched to local state by roaming state, terminal device is counted in no clothes
The time of business state;If the time that terminal device is in non-service state is more than preset time threshold, deducibility terminal device
It is automatic network selection to search by the web search pattern switching of terminal device therefore by international roaming to return to ownership place
HPLMN is accessed.It can be seen that automatically can will after terminal device roaming using method described in Fig. 2
Web search mode is switched to automatic network selection by manual network selection, to be registered to HPLMN, makes user that terminal device can be used normally
It is communicated.
Referring to Fig. 3, the structure that Fig. 3 is the network search device after a kind of roaming disclosed by the embodiments of the present invention is shown
It is intended to.As shown in figure 3, the terminal device may include:
First judging unit 301, for judging whether the current web search mode of terminal device is manual network selection.
In the embodiment of the present invention, when user is when foreign countries are serviced using international roaming, in order to select the ownership place with user
The roaming place carrier network that the network signal of operators in co-operation is more preferable, rate are more preferential, often by the net of terminal device
Network search pattern is adjusted to manual network selection mode, and user is autonomous from the accessible network list listed on terminal device later
Choose the network for wanting access.However, problem caused by this application method is, when user comes back home from foreign countries, need to access
When HPLMN, since web search mode is manual network selection, before terminal device will continue to search for when international roaming selected by user
Network, cause that HPLMN can not be accessed.
Therefore, after terminal device turns back on, it can be determined that whether the current network mode of terminal device is to select manually
Whether net then needs to may search for network according to subsequent come to searching, net is tactful to carry out certain tune if manual network selection mode
It is whole.
Statistic unit 302, for counting terminal device in no service when above-mentioned web search mode is manual network selection
The time of state.
In the embodiment of the present invention, if the web search mode of terminal device is manual network selection, counts terminal device and be in
The time of non-service state;If terminal device can search network in preset time threshold, it is detached from non-service state, then is said
It is bright may be where geographical location network signal it is weaker caused by search net slower;If the time for searching for network is more than preset time
Threshold value, then terminal device may be to return to ownership place by roaming place, and ownership place does not have user to select under manual network selection mode
Network and caused by cannot search network.
Switch unit 303 will be upper when the time for being in non-service state when terminal device is more than preset time threshold
Web search pattern switching is stated to automatic network selection.
In the embodiment of the present invention, ownership place is returned to by roaming place to solve user, ownership place does not have user in manual network selection
The network that is selected under mode and caused by the problem of cannot searching network, it can be determined that the web search mode of terminal device is
Manual network selection, and in non-service state time be more than preset time threshold after, by the web search mode of terminal device
It is switched to automatic network selection.Terminal device is under automatic network selection mode, and according to network selection strategy, the registered public land of first search is moved
Dynamic network (Registered Public Land Mobile Network, RPLMN) and HPLMN, can relatively quickly search for
To belonging area network and accessed.
In the equipment described in Fig. 3, after judging the web search mode of terminal device for manual network selection, terminal is counted
Equipment is in the time of non-service state;If the time that terminal device is in non-service state is more than preset time threshold, can
Infer that terminal device is by international roaming to return to ownership place, is automatic by the web search pattern switching of terminal device therefore
Network selection is accessed with searching HPLMN.It can be seen that using equipment described in Fig. 3, it can be when terminal device roaming knot
Web search mode is switched to automatic network selection by manual network selection automatically by Shu Hou, to be registered to HPLMN, keeps user normal
Using terminal equipment is communicated.
Referring to Figure 4 together, Fig. 4 is the network search device after another roaming disclosed by the embodiments of the present invention
Structural schematic diagram.Wherein, equipment shown in Fig. 4 is that equipment as shown in Figure 3 optimizes, with equipment shown in Fig. 3
It compares, equipment shown in Fig. 4 further include:
Query unit 304, the service state for inquiring terminal device record.
Second judgment unit 305, for judging whether above-mentioned service state by roaming state is switched to local state.
As an alternative embodiment, above-mentioned statistic unit 302, is specifically used for when above-mentioned service state is by roaming shape
When state is switched to local state, statistics terminal device is in the time of non-service state.
Second acquisition unit 306, for obtaining the band information of above-mentioned HPLMN preset in terminal device.
The network of different operators is searched in the embodiment of the present invention, in terminal device, needs the preset net with operator
Radio-frequency driven corresponding to the frequency range of network.When needing the whole network to search for, needs to load all radio-frequency drivens and searched to carry out the whole network
Rope, such net strategy of searching will increase the power consumption of terminal device, and the stability of signal of communication is caused to reduce.Therefore, when known
After the network of required search is HPLMN, the radio-frequency driven of corresponding HPLMN band information can be only loaded, unloads the drive of other radio frequencies
It is dynamic, to reduce base band power consumption, guarantee communication stability.
Loading unit 307, for loading the radio-frequency driven of corresponding above-mentioned band information.
First search unit 308, for the radio-frequency driven using the above-mentioned band information of above-mentioned correspondence search for above-mentioned HPLMN with
It is registered.
As an alternative embodiment, above-mentioned switch unit 303, specifically for making the application processor of terminal device
It sends web search pattern switching to instruct to the baseband processor of terminal device, so that above-mentioned baseband processor searches above-mentioned network
Rope pattern switching is automatic network selection.
In the equipment described in Fig. 4, after judging the web search mode of terminal device for manual network selection, terminal is inquired
The service state of equipment records;If service state is switched to local state by roaming state, terminal device is counted in no clothes
The time of business state;If the time that terminal device is in non-service state is more than preset time threshold, deducibility terminal device
It is automatic network selection to search by the web search pattern switching of terminal device therefore by international roaming to return to ownership place
HPLMN is accessed.It can be seen that automatically can will after terminal device roaming using equipment described in Fig. 4
Web search mode is switched to automatic network selection by manual network selection, to be registered to HPLMN, makes user that terminal device can be used normally
It is communicated.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention.As shown in figure 5,
The terminal device includes: processor 501 and memory 502;Wherein memory 502 can be used for the execution data of processor 501
Caching required for processing can be also used for providing the result that processor 501 executes data and acquisition that data processing is called
The memory space of data.
In embodiments of the present invention, processor 501 is by calling the program code being stored in memory 502, for holding
The following operation of row:
Judge whether the current web search mode of terminal device is manual network selection;
If above-mentioned web search mode is manual network selection, the time that terminal device is in non-service state is counted;
If the time that terminal device is in non-service state is more than preset time threshold, above-mentioned web search mode is cut
Change to automatic network selection.
As an alternative embodiment, the program code that processor 501 is stored in memory 502 by calling,
It is also used to execute following operation:
Inquire the service state record of terminal device;
Judge whether above-mentioned service state by roaming state is switched to local state;
Above-mentioned statistics terminal device is in the time of non-service state, comprising:
If above-mentioned service state is switched to local state by roaming state, counts terminal device and be in non-service state
Time.
As an alternative embodiment, the program code that processor 501 is stored in memory 502 by calling,
It is also used to execute following operation:
Obtain the band information of above-mentioned HPLMN preset in terminal device;
The radio-frequency driven of the corresponding above-mentioned band information of load, unloading do not correspond to the radio-frequency driven of above-mentioned band information;
Above-mentioned HPLMN is searched for using the radio-frequency driven of the above-mentioned band information of above-mentioned correspondence to be registered.
In the terminal device described in Fig. 5, after judging the web search mode of terminal device for manual network selection, inquiry
The service state of terminal device records;If service state is switched to local state by roaming state, counts terminal device and be in
The time of non-service state;If the time that terminal device is in non-service state is more than preset time threshold, deducibility terminal
Equipment is by international roaming to return to ownership place, is automatic network selection to search by the web search pattern switching of terminal device therefore
Rope is accessed to HPLMN.It can be seen that can be terminated when terminal device roaming using terminal device described in Fig. 5
Afterwards, web search mode is switched to automatic network selection by manual network selection automatically, to be registered to HPLMN, makes user normally
It is communicated with terminal device.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another terminal device disclosed by the embodiments of the present invention.Such as Fig. 6 institute
Show, for ease of description, only parts related to embodiments of the present invention are shown, and it is disclosed by specific technical details, it please refers to
Present invention method part.The terminal can be include mobile phone, tablet computer, PDA (Personal Digital
Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer,
Taking the terminal as an example:
Fig. 6 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure
6, mobile phone include: radio frequency (Radio Frequency, RF) circuit 601, memory 602, input unit 603, display unit 604,
Sensor 605, voicefrequency circuit 606, Wireless Fidelity (wireless fidelitV, WiFi) module 607, processor 608 and
The components such as power supply 609.It will be understood by those skilled in the art that handset structure shown in Fig. 6 does not constitute the restriction to mobile phone,
It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 6 to mobile phone:
RF circuit 601 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, handled to processor 608;In addition, the data for designing uplink are sent to base station.In general, RF circuit 601
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuit 601 can also be communicated with network and other equipment by wireless communication.
Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access
(Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution,
LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 602 can be used for storing software program and module, and processor 608 is stored in memory 602 by operation
Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 602 can mainly include
Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone
Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 602 may include high-speed random access memory
Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states
Part.
Input unit 603 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with
And the related key signals input of function control.Specifically, input unit 603 may include that touch panel 6031 and other inputs are set
Standby 6032.Touch panel 6031, also referred to as touch screen, collecting the touch operation of user on it or nearby, (for example user makes
With the operation of any suitable object or attachment such as finger, stylus on touch panel 6031 or near touch panel 6031),
And corresponding attachment device is driven according to preset formula.Optionally, touch panel 6031 may include touch detecting apparatus
With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring
Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted
At contact coordinate, then processor 608 is given, and order that processor 608 is sent can be received and executed.Furthermore, it is possible to adopt
Touch panel 6031 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
6031, input unit 603 can also include other input equipments 6032.Specifically, other input equipments 6032 may include but
One be not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
Kind is a variety of.
Display unit 604 can be used for showing information input by user or be supplied to user information and mobile phone it is various
Menu.Display unit 604 may include display panel 6041, optionally, can use liquid crystal display (Liquid Crystal
Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure
Show panel 6041.Further, touch panel 6031 can cover display panel 6041, when touch panel 6031 detects on it
Or after neighbouring touch operation, processor 608 is sent to determine the type of touch event, is followed by subsequent processing device 608 according to touch
The type of event provides corresponding visual output on display panel 6041.Although in Fig. 6, touch panel 6031 and display surface
Plate 6041 is the input and input function for realizing mobile phone as two independent components, but in some embodiments it is possible to
It is touch panel 6031 and display panel 6041 is integrated and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 605, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 6041, proximity sensor can close display panel when mobile phone is moved in one's ear
6041 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone
The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 606, loudspeaker 6061, microphone 6062 can provide the audio interface between user and mobile phone.Audio
Electric signal after the audio data received conversion can be transferred to loudspeaker 6061, be converted to by loudspeaker 6061 by circuit 606
Voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 6062, is connect by voicefrequency circuit 606
Audio data is converted to after receipts, then by after the processing of audio data output processor 608, is sent to through RF circuit 601 such as another
One mobile phone, or audio data is exported to memory 602 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 607
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 6 is shown
WiFi module 607, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 608 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 602, and call and be stored in memory 602
Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 608 can wrap
Include one or more processing units;Preferably, processor 608 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 608.
Mobile phone further includes the power supply 609 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 608 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In previous embodiment, each step method process can be realized based on the structure of the terminal device.Wherein application layer and
Operating system nucleus can be considered the component part of the abstract structure of processor 608.
In embodiments of the present invention, processor 608 is by calling the program code being stored in memory 602, for holding
The following operation of row:
Judge whether the current web search mode of terminal device is manual network selection;
If above-mentioned web search mode is manual network selection, the time that terminal device is in non-service state is counted;
If the time that terminal device is in non-service state is more than preset time threshold, above-mentioned web search mode is cut
Change to automatic network selection.
As an alternative embodiment, the program code that processor 608 is stored in memory 602 by calling,
It is also used to execute following operation:
Inquire the service state record of terminal device;
Judge whether above-mentioned service state by roaming state is switched to local state;
Above-mentioned statistics terminal device is in the time of non-service state, comprising:
If above-mentioned service state is switched to local state by roaming state, counts terminal device and be in non-service state
Time.
As an alternative embodiment, the program code that processor 608 is stored in memory 602 by calling,
It is also used to execute following operation:
Obtain the band information of above-mentioned HPLMN preset in terminal device;
The radio-frequency driven of the corresponding above-mentioned band information of load, unloading do not correspond to the radio-frequency driven of above-mentioned band information;
Above-mentioned HPLMN is searched for using the radio-frequency driven of the above-mentioned band information of above-mentioned correspondence to be registered.
In the terminal device described in Fig. 6, after judging the web search mode of terminal device for manual network selection, inquiry
The service state of terminal device records;If service state is switched to local state by roaming state, counts terminal device and be in
The time of non-service state;If the time that terminal device is in non-service state is more than preset time threshold, deducibility terminal
Equipment is by international roaming to return to ownership place, is automatic network selection to search by the web search pattern switching of terminal device therefore
Rope is accessed to HPLMN.It can be seen that can be terminated when terminal device roaming using terminal device described in Fig. 6
Afterwards, web search mode is switched to automatic network selection by manual network selection automatically, to be registered to HPLMN, makes user normally
It is communicated with terminal device.
It is worth noting that, included is each in network search device and terminal device embodiment after above-mentioned roaming
Unit is only divided according to the functional logic, but is not limited to the above division, as long as corresponding functions can be realized
?;In addition, the specific name of each functional unit is also only for convenience of distinguishing each other, the protection being not intended to restrict the invention
Range.
In addition, those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment
It is that relevant hardware can be instructed to complete by program, which can be stored in a computer readable storage medium,
Storage medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory
(Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact
Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can
For carrying or any other computer-readable medium of storing data.
The above is only the preferable specific embodiments of the present invention, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art the variation that can readily occur in or replaces in the technical scope that the embodiment of the present invention discloses
It changes, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim
Subject to enclosing.