CN110572840B - Mobile network state identification method and mobile terminal - Google Patents

Mobile network state identification method and mobile terminal Download PDF

Info

Publication number
CN110572840B
CN110572840B CN201910854321.0A CN201910854321A CN110572840B CN 110572840 B CN110572840 B CN 110572840B CN 201910854321 A CN201910854321 A CN 201910854321A CN 110572840 B CN110572840 B CN 110572840B
Authority
CN
China
Prior art keywords
baseband chip
state
network
parameter
mobile 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.)
Active
Application number
CN201910854321.0A
Other languages
Chinese (zh)
Other versions
CN110572840A (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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201910854321.0A priority Critical patent/CN110572840B/en
Publication of CN110572840A publication Critical patent/CN110572840A/en
Application granted granted Critical
Publication of CN110572840B publication Critical patent/CN110572840B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses a mobile network state identification method and a mobile terminal, which are applied to the mobile terminal comprising a first baseband chip and a second baseband chip, wherein the second baseband chip is set to be in an online state, and the method comprises the following steps: receiving network parameters of a mobile network corresponding to the first baseband chip, which are reported when the first baseband chip is in an online state; judging whether the network parameters are effective or not according to a preset standard; if the network parameter is valid, judging that the first baseband chip is in a data connection state; and if the network parameters are invalid, judging that the first baseband chip is in a state without data connection. According to the technical scheme, two states of the first baseband chip in an online state are identified according to the network parameters reported by the first baseband chip, the connection state of the first baseband chip corresponding to the mobile network is rapidly obtained, and the data transmission channel of the current mobile terminal is identified.

Description

Mobile network state identification method and mobile terminal
Technical Field
The present invention relates to the field of communication protocol technologies, and in particular, to a mobile network state identification method and a mobile terminal.
Background
In the current 5G mobile terminal, two baseband chips, a 4G baseband chip and a 5G baseband chip, are usually configured, where the 4G baseband chip is used for 2G/3G/4G network connection, and the 5G baseband chip is used for 5G network connection.
When the 5G baseband chip is turned on or off, the 5G baseband chip reports an on-state message or an off-state message to an AP (Application processing) layer, and the AP layer may determine whether the 5G baseband chip is online according to the on-state message or the off-state message, however, the AP layer cannot know whether the 5G data connection is established according to the on-state message or the off-state message, that is, cannot know whether a data transmission channel of the current mobile terminal is a 5G transmission channel.
Disclosure of Invention
In view of the foregoing problems, an object of the embodiments of the present invention is to provide a method for identifying a mobile network status and a mobile terminal, so as to solve the deficiencies of the prior art.
According to an embodiment of the present invention, there is provided a mobile network status identification method applied to a mobile terminal including a first baseband chip and a second baseband chip, the second baseband chip being set in an online state, the method including:
receiving network parameters of a mobile network corresponding to the first baseband chip reported when the first baseband chip is in an online state;
judging whether the network parameters are effective or not according to a preset standard;
if the network parameter is valid, judging that the first baseband chip is in a data connection state;
and if the network parameters are invalid, judging that the first baseband chip is in a state without data connection.
In the above method for identifying a mobile network status, before receiving the network parameter, the method further includes:
receiving baseband state parameters reported by the first baseband chip when the first baseband chip is started or closed;
and determining whether the first baseband chip is in an online state or not according to the baseband state parameters.
In the above method for identifying a mobile network status, the method further includes:
the method comprises the steps of receiving registration of at least one application program in advance, so that the registered application program can acquire the latest state of the first baseband chip when the state of the first baseband chip is changed.
In the above method for identifying a mobile network status, the network parameter includes a bearer parameter of a mobile network corresponding to the first baseband chip;
the predetermined criteria include:
if the value of the bearer parameter is an effective bearer value, judging that the network parameter is effective;
otherwise, the network parameters are judged to be invalid.
In the above method for identifying a mobile network state, the network parameter includes a signal receiving power of a mobile network corresponding to the first baseband chip;
the predetermined criteria include:
if the signal receiving power is in a preset power range, judging that the network parameters are valid;
otherwise, the network parameter is judged to be invalid.
In the above-described mobile network state identification method, the power range is [ -44dbm, -140dbm ].
In the above method for identifying a mobile network state, the first baseband chip is a 5G baseband chip, and the second baseband chip is a 4G baseband chip.
According to another embodiment of the present invention, there is provided a mobile network status recognition apparatus applied to a mobile terminal including a first baseband chip and a second baseband chip, the second baseband chip being set in an online state, the apparatus including:
the receiving module is used for receiving the network parameters of the mobile network corresponding to the first baseband chip reported when the first baseband chip is in an online state;
the state judgment module is used for judging whether the network parameters are effective or not according to a preset standard; if the network parameter is valid, judging that the first baseband chip is in a data connection state; and if the network parameters are invalid, judging that the first baseband chip is in a no-data connection state.
According to still another embodiment of the present invention, a mobile terminal is provided, which includes a memory for storing a computer program and a processor for operating the computer program to make the mobile terminal execute the above-mentioned mobile network status identification method.
According to still another embodiment of the present invention, there is provided a computer-readable storage medium having stored therein the computer program used in the mobile terminal described above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the invention discloses a mobile network state identification method and a mobile terminal, which identify two states of a first baseband chip in an online state according to network parameters of a corresponding mobile network reported by the first baseband chip: the data connection state and the no-data connection state can be used for rapidly knowing the connection state of the first baseband chip and determining the data transmission channel of the current mobile terminal, so that the problem that the AP layer cannot determine the connection state of the first baseband chip is solved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 is a flowchart illustrating a mobile network status identification method according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a mobile network status identification method according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating a mobile network status identification method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating a mobile network status recognition apparatus according to a fourth embodiment of the present invention;
fig. 5 shows a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
Description of the main element symbols:
500-mobile network status identification means; 510-a receiving module; 520-state judgment module;
100-a mobile terminal; 110-RF circuitry; 120-a memory; 130-an input unit; 140-a display unit; 150-a photographing unit; 160-an audio circuit; 170-a WiFi module; 180-a processor; 190-power supply.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are intended to indicate only specific features, numerals, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the presence of or adding to one or more other features, numerals, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another, and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as terms defined in a commonly used dictionary) will be construed to have the same meaning as the contextual meaning in the related art and will not be construed to have an idealized or overly formal meaning unless expressly so defined in various embodiments of the present invention.
Example 1
Fig. 1 shows a flowchart of a method for identifying a mobile network status according to a first embodiment of the present invention.
The method is applied to a mobile terminal comprising a first baseband chip and a second baseband chip, wherein the second baseband chip is set to be in an online state.
The network standard corresponding to the first baseband chip may be higher than the network standard of the second baseband chip, that is, compared with the mobile network corresponding to the second baseband chip, the mobile network corresponding to the first baseband chip has a faster transmission rate, a lower delay, and certainly has a larger power consumption.
In this embodiment, the first baseband chip may be a 5G baseband chip, and the second baseband chip may be a 4G baseband chip. The 4G baseband chip can be used for connecting a 2G/3G/4G mobile network, and the 5G baseband chip can be used for connecting a 5G mobile network. Because the transmission rate of the 5G mobile network is fast and the delay is low, the 5G mobile network often consumes more power than the 4G mobile network, and therefore, in general, in order to reduce the power consumption of the mobile terminal, the mobile terminal defaults to normally open the 4G baseband chip, sets the 4G baseband chip to be in an online state, and can transmit data through the 4G mobile network when the 4G baseband chip is in a data connection state. In some scenarios (for example, scenarios requiring transmission of a large flow, low delay, high signal-to-noise ratio, and the like) in which the 4G mobile network cannot meet the transmission requirement, the 5G baseband chip is often set to be in an online state, and the 5G mobile network is used to transmit data when the 5G baseband chip is in a data connection state.
Certainly, in some other embodiments, with the development of the communication technology, the first baseband chip may also be a 6G baseband chip, the second baseband chip may also be a 5G baseband chip, or the first baseband chip may also be a 7G baseband chip, the second baseband chip may also be a 6G baseband chip, and the like, which is not limited herein.
The mobile network state identification method comprises the following steps:
in step S110, a network parameter of the mobile network corresponding to the first baseband chip, which is reported when the first baseband chip is in an online state, is received.
Specifically, when the first baseband chip is in an online state, a data connection of the mobile network corresponding to the first baseband chip is established, and when the data connection is established, the first baseband chip reports the network parameters of the mobile network corresponding to the first baseband chip to the AP layer.
In step S120, it is determined whether the network parameter is valid.
Judging whether the received network parameters reported by the first baseband chip are effective according to a preset standard, and if the network parameters are effective, proceeding to the step S130; if the network parameter is invalid, the process proceeds to step S140.
Further, the network parameter includes a bearer parameter of a mobile network corresponding to the first baseband chip.
The predetermined criteria include:
if the value of the bearer parameter is an effective bearer value, judging that the network parameter is effective; otherwise, the network parameters are judged to be invalid.
Specifically, the value of the bearer parameter may be divided into an effective bearer value and an ineffective bearer value. For example, in a 5G mobile network, the bearer parameter is an NR (New Radio, new Radio technology) bearer parameter, an effective bearer value of the NR bearer parameter is 1, and an invalid bearer value is 0.
And when the received value of the NR bearer parameter reported by the first baseband chip is 1, judging that the network parameter is valid, and when the value of the NR bearer parameter is 0, judging that the network parameter is invalid.
Further, the network parameter includes a signal receiving power of a mobile network corresponding to the first baseband chip.
The predetermined criteria include:
if the signal receiving power is in a preset power range, judging that the network parameters are valid; otherwise, the network parameter is judged to be invalid.
Specifically, it is determined whether the signal receiving power reported by the first baseband chip is within a predetermined power range, and the signal receiving power within the power range is used as an effective signal receiving power, so that it is determined that the network parameter is effective; the signal reception power not in this power range is regarded as invalid signal reception power, and therefore, it is determined that the network parameter is invalid.
Further, in a 5G mobile network, the Signal reception Power may be RSRP (Reference Signal Receiving Power), and the Power range may be set to [ -44dbm, -140dbm ]. Judging whether the RSRP reported by the 5G baseband chip is in the range of [ -44dbm, -140dbm ], if so, judging that the network parameters are valid; if the RSRP is not within [ -44dbm, -140dbm ], the network parameters are invalid.
In step S130, it is determined that the first baseband chip is in a data connection state.
Specifically, when the network parameter is valid, it indicates that the first baseband chip corresponds to the established data connection of the mobile network, and therefore, it is determined that the first baseband chip is in a data connection state.
In step S140, it is determined that the first baseband chip is in a no-data-connection state.
Specifically, when the network parameter is invalid, it is described that the data connection establishment corresponding to the mobile network by the first baseband chip fails, and therefore, it is determined that the first baseband chip is in a no-data connection state.
According to the scheme in the embodiment, when the first baseband chip is in the online state, the first baseband chip corresponds to two connection states, namely a data connection state in which connection is established online and successfully and a no-data connection state in which connection is established online and unsuccessfully.
When the first baseband chip is in a data connection state, the mobile terminal may be connected to any one or all of a mobile network corresponding to the first baseband chip and a mobile network corresponding to the second baseband chip. For example, when the 5G baseband chip is in the data connection state, because the 4G baseband chip defaults to the online state, after the 4G baseband chip is successfully networked (i.e., in the data connection state), the mobile terminal may simultaneously connect a mobile network (2G/3G/4G mobile network) and a 5G mobile network corresponding to the 4G baseband chip; when the 4G baseband chip cannot be networked successfully (i.e. is in a no-data connection state), the mobile terminal is only connected to the 5G mobile network.
When the first baseband chip is in a no-data connection state, the mobile terminal can be connected to a mobile network corresponding to the second baseband chip. For example, when the 5G baseband chip is in a no-data connection state, because the 4G baseband chip defaults to an online state, after the 4G baseband chip is successfully networked (i.e., in a data connection state), the mobile terminal is only connected to a mobile network (2G/3G/4G mobile network) corresponding to the 4G baseband chip; when the 4G baseband chip cannot be successfully networked (i.e. is in a no-data connection state), the mobile terminal is not connected currently.
Example 2
Fig. 2 is a flowchart illustrating a mobile network status identification method according to a second embodiment of the present invention.
The method is applied to a mobile terminal comprising a first baseband chip and a second baseband chip, wherein the second baseband chip is set to be in an online state.
The network standard corresponding to the first baseband chip may be higher than that of the second baseband chip.
The mobile network state identification method comprises the following steps:
in step S210, a baseband status parameter reported when the first baseband chip is turned on or turned off is received.
Specifically, under the condition that the second baseband chip is normally open, the user can also open or close the first baseband chip according to the application scenario. For example, under the condition that the second baseband chip is turned on, if the current application scene is a large flow scene and the flow of the mobile network corresponding to the second baseband chip cannot meet the flow requirement of the large flow scene, the first baseband chip may be turned on at this time. If the current application scene is a low-flow scene and the first baseband chip is in an open state, the flow of the mobile network corresponding to the second baseband chip can completely meet the flow requirement of the low-flow scene, and then the first baseband chip can be closed at the moment so as to reduce the power consumption of the mobile terminal.
When the first baseband chip is turned on or turned off, the first baseband chip reports baseband state parameters and determines whether the first baseband chip is in an online state according to the baseband state parameters.
For example, in a 5G mobile network, the baseband state parameters reported by the 5G baseband chip may include an Online parameter and an Offline parameter.
In this embodiment, only two parameters, one (representing Online) and Offline, are taken as examples for explanation. Of course, in some other embodiments, the baseband status parameter may also be 1 (indicating online) and 0 (indicating offline), which is not described herein again.
In step S220, it is determined whether the baseband status parameter is Online.
Specifically, whether the baseband state parameter is Online is determined, and if the baseband state parameter is Online, the process proceeds to step S230; if the baseband state parameter is Offline, go to step S240.
In step S230, it is determined that the first baseband chip is in an online state.
Specifically, when the baseband state parameter is Online, it indicates that the first baseband chip is in an Online state at this time, the first baseband chip establishes data connection with the mobile network, and the first baseband chip registers the corresponding mobile network.
In step S240, it is determined that the first baseband chip is in an offline state.
Specifically, when the baseband state parameter is Offline, it indicates that the first baseband chip is in an Offline state, and the first baseband chip does not successfully establish a data connection with the mobile network.
In step S250, a network parameter of the mobile network corresponding to the first baseband chip, which is reported when the first baseband chip is in an online state, is received.
This step is the same as step S110, and is not described herein again.
In step S260, it is determined whether the network parameter is valid.
Judging whether the network parameters are effective according to a preset standard, and if the network parameters are effective, proceeding to step S270; if the network parameter is invalid, the process proceeds to step S280.
In step S270, it is determined that the first baseband chip is in a data connection state.
This step is the same as step S130, and is not described herein again.
In step S280, it is determined that the first baseband chip is in a no-data connection state.
This step is the same as step S140, and is not described herein again.
In this embodiment, whether the first baseband chip is in an online state is determined according to baseband state parameters reported when the first baseband chip is turned on or turned off, whether the first baseband chip is in a data connection state is identified according to network parameters of a corresponding mobile network reported by the first baseband chip when the first baseband chip is in the online state, and when the first baseband chip is in the data connection state, it can be determined that the current mobile terminal is at least connected to the mobile network corresponding to the first baseband chip, and data can be transmitted through the mobile network corresponding to the first baseband chip; when the mobile terminal is in a state without data connection, it can be determined that the current mobile terminal is connected to the mobile network corresponding to the second baseband chip, and data is transmitted through the mobile network corresponding to the second baseband chip. Thus, several states of the first baseband chip are determined in this embodiment: the first baseband chip has three states: an offline state, a data connection state, and a no data connection state.
Example 3
Fig. 3 is a flowchart illustrating a method for identifying a mobile network status according to a third embodiment of the present invention.
The method is applied to a mobile terminal comprising a first baseband chip and a second baseband chip, wherein the second baseband chip is set to be in an online state.
The mobile network state identification method comprises the following steps:
in step S310, registration of at least one application is received in advance.
Specifically, assuming that a module for operating the mobile network state identification method is called an identification module, a callback function is defined in the identification module, and a function pointer is set for the callback function, and at least one application (e.g., APP of chat, video, music, shopping, etc.) is received at initialization time, wherein the registration is that the identification module receives the function pointer registered by the at least one application, and when a specific event or condition occurs, the registered at least one application calls the callback function through the function pointer to process an event corresponding to the callback function.
In this embodiment, the specific event or condition may be a condition that a state of a mobile network corresponding to the first baseband chip is changed. The callback function is used for acquiring the latest state corresponding to the first baseband chip.
In step S320, a baseband status parameter reported when the first baseband chip is turned on or turned off is received.
This step is the same as step S210, and is not described herein again.
In step S330, it is determined whether the baseband status parameter is Online.
Judging whether the baseband state parameter is Online, if so, proceeding to step S340; if the baseband status parameter is Offline, the process proceeds to step S350.
In step S340, it is determined that the first baseband chip is in an online state.
This step is the same as step S230, and is not described herein again.
In step S350, it is determined that the first baseband chip is in an offline state.
This step is the same as step S240, and is not described herein again.
In step S360, network parameters of the mobile network corresponding to the first baseband chip, which are reported when the first baseband chip is in the online state, are received.
This step is the same as step S110, and is not described herein again.
In step S370, it is determined whether the network parameter is valid.
Judging whether the network parameters are valid, if so, proceeding to step S380; if the network parameter is invalid, the process proceeds to step S390.
In step S380, it is determined that the first baseband chip is in a data connection state.
This step is the same as step S130, and is not repeated herein.
In step S390, it is determined that the first baseband chip is in a no-data connection state.
This step is the same as step S140, and is not described herein again.
In step S400, it is determined whether the state of the first baseband chip has changed.
Specifically, the state of the first baseband chip is compared with the state of the first baseband chip identified last time to determine whether the state changes, and if the state changes, the process proceeds to step S410; if the state is not changed, the process returns to step S320, and continues to execute all operations in steps S320 to S410.
For example, if the state of the first baseband chip identified by the mobile network state identification method executed at the current moment is an offline state, the offline state of the first baseband chip identified at the current moment is made to be the first state; if the state of the first baseband chip identified by the mobile network state identification method executed the latest time is the no-data connection state and the no-data connection state of the first baseband chip identified by the latest time before the current time is the second state, comparing the second state with the first state, judging whether the second state is consistent with the first state or not, and judging that the state is changed if the second state is inconsistent with the first state.
If the second state is also an offline state, then it is determined that the state has not changed.
It is to be noted that, when the state of the first baseband chip is recognized for the first time, since the state of the first baseband chip is not recognized before the time of the first recognition, the state of the first baseband chip recognized for the first time may be considered as a case where the state is changed; and comparing the state of the first baseband chip identified for the second time with the state of the first baseband chip identified for the previous time after the state of the first baseband chip is identified for each subsequent time to determine whether the state changes.
In step S410, the latest status of the first baseband chip is transmitted to each registered application.
Specifically, when the state changes, the identification module checks all registered applications and notifies the registered applications of the changed state information, and each registered application calls a callback function through a function pointer to acquire the latest state corresponding to the first baseband chip, so that the application monitors the state of the first baseband chip in real time, and when the state changes, the identification module can receive the notification information containing the latest state of the first baseband chip in real time.
The technical scheme of the embodiment can provide a monitoring callback mechanism for the application program in the mobile terminal, so that the application program can monitor the state of the first baseband chip in real time and can receive the notification message containing the latest state of the first baseband chip in real time when the state changes.
Example 4
Fig. 4 is a schematic structural diagram illustrating a mobile network status identification apparatus according to a fourth embodiment of the present invention. The mobile network status recognition apparatus 500 corresponds to the mobile network status recognition method in embodiment 1, and any of the options in embodiment 1 is also applicable to this embodiment.
The mobile network state recognition apparatus 500 is applied to a mobile terminal including a first baseband chip and a second baseband chip, the second baseband chip being set in an online state.
The mobile network status recognition apparatus 500 includes a receiving module 510 and a status determining module 520.
A receiving module 510, configured to receive a network parameter of a mobile network corresponding to a first baseband chip, which is reported when the first baseband chip is in an online state.
A state judgment module 520, configured to judge whether the network parameter is valid according to a predetermined standard; if the network parameter is valid, judging that the first baseband chip is in a data connection state; and if the network parameters are invalid, judging that the first baseband chip is in a no-data connection state.
The fifth embodiment of the present invention further provides a mobile terminal, which may include a smart phone, a tablet computer, and the like.
As shown in fig. 5, the mobile terminal 100 includes a memory 120 and a processor 180, the memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 180 is configured to run the computer program stored in the memory to enable the mobile terminal 100 to execute the functions of the modules in the mobile network state identification method or the mobile network state identification apparatus in the above-described embodiments.
Alternatively, processor 180 may include one or more processing units; preferably, the processor 180 may be integrated with an application processor, which mainly handles operating systems, user interfaces, application programs, and the like. The processor 180 may or may not be integrated with the modem processor.
In addition, the mobile terminal may further include: a Radio Frequency (RF) circuit 110, an input unit 130, a display unit 140, a photographing unit 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, and a power supply 190. The input unit 130 may include a touch panel and may include other input devices, and the display unit 140 may include a display panel.
The RF circuit 110 is used for receiving and transmitting wireless signals, the RF circuit 110 may specifically include a radio frequency receiving circuit and a radio frequency transmitting circuit, and the RF circuit 110 mainly includes an antenna, a wireless switch, a receiving filter, a frequency synthesizer, a high frequency amplifier, a receiving local oscillator, a mixing frequency, an intermediate frequency, a transmitting local oscillator, a power amplifier control, a power amplifier, and the like.
The input unit 130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the input unit 130 may include a touch panel and other input devices. The touch panel, also called a touch screen, may collect a touch operation performed by a user on or near the touch panel (e.g., an operation performed by the user on or near the touch panel using a finger, a stylus, or any other suitable object or accessory), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor, and can receive and execute commands sent by the processor. In addition, the touch panel may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 130 may include other input devices in addition to the touch panel. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to the user and various menus and interfaces of the mobile terminal 100, such as a game interface. The display unit may include a display panel. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel may cover the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel according to the type of the touch event. Although the touch panel and the display panel are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel and the display panel may be integrated to implement the input and output functions of the mobile phone.
The photographing unit 150 is used to acquire image information within an imaging range. Specifically, the photographing unit 150 may be a camera, and the camera may include a photosensitive Device, which may include but is not limited to a CCD (Charge Coupled Device) and a CMOS (Complementary Metal-Oxide Semiconductor). The light sensitive device converts the light change information into electric charges, the converted electric charges are converted into digital signals through analog-to-digital conversion, and the digital signals are compressed and then stored by a flash memory or a built-in hard disk card in the shooting unit, so that the stored digital signals can be transmitted to the processor 180, and the processor 180 processes the digital signals according to requirements or instructions (such as displaying images, modifying images and the like).
The audio circuitry 160 may provide an audio interface between a user and the mobile terminal.
WiFi belongs to a short-distance wireless transmission technology, and the mobile terminal can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 170, and provides wireless broadband internet access for the user. It is understood that the WiFi module 170 does not belong to the essential constitution of the mobile terminal 100, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The power supply 190 may be logically coupled to the processor through a power management system to manage charging, discharging, and power consumption management functions through the power management system.
Those skilled in the art will appreciate that the above-described mobile terminal 100 architecture is not intended to be limiting of the mobile terminal 100 and may include more or less components than those shown in fig. 5, or some components in combination, or a different arrangement of components.
Still another embodiment of the present invention provides a computer-readable storage medium for storing the computer program used in the above-mentioned mobile terminal.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (7)

