CN107222525A - Data network connection status display methods, terminal and computer-readable recording medium - Google Patents

Data network connection status display methods, terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107222525A
CN107222525A CN201710337754.XA CN201710337754A CN107222525A CN 107222525 A CN107222525 A CN 107222525A CN 201710337754 A CN201710337754 A CN 201710337754A CN 107222525 A CN107222525 A CN 107222525A
Authority
CN
China
Prior art keywords
data network
access point
types
display
connection status
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
Application number
CN201710337754.XA
Other languages
Chinese (zh)
Other versions
CN107222525B (en
Inventor
江禹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710337754.XA priority Critical patent/CN107222525B/en
Publication of CN107222525A publication Critical patent/CN107222525A/en
Application granted granted Critical
Publication of CN107222525B publication Critical patent/CN107222525B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of display methods, terminal and the computer-readable recording medium of data network connection status;The display methods of the data network connection status comprises the following steps:Notify layer to obtain the information of the data network of default access point type and report to display layer;Judged whether to update the current connection state of the data network of the default access point type on display interface according to the information of the data network of default access point type in display layer.The terminal includes:Memory, processor and computer program the step of being used for the display methods for realizing the data network connection status that the present invention is provided that stores on a memory and can run on a processor.Be stored with the computer-readable recording medium for realize the present invention provide data network connection status display methods the step of data network connection status display program.It is of the invention succinct, precisely to show the current network state of significant data network.

Description

Data network connection status display methods, terminal and computer-readable recording medium
Technical field
The present invention relates to communication technical field, more particularly to a kind of display methods of data network connection status, device and Computer-readable recording medium.
Background technology
Android Android platform, as nowadays city's accounting highest mobile intelligent terminal platform, is that user's access is mobile mutual The main path of networking.But the network environment that terminal faces is complicated and changeable, therefore whether this access passage is available Change at any time, mobile phone terminal system must provide certain function, for remind user terminal and internet connection whether It has been established that it is whether still effective during use, whether correctly disconnected after user actively disconnects these connections .
User is obtained information using these functions and from these functions and judges connection status of the terminal currently with network, Carried out by status bar SystemUI.
Due to current network operator provide network access mode be divided into it is a variety of, it is every kind of have uniqueness application, and Access between them is separate, and Android platform is also separately handled these access ways, uses a variety of access point types (Access PointName, APN) carrys out independent processing, and these are connected.And the state of these connections is shown in status bar In notify to user.
More specifically, during each APN access network, a DataConnection object can be all generated in systems, The object is used for identifying the connection of this APN and carrier network, and the most important attribute of the object is connection status, the state It is exactly the state that status bar is shown on terminal interface.By the condition adjudgement, whether certain network has connected user, and then Judge whether corresponding function can use.
Current mainstream chip platform is all to support many APN accesses.Allow that polytype APN is same in the same time When access carrier network.After they are successfully accessed, the DataConnection objects of oneself can be all set up, for identifying this Plant the state of access.And the life cycle between them is also independent, i.e., in the same time, certain possible several APN connection Type is normally connected, and other kinds of APN connection status is to disconnect.In the display of existing status bar, letter Either in the state connection on number column, or disconnect.All types of APN types all can be with same priority It is shown in same signal column, i.e., all DataConnection state change can all cause the connection status of status bar Change.Therefore, in the prior art, user is that can not accurately judge that certain is specific according to the connection status of status bar Whether APN accesses are in connection status.
Further, since the mobile phone screen ratio that status bar takes is smaller, Android system is by all types of access states It is shown in same signal column, including the access style that user seldom touches, such as dun types, or user are not The access style being concerned about very much, such as MMS types.The state change of these connection types can influence user to judge the company of real concern The data mode of type such as Internet access business is connect, and also results in user under many circumstances can not to get these true The information being just concerned about.The usage experience of user is influenceed, under some special scenes, such as in roaming, this erroneous judgement may be also Extremely serious economic loss can be caused to user.
The content of the invention
The embodiments of the invention provide a kind of display methods of data network connection status, device and computer-readable storage Medium, it is intended to correctly include the access state of the data network of user's real concern on display interface.
In view of this, there is provided a kind of display methods of data network connection status, institute for first aspect of the embodiment of the present invention The method of stating comprises the following steps:
Notify layer to obtain the information of the data network of default access point type and report to display layer;
Judged whether to update on display interface according to the information of the data network of the default access point type in display layer The default access point type data network current connection state.
In a kind of possible design, the type of the data network includes:Default types, MMS types, IMS types In at least two.
In a kind of possible design, the current connection state of the data network of the Default types and IMS types is Shown on the status bar of the display interface.
In a kind of possible design, the data network of the Default types and IMS types is on the status bar With different icon representations.
In a kind of possible design, the current connection state of the data network of the MMS types be receive in multimedia message or Shown on the interface of transmission.
In a kind of possible design, the information of the data network of the default access point type includes the default access Connection status, the network type of the operator of access, access point type, the Status Change reason of the data network of vertex type.
In a kind of possible design, it is described notify the information of data network that layer obtains default access point type and on After report to display layer, methods described also includes:
The information of the data network of the default access point type is cached.
In a kind of possible design, judged in display layer according to the information of the data network of the default access point type The current connection state of the data network of the default access point type on display interface whether is updated, is specifically included:
Judge whether the information of the data network of the default access point type changes;
If so, then obtaining the connection status and Status Change reason of the data network of the default access point type;
Decided whether to update the default access point on display interface according to the connection status and Status Change reason The current connection state of the data network of type.
Second aspect of the embodiment of the present invention provides a kind of terminal, including:Memory, processor and it is stored in the storage On device and the computer program that can run on the processor, the computer program is realized this during the computing device The step of display methods for the data network connection status that inventive embodiments are provided.
The third aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage medium The display program for the data network connection status that is stored with matter, the display program of the data network connection status is held by processor The step of display methods of data network connection status provided in an embodiment of the present invention is realized during row.
As can be seen from the above technical solutions, in the embodiment of the present invention, based on user to various types of data cube computations Degree of attentiveness, filters out influence of the polytype APN connection status change to signal column, only by default access point type The connection status of data network is shown on status bar, facilitates user to check the current network state of significant data network.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of display methods one embodiment of data network connection status of the present invention;
Fig. 4 is the schematic diagram for notifying layer and display layer of the embodiment of the present invention;
Fig. 5 is the schematic diagram of another embodiment of the display methods of data network connection status of the present invention;
Fig. 6 is the schematic diagram of the status bar of the display interface of the embodiment of the present invention;
Fig. 7 is the schematic diagram of another embodiment of the display methods of data network connection status of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed Ground is used.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable MediaPlayer, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division MultipleAccess, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera) Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound The noise produced during frequency signal or interference.
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, UE (UserEquipment, use of the LTE system including communicating connection successively Family equipment) 201, E-UTRAN (EvolvedUMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (MobilityManagement Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving GateWay, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
Referring to Fig. 3, Fig. 3 is a kind of display methods one embodiment schematic diagram of data network connection status of the invention, Including:
301st, start;
302nd, layer is being notified to obtain the information of the data network of default access point (Access Point Name, APN) type And report to display layer;
Usually, before reporting or report simultaneously, notify layer can be by the data network of the default access point type Information cached;More specifically, notify that layer is only cached the information of the data network of the default access point type, No longer cache other data;
303rd, judge whether to update according to the information of the data network of the default access point type in display layer and show boundary The current connection state of the data network of the default access point type on face;
304th, terminate.
Please refer to Fig. 4, in the present invention, the actual control of data service connection is responsible in operation layer 401, including it is every kind of The connection of data service is set up, Effective judgement, production cycle maintenance etc.;More specifically, including Default types, (acquiescence connects Enter type), MMS types (multimedia message network insertion type), IMS types (IP multiple media types), the access point type such as fota types Data service;In the state for notifying layer 402 to notify the connection of upper strata display layer current data, and the newest data cube computation of caching State;It is responsible for including current data connection state on the display interface of terminal in display layer 403, enables users in time Solution;More specifically, can be shown in status bar.In the present embodiment, the data network of default access point type is obtained notifying layer The information of network, the information of the data network of those default access point types is fine data connection status, i.e., it not only includes number According to connection status also type, Status Change reason including specific data network etc. of network, received in display layer 403 pre- If, it is necessary to further determine whether to update the default access on display interface during the information of the data network of access point type The current connection state of the data network of vertex type.
Referring to Fig. 5, Fig. 5 is a kind of display methods one embodiment schematic diagram of data network connection status of the invention, Including:
501st, start;
502nd, at least two in notifying layer acquisition access point type to be Default types, MMS types, IMS types The information of data network simultaneously reports to display layer;
More specifically, each the data network access way provided for operator, all correspond to one kind and specifically connects Enter vertex type, wherein, the access point type for influenceing user's using terminal, i.e., the access point type bag that user is really concerned about Include following several:
Default types (acquiescence access style), are primarily used to carry out Internet access;
MMS types (multimedia message network insertion type), are primarily used to when user sends multimedia message, access carrier multimedia message net Network;
IMS types (IP multiple media types), mainly open the high definition voice call of terminal in user, or HD video leads to When talking about function, access carrier IMS network.
Other access point types:Such as hipri types, supl types, cbs types etc., but the access of these networks Typically will not be user's actively triggering, but terminal is in order to maintain what is used during data exchange that normal work and operator are carried out Network.Associated with the routine use of user less, therefore, in general user need not pay close attention to the access state of these networks;
Usually, before reporting or report simultaneously, notify layer can be by Default types, MMS types, IMS types The information of at least two data network cached;More specifically, notifying layer only by Default types, MMS types, IMS The information of at least two data network in type is cached, and no longer caches other data;
503rd, judged in display layer according to the information of the data network of the Default types, MMS types or IMS types Whether the current connection state of the data network of default access point type display interface on is updated;
In one embodiment of the invention, as shown in fig. 6, the data network of the Default types and IMS types Current connection state is shown on the status bar 602 of the display interface 601;And the data network of Default types and IMS types Network is with different icon representations on the status bar, and the shape present invention of specific icon is not limited;In addition, the status bar 602 can be at the top or bottom of display interface 601, and the present invention is not limited equally to the position of status bar 602;
In the present embodiment, MMS types do not appear in status bar 602, the current connection state of the data network of the MMS types It can be shown on the interface that multimedia message is received or is sent;In the specific implementation, the associative operation of multimedia message can be monitored, when in execution When multimedia message receives, edits or send operation, the current connection state of the data network of interim display MMS types on status bar, It is of course also possible to which column of not being at state is shown, but shown on the interface that multimedia message is received or is sent;
504th, terminate.
As shown in fig. 6, another optional reality of the display methods of data network connection status provided in an embodiment of the present invention Apply in example, including:
601st, start;
602nd, notifying layer to obtain the information of the data network of default access point type and reporting to display layer;
Usually, before reporting or report simultaneously, notify layer can be by the data network of the default access point type Information cached;More specifically, notify that layer is only cached the information of the data network of the default access point type, No longer cache other data;
In another alternative embodiment of the invention, above-mentioned default access point type includes Default types, MMS classes At least two in type, IMS types;
603rd, whether the information of the data network that the default access point type is judged in display layer changes;If It is, then into step 604;If it is not, then entering step 606;
604th, the connection status and Status Change reason of the data network of the default access point type are obtained;
605th, described preset for deciding whether to update on display interface according to the connection status and Status Change reason connects Enter the current connection state of the data network of vertex type;
If the reason for being due to system operation, data network is caused temporarily to disconnect, at this point it is possible to select not update aobvious Show the current connection state of the data network of the default access point type on interface;
606th, terminate.
Alternatively, on the basis of the corresponding any embodiments of above-mentioned Fig. 3 to Fig. 6, data provided in an embodiment of the present invention In one alternative embodiment of display methods of network connection state, the information of the data network of the default access point type includes Connection status, the network type of the operator of access, access point type, the state of the data network of the default access point type Change reason.
Wherein, connection status is used for representing certain type of APN current connection status;The network of the operator of access Type such as 4G LTE networks, 3G WCDMA networks or 2G GSM networks etc.;Access point type includes Default types, MMS Type, IMS types etc.;Status Change reason is used for representing the reason for data connection state changes, and is user's actively disconnection, Or connection disconnects caused by network fluctuation.
In the present embodiment, using above-mentioned data format notify layer data are cached, such display layer can by To more information, and the display that can be more become more meticulous according to APN type.
Alternatively, on the basis of above-mentioned any embodiment, data network connection status provided in an embodiment of the present invention One alternative embodiment of display methods in, as shown in fig. 7, perform in number of the display layer according to the default access point type Judge whether the current connection shape of the data network of the default access point type on renewal display interface according to the information of network During the step of state, it may comprise steps of:
701st, start;
702nd, the information of the data network of Default types is determined whether in display layer;If it is not, then entering step 703; If so, then as shown in step 707, the connection status of the data network of Default types on Flushing status column;More specifically, The data of the Default types can also be obtained on Flushing status column before the connection status of the data network of Default types The carrier network of network registry;
703rd, the information of the data network of IMS types is determined whether in display layer;If it is not, then entering step 704;If Be, then as represented by step 706, the connection status of the data network of IMS types on Flushing status column;
704th, the information of the data network of MMS types is determined whether in display layer;If so, then as shown in step 705, more The connection status of the data network of new MMS types;If it is not, then entering step 708;
708th, terminate.
The present invention also provides a kind of display device of data network connection status, the display of the data network connection status Device includes:Memory, processor and the computer program that can be run on the memory and on the processor is stored in, The computer program is realized the display methods for the data network connection status that the present invention is provided during the computing device Step.
More specifically, the computer program by the computing device to realize following steps:
Notify layer to obtain the information of the data network of default access point type and report to display layer;Usually, upper Before report or report simultaneously, notify layer the information of the data network of the default access point type can be cached;More Body, notify that layer is only cached the information of the data network of the default access point type, no longer cache other data;
Judged whether to update on display interface according to the information of the data network of the default access point type in display layer The default access point type data network current connection state;
Please refer to Fig. 4, in the present invention, operation layer 401 is responsible for the actual control function of data service connection, including every The connection for planting data service is set up, Effective judgement, production cycle maintenance etc.;Layer 402 is notified to be responsible for notifying upper strata UI current numbers According to the state of connection, and the newest data connection state of caching;Display layer 403 is responsible for showing current data connection state On the display interface of terminal, understanding in time is enabled users to.In the present embodiment, layer is notified only to obtain the number of default access point type According to the information of network, the information of all data services is no longer obtained, display layer 403 is receiving the data of default access point type , it is necessary to further determine whether to update the data network of the default access point type on display interface during the information of network Current connection state.
In an alternate embodiment of the present invention where, the computer program by the computing device to realize following step Suddenly:
At least two data during access point type is Default types, MMS types, IMS types are obtained notifying layer The information of network simultaneously reports to display layer;More specifically, each the data network access way provided for operator, all right A kind of specific access point type is answered, wherein, the access point type for influenceing user's using terminal, i.e. user is really closed The access point type of the heart includes following several:Default types (acquiescence access style), are primarily used to carry out Internet Access;MMS types (multimedia message network insertion type), are primarily used to when user sends multimedia message, access carrier multimedia message network; IMS types (IP multiple media types), mainly open the high definition voice call of terminal, or HD video call function in user When, access carrier IMS network.Other access point types:Such as hipri types, supl types, cbs types etc., but this The access of a little networks typically will not be user's actively triggering, but terminal is in order to maintain the data that normal work is carried out with operator The network used during exchange.Associated with the routine use of user less, therefore, in general user need not pay close attention to these networks Access state;Usually, before reporting or report simultaneously, notify layer can be by Default types, MMS types, IMS classes The information of at least two data network in type is cached;More specifically, notifying layer only by Default types, MMS classes The information of at least two data network in type, IMS types is cached, and no longer caches other data;
Judged whether in display layer according to the information of the data network of the Default types, MMS types or IMS types The current connection state of the data network of the default access point type on renewal display interface;
In one embodiment of the invention, as shown in fig. 6, the data network of the Default types and IMS types Current connection state is shown on the status bar 602 of the display interface 601;And the data network of Default types and IMS types Network is with different icon representations on the status bar, and the shape present invention of specific icon is not limited;In addition, the status bar 602 can be at the top or bottom of display interface 601, and the present invention is not limited equally to the position of status bar 602;The present embodiment In, MMS types do not appear in status bar 602, the current connection state of the data network of the MMS types can be received in multimedia message or Shown on the interface of transmission;In the specific implementation, the associative operation of multimedia message can be monitored, when in execution multimedia message reception, Bian Jihuo When sending operation, the current connection state of the data network of interim display MMS types on status bar, it is of course also possible to not exist Status bar is shown, but is shown on the interface that multimedia message is received or is sent.
In an alternate embodiment of the present invention where, the computer program by the computing device to realize following step Suddenly:
Notify layer to obtain the information of the data network of default access point type and report to display layer;Usually, upper Before report or report simultaneously, notify layer the information of the data network of the default access point type can be cached;More Body, notify that layer is only cached the information of the data network of the default access point type, no longer cache other data; In another alternative embodiment of the invention, above-mentioned default access point type includes Default types, MMS types, IMS types In at least two;
Whether the information of the data network that the default access point type is judged in display layer changes;If so, Then obtain the connection status and Status Change reason of the data network of the default access point type;
Decided whether to update the default access point on display interface according to the connection status and Status Change reason The current connection state of the data network of type;Now, if be due to system operation, data network is caused temporarily to break Open, at this point it is possible to select not update the current connection of the data network of the default access point type on display interface State.
In an alternate embodiment of the present invention where, the information of the data network of the default access point type includes described The connection status of the data network of default access point type, the network type of the operator of access, access point type, Status Change Reason.
Wherein, connection status is used for representing certain type of APN current connection status;The network of the operator of access Type such as 4G LTE networks, 3G WCDMA networks or 2G GSM networks etc.;Access point type includes Default types, MMS Type, IMS types etc.;Status Change reason is used for representing the reason for data connection state changes, and is user's actively disconnection, Or connection disconnects caused by network fluctuation.
In the present embodiment, using above-mentioned data format notify layer data are cached, such display layer can by To more information, and the display that can be more become more meticulous according to APN type.
In an alternate embodiment of the present invention where, in display layer according to the data network of the default access point type It is described when information judges whether to update the current connection state of the data network of the default access point type on display interface Computer program is by the computing device to realize following steps:
The information of the data network of Default types is determined whether in display layer;If so, then on Flushing status column The connection status of the data network of Default types;More specifically, on Flushing status column Default types data network Connection status before can also obtain the Default types data network registration carrier network;
If judged result is not the information of the data network of Default types, IMS types are determined whether in display layer Data network information;If so, then on Flushing status column the data network of IMS types connection status;
If judged result is not the information of the data network of IMS types, the number of MMS types is determined whether in display layer According to the information of network;If so, then updating the connection status of the data network of MMS types;If it is not, then terminating process.
The present invention also provides the data that are stored with a kind of computer-readable recording medium, the computer-readable recording medium The display program of network connection state, realizes the present invention when display program of the data network connection status is executed by processor The step of display methods for the data network connection status that embodiment is provided.
More specifically, the display program of the data network connection status by the computing device to realize following step Suddenly:
Notify layer to obtain the information of the data network of default access point type and report to display layer;Usually, upper Before report or report simultaneously, notify layer the information of the data network of the default access point type can be cached;More Body, notify that layer is only cached the information of the data network of the default access point type, no longer cache other data;
Judged whether to update on display interface according to the information of the data network of the default access point type in display layer The default access point type data network current connection state;
Please refer to Fig. 4, in the present invention, operation layer 401 is responsible for the actual control function of data service connection, including every The connection for planting data service is set up, Effective judgement, production cycle maintenance etc.;Layer 402 is notified to be responsible for notifying upper strata UI current numbers According to the state of connection, and the newest data connection state of caching;Display layer 403 is responsible for showing current data connection state On the display interface of terminal, understanding in time is enabled users to.In the present embodiment, layer is notified only to obtain the number of default access point type According to the information of network, the information of all data services is no longer obtained, display layer 403 is receiving the data of default access point type , it is necessary to further determine whether to update the data network of the default access point type on display interface during the information of network Current connection state.
In an alternate embodiment of the present invention where, the display program of the data network connection status is by the processor Perform to realize following steps:
At least two data during access point type is Default types, MMS types, IMS types are obtained notifying layer The information of network simultaneously reports to display layer;More specifically, each the data network access way provided for operator, all right A kind of specific access point type is answered, wherein, the access point type for influenceing user's using terminal, i.e. user is really closed The access point type of the heart includes following several:Default types (acquiescence access style), are primarily used to carry out Internet Access;MMS types (multimedia message network insertion type), are primarily used to when user sends multimedia message, access carrier multimedia message network; IMS types (IP multiple media types), mainly open the high definition voice call of terminal, or HD video call function in user When, access carrier IMS network.Other access point types:Such as hipri types, supl types, cbs types etc., but this The access of a little networks typically will not be user's actively triggering, but terminal is in order to maintain the data that normal work is carried out with operator The network used during exchange.Associated with the routine use of user less, therefore, in general user need not pay close attention to these networks Access state;Usually, before reporting or report simultaneously, notify layer can be by Default types, MMS types, IMS classes The information of at least two data network in type is cached;More specifically, notifying layer only by Default types, MMS classes The information of at least two data network in type, IMS types is cached, and no longer caches other data;
Judged whether in display layer according to the information of the data network of the Default types, MMS types or IMS types The current connection state of the data network of the default access point type on renewal display interface;
In one embodiment of the invention, as shown in fig. 6, the data network of the Default types and IMS types Current connection state is shown on the status bar 602 of the display interface 601;And the data network of Default types and IMS types Network is with different icon representations on the status bar, and the shape present invention of specific icon is not limited;In addition, the status bar 602 can be at the top or bottom of display interface 601, and the present invention is not limited equally to the position of status bar 602;The present embodiment In, MMS types do not appear in status bar 602, the current connection state of the data network of the MMS types can be received in multimedia message or Shown on the interface of transmission;In the specific implementation, the associative operation of multimedia message can be monitored, when in execution multimedia message reception, Bian Jihuo When sending operation, the current connection state of the data network of interim display MMS types on status bar, it is of course also possible to not exist Status bar is shown, but is shown on the interface that multimedia message is received or is sent.
In an alternate embodiment of the present invention where, the display program of the data network connection status is by the processor Perform to realize following steps:
Notify layer to obtain the information of the data network of default access point type and report to display layer;Usually, upper Before report or report simultaneously, notify layer the information of the data network of the default access point type can be cached;More Body, notify that layer is only cached the information of the data network of the default access point type, no longer cache other data; In another alternative embodiment of the invention, above-mentioned default access point type includes Default types, MMS types, IMS types In at least two;
Whether the information of the data network that the default access point type is judged in display layer changes;If so, Then obtain the connection status and Status Change reason of the data network of the default access point type;
Decided whether to update the default access point on display interface according to the connection status and Status Change reason The current connection state of the data network of type;Now, if be due to system operation, data network is caused temporarily to break Open, at this point it is possible to select not update the current connection of the data network of the default access point type on display interface State.
In an alternate embodiment of the present invention where, the information of the data network of the default access point type includes described The connection status of the data network of default access point type, the network type of the operator of access, access point type, Status Change Reason.
Wherein, connection status is used for representing certain type of APN current connection status;The network of the operator of access Type such as 4G LTE networks, 3G WCDMA networks or 2G GSM networks etc.;Access point type includes Default types, MMS Type, IMS types etc.;Status Change reason is used for representing the reason for data connection state changes, and is user's actively disconnection, Or connection disconnects caused by network fluctuation.
In the present embodiment, using above-mentioned data format notify layer data are cached, such display layer can by To more information, and the display that can be more become more meticulous according to APN type.
In an alternate embodiment of the present invention where, in display layer according to the data network of the default access point type It is described when information judges whether to update the current connection state of the data network of the default access point type on display interface The display program of data network connection status is by the computing device to realize following steps:
The information of the data network of Default types is determined whether in display layer;If so, then on Flushing status column The connection status of the data network of Default types;More specifically, on Flushing status column Default types data network Connection status before can also obtain the Default types data network registration carrier network;
If judged result is not the information of the data network of Default types, IMS types are determined whether in display layer Data network information;If so, then on Flushing status column the data network of IMS types connection status;
If judged result is not the information of the data network of IMS types, the number of MMS types is determined whether in display layer According to the information of network;If so, then updating the connection status of the data network of MMS types;If it is not, then terminating process.
Display methods, device and the computer-readable storage medium of data network connection status provided in an embodiment of the present invention Matter, only by the information reporting of the data network of default access point type to display layer, so that not influenceing the data of regular job The network information is no longer reported, it is ensured that necessity of data network information will;In addition, the present invention have modified the data for notifying to be cached in layer The data format of connection status, adds the information of access point type, display layer is correctly inquired internet after restarting The access state of connection.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of display methods of data network connection status, it is characterised in that the described method comprises the following steps:
Notify layer to obtain the information of the data network of default access point type and report to display layer;
Judged whether to update the institute on display interface according to the information of the data network of the default access point type in display layer State the current connection state of the data network of default access point type.
2. the display methods of data network connection status as claimed in claim 1, it is characterised in that the class of the data network Type includes:At least two in Default types, MMS types, IMS types.
3. the display methods of data network connection status as claimed in claim 2, it is characterised in that the Default types Current connection state with the data network of IMS types is shown on the status bar of the display interface.
4. the display methods of data network connection status as claimed in claim 3, it is characterised in that the Default types Data network with IMS types is with different icon representations on the status bar.
5. the display methods of data network connection status as claimed in claim 2, it is characterised in that the number of the MMS types According to the current connection state of network shown on the interface that multimedia message is received or is sent.
6. the display methods of data network connection status as claimed in claim 1, it is characterised in that the default access point class The information of the data network of type includes the connection status of the data network of the default access point type, the net of the operator of access Network type, access point type, Status Change reason.
7. the display methods of the data network connection status as described in claim 1 or 6, it is characterised in that described to notify layer Obtain the information of the data network of default access point type and report to after display layer, methods described also includes:
The information of the data network of the default access point type is cached.
8. the display methods of data network connection status as claimed in claim 1, it is characterised in that in display layer according to described The information of the data network of default access point type judges whether to update the number of the default access point type on display interface According to the current connection state of network, specifically include:
Judge whether the information of the data network of the default access point type changes;
If so, then obtaining the connection status and Status Change reason of the data network of the default access point type;
Decided whether to update the default access point type on display interface according to the connection status and Status Change reason Data network current connection state.
9. a kind of terminal, it is characterised in that including:Memory, processor and it is stored on the memory and can be at the place The computer program run on reason device, the computer program is realized during the computing device as appointed in claim 1 to 8 The step of display methods of data network connection status described in one.
10. a kind of computer-readable recording medium, it is characterised in that be stored with data network on the computer-readable recording medium The display program of network connection status, realizes that right such as will when the display program of the data network connection status is executed by processor The step of seeking the display methods of data network connection status any one of 1 to 8.
CN201710337754.XA 2017-05-15 2017-05-15 Data network connection state display method, terminal and computer readable storage medium Active CN107222525B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710337754.XA CN107222525B (en) 2017-05-15 2017-05-15 Data network connection state display method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710337754.XA CN107222525B (en) 2017-05-15 2017-05-15 Data network connection state display method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107222525A true CN107222525A (en) 2017-09-29
CN107222525B CN107222525B (en) 2021-07-23

Family

ID=59944383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710337754.XA Active CN107222525B (en) 2017-05-15 2017-05-15 Data network connection state display method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107222525B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819458A (en) * 2019-02-19 2019-05-28 维沃移动通信有限公司 A kind of method for connecting network, terminal device and computer readable storage medium
WO2020042957A1 (en) * 2018-08-29 2020-03-05 Oppo广东移动通信有限公司 Ui display method and apparatus, terminal device, and storage medium
CN111669752A (en) * 2020-05-15 2020-09-15 Oppo(重庆)智能科技有限公司 Network processing method and device, storage medium and electronic equipment
CN112369062A (en) * 2018-08-27 2021-02-12 Oppo广东移动通信有限公司 UI display method and device, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951433A (en) * 2010-09-02 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Method and system for processing application icon and mobile terminal
CN103533165A (en) * 2013-10-10 2014-01-22 成都达信通通讯设备有限公司 Multi-APN (Access Point Name) concurrency method supporting Android applications of handheld equipment and system thereof
WO2015142768A1 (en) * 2014-03-19 2015-09-24 Microsoft Technology Licensing, Llc Hybrid telecommunications network connection indicator
CN106357907A (en) * 2016-09-21 2017-01-25 西安中科创达软件有限公司 Display method of data icons and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951433A (en) * 2010-09-02 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Method and system for processing application icon and mobile terminal
CN103533165A (en) * 2013-10-10 2014-01-22 成都达信通通讯设备有限公司 Multi-APN (Access Point Name) concurrency method supporting Android applications of handheld equipment and system thereof
WO2015142768A1 (en) * 2014-03-19 2015-09-24 Microsoft Technology Licensing, Llc Hybrid telecommunications network connection indicator
CN106357907A (en) * 2016-09-21 2017-01-25 西安中科创达软件有限公司 Display method of data icons and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112369062A (en) * 2018-08-27 2021-02-12 Oppo广东移动通信有限公司 UI display method and device, terminal equipment and storage medium
WO2020042957A1 (en) * 2018-08-29 2020-03-05 Oppo广东移动通信有限公司 Ui display method and apparatus, terminal device, and storage medium
CN109819458A (en) * 2019-02-19 2019-05-28 维沃移动通信有限公司 A kind of method for connecting network, terminal device and computer readable storage medium
CN111669752A (en) * 2020-05-15 2020-09-15 Oppo(重庆)智能科技有限公司 Network processing method and device, storage medium and electronic equipment
CN111669752B (en) * 2020-05-15 2022-07-08 Oppo(重庆)智能科技有限公司 Network processing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN107222525B (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN107133092A (en) Multi-thread synchronization processing method, terminal and computer-readable recording medium
CN107219974A (en) A kind of method, mobile terminal and storage medium for showing application software
CN107688607A (en) The method and mobile terminal of a kind of database access, computer-readable recording medium
CN107508892A (en) A kind of page access method, server and computer-readable recording medium
CN107436779A (en) A kind of application management method, equipment and computer-readable recording medium
CN107038245A (en) Page switching method, mobile terminal and storage medium
CN107145273A (en) Application program authority configuring method and computer equipment
CN107181700A (en) Control method, mobile terminal and the storage medium of application program for mobile terminal
CN106953684A (en) A kind of method for searching star, mobile terminal and computer-readable recording medium
CN107181865A (en) Processing method, terminal and the computer-readable recording medium of unread short messages
CN106953989A (en) Incoming call reminding method and device, terminal, computer-readable recording medium
CN107222853A (en) A kind of application management method, equipment and computer-readable recording medium
CN107222525A (en) Data network connection status display methods, terminal and computer-readable recording medium
CN107172605A (en) A kind of Emmergency call method, mobile terminal and computer-readable recording medium
CN107659726A (en) A kind of method, equipment and computer-readable recording medium for recovering end message
CN107613130A (en) A kind of application management method, mobile terminal and computer-readable recording medium
CN107239218A (en) Control method, mobile terminal and the computer-readable recording medium of mobile terminal
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN109068084A (en) Video calling picture display process, mobile terminal and computer readable storage medium
CN108449736A (en) A kind of data transmission method, terminal and computer readable storage medium
CN107749054A (en) A kind of image processing method, device and storage medium
CN107484144A (en) A kind of information acquisition method, terminal, server and computer-readable storage medium
CN106951300A (en) Replacement method, device and the base computer-readable recording medium of preset application
CN107133108A (en) Implementation method, terminal, server and the computer-readable recording medium of distributed complex lock
CN110141851A (en) A kind of record screen method, apparatus and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant