CN107635261B - Network switching control method and mobile terminal - Google Patents

Network switching control method and mobile terminal Download PDF

Info

Publication number
CN107635261B
CN107635261B CN201710841610.8A CN201710841610A CN107635261B CN 107635261 B CN107635261 B CN 107635261B CN 201710841610 A CN201710841610 A CN 201710841610A CN 107635261 B CN107635261 B CN 107635261B
Authority
CN
China
Prior art keywords
mobile terminal
network
data
network system
connection
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
CN201710841610.8A
Other languages
Chinese (zh)
Other versions
CN107635261A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710841610.8A priority Critical patent/CN107635261B/en
Publication of CN107635261A publication Critical patent/CN107635261A/en
Application granted granted Critical
Publication of CN107635261B publication Critical patent/CN107635261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a network switching control method and a mobile terminal, wherein the network switching control method comprises the following steps: acquiring connection state information of a mobile terminal in a first network system supporting a data service; and if the connection state information of the mobile terminal is to close the data connection, controlling the mobile terminal to be switched from the first network system to a second network system supporting data and voice services, and releasing the current first Internet protocol address. The invention can realize the release of the previous first internet protocol address when closing the data service, avoid the mobile terminal from receiving various data packets sent by the application server, reduce the power consumption of the mobile terminal caused by receiving the data packets sent by the application server after closing the data service, and ensure the cruising ability of the mobile terminal.

Description