1. A mobile network state identification method is characterized in that the method is applied to a mobile terminal comprising a first baseband chip and a second baseband chip, the second baseband chip is set to be in an online state, the first baseband chip is a 5G baseband chip, the second baseband chip is a 4G baseband chip, and the method comprises the following steps:
receiving network parameters of a mobile network corresponding to the first baseband chip, which are reported when the first baseband chip is in an online state;
judging whether the network parameters are effective or not according to a preset standard;
if the network parameter is valid, judging that the first baseband chip is in a data connection state;
if the network parameters are invalid, judging that the first baseband chip is in a no-data connection state;
the network parameters include: the load-bearing parameter of the mobile network corresponding to the first baseband chip or the signal receiving power of the mobile network corresponding to the first baseband chip;
the predetermined criteria include:
when the network parameter is a bearer parameter of a mobile network corresponding to the first baseband chip, if the value of the bearer parameter is an effective bearer value, determining that the network parameter is effective; otherwise, judging that the network parameters are invalid; alternatively, the first and second electrodes may be,
when the network parameter is the signal receiving power of the mobile network corresponding to the first baseband chip, if the signal receiving power is in a preset power range, determining that the network parameter is valid; otherwise, the network parameters are judged to be invalid.
2. The method of claim 1, further comprising, before receiving the network parameters:
receiving baseband state parameters reported by the first baseband chip when the first baseband chip is started or closed;
and determining whether the first baseband chip is in an online state or not according to the baseband state parameters.
3. The method for identifying the status of the mobile network according to claim 2, further comprising:
the method comprises the steps of receiving registration of at least one application program in advance, so that the registered application program can acquire the latest state of the first baseband chip when the state of the first baseband chip is changed.
4. The mobile network status recognition method of claim 1, wherein the power range is [ -44dbm, -140dbm ].
5. A mobile network state recognition device is applied to a mobile terminal comprising a first baseband chip and a second baseband chip, wherein the second baseband chip is set to be in an online state, and the device comprises:
the receiving module is used for receiving the network parameters of the mobile network corresponding to the first baseband chip, which are reported when the first baseband chip is in an online state;
the state judgment module is used for judging whether the network parameters are effective or not according to a preset standard; if the network parameter is valid, judging that the first baseband chip is in a data connection state; if the network parameters are invalid, judging that the first baseband chip is in a state without data connection;
the network parameters include: the load-bearing parameter of the mobile network corresponding to the first baseband chip or the signal receiving power of the mobile network corresponding to the first baseband chip;
the predetermined criteria include:
when the network parameter is a bearer parameter of a mobile network corresponding to the first baseband chip, if the value of the bearer parameter is an effective bearer value, determining that the network parameter is effective; otherwise, judging that the network parameters are invalid; alternatively, the first and second liquid crystal display panels may be,
when the network parameter is the signal receiving power of the mobile network corresponding to the first baseband chip, if the signal receiving power is in a preset power range, determining that the network parameter is valid; otherwise, the network parameter is judged to be invalid.
6. A mobile terminal, characterized in that the mobile terminal comprises a memory for storing a computer program and a processor for executing the computer program to cause the mobile terminal to perform the mobile network state identification method according to any one of claims 1-4.
7. A computer-readable storage medium, characterized in that the computer program for use in a mobile terminal according to claim 6 is stored in the computer-readable storage medium.
CN201910854321.0A 2019-09-10 2019-09-10 Mobile network state identification method and mobile terminal Active CN110572840B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910854321.0A CN110572840B (en) 2019-09-10 2019-09-10 Mobile network state identification method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910854321.0A CN110572840B (en) 2019-09-10 2019-09-10 Mobile network state identification method and mobile terminal

Publications (2)

Publication Number Publication Date
CN110572840A CN110572840A (en) 2019-12-13
CN110572840B true CN110572840B (en) 2022-11-11

Family

ID=68778949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910854321.0A Active CN110572840B (en) 2019-09-10 2019-09-10 Mobile network state identification method and mobile terminal

Country Status (1)

Country Link
CN (1) CN110572840B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891745A (en) * 2012-10-19 2013-01-23 华为技术有限公司 Network equipment and terminal abnormality identification method thereof
CN103517266A (en) * 2012-06-29 2014-01-15 国际商业机器公司 Method for activating mobile terminal on mobile network side and mobile gateway system
CN105792256A (en) * 2016-02-29 2016-07-20 重庆邮电大学 Dual-connectivity switching enhancing method based on mobility state estimate and mobility state estimate device
CN105812173A (en) * 2014-12-30 2016-07-27 上海庆科信息技术有限公司 Wireless device network parameter confirmation method
CN105873099A (en) * 2016-03-29 2016-08-17 努比亚技术有限公司 Mobile terminal and communication method thereof
CN106507469A (en) * 2016-11-30 2017-03-15 努比亚技术有限公司 A kind of network management and terminal
CN106528326A (en) * 2016-09-22 2017-03-22 维沃移动通信有限公司 Base-band chip software switching method and mobile terminal
CN108234048A (en) * 2017-12-26 2018-06-29 广东欧珀移动通信有限公司 Signal transmission control method and device
CN108966298A (en) * 2018-06-21 2018-12-07 维沃移动通信有限公司 The control method and device of communications band
CN109067487A (en) * 2018-10-23 2018-12-21 Oppo广东移动通信有限公司 A kind of channel selecting method, terminal and computer storage medium
CN109309915A (en) * 2017-07-27 2019-02-05 维沃移动通信有限公司 A kind of ability indicating means, mobile terminal and network side equipment
CN109548117A (en) * 2018-11-23 2019-03-29 维沃移动通信有限公司 A kind of network selecting method and mobile terminal
CN109661016A (en) * 2018-12-27 2019-04-19 维沃移动通信有限公司 A kind of method for network access and terminal device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517266A (en) * 2012-06-29 2014-01-15 国际商业机器公司 Method for activating mobile terminal on mobile network side and mobile gateway system
CN102891745A (en) * 2012-10-19 2013-01-23 华为技术有限公司 Network equipment and terminal abnormality identification method thereof
CN105812173A (en) * 2014-12-30 2016-07-27 上海庆科信息技术有限公司 Wireless device network parameter confirmation method
CN105792256A (en) * 2016-02-29 2016-07-20 重庆邮电大学 Dual-connectivity switching enhancing method based on mobility state estimate and mobility state estimate device
CN105873099A (en) * 2016-03-29 2016-08-17 努比亚技术有限公司 Mobile terminal and communication method thereof
CN106528326A (en) * 2016-09-22 2017-03-22 维沃移动通信有限公司 Base-band chip software switching method and mobile terminal
CN106507469A (en) * 2016-11-30 2017-03-15 努比亚技术有限公司 A kind of network management and terminal
CN109309915A (en) * 2017-07-27 2019-02-05 维沃移动通信有限公司 A kind of ability indicating means, mobile terminal and network side equipment
CN108234048A (en) * 2017-12-26 2018-06-29 广东欧珀移动通信有限公司 Signal transmission control method and device
CN108966298A (en) * 2018-06-21 2018-12-07 维沃移动通信有限公司 The control method and device of communications band
CN109067487A (en) * 2018-10-23 2018-12-21 Oppo广东移动通信有限公司 A kind of channel selecting method, terminal and computer storage medium
CN109548117A (en) * 2018-11-23 2019-03-29 维沃移动通信有限公司 A kind of network selecting method and mobile terminal
CN109661016A (en) * 2018-12-27 2019-04-19 维沃移动通信有限公司 A kind of method for network access and terminal device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
apos ; and amp ; apos ; Availability after DDN Failure amp *
apos ; Downlink data delivery status amp *
apos ; events".《3GPP tsg_sa\wg2_arch》.2019,第1-4页. *
Nokia等.S2-1906945 "Detection of amp *

Also Published As

Publication number Publication date
CN110572840A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
RU2637467C2 (en) Method and device for microcurrent mcu activation
CN110831041B (en) Cell beam failure processing method, mobile communication terminal and network equipment
CN107222613B (en) Display method and terminal
RU2637470C2 (en) Method and device for detecting intelligent device
RU2652452C2 (en) Device and method for network status information representation
KR101845877B1 (en) Method and device for waking up mcu
CN108834132B (en) Data transmission method and equipment and related medium product
CN109769279B (en) Out-of-service state control method and device and mobile terminal
CN107360330B (en) Early warning method, mobile terminal and storage medium
CN108459803B (en) Picture sending method based on double-sided screen, mobile terminal and readable storage medium
CN110275794B (en) Screen display method of terminal, and computer-readable storage medium
US20140013143A1 (en) Apparatus and method for performing user authentication in terminal
CN109086101B (en) Terminal application software starting method, terminal and computer readable storage medium
CN107707755B (en) Key using method, terminal and computer readable storage medium
CN109743760B (en) Game interference processing method and device and mobile terminal
CN111078108A (en) Screen display method and device, storage medium and mobile terminal
EP3917116A1 (en) Detecting maximum transmission unit value
CN110225106B (en) Data transmission method, device and storage medium
US20170147134A1 (en) Method and apparatus for controlling touch-screen sensitivity
CN110572840B (en) Mobile network state identification method and mobile terminal
WO2023093720A1 (en) Data processing method and apparatus
CN107807876B (en) Split screen display method, mobile terminal and storage medium
CN108563528B (en) Application control method, terminal and computer storage medium
CN110913068A (en) Communication terminal and sliding touch event response method
CN110891262A (en) Bluetooth pairing method, system and terminal equipment

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