CN107426813A - The display methods and device of the network information - Google Patents
The display methods and device of the network information Download PDFInfo
- Publication number
- CN107426813A CN107426813A CN201710330234.6A CN201710330234A CN107426813A CN 107426813 A CN107426813 A CN 107426813A CN 201710330234 A CN201710330234 A CN 201710330234A CN 107426813 A CN107426813 A CN 107426813A
- Authority
- CN
- China
- Prior art keywords
- network information
- information
- change
- login state
- network
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of display methods of network information and device, belong to field of terminal technology.This method includes:When the login state of mobile communications network changes, it is determined that the login state after change, the login state be used to indicating it is current whether registered upper mobile communications network;The network information of the mobile communications network is obtained, and judges whether the network information of acquisition is consistent with the login state after change;When the login state after the network information of acquisition and change is inconsistent, every information inconsistent with the login state after change in the network information that preset duration inquiry obtains;When the network information that inquiry obtains afterwards is consistent with the login state after change, the network information currently shown is refreshed by inquiring about the network information obtained afterwards.By the network information for judging to obtain it is consistent with login state after, show that the problem of avoiding the information of same time showing inconsistent improves the accuracy rate that the network information is shown to the network information.
Description
Technical field
The present invention relates to field of terminal technology, the display methods and device of more particularly to a kind of network information.
Background technology
As the continuous progress of society, the use range of mobile terminal are more and more wider.User is in the mistake using mobile terminal
Cheng Zhong, in order to play the effect of mobile terminal to greatest extent, 3G network, 4G networks etc. can be registered by mobile terminal
Mobile communications network, after succeeding in registration, the network information of the mobile communications network is shown, in order to which user can be straight
See the network information that the mobile communications network is known on ground.
In correlation technique, mobile terminal can include modem, network information notice ccf layer and interface display mould
Block.After mobile terminal registration mobile communications network success, modem can obtain the network information of the mobile communications network,
And the network information of acquisition is transmitted directly to network information notice ccf layer, the network is believed by network information notice ccf layer
Breath is sent to interface display module, in order to which interface display module shows the network information.
However, due to can typically include multiple information in the network information, such as, registered network type, roaming state, note
Volume network name, signal value, MCC (Mobile Country Code, mobile national number), MNC (Mobile Network
Code, mobile network code) etc., and modem obtains the mode difference of the plurality of information, such as registered network title
It is to be obtained from the information of network side broadcast, registered network type is actively to be obtained from network side, therefore, modem
The time for getting the plurality of information may be different, may so as to multiple information in the network information of same time showing occur
The problem of inconsistent.
The content of the invention
In order to solve the problems, such as correlation technique, the embodiments of the invention provide a kind of display methods of network information and dress
Put.The technical scheme is as follows:
First aspect, there is provided a kind of display methods of the network information, methods described include:
When the login state of mobile communications network changes, it is determined that the login state after change, the login state
For indicate it is current whether the registered mobile communications network;
Obtain the network information of the mobile communications network, and judge obtain the network information whether with after the change
Login state is consistent;
When the login state after the network information of the acquisition and the change is inconsistent, institute is inquired about every preset duration
State information inconsistent with the login state after the change in the network information of acquisition;
When the network information that inquiry obtains afterwards is consistent with the login state after the change, by being obtained after inquiry
The network information network information currently shown is refreshed.
Alternatively, it is described judge obtain the network information it is whether consistent with the login state after the change, including:
If the login state after the change is unregistered, when the network information of the acquisition is invalid information
When, determine that the network information of the acquisition is consistent with the login state after the change, deposited when in the network information of the acquisition
In effective information, determine that the network information of the acquisition and the login state after the change are inconsistent;
If the login state after the change is registered, when the network information of the acquisition is effective information
When, determine that the network information of the acquisition is consistent with the login state after the change, when the network information of the acquisition is present
During invalid information, determine that the network information of the acquisition and the login state after the change are inconsistent.
Alternatively, after the login state after the determination change, in addition to:
If the login state after the change is registered, the network for obtaining the mobile communications network is performed
The step of information;
If the login state after the change is unregistered, the setting network information is initial value, passes through the net of setting
Network information refreshes to the network information currently shown.
Alternatively, the network information includes but is not limited to following information:
Registered network type, roaming state, registered network title, signal value, MCC, MNC.
Second aspect, there is provided a kind of display methods of the network information, methods described include:
When the login state of mobile communications network changes, it is determined that the login state after change, the login state
For indicate it is current whether the registered mobile communications network;
Obtain the network information of the mobile communications network, and judge obtain the network information whether with after the change
Login state is consistent;
When the login state after the network information of the acquisition and the change is inconsistent, after setting and the change
The consistent network information of login state;
The network information currently shown is refreshed by the network information of setting.
Alternatively, the setting network information consistent with the login state after the change, including:
The information inconsistent with the login state after the change is determined from the network information of the acquisition;By determination
Information is arranged to the presupposed information consistent with the login state after the change;
Or
All information in the network information of the acquisition are arranged to consistent with the login state after the change pre-
If information.
The third aspect, there is provided a kind of display device of the network information, described device include:
Determining module, for when the login state of mobile communications network changes, it is determined that the login state after change,
The login state be used to indicating it is current whether the registered mobile communications network;
Acquisition module, for obtaining the network information of the mobile communications network;
Whether judge module, the network information for judging to obtain are consistent with the login state after the change;
Enquiry module, for when the login state after the network information of the acquisition and the change is inconsistent, every
The information inconsistent with the login state after the change in the network information of the preset duration inquiry acquisition;
Refresh module, when the network information for being obtained afterwards when inquiry is consistent with the login state after the change, lead to
The network information that inquiry obtains afterwards is crossed to refresh the network information currently shown.
Alternatively, the judge module is specifically used for:
If the login state after the change is unregistered, when the network information of the acquisition is invalid information
When, determine that the network information of the acquisition is consistent with the login state after the change, deposited when in the network information of the acquisition
In effective information, determine that the network information of the acquisition and the login state after the change are inconsistent;
If the login state after the change is registered, when the network information of the acquisition is effective information
When, determine that the network information of the acquisition is consistent with the login state after the change, when the network information of the acquisition is present
During invalid information, determine that the network information of the acquisition and the login state after the change are inconsistent.
Alternatively, described device also includes:
Trigger module, if being registered for the login state after the change, trigger the acquisition module and obtain
The network information of the mobile communications network;
Setup module, if being unregistered for the login state after the change, the setting network information is initial value,
The network information currently shown is refreshed by the network information of setting.
Alternatively, the network information includes but is not limited to following information:
Registered network type, roaming state, registered network title, signal value, MCC, MNC.
Fourth aspect, there is provided a kind of display device of the network information, described device include:
Determining module, for when the login state of mobile communications network changes, it is determined that the login state after change,
The login state be used to indicating it is current whether the registered mobile communications network;
Acquisition module, for obtaining the network information of the mobile communications network;
Whether judge module, the network information for judging to obtain are consistent with the login state after the change;
Setup module, for when the login state after the network information of the acquisition and the change is inconsistent, setting
The network information consistent with the login state after the change;
Refresh module, the network information currently shown is refreshed for the network information by setting.
Alternatively, the setup module is specifically used for:
The information inconsistent with the login state after the change is determined from the network information of the acquisition;By determination
Information is arranged to the presupposed information consistent with the login state after the change;
Or
All information in the network information of the acquisition are arranged to consistent with the login state after the change pre-
If information.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:In embodiments of the present invention, when mobile logical
When the login state of communication network changes, it is determined that the login state after change, and obtain the network letter of the mobile communications network
Breath.In order to ensure that the login state after the network information of acquisition and change is consistent, the net of mobile communications network is being got
During network information, the network information currently shown is not refreshed immediately, but the first network information to acquisition and change
Whether login state afterwards is unanimously judged, with the inconsistent situation of the login state after the network information of acquisition and change
Under, carry out inquiring about information inconsistent with the login state after change in the network information every preset duration, so as to inquire about
When obtaining the network information consistent with the login state after change afterwards, then the network information to currently showing refreshes, from
And the problem of multiple information in the network information for same time showing occur are inconsistent is avoided, improve the aobvious of the network information
Show accuracy rate.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of display system architecture figure of network information provided in an embodiment of the present invention;
Fig. 2 is a kind of display methods flow chart of network information provided in an embodiment of the present invention;
Fig. 3 is the display methods flow chart of another network information provided in an embodiment of the present invention;
Fig. 4 is the display methods flow chart of another network information provided in an embodiment of the present invention;
Fig. 5 is the display methods flow chart of another network information provided in an embodiment of the present invention;
Fig. 6 A are a kind of display device structure schematic diagrames of network information provided in an embodiment of the present invention;
Fig. 6 B are the display device structure schematic diagrames of another network information provided in an embodiment of the present invention;
Fig. 7 is the display device structure schematic diagram of another network information provided in an embodiment of the present invention;
Fig. 8 is a kind of mobile terminal structure schematic diagram provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
In order to make it easy to understand, before to the embodiment of the present invention carrying out that explanation is explained in detail, first to the embodiment of the present invention
Noun, application scenarios and the system architecture being related to are introduced.
First, some nouns being related in the embodiment of the present invention are introduced and illustrated.
Mobile communications network
Mobile communications network refers to network used in the intercommunication of any two network equipment, and popular saying is exactly
Cellular mobile network, such as, mobile communications network can be 3G network, 4G networks etc..
The network information
The network information refers to the information for describing the current registered mobile communications network of mobile terminal, including but unlimited
In registered network type, roaming state, registered network title, signal value, MCC, MNC.
Wherein, after registered network type refers to mobile terminal registration mobile communications network success, mobile communications network institute is right
The network type answered, such as, GSM (Global System for Mobile Communication, global mobile communication system
System) network, TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, when
Point S-CDMA-Synchronous Code Division Multiple Access) network, (Wideband Code Division Multiple Access, wideband code division are more by WCDMA
Location) network, CDMA1x (Code Division Multiple Access1x, the first stage of CDMA) network, LTE
((Long Term Evolution, long term evolution) network or CDMA2000 (Code Division Multiple Access
2000, CDMA 2000) network etc..
Roaming state refer to the mobile communications network that mobile terminal is currently registered network signal access with ownership place not
State in which simultaneously.Such as the network signal access of the mobile communications network currently registered of the mobile terminal be Japan, and
The ownership place of mobile terminal registration mobile communications network is China, it is determined that mobile terminal is in roaming state.
Registered network title refers to the title for the Virtual network operator that mobile terminal is currently registered.Such as registered network title
Can be China Mobile, China Telecom etc..
Signal value is used to indicate that mobile terminal currently connects the network signal intensity of mobile communications network.Such as 35dB
(Decibel, decibel), 60dB or 80dB etc..
Login state
Login state be used to indicating it is current whether registered upper mobile communications network, can include registered and unregistered two
Kind state.
Effective or invalid information
Effectively or invalid information refers to the validity or ineffectivity of each information in the network information, such as when registered network title
During for without service, the registered network title is invalid information, when the signal value of the mobile communications network is 0dB, the signal
Value is invalid information.And when the entitled China Mobile of registered network or China Telecom, the registered network title is as effective
Information.
Secondly, to the present embodiments relate to application scenarios be introduced.
During the use of mobile terminal, often because some reasons are shut down to mobile terminal, or open
The offline mode of mobile terminal (when mobile terminal is in offline mode, mobile terminal can disconnect accessing mobile communication network).
When mobile terminal turns back on or closes offline mode, mobile terminal can re-register mobile communications network, and register
The network information of the mobile communications network is obtained after work(.It is each in the acquisition for mobile terminal network information due in correlation technique
The mode of information is different, causes the information of same time showing inconsistent, that is to say, includes in the information of same time showing
Effective information, include invalid information again, so as to which certain puzzlement can be caused to user, user can not be judged that mobile terminal goes out
Existing failure, or mobile communications network registration failure, or be that other reasons cause.Therefore, the embodiments of the invention provide
A kind of display methods of the network information, the problem of avoiding the information of same time showing inconsistent, show so as to improve the network information
The accuracy rate shown.
Certainly, the embodiment of the present invention can be applied not only to the above-mentioned scene for turning back on or closing offline mode, may be used also
Need to note again with applied in other scenes, such as when mobile terminal is moved to network's coverage area from not yet covered with networks region
Volume mobile communications network, will not enumerate in this embodiment of the present invention to other application scene.
Finally, to the present embodiments relate to system architecture be introduced.
Fig. 1 is a kind of display system architecture figure of network information provided in an embodiment of the present invention.The system architecture can portion
It is deployed on mobile terminal.As shown in figure 1, the system architecture includes modem 101, operating system ccf layer 102 and application
Layer 103.Modem 101 is connected with operating system ccf layer 102, and operating system ccf layer 102 is connected with application layer 103.
Modem 101 is used to obtaining the network information of the mobile communications network that mobile terminal is currently registered, and by the network of acquisition
Information is sent to operating system ccf layer 102, and operating system ccf layer 102 parses to the network information received, and sentences
Whether the network information after disconnected parsing consistent with the login state of mobile communications network, and it is determined that after consistent by the network information to
Application layer 103 sends a notification message, in order to notify layer 103 obtained from operating system ccf layer 102 corresponding to the network information,
And the network information of acquisition is shown.
Wherein, operating system ccf layer 102 can include information transfer 1021, information analytic sheaf 1022, information judgement
Layer 1023, information notice layer 1024, system service module 1025 and application interface management module 1026.Modem 101 with
Information transfer 1021 in operating system ccf layer 102 is connected, and information transfer 1021 is connected with information analytic sheaf 1022, letter
Breath analytic sheaf 1022 judges that layer 1023 is connected with information, and information judges that layer 1023 is connected with information notice layer 1024, information notice
Layer 1024 is connected with system service module 1025, system server module 1025 and application interface management module 1026 and application layer
103 connect respectively.
The network information that information transfer 1021 can be sent with receiving modem 101, and the network received is believed
Breath is sent to information analytic sheaf 1022, and information analytic sheaf 1022 is used to parse the network information received, and will parsing
The network information afterwards is sent to information and judges layer 1023, in order to which information judges that layer 1023 can identify the network information.Believing
When breath judges that layer 1023 receives the network information after parsing, judge the network information that receives whether with mobile communications network
Login state is consistent, and it is determined that the network information is sent into information notice layer 1024 after consistent.Then layer is notified by information
The network information is sent to system service module 1025 by 1024, from system service module 1025 store the network information and to should
The refreshing that the network information is sent with layer 103 shows notice.
Wherein, application layer 103 can include status bar display module 1031 and set the status bar of interface display module 1032.
Display module 1031 is connected with system service module 1025, sets interface display module 1032 and application interface management module 1026
Connection.
Status bar display module 1031 is used for when mobile terminal-opening starts, and being registered in system service module 1025 needs
The event to be paid close attention to, including by needed in the network information in status bar refresh display information carry out refresh display thing
Part, and when receiving the refreshing display notice of the network information of the transmission of system service module 1025, from system service module
The information for needing to refresh display in status bar is obtained in the network information of 1025 storages, and is shown.Interface display is set
Module 1032 is used to, when the network information display interface in setting interface is opened, call by application interface management module 1026
Application interface, and obtain and needed in the net in the network information stored by the application interface of calling from system service module 1025
Refresh the information of display in network information display interface, and shown.
It should be noted that the operating system ccf layer 102 in said system framework can be currently installed on for mobile terminal
Operating system ccf layer.The operating system that mobile terminal is currently installed on can be Android (Android) operating system, also may be used
Think IOS.So that the operating system that mobile terminal is currently installed on is Android operation system as an example, operating system frame
Information transfer 1021 in rack-layer 102 can be RILJ layers, when the network type in the network information is GSM network, information
Analytic sheaf 1022 can be GsmSST layers, and when the network type in the network information is WCDMA networks, information analytic sheaf 1022 can
To be WCDMASST layers, information judges that layer 1023 can be HmctTelephonyNotifier layers (in original operation box rack-layer
In newly increase one layer), information notice layer 1024 can be TelephonyNotifier layers, system service module 1025 can be with
It is TelephoneRegistry modules, application interface management module 1026 can be TelephonyManager API modules.Should
It can be SystemUI modules with the status bar display module 1031 in layer 103, set interface display module 1032 to be
Setting modules.
Introduced the present embodiments relate to noun, after application scenarios and system architecture, below to of the invention real
Apply example and carry out detailed explanation.Wherein, due to the login state after network information and the change of acquisition for mobile terminal not
When consistent, mobile terminal can be every letter inconsistent with the login state after change during preset duration is to the network information of acquisition
Breath is inquired about, can also set with change after the consistent network information of login state.Therefore, below in conjunction with two implementations
Example illustrates to the display methods of the network information respectively.
Fig. 2 is a kind of display methods flow chart of network information provided in an embodiment of the present invention.This method is applied to movement
In terminal, also, the present embodiment with every preset duration to the network information of acquisition in it is inconsistent with the login state after change
Information inquired about exemplified by illustrate.Referring to Fig. 2, this method comprises the following steps:
Step 201:When the login state of mobile communications network changes, it is determined that the login state after change, the note
Volume state be used to indicating it is current whether registered upper mobile communications network.
Step 202:Obtain the network information of the mobile communications network, and judge obtain the network information whether with after change
Login state it is consistent.
Step 203:When the login state after the network information of acquisition and change is inconsistent, obtained every preset duration inquiry
The information inconsistent with the login state after change in the network information taken.
Step 204:When the network information that inquiry obtains afterwards is consistent with the login state after change, after inquiry
The obtained network information refreshes to the network information currently shown.
In summary, the method that the present embodiment provides, mobile terminal is when getting the network information, not immediately to working as
The network information of preceding display is refreshed, but first whether the login state after the network information to acquisition and change is unanimously carried out
Judge, with the login state after the network information of acquisition and change it is inconsistent in the case of, every preset duration to acquisition
The information inconsistent with the login state after change is inquired about in the network information, after obtaining and changing after inquiry
During the consistent network information of login state, the network information currently shown is refreshed, avoids the occurrence of the network information of display
The problem of inconsistent, so solve user using mobile terminal because the network information is shown it is inconsistent and caused by perplex ask
Topic, improve the accuracy rate of mobile terminal display networks.
Fig. 3 is a kind of display methods flow chart of network information provided in an embodiment of the present invention.This method is applied to movement
In terminal, also, the present embodiment by set with change after the consistent network information of login state exemplified by illustrate.Referring to figure
3, this method comprises the following steps:
Step 301:When the login state of mobile communications network changes, it is determined that the login state after change, the note
Volume state be used to indicating it is current whether registered upper mobile communications network.
Step 302:Obtain the network information of the mobile communications network, and judge obtain the network information whether with after change
Login state it is consistent.
Step 303:When the login state after the network information of acquisition and change is inconsistent, set and the registration after change
The network information of state consistency.
Step 304:The network information currently shown is refreshed by the network information of setting.
In summary, the method that the present embodiment provides, mobile terminal is when getting the network information, not immediately to working as
The network information of preceding display is refreshed, but first whether the login state after the network information to acquisition and change is unanimously carried out
Judge, with the login state after the network information of acquisition and change it is inconsistent in the case of, set with change after registration shape
The consistent network information of state, the network information currently shown is refreshed based on the network information of setting;Avoid the occurrence of display
The network information it is inconsistent the problem of, and then solve user using mobile terminal because the network information is shown it is inconsistent and caused by
Puzzlement the problem of, improve the accuracys rate of mobile terminal display networks.
Fig. 4 is a kind of display methods flow chart of network information provided in an embodiment of the present invention.This method is applied to movement
Terminal, and the mobile terminal can dispose the system architecture shown in above-mentioned Fig. 1.Below in conjunction with Fig. 1 to the reality shown in above-mentioned Fig. 2
Example is applied to be described in detail.Referring to Fig. 4, this method comprises the following steps:
Step 401:When the login state of mobile communications network changes, it is determined that the login state after change.
Due to after mobile terminal turns back on and either closes offline mode or under some other application scenarios, being somebody's turn to do
The login state of the mobile communications network of mobile terminal registration may change, also, when the note of the mobile communications network
During volume state difference, the network information of the mobile communications network also can be different, therefore, when it is determined that the registration of the mobile communications network
When state changes, it is thus necessary to determine that the login state after change.
After being changed due to the login state of the mobile communications network, the login state after change is probably not note
Volume, it is also possible to registered.However, whether the login state of mobile communications network can access the movement by mobile terminal
Whether communication network determines, therefore, when the login state after the mobile terminal determines change, it can be determined that currently accessed
The mobile communications network, than such as whether 3G network or 4G networks are accessed, if currently having accessed the mobile communications network, it is determined that
Login state after change is registered, if currently not accessing the mobile communications network, can determine the registration after change
State is unregistered.
It should be noted that in embodiments of the present invention, mobile terminal can judge the mobile communications network in real time
Whether login state changes, it is specific judge when can interact to judge with network side, and by with network side it
Between interaction may be referred to correlation technique come the process judged, this is not set forth in detail the embodiment of the present invention.
Alternatively, when mobile terminal includes modem, operating system ccf layer and the application layer shown in above-mentioned Fig. 1
When, the specific implementation process of step 401 can be:When modem detects that the login state of the mobile communications network occurs
During change, the login state after change can be determined by modem.Wherein, whether modem detection login state
Change, and determine that the implementation of the login state after change may be referred to foregoing description.
Step 402:Obtain the network information of mobile communications network.
After the login state change of mobile communications network, the network information of the mobile communications network can also may be sent out
Changing, therefore, in order to ensure display the network information accuracy, when mobile terminal determine change after login state it
Afterwards, the network information of the mobile communications network can also be reacquired.
In addition, the network information can typically include much information, such as, registered network type, roaming state, registered network
Title, signal value, MCC, MNC etc., and the transmission means of the much information is different, therefore, mobile terminal can be a variety of according to this
The transmission means of information obtains the much information, to obtain the network information of the mobile communications network.Such as registering net
Network type, the mobile terminal can be obtained actively from network side, and for registered network title, the mobile terminal can be from network side
Obtained in the information of broadcast.
It should be noted that in some scenes, such as, mobile terminal is covered from being moved to network without network's coverage area
Cover area, now, mobile terminal may be also without the upper mobile communications networks of registration, but the position being presently in due to mobile terminal
Network's coverage area is set to, therefore, mobile terminal can receive the information of network side broadcast, so in the network information
For needing acquired information from the information of network side broadcast (such as registered network title), no matter mobile terminal is currently
Mobile communications network in no registration, mobile terminal can get these information.It that is to say, no matter the login state after change
It is registered or unregistered, mobile terminal can obtain the network information of mobile communications network.
However, when the login state after change is unregistered, mobile terminal can only obtain side of the network side by broadcast
The information of formula transmission, and information actively can not be obtained from network side, the network information that so may result in acquisition is sufficiently complete
Or accuracy is relatively low.Therefore, can in order to ensure the integrality and accuracy of the network information of the mobile communications network of acquisition
In the case of using the login state after change to be registered, the network information of mobile communications network is obtained.Now, for change
Login state afterwards is unregistered situation, and it is initial value that the mobile terminal, which can set the network information, and the net for passing through setting
Network information refreshes to the network information currently shown.
It should be noted that can be previously stored in the terminal for the initial value that the network information is set, such as, it is right
The initial value that registered network title is set can be without service, and the initial value set to signal value can be 0dB etc., and the present invention is real
Example is applied to will not enumerate this.
Alternatively, when mobile terminal includes modem, operating system ccf layer and the application layer shown in above-mentioned Fig. 1
When, the specific implementation process of step 402 can be:, can be with after modem determines the login state of mobile communications network
Obtained one by one according to the different transmission means of each information in the network information.
Step 403:Judge obtain the network information and change after login state it is whether consistent, if it is, performing step
Rapid 404, otherwise, perform step 405.
In order to show the network information of acquisition exactly, avoid causing certain puzzlement to user, to obtaining
The network information shown before, can also judge obtain the network information it is whether consistent with the login state after change.So
And because the login state after change is probably unregistered, it is also possible to it is registered, therefore, followed by following two feelings
Condition illustrates respectively:
The first possible situation:If the login state after change is unregistered, when the network information of acquisition is
During invalid information, it is determined that the network information obtained is consistent with the login state after change, it there are when in the network information of acquisition
When imitating information, it is determined that the login state after the network information obtained and change is inconsistent.
If the login state after change is unregistered, it can determine that mobile terminal does not access the mobile communications network,
It that is to say, for mobile terminal, the network information that the mobile terminal is shown should be invalid information.Therefore, movement is worked as
When the network information that terminal obtains is invalid information, it may be determined that the login state one after the network information of acquisition and change
Cause.On the contrary, when effective information be present in the network information of acquisition, it may be determined that the registration after the network information of acquisition and change
State is inconsistent.
For example, the login state after change is unregistered, when the network information includes signal value, registered network title, note
Volume network type when, it is assumed that signal value 0dB, registered network it is entitled without service, registered network type be no network, due to obtaining
The network information taken is invalid information, thus may determine that the network information obtained is consistent with the login state after change.Phase
Instead, it is assumed that the entitled China Mobile of signal value 0dB, registered network, registered network type are no network, due to registered network name
Referred to as effective information, hence, it can be determined that effective information be present in the network information obtained, and then the network obtained can be determined
Information and the login state after change are inconsistent.
Second of possible situation:If the login state after change is registered, when the network information of acquisition is
During effective information, it is determined that the network information obtained is consistent with the login state after change, when nothing being present in the network information of acquisition
When imitating information, it is determined that the login state after the network information obtained and change is inconsistent.
If the login state after change is registered, mobile terminal accessing mobile communication network can be determined,
It that is to say, for mobile terminal, the network information that the mobile terminal is shown should be effective information.Therefore, movement is worked as
When the network information that terminal obtains is effective information, it may be determined that the login state one after the network information of acquisition and change
Cause, on the contrary, when invalid information be present in the network information of acquisition, it may be determined that the registration after the network information of acquisition and change
State is inconsistent.
For example, the login state after change is registered, when the network information includes signal value, registered network title, note
During volume network type, it is assumed that the entitled China Mobile of signal value 20dB, registered network, registered network type are GSM network, by
In the network information of acquisition be effective information, thus may determine that obtain the network information and change after login state one
Cause.Conversely, it is assumed that the entitled China Mobile of signal value 0dB, registered network, registered network type are no network, due to signal
Value and registered network type are invalid information, hence, it can be determined that invalid information, Jin Erke be present in the network information obtained
To determine that the login state after the network information of acquisition and change is inconsistent.
Alternatively, when the mobile terminal includes modem, operating system ccf layer and the application shown in above-mentioned Fig. 1
Layer, and operating system ccf layer includes information transfer, information analytic sheaf, information and judges layer, information notice layer, system service mould
When block and application interface management module, the specific implementation process of step 403 can be:Modem will get the network information
Information transfer is sent to, information transfer receives the network information, and the network information received is sent into information parsing
Layer, information analytic sheaf parses when receiving the network information to the network information received, and by the network after parsing
Information is sent to information and judges layer, in order to which information judges that layer can identify the network information.Judge that layer receives in the information
During the network information that the information analytic sheaf is sent, it can be determined that whether the network information received is with changing post-registration state one
Cause, and the network information is sent to system service module when consistent, the network information is stored by system service module, and to
Application layer sends the refreshing display notice of the network information.
Step 404:The network information currently shown is refreshed by the network information of acquisition.
Due to much information can be included in the network information, such as, registered network type, roaming state, registered network name
Title, signal value, MCC, MNC etc., the information having in this much information needs to be shown in status bar, and some information need not show
Show in status bar, but may be displayed in the network information display interface in setting interface, such as, when the mobile terminal is hand
During machine, the network information display interface can be the interface for setting " on mobile phone " in interface.Therefore, can believe from the network
The information for needing to be shown in status bar is obtained in breath, and carries out refreshing and shows.And for needing in network information display interface
The information of middle display, when can be opened at the interface, then the letter for needing to be shown in the interface is obtained from the network information
Breath, and the information to being shown in the interface carries out refreshing and shown.
It should be noted that in a kind of possible implementation, handed over to reduce in mobile terminal between modules
Mutual order number, information corresponding to each network type has been generally included in the network information, therefore, when to currently showing
, it is necessary to obtain information corresponding to the network type currently registered when the network information is refreshed.
Further, since signal lattice would generally be shown in status bar, and signal lattice determine to obtain by signal value, because
This, when mobile terminal shows signal lattice in status bar, can change the signal value in the network information according to preset strategy
For signal lattice, and show the signal lattice after conversion.
Alternatively, for signal lattice, it is necessary to judge to change after the signal value in the network information is changed
Whether the signal lattice obtained afterwards and the signal lattice currently shown are equal, if equal, this can not have to refresh, and directly abandon
If unequal, may determine that signal lattice is enhancing or decrease, if enhancing, then can directly display conversion
The signal lattice obtained afterwards, if weakening, then can single-frame degrade refreshing to the signal lattice currently shown, until after being down to conversion
Signal lattice untill.
In a kind of possible implementation, during single-frame degrading and refreshing, the network information that may obtain again
In the signal lattice that are converted to of signal value strengthen again, at this point it is possible to cancel the refresh flow single-frame to degrade, and show immediately again
The signal lattice that signal value in the network information of secondary acquisition is converted to.
Wherein, when mobile terminal include above-mentioned Fig. 1 shown in modem, operating system ccf layer and application layer, and
When application layer includes status bar display module and sets interface display module, the specific implementation process of step 404 can be:In shape
When state column display module receives the refreshing display notice of the network information of system service module transmission, deposited from system service module
The information for needing to be shown in status bar is obtained in the network information of storage, and by the presentation of information of acquisition in status bar, and
Interface display module is set to pass through application interface management module when the network information display interface in setting interface is opened
Calling interface, and obtained in the network information stored by the interface of calling from system service module and need to show in the network information
Show the information shown in interface, and by the presentation of information of acquisition in the network information display interface.
Step 405:Every letter inconsistent with the login state after change in the network information that preset duration inquiry obtains
Breath.
When the login state after the network information of acquisition and change is inconsistent, the mobile terminal can be every preset duration
All information that can be inquired about in the network information of the mobile communications network, and judge inquiry the network information and change after registration
Whether state is consistent, if unanimously, performing step 406, otherwise, continuing to inquire about the mobile radio communication again every preset duration
All information in the network information of network, until the network information inquired about again is consistent with the login state after change.However, by
There may be in the network information that the last time obtains with change after the consistent information of login state, therefore, when default
All information in the long inquiry network information can expend some useless times.In order to save these useless times, net is improved
The display efficiency of network information, the mobile terminal can also first determine with the login state after change to differ in the network information of acquisition
The information of cause, then, information inconsistent with the login state after change in the network information is inquired about every preset duration, and judge
Whether the login state after the information inquired and change is consistent, if unanimously, performing step 406, otherwise, continuing every pre-
If duration inquires about inconsistent information again, until the information inquired again is consistent with the login state after change.
Wherein, if the login state after change is registered, and invalid information be present in the network information obtained, then will
These invalid informations are defined as information inconsistent with the login state after change in the network information of acquisition.If after change
Login state is unregistered, and effective information be present in the network information obtained, then these effective informations is defined as into what is obtained
The information inconsistent with the login state after change in the network information.
Such as when the login state after change for it is registered when, it is assumed that signal value in the network information of acquisition is 0dB,
Entitled registered network without service, registered network type is GSM network, it is determined that signal value and the entitled acquisition of registered network
The information inconsistent with the login state after change in the network information.When the login state after change is unregistered, it is assumed that obtain
Signal value in the network information taken is 2dB, the entitled China Mobile of registered network, registered network type are no network, then really
Determine information inconsistent with the login state after change in the network information of signal value and the entitled acquisition of registered network.
It should be noted that preset duration can be set by user, can also be set by the operating system acquiescence of mobile terminal
Put, for example preset duration can be 1s, 2s, the embodiment of the present invention is not limited this.
Alternatively, when the mobile terminal includes modem, operating system ccf layer and the application shown in above-mentioned Fig. 1
Layer, and operating system ccf layer includes information transfer, information analytic sheaf, information and judges layer, information notice layer, system service mould
When block and application interface management module, the specific implementation process of step 405 can be:When information judges that layer determines the network obtained
Information with change after login state it is inconsistent after, every preset duration, information judge layer can be based on modem inquiry
The information inconsistent with the login state after change in the network information of acquisition, so judge change after login state whether with
Information after inquiry is consistent.
It should be noted that in the case where information judges that layer inquires about inconsistent information every preset duration, modulatedemodulate
Adjust device to obtain the network information according to original mechanism, and the network information of acquisition is reported into information analytic sheaf, by believing
The network information received is reported information and judges layer by breath analytic sheaf.
Step 406:When the network information that inquiry obtains afterwards is consistent with the login state after change, after inquiry
The obtained network information refreshes to the network information currently shown.
Alternatively, when the mobile terminal includes modem, operating system ccf layer and the application shown in above-mentioned Fig. 1
Layer, and operating system ccf layer includes information transfer, information analytic sheaf, information and judges layer, information notice layer, system service mould
When block and application interface management module, the specific implementation process of step 406 can be:Note after information judges that layer determines change
When volume state is consistent with the network information after inquiry, the network information after inquiry is sent to information notice layer, information notice layer
System service module is sent to after receiving the network information after inquiry, system service module sends the network information to application layer
Refresh display notice, and the network information corresponding to being obtained from the system service module as application layer, and the network based on acquisition
Information refreshes to the network information currently shown.
In summary, method provided in an embodiment of the present invention, mobile terminal are not immediately when getting the network information
The network information currently shown is refreshed, but first judge obtain the network information and change after login state whether one
Cause, with the login state after the network information of acquisition and change it is inconsistent in the case of, the net every preset duration to acquisition
The information inconsistent with the login state after change is inquired about in network information, so as to be obtained after inquiry and the note after change
During the network information of volume state consistency, the network information currently shown is refreshed;Solves the user using mobile terminal
Because same time network presentation of information is inconsistent and caused by perplex the problem of, improve the standards of mobile terminal display networks
True rate.
Fig. 5 is a kind of display methods flow chart of network information provided in an embodiment of the present invention.This method is applied to movement
Terminal, and the mobile terminal can dispose the system architecture shown in above-mentioned Fig. 1.With reference to Fig. 1 to the implementation shown in above-mentioned Fig. 3
Example is described in detail.Referring to Fig. 5, this method comprises the following steps:
Step 501:When the login state of mobile communications network changes, it is determined that the login state after change.
Wherein, the implementation method of this step can be same or similar with the step 401 in above-mentioned embodiment illustrated in fig. 4, this
This is not set forth in detail inventive embodiments.
Step 502:Obtain the network information of mobile communications network.
Wherein, the implementation method of this step can be same or similar with the step 402 in above-mentioned embodiment illustrated in fig. 4, this
This is not set forth in detail inventive embodiments.
Step 503:Judge obtain the network information and change after login state it is whether consistent, if it is, performing step
Rapid 504, otherwise, perform step 505.
Wherein, the implementation method of this step can be same or similar with the step 403 in above-mentioned embodiment illustrated in fig. 4, this
This is not set forth in detail inventive embodiments.
Step 504:The network information currently shown is refreshed by the network information of acquisition.
Wherein, the implementation method of this step can be same or similar with the step 404 in above-mentioned embodiment illustrated in fig. 4, this
This is not set forth in detail inventive embodiments.
Step 505:The network information consistent with the login state after change is set.
When the login state after the network information of acquisition and change is inconsistent, in order to avoid causing certain be stranded to user
Disturb, and ensure the accuracy of the network information of display, can set with change after the consistent network information of login state.So
And when setting the network information, can be to being carried out in the network information of acquisition with the inconsistent information of the login state after change
Set, all information in the network information of acquisition can also be configured, both of these case is carried out respectively below in detail
Description.
The first situation:The information inconsistent with the login state after change is determined from the network information of acquisition, will be true
Fixed information is arranged to the presupposed information consistent with the login state after change.
It should be noted that the consistent network information can be pre-set according to login state, and the network of setting is believed
Breath storage corresponding with login state is in the terminal.It that is to say, be stored with mobile terminal and believe with registered consistent network
Breath, certainly, is also stored with and the unregistered consistent network information.For the ease of description, by what is pre-set according to login state
The network information is referred to as the presupposed information consistent with login state.
Therefore, when setting the network information, first can be determined from the network information of acquisition and the login state after change
Inconsistent information, then, according to the login state after change, the information with determining is obtained from the information of mobile terminal storage
One-to-one corresponding and the presupposed information consistent with the login state after change, and the default letter that the information of determination is arranged to obtain
Breath.
Wherein, the specific implementation of the information inconsistent with the login state after change is determined from the network information of acquisition
Journey can be:If the login state after change is registered, and invalid information be present in the network information obtained, then by these
Invalid information is defined as information inconsistent with the login state after change in the network information of acquisition.If the registration after change
State is unregistered, and effective information be present in the network information obtained, then these effective informations are defined as to the network obtained
The information inconsistent with the login state after change in information.
Such as when the login state after change for it is registered when, it is assumed that signal value in the network information of acquisition is 0 lattice,
Entitled registered network without service, registered network type is GSM network, it is determined that signal value and the entitled acquisition of registered network
The information inconsistent with the login state after change in the network information, then it is entitled for 2dB, registered network can to obtain signal value
The presupposed information of China Mobile, and the presupposed information that information consistent in the network information of acquisition is arranged to obtain, now, if
The network information postponed is:Signal value is 2dB, the entitled China Mobile of registered network, registered network type are GSM network.When
When login state after change is unregistered, it is assumed that during the signal value in the network information of acquisition is 2dB, registered network is entitled
State is mobile, registered network type is without network, it is determined that in signal value and the network information of the entitled acquisition of registered network with change
The inconsistent information of login state after change, then signal value can be obtained as 0dB, the default letter of the entitled no service of registered network
Breath, and the presupposed information that information consistent in the network information of acquisition is arranged to obtain, now, the network information after setting
For:Signal value is 0dB, registered network it is entitled without service, registered network type be no network.
Second of situation:All information in the network information of acquisition are arranged to consistent with the login state after change
Presupposed information.
It should be noted that set obtain the network information in all information method it is identical with the first above-mentioned situation or
It is similar, the description of the first above-mentioned situation is may be referred to, this is not set forth in detail the embodiment of the present invention.
Alternatively, when the mobile terminal includes modem, operating system ccf layer and the application shown in above-mentioned Fig. 1
Layer, and operating system ccf layer includes information transfer, information analytic sheaf, information and judges layer, information notice layer, system service mould
When block and application interface management module, the specific implementation process of step 505 can be:When information judges that layer determines the network obtained
When information and inconsistent login state after change, the information judge layer can set with change after the consistent net of login state
Network information.Wherein, the implementation of the network information consistent with the login state after change is set to may be referred to foregoing description.
Step 506:The network information currently shown is refreshed by the network information of setting.
Alternatively, when the mobile terminal includes modem, operating system ccf layer and the application shown in above-mentioned Fig. 1
Layer, and operating system ccf layer includes information transfer, information analytic sheaf, information and judges layer, information notice layer, system service mould
When block and application interface management module, the specific implementation process of step 506 can be:After information judges that layer is set with changing
During the consistent network information of login state, the network information of setting is sent to information notice layer, information notice layer, which receives, to be set
System service module is sent to after the network information put, refreshing of the system service module to the application layer transmission network information shows logical
Know, and the network information corresponding to being obtained from the system service module as application layer, and based on the network information of acquisition to current
The network information of display is refreshed.
In summary, the method that the present embodiment provides, mobile terminal is when getting the network information, not immediately to working as
The network information of preceding display is refreshed, but first whether the login state after the network information to acquisition and change is unanimously carried out
Judge, with the login state after the network information of acquisition and change it is inconsistent in the case of, set with change after registration shape
The consistent network information of state, the network information currently shown is refreshed based on the network information of setting;Avoid the occurrence of display
The network information it is inconsistent the problem of, and then solve user using mobile terminal because the network information is shown it is inconsistent and caused by
Puzzlement the problem of, improve the accuracys rate of mobile terminal display networks.
Fig. 6 A are a kind of display device structure schematic diagrames of network information provided in an embodiment of the present invention.The device is deployed in
In mobile terminal, referring to Fig. 6 A, the device includes:
Determining module 601, for when the login state of mobile communications network changes, it is determined that the registration shape after change
State, the login state be used to indicating it is current whether registered upper mobile communications network;
Acquisition module 602, for obtaining the network information of the mobile communications network;
Whether judge module 603, the network information for judging to obtain are consistent with the login state after change;
Enquiry module 604, for when the login state after the network information of acquisition and change is inconsistent, when default
The information inconsistent with the login state after change in the network information that long inquiry obtains;
Refresh module 605, when the network information for being obtained afterwards when inquiry is consistent with the login state after change, pass through
The network information obtained afterwards is inquired about to refresh the network information currently shown.
Alternatively, judge module 603 is specifically used for:
If the login state after change is unregistered, when the network information of acquisition is invalid information, it is determined that obtaining
The network information taken is consistent with the login state after change, when effective information be present in the network information of acquisition, it is determined that obtaining
The network information and change after login state it is inconsistent;
If the login state after change is registered, when the network information of acquisition is effective information, it is determined that obtaining
The network information taken is consistent with the login state after change, when invalid information be present in the network information of acquisition, it is determined that obtain
The network information and the login state after change are inconsistent.
Alternatively, as shown in Figure 6B, the device also includes:
Trigger module 606, if being registered for the login state after changing, triggering acquisition module 602 obtains should
The network information of mobile communications network;
Setup module 607, if being unregistered for the login state after changing, the setting network information is initial value,
The network information currently shown is refreshed by the network information of setting.
Alternatively, the network information includes but is not limited to following information:
Registered network type, roaming state, registered network title, mobile national number MCC, mobile network code MNC.
In summary, device provided in an embodiment of the present invention is not immediately to current aobvious when getting the network information
The network information shown is refreshed, but first judge obtain the network information and change after login state it is whether consistent, with
In the case that login state after the network information of acquisition and change is inconsistent, every preset duration in the network information of acquisition
Inconsistent information is inquired about with the login state after change, so as to be obtained after inquiry and the login state one after change
During the network information of cause, the network information currently shown is refreshed;The user using mobile terminal is solved because with for the moment
Between the network information show it is inconsistent and caused by the problem of perplexing, improve the accuracys rate of mobile terminal display networks.
Fig. 7 is a kind of display device structure schematic diagram of network information provided in an embodiment of the present invention.The device is deployed in
In mobile terminal, referring to Fig. 7, the device includes:
Determining module 701, for when the login state of mobile communications network changes, it is determined that the registration shape after change
State, the login state be used to indicating it is current whether registered upper mobile communications network;
Acquisition module 702, for obtaining the network information of the mobile communications network;
Whether judge module 703, the network information for judging to obtain are consistent with the login state after change;
Setup module 704, for when the login state after the network information of acquisition and change is inconsistent, setting and changing
The consistent network information of rear login state;
Refresh module, the network information currently shown is refreshed for the network information by setting.
Alternatively, setup module 704 is specifically used for:
The information inconsistent with the login state after change is determined from the network information of acquisition;The information of determination is set
For the presupposed information consistent with the login state after change;
Or
All information in the network information of acquisition are arranged to the presupposed information consistent with the login state after change.
In summary, the device that the present embodiment provides is when getting the network information, not immediately to currently showing
The network information is refreshed, but first whether the login state after the network information to acquisition and change unanimously judges, with
In the case that login state after the network information of acquisition and change is inconsistent, set consistent with the login state after changing
The network information, the network information currently shown is refreshed based on the network information of setting;Avoid the occurrence of the network letter of display
Cease the problem of inconsistent, so solve user using mobile terminal because the network information is shown it is inconsistent and caused by perplex
Problem, improve the accuracy rate of mobile terminal display networks.
It should be noted that:The device that shows of the network information that above-described embodiment provides in display networks, only with
The division progress of above-mentioned each functional module, can be as needed and by above-mentioned function distribution by not for example, in practical application
Same functional module is completed, i.e., the internal structure of device is divided into different functional modules, to complete whole described above
Or partial function.In addition, the network information that above-described embodiment the provides device shown and the method that the network information is shown are implemented
Example belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 8 is a kind of mobile terminal structure schematic diagram provided in an embodiment of the present invention.Referring to Fig. 8, mobile terminal 800 can be with
Including communication unit 810, include memory 820, the input block of one or more computer-readable recording mediums
830th, display unit 840, sensor 850, voicefrequency circuit 860, WIFI (Wireless Fidelity, Wireless Fidelity) module
870th, the part such as one or the processor 880 of more than one processing core and power supply 890 is included.People in the art
Member is appreciated that the mobile terminal structure shown in Fig. 8 does not form the restriction to mobile terminal, can include more more than illustrating
Or less part, either combine some parts or different parts arrangement.Wherein:
Communication unit 810 can be used for receive and send messages or communication process in, the reception and transmission of signal, the communication unit 810
Can be RF (Radio Frequency, radio frequency) circuit, router, modem, etc. network communication equipment.Especially, when
When communication unit 810 is RF circuits, after the downlink information of base station is received, transfer at one or more than one processor 880
Reason;In addition, it is sent to base station by up data are related to.Usually as communication unit RF circuits include but is not limited to antenna,
At least one amplifier, tuner, one or more oscillators, subscriber identity module (SIM) card, transceiver, coupler,
LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..In addition, communication unit 810 can also be by wireless
Communication communicates with network and other equipment.The radio communication can use any communication standard or agreement, include but is not limited to
GSM, GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division
Multiple Access, CDMA), WCDMA, LTE (Long Term Evolution, Long Term Evolution), Email,
SMS (Short Messaging Service, Short Message Service) etc..Memory 820 can be used for storage software program and mould
Block, processor 880 are stored in the software program and module of memory 820 by operation, so as to perform various function application with
And data processing.Memory 820 can mainly include storing program area and storage data field, wherein, storing program area can store behaviour
Make system, application program (such as sound-playing function, image player function etc.) needed at least one function etc.;Data storage
Area can store uses created data (such as voice data, phone directory etc.) etc. according to mobile terminal 800.In addition, storage
Device 820 can include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk storage
Device, flush memory device or other volatile solid-state parts.Correspondingly, memory 820 can also include memory control
Device, to provide the access of processor 880 and input block 830 to memory 820.
Input block 830 can be used for the numeral or character information for receiving input, and generation is set with user and function
Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Preferably, input block 830 may include to touch
Sensitive surfaces 831 and other input equipments 832.Touch sensitive surface 831, also referred to as touch display screen or Trackpad, collect and use
Family on or near it touch operation (such as user using any suitable object or annex such as finger, stylus in touch-sensitive table
Operation on face 831 or near touch sensitive surface 831), and corresponding attachment means are driven according to formula set in advance.It is optional
, touch sensitive surface 831 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection means, and is converted into contact coordinate, then gives processor 880, and can reception processing device 880
The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 831.Except touch sensitive surface 831, input block 830 can also include other input equipments 832.Preferably,
Other input equipments 832 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One or more in trace ball, mouse, action bars etc..
Display unit 840 can be used for display by the information of user's input or be supplied to the information and terminal 800 of user
Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.
Display unit 840 may include display panel 841, optionally, can use LCD (Liquid Crystal Display, liquid crystal
Show device), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel
841.Further, touch sensitive surface 831 can cover display panel 841, when touch sensitive surface 831 detects touching on or near it
After touching operation, processor 880 is sent to determine the type of touch event, is followed by subsequent processing type of the device 880 according to touch event
Corresponding visual output is provided on display panel 841.Although in fig. 8, touch sensitive surface 831 and display panel 841 are conducts
Two independent parts come realize input and input function, but in some embodiments it is possible to by touch sensitive surface 831 with display
Panel 841 is integrated and realizes input and output function.
Mobile terminal 800 may also include at least one sensor 850, for example, optical sensor, motion sensor and other
Sensor.Optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 841, proximity transducer can close display when mobile terminal 800 is moved in one's ear
Panel 841 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally
Three axles) acceleration size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely
The other sensors such as the gyroscope that can also configure in mobile terminal 800, barometer, hygrometer, thermometer, infrared ray sensor,
It will not be repeated here.
Voicefrequency circuit 860, loudspeaker 861, microphone 862 can provide the COBBAIF between user and mobile terminal 800.
Electric signal after the voice data received conversion can be transferred to loudspeaker 861, is changed by loudspeaker 861 by voicefrequency circuit 860
Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 862, is connect by voicefrequency circuit 860
Voice data is converted to after receipts, then after voice data output processor 880 is handled, through communication unit 810 to be sent to such as
Another terminal, or voice data is exported to memory 820 further to handle.Voicefrequency circuit 860 is also possible that ear
Tip jack, to provide the communication of peripheral hardware earphone and terminal 800.
In order to realize radio communication, wireless communication unit 870 can be configured with the terminal, the wireless communication unit 870
It can be WIFI module.WIFI belongs to short range wireless transmission technology, and mobile terminal 800 can be with by wireless communication unit 870
Help user to send and receive e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet
Access.Although showing wireless communication unit 870 in Fig. 8, but it is understood that, it is simultaneously not belonging to mobile terminal 800
It must be configured into, can be omitted as needed in the essential scope for do not change invention completely.
Processor 880 is the control centre of mobile terminal 800, utilizes each of various interfaces and connection whole mobile phone
Part, by running or performing the software program and/or module that are stored in memory 820, and call and be stored in memory
Data in 820, the various functions and processing data of mobile terminal 800 are performed, so as to carry out integral monitoring to mobile phone.It is optional
, processor 880 may include one or more processing cores;Preferably, processor 880 can integrate application processor and modulatedemodulate
Processor is adjusted, wherein, application processor mainly handles operating system, user interface and application program etc., modem processor
Main processing radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 880.
Mobile terminal 800 also includes the power supply 890 (such as battery) to all parts power supply, it is preferred that power supply can lead to
Cross power-supply management system and processor 880 be logically contiguous, so as to by power-supply management system realize management charging, electric discharge and
The functions such as power managed.Power supply 860 can also include one or more direct current or AC power, recharging system, electricity
The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, mobile terminal 800 can also include camera, bluetooth module etc., will not be repeated here.
In the present embodiment, mobile terminal also includes one or more than one program, this or one with
Upper program storage is configured to by one or more than one computing device in memory, one or one
Procedure above includes the finger for the display methods for being used to carry out the network information described in above-mentioned Fig. 2-Fig. 5 provided in an embodiment of the present invention
Order.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory of instruction, above-mentioned instruction can complete the above method by the computing device of mobile terminal.It is for example, described non-
Provisional computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light number
According to storage device etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device performs so that mobile terminal is able to carry out the step of display methods of the network information described in above-mentioned Fig. 2-Fig. 5.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.
Claims (10)
1. a kind of display methods of the network information, it is characterised in that methods described includes:
When the login state of mobile communications network changes, it is determined that the login state after change, the login state are used for
Instruction it is current whether the registered mobile communications network;
Obtain the network information of the mobile communications network, and judge obtain the network information whether with the registration after the change
State consistency;
When the login state after the network information of the acquisition and the change is inconsistent, obtained every described in preset duration inquiry
The information inconsistent with the login state after the change in the network information taken;
When the network information that inquiry obtains afterwards is consistent with the login state after the change, by inquiring about the net obtained afterwards
Network information refreshes to the network information currently shown.
2. the method as described in claim 1, it is characterised in that it is described judge obtain the network information whether with after the change
Login state it is consistent, including:
If the login state after the change is unregistered, when the network information of the acquisition is invalid information, really
The network information of the fixed acquisition is consistent with the login state after the change, effective when existing in the network information of the acquisition
During information, determine that the network information of the acquisition and the login state after the change are inconsistent;
If the login state after the change is registered, when the network information of the acquisition is effective information, really
The network information of the fixed acquisition is consistent with the login state after the change, when the network information of the acquisition has invalid letter
During breath, determine that the network information of the acquisition and the login state after the change are inconsistent.
3. the method as described in claim 1, it is characterised in that after the login state after the determination change, in addition to:
If the login state after the change is registered, the network information for obtaining the mobile communications network is performed
The step of;
If the login state after the change is unregistered, the setting network information is initial value, is believed by the network of setting
Breath refreshes to the network information currently shown.
4. a kind of display methods of the network information, it is characterised in that methods described includes:
When the login state of mobile communications network changes, it is determined that the login state after change, the login state are used for
Instruction it is current whether the registered mobile communications network;
Obtain the network information of the mobile communications network, and judge obtain the network information whether with the registration after the change
State consistency;
When the login state after the network information of the acquisition and the change is inconsistent, set and the registration after the change
The network information of state consistency;
The network information currently shown is refreshed by the network information of setting.
5. method as claimed in claim 4, it is characterised in that described that the net consistent with the login state after the change is set
Network information, including:
The information inconsistent with the login state after the change is determined from the network information of the acquisition;By the information of determination
It is arranged to the presupposed information consistent with the login state after the change;
Or
All information in the network information of the acquisition are arranged to the default letter consistent with the login state after the change
Breath.
6. a kind of display device of the network information, it is characterised in that described device includes:
Determining module, for when the login state of mobile communications network changes, it is determined that the login state after change, described
Login state be used to indicating it is current whether the registered mobile communications network;
Acquisition module, for obtaining the network information of the mobile communications network;
Whether judge module, the network information for judging to obtain are consistent with the login state after the change;
Enquiry module, for when the login state after the network information of the acquisition and the change is inconsistent, every default
The information inconsistent with the login state after the change in the network information of the duration inquiry acquisition;
Refresh module, when the network information for being obtained afterwards when inquiry is consistent with the login state after the change, by looking into
The network information obtained afterwards is ask to refresh the network information currently shown.
7. device as claimed in claim 6, it is characterised in that the judge module is specifically used for:
If the login state after the change is unregistered, when the network information of the acquisition is invalid information, really
The network information of the fixed acquisition is consistent with the login state after the change, effective when existing in the network information of the acquisition
During information, determine that the network information of the acquisition and the login state after the change are inconsistent;
If the login state after the change is registered, when the network information of the acquisition is effective information, really
The network information of the fixed acquisition is consistent with the login state after the change, when the network information of the acquisition has invalid letter
During breath, determine that the network information of the acquisition and the login state after the change are inconsistent.
8. device as claimed in claim 6, it is characterised in that described device also includes:
Trigger module, if being registered for the login state after the change, trigger described in the acquisition module acquisition
The network information of mobile communications network;
Setup module, if being unregistered for the login state after the change, the setting network information is initial value, is passed through
The network information of setting refreshes to the network information currently shown.
9. a kind of display device of the network information, it is characterised in that described device includes:
Determining module, for when the login state of mobile communications network changes, it is determined that the login state after change, described
Login state be used to indicating it is current whether the registered mobile communications network;
Acquisition module, for obtaining the network information of the mobile communications network;
Whether judge module, the network information for judging to obtain are consistent with the login state after the change;
Setup module, for when the login state after the network information of the acquisition and the change is inconsistent, setting and institute
State the consistent network information of the login state after change;
Refresh module, the network information currently shown is refreshed for the network information by setting.
10. device as claimed in claim 9, it is characterised in that the setup module is specifically used for:
The information inconsistent with the login state after the change is determined from the network information of the acquisition;By the information of determination
It is arranged to the presupposed information consistent with the login state after the change;
Or
All information in the network information of the acquisition are arranged to the default letter consistent with the login state after the change
Breath.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710330234.6A CN107426813B (en) | 2017-05-11 | 2017-05-11 | Network information display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710330234.6A CN107426813B (en) | 2017-05-11 | 2017-05-11 | Network information display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107426813A true CN107426813A (en) | 2017-12-01 |
CN107426813B CN107426813B (en) | 2020-06-02 |
Family
ID=60424543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710330234.6A Active CN107426813B (en) | 2017-05-11 | 2017-05-11 | Network information display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107426813B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111601301A (en) * | 2020-05-15 | 2020-08-28 | 北京小米移动软件有限公司 | Network type display method, storage method, device and storage medium |
CN112740634A (en) * | 2018-11-13 | 2021-04-30 | 深圳市欢太科技有限公司 | Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1750691A (en) * | 2004-09-18 | 2006-03-22 | 乐金电子(中国)研究开发中心有限公司 | Processing method for calling conversion display state of mobile communication terminal |
CN101075940A (en) * | 2006-05-19 | 2007-11-21 | 佳能株式会社 | Web information processing apparatus and web information processing method |
CN101102307A (en) * | 2006-07-04 | 2008-01-09 | 华为技术有限公司 | Public user identifier registration or cancellation method and device for IMS network |
CN101835126A (en) * | 2010-04-19 | 2010-09-15 | 中兴通讯股份有限公司 | Method for displaying state information and wireless data transmission terminal |
CN101980555A (en) * | 2010-10-26 | 2011-02-23 | 中兴通讯股份有限公司 | Time setting method for mobile terminal and mobile terminal |
US20150181060A1 (en) * | 2013-12-25 | 2015-06-25 | Brother Kogyo Kabushiki Kaisha | Image processing device and screen information supply server |
-
2017
- 2017-05-11 CN CN201710330234.6A patent/CN107426813B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1750691A (en) * | 2004-09-18 | 2006-03-22 | 乐金电子(中国)研究开发中心有限公司 | Processing method for calling conversion display state of mobile communication terminal |
CN101075940A (en) * | 2006-05-19 | 2007-11-21 | 佳能株式会社 | Web information processing apparatus and web information processing method |
CN101102307A (en) * | 2006-07-04 | 2008-01-09 | 华为技术有限公司 | Public user identifier registration or cancellation method and device for IMS network |
CN101835126A (en) * | 2010-04-19 | 2010-09-15 | 中兴通讯股份有限公司 | Method for displaying state information and wireless data transmission terminal |
CN101980555A (en) * | 2010-10-26 | 2011-02-23 | 中兴通讯股份有限公司 | Time setting method for mobile terminal and mobile terminal |
US20150181060A1 (en) * | 2013-12-25 | 2015-06-25 | Brother Kogyo Kabushiki Kaisha | Image processing device and screen information supply server |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112740634A (en) * | 2018-11-13 | 2021-04-30 | 深圳市欢太科技有限公司 | Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment |
CN112740634B (en) * | 2018-11-13 | 2023-04-04 | 深圳市欢太科技有限公司 | Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment |
CN111601301A (en) * | 2020-05-15 | 2020-08-28 | 北京小米移动软件有限公司 | Network type display method, storage method, device and storage medium |
CN111601301B (en) * | 2020-05-15 | 2023-08-29 | 北京小米移动软件有限公司 | Network type display method, storage method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107426813B (en) | 2020-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10834237B2 (en) | Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform | |
US10269163B2 (en) | Method and apparatus for switching real-time image in instant messaging | |
CN104519485B (en) | Communication means, device and system between a kind of terminal | |
CN105024984B (en) | Authority setting method, apparatus and system | |
US20170147187A1 (en) | To-be-shared interface processing method, and terminal | |
CN105183296B (en) | interactive interface display method and device | |
CN105005457A (en) | Geographical location display method and apparatus | |
CN112799577B (en) | Method, terminal and storage medium for projecting small window | |
CN104252341B (en) | The client device of the skin change method of application program, device and application program | |
US20190380024A1 (en) | Method and system for selecting volte according to sim card by mobile terminal, and mobile terminal | |
CN107071779A (en) | Pseudo-base station recognition methods, device and terminal | |
CN105207896A (en) | Internet calling method and device | |
CN108965306A (en) | A kind of call handling method and mobile terminal | |
CN106973330A (en) | A kind of screen live broadcasting method, device and system | |
CN106506321A (en) | One population message treatment method and terminal device | |
CN109819489B (en) | Terminal calling method and terminal | |
US20200413298A1 (en) | Service processing method, information transmission method, and relevant devices | |
CN104216915A (en) | Webpage processing method, device and terminal equipment | |
CN106603740B (en) | It is connected to the network abnormal processing method and terminal device | |
CN108052256A (en) | Message display method, mobile terminal and computer readable storage medium | |
CN106797336A (en) | The method and apparatus of history chat record displaying | |
CN110022553A (en) | A kind of subscriber identification card management method and mobile terminal | |
CN107977261A (en) | Method, equipment, mobile terminal and the computer-readable storage medium of limiting process | |
CN107493396A (en) | Button screen method, terminal and computer-readable recording medium | |
CN112691363A (en) | Cross-terminal switching method and related device for cloud games |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. |