Network switching control method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network handover control method and a mobile terminal.
Background
With the application of mobile terminals becoming wider and wider, the interaction between each application and the network also becomes more and more, the network speed is greatly improved after the popularization of LTE (Long term evolution), the requirements of users in different aspects are met, and the operation of various applications can not leave the data service.
When the mobile terminal runs various applications and a User closes a data service, because an LTE network does not release an IP (Internet Protocol) address, and the mobile terminal side networking application cannot synchronize the state to a corresponding application server in time because the data service is closed, a UDP (User Datagram Protocol) continues to transmit a data packet under the condition that the application server does not know the application state of the terminal; the short connection socket can also continuously transmit user data or a data packet with changed socket state; when the long connection application does not receive the application heartbeat in time-out, the application server can inquire the application state of the terminal or send a syn (synchronization)/fin (termination)/rst (reset) packet to reset the socket state.
Since the application server does not know the state of the terminal, UDP, a short connection will continue to transmit data to the terminal. The long connection sends a query state or a syn/fin/rst packet to the terminal side when the heartbeat is not sent after the timeout. The reception of these packets may cause the modem to establish a network connection and consume power, and the terminal may wake up an AP (Access Point) if it is in a sleep state. Because the user manually sets the data traffic to be switched off, these packets are eventually not passed to the application, but are discarded. These discarded packets are called "garbage packets", and the generation of these garbage packets causes the power consumption of the mobile terminal to increase.
Disclosure of Invention
The embodiment of the invention provides a network switching control method and a mobile terminal, and aims to solve the problem that in the prior art, after the mobile terminal closes data connection, a data packet sent by an application server reaches the mobile terminal, so that the power consumption of the mobile terminal is increased.
In a first aspect, an embodiment of the present invention provides a method for controlling network handover, including:
acquiring connection state information of a mobile terminal in a first network system supporting a data service;
and if the connection state information of the mobile terminal is to close the data connection, controlling the mobile terminal to be switched from the first network system to a second network system supporting data and voice services, and releasing the current first Internet protocol address.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the connection state information of the mobile terminal in a first network system supporting data service;
and the first processing module is used for controlling the mobile terminal to be switched from the first network system to a second network system supporting data and voice services and releasing the current first internet protocol address if the connection state information of the mobile terminal is to close the data connection.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including: the network switching control method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the steps of the network switching control method when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the handover control method for a network described above.
The technical scheme of the embodiment of the invention at least comprises the following beneficial effects:
the technical scheme of the invention includes that the connection state information of the mobile terminal under a first network system supporting data service is acquired; when the connection state information of the mobile terminal is data connection closing, the mobile terminal is controlled to be switched from the first network system to the second network system supporting data and voice services, the current first internet protocol address is released, the previous first internet protocol address can be released when the data services are closed, the mobile terminal is prevented from receiving various data packets sent by an application server, power consumption caused by the fact that the mobile terminal receives the data packets sent by the application server after the data services are closed is reduced, and the cruising ability of the mobile terminal is guaranteed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a system architecture for communication between a mobile terminal and an application server according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a handover control method of a network according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a mobile terminal switching from LTE to 2G/3G by redirection according to an embodiment of the present invention;
FIG. 4 is a diagram of a mobile terminal according to an embodiment of the present invention;
FIG. 5 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 shows a block diagram of a mobile terminal according to an embodiment of the present invention.
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 some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Before the technology of the present invention is introduced, the related situation of the technical solution of the present invention is briefly introduced.
Fig. 1 is a schematic diagram of a system structure for communication between a mobile terminal application and an application server according to an embodiment of the present invention. Each application running on the mobile terminal is connected with a network through a transmission layer, a network layer and a link layer, and the network is connected to various application servers. For example, the second application is connected to the network through the UDP of the transport layer, the IP address of the network layer, the terminal protocol of the link layer, and the hardware interface, so as to obtain the UDP-format data packet sent by the corresponding application server. The third application and the fourth application are connected to the network through a Transmission Control Protocol (TCP) of a transport layer, an IP address of a network layer, a terminal Protocol of a link layer, and a hardware interface, thereby acquiring a TCP-formatted data packet sent by a corresponding application server. The first application is connected to the network through an Internet Control Message Protocol (ICMP) of the network layer, an IP address of the network layer, a terminal Protocol of the link layer, and a hardware interface, so as to obtain an ICMP format data packet sent by the corresponding application server.
The method is implemented on the premise that a mobile terminal network is in an LTE (4G) network system, data transmission is carried out after connection between an application of the mobile terminal and a corresponding application server is established, when a user actively closes data connection, the current state cannot be synchronized to the application server in time due to the closing of the data connection, under the condition that an IP address is still reserved after the data connection is closed in the LTE mode, the application server can continue to send data packets subsequently and reach the IP address through a link layer, and the mobile terminal must establish paging connection with a base station to receive the data packets, so that power consumption is abnormally consumed.
The precondition requirements for the implementation of the embodiment of the invention are as follows: when a mobile terminal initiates attachment in a cell in an LTE network, a joint registration procedure needs to be completed, that is, the mobile terminal needs to register both on the LTE and on the 2G/3G network. This is also a prerequisite for the mobile terminal to be able to handover between LTE networks and 2G/3G.
Whether the mobile terminal completes the joint attachment process can be obtained by checking the attachment receiving message. For example, the adhesion results are: combining with an EPS (Evolved Packet System)/IMSI (International mobile subscriber identity) attachment, it is indicated that the mobile terminal is currently jointly attached to the EPS/(2G/3G) core network.
When the mobile terminal is initially attached to an LTE network system, the mobile terminal requests a PDN (Public data network) connection, and for this, the P-GW (PDN GateWay) allocates an IP address to the mobile terminal, and transmits the IP address to the mobile terminal while establishing a default bearer. After the user finishes effective network registration, the IP address and the default bearer are always reserved for the user, and at the moment, the application server can search the mobile terminal through the IP address.
In the prior art, after the data connection is manually closed on the LTE, the corresponding IP address is not released, which may cause the mobile terminal to receive a large amount of garbage packets, increase the power consumption of the mobile terminal, and reduce the cruising ability of the mobile terminal. As shown in fig. 2, the method for controlling network handover according to the present invention includes:
step 201, obtaining the connection state information of the mobile terminal in the first network system supporting the data service.
The embodiment of the invention mainly aims at the mobile terminal of which the network resides in LTE, and the mobile terminal is required to start a plurality of applications which interact with the network and run in the background. The first network system of the embodiment of the invention is an LTE (4G) network system, and only supports data service under the first network system; the second network standard is a 2G/3G network standard, and can support data service and voice service under the second network standard.
The mobile terminal satisfying the above condition needs to detect corresponding connection state information, where the connection state information is connection state information of the mobile terminal and the application server. During detection, the mobile terminal is required to be ensured to be in the first network mode and to be operated to perform background application of data service, then whether the mobile terminal closes data connection with the application server is detected, and connection state information of the mobile terminal is obtained according to a detection result.
After the connection state information is obtained, when the mobile terminal maintains the data connection with the application server, it is determined that the connection states of the mobile terminal and the application server do not satisfy the preset condition, and at this time, the connection states of the mobile terminal and the application server are maintained, and when the mobile terminal and the application server are disconnected, it is determined that the states of the mobile terminal and the application server satisfy the preset condition, step 202 is executed.
Step 202, if the connection state information of the mobile terminal is to close the data connection, controlling the mobile terminal to switch from the first network type to a second network type supporting data and voice services, and releasing the current first internet protocol address.
After the mobile terminal closes the data connection with the application server, the mobile terminal is controlled to switch the network system according to the current connection state information of the mobile terminal, and the first network system is switched to a second network system, wherein the first network system is an LTE network system, and the second network system is a 2G/3G network system. And releasing the current corresponding first Internet protocol address, namely the current corresponding IP address, while switching the network modes.
Because the LTE network system only supports data services, the corresponding IP address is transmitted to the mobile terminal when the mobile terminal is attached to the LTE network for the first time. In the existing state, after the mobile terminal closes the data connection with the application server, the corresponding IP address is not released, and the LTE network can continue to send data information to the mobile terminal. In the embodiment of the invention, after the mobile terminal closes the data connection with the application server, the mobile terminal is switched to the second network system, and the IP address is released, so that the data information cannot be sent to the mobile terminal by tracking the IP address, and the power consumption loss of the mobile terminal can be avoided.
Because the second network system simultaneously supports the data service and the voice service, when the mobile terminal of the embodiment of the invention is switched to the second network system, the data service is closed, so that the IP address is released, at the moment, the data service of the second network system fails, and the mobile terminal can carry out the voice service.
If the connection state information of the mobile terminal is to close data connection, controlling the mobile terminal to be switched from a first network system to a second network system supporting data and voice services, and releasing the current first internet protocol address specifically comprises the following steps: closing data connection with an application server at the mobile terminal, and controlling the mobile terminal to be switched from a first network system which is resident at present to a second network system which supports data and voice services; and releasing the first internet protocol address in the process of switching the network modes.
That is, the current IP address can be released when it is determined that the mobile terminal is switched to the second network system, where after the mobile terminal and the application server are disconnected from each other, the data service corresponding to the second network system also fails, and after the IP address is released, the mobile terminal cannot be tracked through the IP address. At this time, the mobile terminal can only perform voice service in the second network system.
The method comprises the following steps of closing data connection with an application server at a mobile terminal, and controlling the mobile terminal to be switched from a first network system which is resident at present to a second network system which supports data and voice services, wherein the steps comprise:
and when the mobile terminal closes the data connection with the application server, the mobile terminal is controlled to be switched to the second network system by adopting a redirection mode, a switching mode, a reselection mode or a network searching mode.
That is, the network handover mode includes redirection, handover, reselection or network search, the residence of the mobile terminal from the LTE to the 2G/3G network may be any one of redirection, handover, reselection or network search, and the redirection mode is taken as an example to briefly describe the mode of the mobile terminal being handed over from the LTE to the 2G/3G network.
As shown in fig. 3, the mobile terminal first sends an RRC (Radio Resource Control) connection request to the second network system, then establishes an RRC connection between the mobile terminal and the second network system, and transfers data transmission line information from the LTE to the 2G/3G network after the connection is completed, so that the LTE network is released, and the network switching from the LTE to the 2G/3G network is completed.
Wherein after releasing the current first internet protocol address, the method further comprises: and controlling the mobile terminal to be switched from the second network type to the first network type, and acquiring the distributed second internet protocol address again.
After the IP address is released, the 2G/3G network system needs to be redirected to the LTE network system, the mobile terminal obtains the LTE default bearer and the dynamically allocated new IP address again, and the new IP address is the second Internet protocol address.
The invention obtains the connection state information of the mobile terminal under the first network system supporting the data service; when the connection state information of the mobile terminal is data connection closing, the mobile terminal is controlled to be switched from the first network system to the second network system supporting data and voice services, the current first internet protocol address is released, the previous first internet protocol address can be released when the data services are closed, the mobile terminal is prevented from receiving various data packets sent by an application server, power consumption caused by the fact that the mobile terminal receives the data packets sent by the application server after the data services are closed is reduced, and the cruising ability of the mobile terminal is guaranteed.
An embodiment of the present invention further provides a mobile terminal, as shown in fig. 4, including:
an obtaining module 10, configured to obtain connection state information of a mobile terminal in a first network system supporting a data service;
the first processing module 20 is configured to control the mobile terminal to switch from the first network format to a second network format that supports data and voice services and release the current first internet protocol address if the connection status information of the mobile terminal indicates that the data connection is closed.
Wherein the obtaining module 10 is further configured to:
and when the mobile terminal is in the first network mode and runs the application for carrying out the data service, acquiring the connection state information of whether the mobile terminal closes the data connection with the application server.
Wherein, the first processing module 20 includes:
the control submodule 21 is configured to close a data connection with the application server at the mobile terminal, and control the mobile terminal to switch from a first network type in which the mobile terminal currently resides to a second network type supporting data and voice services;
and the release submodule 22 is configured to release the first internet protocol address in the process of performing network format switching.
Wherein the control sub-module 21 is further configured to:
and when the mobile terminal closes the data connection with the application server, the mobile terminal is controlled to be switched to the second network system by adopting a redirection mode, a switching mode, a reselection mode or a network searching mode.
Wherein, mobile terminal still includes:
the second processing module 30 is configured to control the mobile terminal to switch from the second network type to the first network type after the first processing module 20 releases the current first internet protocol address, and to obtain the allocated second internet protocol address again.
The first network system is a 4G network system, and the second network system is a 2G/3G network system.
The mobile terminal provided by the invention acquires the connection state information of the mobile terminal in a first network system supporting data service; when the connection state information of the mobile terminal is data connection closing, the mobile terminal is controlled to be switched from the first network system to the second network system supporting data and voice services, the current first internet protocol address is released, the previous first internet protocol address can be released when the data services are closed, the mobile terminal is prevented from receiving various data packets sent by an application server, power consumption caused by the fact that the mobile terminal receives the data packets sent by the application server after the data services are closed is reduced, and the cruising ability of the mobile terminal is guaranteed.
An embodiment of the present invention further provides a mobile terminal, including: the network switching control method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the network switching control method.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the handover control method for a network described above.
Fig. 5 is a block diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal 500 shown in fig. 5 includes: at least one processor 501, memory 502, at least one network interface 504, and other user interfaces 503. The various components in the mobile terminal 500 are coupled together by a bus system 505. It is understood that the bus system 505 is used to enable connection communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 505 in FIG. 5.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 502 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (ddr SDRAM ), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 502 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 502 stores elements, executable modules or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 5021 and application programs 5022.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 5022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. The program for implementing the method according to the embodiment of the present invention may be included in the application program 5022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application 5022, the processor 501 is configured to: acquiring connection state information of a mobile terminal in a first network system supporting a data service; and if the connection state information of the mobile terminal is to close the data connection, controlling the mobile terminal to be switched from the first network system to a second network system supporting data and voice services, and releasing the current first Internet protocol address.
The method disclosed by the above-mentioned embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The Processor 501 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, when obtaining the connection status information of the mobile terminal in the first network system supporting the data service, the processor 501 is further configured to execute the following steps: and when the mobile terminal is in the first network mode and runs the application for carrying out the data service, acquiring the connection state information of whether the mobile terminal closes the data connection with the application server.
Optionally, if the connection status information of the mobile terminal is to close data connection, the processor 501 is further configured to control the mobile terminal to switch from the first network format to a second network format supporting data and voice services, and when the current first internet protocol address is released, execute the following steps: closing data connection with an application server at a mobile terminal, and controlling the mobile terminal to be switched from a first network system which is resident at present to a second network system which supports data and voice services; and releasing the first internet protocol address in the process of switching the network modes.
Optionally, when the mobile terminal closes the data connection with the application server and controls the mobile terminal to switch from the currently-resident first network format to the second network format supporting the data and voice services, the processor 501 is further configured to execute the following steps: and when the mobile terminal closes the data connection with the application server, the mobile terminal is controlled to be switched to the second network system by adopting a redirection mode, a switching mode, a reselection mode or a network searching mode.
Optionally, after releasing the current first internet protocol address, the processor 501 is further configured to perform the following steps: and controlling the mobile terminal to be switched from the second network type to the first network type, and acquiring the distributed second internet protocol address again.
The first network system is a 4G network system, and the second network system is a 2G/3G network system.
The mobile terminal 500 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
In this way, the connection state information of the mobile terminal under the first network system supporting the data service is obtained; when the connection state information of the mobile terminal is data connection closing, the mobile terminal is controlled to be switched from the first network system to the second network system supporting data and voice services, the current first internet protocol address is released, the previous first internet protocol address can be released when the data services are closed, the mobile terminal is prevented from receiving various data packets sent by an application server, power consumption caused by the fact that the mobile terminal receives the data packets sent by the application server after the data services are closed is reduced, and the cruising ability of the mobile terminal is guaranteed.
Fig. 6 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 600 in fig. 6 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 600 in fig. 6 includes a Radio Frequency (RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a processor 660, an audio circuit 670, a wifi (wireless fidelity) module 680, and a power supply 690.
The input unit 630 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal 600. Specifically, in the embodiment of the present invention, the input unit 630 may include a touch panel 631. The touch panel 631, also referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on the touch panel 631 by using a finger, a stylus, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 631 may include two parts of 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 sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 660, and can receive and execute commands sent by the processor 660. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 631, the input unit 630 may also include other input devices 632, and the other input devices 632 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.
Among other things, the display unit 640 may be used to display information input by a user or information provided to the user and various menu interfaces of the mobile terminal 600. The display unit 640 may include a display panel 641, and optionally, the display panel 641 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 631 may cover the display panel 641 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 660 to determine the type of the touch event, and then the processor 660 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 660 is a control center of the mobile terminal 600, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile terminal 600 and processes data by operating or executing software programs and/or modules stored in the first memory 621 and calling data stored in the second memory 622, thereby integrally monitoring the mobile terminal 600. Optionally, processor 660 may include one or more processing units.
In an embodiment of the present invention, the processor 660 is configured to, by calling a software program and/or module stored in the first memory 621 and/or data stored in the second memory 622: acquiring connection state information of a mobile terminal in a first network system supporting a data service; and if the connection state information of the mobile terminal is to close the data connection, controlling the mobile terminal to be switched from the first network system to a second network system supporting data and voice services, and releasing the current first Internet protocol address.
Optionally, when acquiring the connection status information of the mobile terminal in the first network system supporting the data service, the processor 660 is further configured to execute the following steps: and when the mobile terminal is in the first network mode and runs the application for carrying out the data service, acquiring the connection state information of whether the mobile terminal closes the data connection with the application server.
Optionally, if the connection status information of the mobile terminal is to close data connection, the processor 660 is further configured to execute the following steps when controlling the mobile terminal to switch from the first network system to the second network system supporting data and voice services and releasing the current first internet protocol address: closing data connection with an application server at a mobile terminal, and controlling the mobile terminal to be switched from a first network system which is resident at present to a second network system which supports data and voice services; and releasing the first internet protocol address in the process of switching the network modes.
Optionally, when the mobile terminal closes the data connection with the application server and controls the mobile terminal to switch from the currently-resident first network standard to the second network standard supporting the data and voice services, the processor 660 is further configured to execute the following steps: and when the mobile terminal closes the data connection with the application server, the mobile terminal is controlled to be switched to the second network system by adopting a redirection mode, a switching mode, a reselection mode or a network searching mode.
Optionally, after releasing the current first internet protocol address, the processor 660 is further configured to perform the following steps: and controlling the mobile terminal to be switched from the second network type to the first network type, and acquiring the distributed second internet protocol address again.
The first network system is a 4G network system, and the second network system is a 2G/3G network system.
In this way, the connection state information of the mobile terminal under the first network system supporting the data service is obtained; when the connection state information of the mobile terminal is data connection closing, the mobile terminal is controlled to be switched from the first network system to the second network system supporting data and voice services, the current first internet protocol address is released, the previous first internet protocol address can be released when the data services are closed, the mobile terminal is prevented from receiving various data packets sent by an application server, power consumption caused by the fact that the mobile terminal receives the data packets sent by the application server after the data services are closed is reduced, and the cruising ability of the mobile terminal is guaranteed.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units 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 may 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 personal computer, a server, or a network device) 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: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (11)

1. A network switching control method is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring connection state information of a mobile terminal in a first network system supporting a data service;
if the connection state information of the mobile terminal is data connection closing, controlling the mobile terminal to be switched from the first network system to a second network system supporting data and voice services, and releasing a current first internet protocol address;
the step of acquiring the connection state information of the mobile terminal in the first network system supporting the data service comprises the following steps:
and when the mobile terminal is in the first network mode and runs an application for data service, acquiring connection state information of whether the mobile terminal closes data connection with an application server.
2. The method according to claim 1, wherein if the connection status information of the mobile terminal is closing data connection, controlling the mobile terminal to switch from the first network type to a second network type supporting data and voice services, and the step of releasing the current first ip address comprises:
closing data connection with the application server at the mobile terminal, and controlling the mobile terminal to be switched from the first network standard which is resident at present to the second network standard which supports data and voice services;
and releasing the first internet protocol address in the process of switching the network modes.
3. The method as claimed in claim 2, wherein the step of controlling the mobile terminal to switch from the first network standard currently residing in to the second network standard supporting data and voice services when the mobile terminal closes the data connection with the application server comprises:
and when the mobile terminal closes the data connection with the application server, controlling the mobile terminal to be switched to the second network system by adopting a redirection mode, a switching mode, a reselection mode or a network searching mode.
4. The method of claim 1, wherein after releasing the current first internet protocol address, the method further comprises:
and controlling the mobile terminal to be switched from the second network type to the first network type, and acquiring the distributed second internet protocol address again.
5. The handover control method of network according to claim 1,
the first network standard is a 4G network standard, and the second network standard is a 2G/3G network standard.
6. A mobile terminal, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the connection state information of the mobile terminal in a first network system supporting data service;
the first processing module is used for controlling the mobile terminal to be switched from the first network standard to a second network standard supporting data and voice services and releasing a current first internet protocol address if the connection state information of the mobile terminal is to close data connection;
the acquisition module is further configured to:
and when the mobile terminal is in the first network mode and runs an application for data service, acquiring connection state information of whether the mobile terminal closes data connection with an application server.
7. The mobile terminal of claim 6, wherein the first processing module comprises:
the control submodule is used for closing data connection with the application server at the mobile terminal and controlling the mobile terminal to be switched from the first network standard which is resided at present to the second network standard which supports data and voice services;
and the release submodule is used for releasing the first internet protocol address in the process of switching the network modes.
8. The mobile terminal of claim 7, wherein the control sub-module is further configured to:
and when the mobile terminal closes the data connection with the application server, controlling the mobile terminal to be switched to the second network system by adopting a redirection mode, a switching mode, a reselection mode or a network searching mode.
9. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
and the second processing module is used for controlling the mobile terminal to be switched from the second network type to the first network type after the first processing module releases the current first internet protocol address, and acquiring the distributed second internet protocol address again.
10. The mobile terminal of claim 6,
the first network standard is a 4G network standard, and the second network standard is a 2G/3G network standard.
11. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the handover control method of a network according to any of claims 1 to 5 when executing the computer program.
CN201710841610.8A 2017-09-18 2017-09-18 Network switching control method and mobile terminal Active CN107635261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710841610.8A CN107635261B (en) 2017-09-18 2017-09-18 Network switching control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710841610.8A CN107635261B (en) 2017-09-18 2017-09-18 Network switching control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107635261A CN107635261A (en) 2018-01-26
CN107635261B true CN107635261B (en) 2020-04-21

Family

ID=61101935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710841610.8A Active CN107635261B (en) 2017-09-18 2017-09-18 Network switching control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107635261B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114650588B (en) * 2019-03-09 2024-06-25 荣耀终端有限公司 Processing method of network connection, related equipment and computer storage medium
CN109874158B (en) * 2019-03-26 2021-04-30 中国联合网络通信集团有限公司 Network switching method and device
CN112449409B (en) * 2019-08-30 2023-08-04 北京小米移动软件有限公司 Power control method of mobile terminal and power control device of mobile terminal
CN114125023B (en) * 2021-11-12 2024-03-22 青岛海尔科技有限公司 Method and device for determining data connection, storage medium and electronic device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067994A (en) * 2011-10-19 2013-04-24 中国电信股份有限公司 Method for switching wireless terminal between two kinds of wireless networks and system thereof
CN104012012A (en) * 2011-12-20 2014-08-27 Lg电子株式会社 Network-initiated control method and apparatus for providing proximity service
CN103546932B (en) * 2012-07-17 2016-12-21 中国移动通信集团公司 Method, device, network element and the system of a kind of network switching
CN103763746B (en) * 2014-01-21 2017-09-26 宇龙计算机通信科技(深圳)有限公司 Network switching device and method for switching network
CN104869619A (en) * 2015-04-28 2015-08-26 宇龙计算机通信科技(深圳)有限公司 Single card dual standby long term evolution (LTE) terminal network control method and device
CN106131239B (en) * 2016-07-22 2019-05-14 迈普通信技术股份有限公司 A kind of IP address distribution method and device

Also Published As

Publication number Publication date
CN107635261A (en) 2018-01-26

Similar Documents

Publication Publication Date Title
US11843721B2 (en) Method and terminal for supporting voice service and data service simultaneously
CN107635261B (en) Network switching control method and mobile terminal
WO2020147823A1 (en) Terminal capability negotiation method, terminal device and network-side device
KR102358644B1 (en) Service processing method, information transmission method and related equipment
US9794874B2 (en) Electronic device and method for signal transmission and reception
US11224027B2 (en) Cell registration method and device
WO2019029618A1 (en) Ims voice call network switching method, storage device and mobile terminal
KR102455838B1 (en) Service implementation method, network unit and terminal
KR20120105958A (en) Method and apparatus for receiving contents on mobile communication system
JP7179087B2 (en) Bearer setting method for re-establishing RRC connection, terminal and network equipment
CN110933704A (en) Network communication method, device, storage medium and electronic equipment
WO2020147822A1 (en) Connection management method, terminal and network side device
WO2022193798A1 (en) Method for standalone weak coverage, and terminal device and storage medium
CN113472474B (en) Information transmission method, user terminal and access network element
CN112839326A (en) Network switching method, device, storage medium and gateway equipment
CN112654073B (en) Network attachment method and user equipment
WO2023093720A1 (en) Data processing method and apparatus
US10911989B2 (en) Method for keeping in circuit switched fallback CSFB network and user terminal
WO2022067544A1 (en) Wireless communication method, terminal device, and network device
CN113905455B (en) Bearer establishment method and device
US20200404730A1 (en) Communication method and communication apparatus
CN115209521B (en) Message processing method, device, equipment and storage medium
CN114143845B (en) Cell switching method and device
WO2024041422A1 (en) Communication method and apparatus, and terminal and core network node
WO2022022712A1 (en) Information transmission method and apparatus, multi-card terminal, and 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