CN110891328B - Method and mobile device for aligning wake-up - Google Patents

Method and mobile device for aligning wake-up Download PDF

Info

Publication number
CN110891328B
CN110891328B CN201811044493.3A CN201811044493A CN110891328B CN 110891328 B CN110891328 B CN 110891328B CN 201811044493 A CN201811044493 A CN 201811044493A CN 110891328 B CN110891328 B CN 110891328B
Authority
CN
China
Prior art keywords
period
mobile device
alignment
network
network 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
CN201811044493.3A
Other languages
Chinese (zh)
Other versions
CN110891328A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201811044493.3A priority Critical patent/CN110891328B/en
Priority to PCT/CN2019/103915 priority patent/WO2020048410A1/en
Publication of CN110891328A publication Critical patent/CN110891328A/en
Application granted granted Critical
Publication of CN110891328B publication Critical patent/CN110891328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • 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

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a method and a mobile device for aligning wake-up, wherein the method comprises the following steps: after the mobile equipment establishes network connection with network side equipment, acquiring an aging period of the network connection, wherein the aging period represents the maximum survival time of the network connection under the condition of no data transmission; the mobile equipment compares the first alignment awakening period with the size of the aging period; when the first alignment awakening period is larger than the aging period, the mobile equipment modifies the first alignment awakening period into a second alignment awakening period, and the second alignment awakening period is smaller than the aging period; and the mobile equipment sends heartbeat messages of part or all of the long connection applications started on the mobile equipment according to the second alignment awakening period, so that the sending time interval of the heartbeat messages is smaller than the aging period of the network connection, and the interruption of the network connection can be avoided.

Description

Method and mobile device for aligning wake-up
Technical Field
The present application relates to the field of communications, and in particular, to a method and a mobile device for aligning wake-up.
Background
Because the number of IP addresses of the fourth version Internet Protocol (IPv 4) is limited, the IP address allocated to the mobile device (e.g., mobile phone) by the mobile wireless network operator is the IP address of the intranet of the operator, and the mobile device needs to connect to the Internet and needs a Network Address Translation (NAT) performed by the gateway of the operator. Briefly, the gateway of the operator maintains a NAT mapping table, which includes the corresponding relationship between the external network IP and the external network port to the internal network IP and the internal network port, so as to ensure that the mobile device in the internal network can communicate with the server in the external network.
In general, in order to reduce the load of the NAT mapping table of the gateway, the operator sets a NAT aging period (aging time). Specifically, if the time during which no data is transmitted on the network connection established between the mobile device and the network-side device exceeds the NAT aging period, the corresponding entry in the NAT mapping table of the network connection may be deleted by the gateway, resulting in interruption of the network connection. In order to avoid network connection interruption and maintain long connection, at least one long connection Application (APP) on the mobile device sends heartbeat messages to a corresponding server of the at least one application, and the heartbeat interval is smaller than the NAT aging period.
Since the heartbeat intervals of the long connection applications are not completely consistent, the wake-up time when the long connection applications wake up the mobile device is not completely consistent. In order to avoid that the mobile device is woken up by each long connection application in a complicated and disordered way, so that the standby energy consumption of the mobile device is increased, an alignment wakeup mechanism is proposed. Currently, the commonly adopted alignment wakeup scheme is as follows: and adjusting the awakening time and the awakening period of each long connection application, so that each long connection application sends heartbeat messages according to the uniform awakening period, and the standby energy consumption of the mobile equipment can be reduced.
In some poor network environments, the existing alignment wakeup scheme may have a problem that an alignment wakeup period of the mobile device is longer than an aging period of the network connection (e.g., NAT aging period), which may cause the network connection to be interrupted.
Disclosure of Invention
The application provides a method for aligning and waking up and a mobile device, which can effectively avoid network connection interruption between the mobile device and a network side device.
In a first aspect, a method for aligned wake-up is provided, the method comprising: after the mobile equipment establishes network connection with network side equipment, acquiring an aging period of the network connection, wherein the aging period represents the maximum survival time of the network connection under the condition of no data transmission; the mobile equipment compares the first alignment awakening period with the size of the aging period; when the first alignment awakening period is larger than the aging period, the mobile equipment modifies the first alignment awakening period into a second alignment awakening period, and the second alignment awakening period is smaller than the aging period; and the mobile equipment sends heartbeat messages of part or all of the long connection applications started on the mobile equipment according to the second alignment awakening period.
Therefore, in the scheme provided by the application, the mobile device obtains the aging period of the network connection established between the mobile device and the network side device, and when the first alignment wakeup period of the mobile device is greater than the aging period, modifies the first alignment wakeup period into a second alignment wakeup period smaller than the aging period, and sends the heartbeat message of part or all of the long connection applications on the mobile device according to the second alignment wakeup period, so that the sending time interval of the heartbeat message is smaller than the aging period of the network connection, and the interruption of the network connection can be avoided.
It should be appreciated that avoiding an interruption in the network connection may reduce data transmission latency for long connection applications on the mobile device.
It should also be understood that the solution provided by the present application may enable the network connection established between the mobile device and the network-side device to be uninterrupted in a poor network environment, so as to effectively reduce the time delay of data transmission between the mobile device and the network-side device.
With reference to the first aspect, in a possible implementation manner of the first aspect, the aging period of the network connection may include an aging period of the network connection under a different protocol or in a different stage.
Optionally, the aging period of the network connection may be a NAT aging period of the network connection.
Alternatively, the aging period of a network connection may be the aging period of the network connection under other alternative protocols.
Optionally, the first alignment wakeup period is a fixed value set in advance.
For example, the first aligned wake-up period is an aligned wake-up period initially set by the mobile device.
Optionally, the first pair of wakeup periods is an aligned wakeup period after updating on the basis of an aligned wakeup period initially set by the mobile device.
For example, when the mobile device establishes another network connection with another network side device, the aging period of the another network connection is acquired, and the initially set alignment wakeup period is modified according to the aging period of the another network connection, so as to acquire the first alignment wakeup period.
An aligned wake-up period as referred to herein refers to a time interval during which some or all of the long connection applications on the mobile device uniformly wake up the mobile device.
With reference to the first aspect, in a possible implementation manner of the first aspect, the mobile device may modify the first alignment wakeup period according to the aging period, so that the modified first alignment wakeup period is smaller than the aging period, and the modified first alignment wakeup period is the second alignment wakeup period.
With reference to the first aspect, in a possible implementation manner of the first aspect, the mobile device may modify, according to the aging period, respective wake-up periods of a part or all of long connection applications on the mobile device to obtain the second alignment wake-up period, where the second alignment wake-up period is smaller than the aging period.
With reference to the first aspect, in a possible implementation manner of the first aspect, the method further includes: when the first alignment awakening period is smaller than the aging period, the mobile equipment modifies the first alignment awakening period into a third alignment awakening period, wherein the third alignment awakening period is smaller than the aging period and is larger than the first alignment awakening period; and the mobile equipment sends heartbeat messages of part or all of the long connection applications started on the mobile equipment according to the third alignment wake-up period.
It should be understood that the third aligned wake-up period for the mobile device to send the heartbeat message is less than the aging period of the network connection, which can ensure that the sending time interval of the heartbeat message is less than the aging period of the network connection, thereby avoiding the interruption of the network connection.
It should also be appreciated that the third aligned wake-up period for the mobile device to send heartbeat messages is greater than the first aligned wake-up period previously used by the mobile device, which may reduce standby power consumption of the mobile device.
Therefore, in the solution provided in the present application, the mobile device obtains the aging period of the network connection established between the mobile device and the network side device, and when the first alignment wakeup period of the mobile device is smaller than the aging period, modifies the first alignment wakeup period to a third alignment wakeup period which is smaller than the aging period and larger than the first alignment wakeup period, and sends the heartbeat message of part or all of the long connection applications on the mobile device according to the third alignment wakeup period, so that the standby energy consumption of the mobile device can be effectively reduced on the premise of ensuring that the network connection is not interrupted.
It should be understood that, according to the scheme provided by the present application, under a better network environment, on the premise of ensuring that the network connection established between the mobile device and the network-side device is not interrupted, the standby energy consumption of the mobile device is reduced as much as possible, and the user experience is improved.
With reference to the first aspect, in a possible implementation manner of the first aspect, the acquiring an aging period of a network connection includes: when the network accessed by the mobile equipment is changed, the aging period of the network connection is acquired.
Situations where the network accessed by the mobile device changes may include, but are not limited to, the following two: the cell accessed by the mobile equipment changes; the type of network the mobile device has access to changes.
With reference to the first aspect, in a possible implementation manner of the first aspect, the acquiring an aging period of a network connection includes: the mobile equipment acquires the aging period of the network connection according to a preset period.
Therefore, in the solution provided in the present application, the mobile device may dynamically adjust the alignment wakeup period by obtaining the aging period of the current network connection when the access network changes, so as to ensure that the alignment wakeup period is always smaller than the aging period of the current network connection of the mobile device (and the network connection established between the mobile device and the network-side device) as far as possible, thereby effectively ensuring that the sending time interval of the heartbeat message is smaller than the aging period of the current network connection, and avoiding network connection interruption.
With reference to the first aspect, in a possible implementation manner of the first aspect, the mobile device is an electronic device with an operating system of Android (Android) or iOS.
With reference to the first aspect, in a possible implementation manner of the first aspect, the mobile device supports at least two network systems.
For example, the mobile device supports at least two of the following network formats: china Mobile 2G/3G/4G network, China Unicom 2G/3G/4G network, and China telecom 2G/3G/4G network.
In a second aspect, a mobile device is provided, where the mobile device is configured to perform the method of the first aspect or any possible implementation manner of the first aspect. In particular, the mobile device may comprise means for performing the method of the first aspect or any possible implementation manner of the first aspect.
In a third aspect, a mobile device is provided, the mobile device comprising a memory for storing instructions and a processor for executing the instructions stored in the memory, and execution of the instructions stored in the memory causes the processor to perform the first aspect or the method in any possible implementation manner of the first aspect.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a mobile device, causes the mobile device to carry out the method of the first aspect or any possible implementation of the first aspect.
In a fifth aspect, there is provided a computer program product comprising instructions which, when executed by a mobile device, cause the mobile device to carry out the method of the first aspect or any possible implementation manner of the first aspect.
Therefore, in the scheme provided by the application, the mobile device obtains the aging period of the network connection established between the mobile device and the network side device, compares the first alignment wakeup period with the aging period, and determines the alignment wakeup period finally used for sending the heartbeat message according to the comparison result, so that the alignment wakeup period is smaller than the aging period, the sending time interval of the heartbeat message can be smaller than the aging period of the network connection, and the interruption of the network connection can be avoided.
Drawings
Fig. 1 is a schematic diagram of an aligned wake-up scheme.
Fig. 2 is a schematic flowchart of a method for aligned wake-up provided in an embodiment of the present application.
Fig. 3 is another schematic flow chart of a method for aligning wakeups provided by an embodiment of the present application.
Fig. 4 is a schematic block diagram of a mobile device provided in an embodiment of the present application.
Fig. 5 is another schematic block diagram of a mobile device provided in an embodiment of the present application.
Fig. 6 is a further schematic block diagram of a mobile device provided in an embodiment of the present application.
Fig. 7 is a further schematic block diagram of a mobile device provided in an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
The technical scheme of the embodiment of the application can be applied to various communication systems, for example: global system for mobile communications (GSM) systems, Code Division Multiple Access (CDMA) systems, Wideband Code Division Multiple Access (WCDMA) systems, General Packet Radio Service (GPRS), Long Term Evolution (LTE) systems, LTE Frequency Division Duplex (FDD) systems, LTE Time Division Duplex (TDD), universal mobile telecommunications system (universal mobile telecommunications system, UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication systems, future fifth generation (5G) or new radio NR systems, etc.
The mobile device in the embodiment of the present application may refer to a terminal or a mobile terminal installed with one or more long connection Applications (APPs). For example, the mobile device may be a cell phone or a tablet computer. As another example, the mobile device may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a handheld device with wireless communication capability, a wearable device, a mobile device in a future 5G network or a mobile device in a Public Land Mobile Network (PLMN) for future evolution, etc. The mobile device in this embodiment may also be referred to as a User Equipment (UE), an access terminal, a user terminal, a wireless communication device, and the like, which is not limited in this embodiment.
The embodiments of the present application relate to an alignment wakeup scheme, and for facilitating understanding of the embodiments of the present application, first, an alignment wakeup scheme is briefly introduced.
With the development of terminal technology, various intelligent operating systems provide a timer wakeup mechanism. To avoid applying cumbersome and unordered wake-up of mobile devices with different long connections, increasing standby power consumption of mobile devices, an aligned wake-up mechanism is proposed. At present, the commonly adopted alignment wake-up scheme is to adjust the wake-up time and wake-up period of each timer for long connection application, and then wake up the mobile device by all timers at the same time, so as to achieve the effect of saving power during standby. It should be understood that: reference herein to a mobile device launched long connection application refers to one or more long connection applications that have been launched on the mobile device, wherein the one or more long connection applications that have been launched include, but are not limited to, a foreground running long connection application, or a background running long connection application, or a surviving long connection application.
As an example, as shown in fig. 1, assume that the long connection applications 1-5 are started on the mobile device, the wake up time of the long connection application 1 and the long connection application 2 is adjusted to be close to time 1, and the wake up time of the long connection application 3, the long connection application 4 and the long connection application 5 is adjusted to be close to time 2, that is, the long connection applications 1-5 are aligned to time 1 and time 2 to wake up the mobile device. The wake-up time of the long connection application 1-5 shown in fig. 1 represents any one of the wake-up times of the long connection application 1-5, without any limitation.
It should be understood that FIG. 1 is exemplary only and not limiting. For example, assuming that the wake-up times of the long-connection applications 1-5 shown in FIG. 1 are all close to time 1, the wake-up times of the long-connection applications 1-5 are adjusted to time 1 nearby. Alternatively, assuming that the wake-up times of the long-connection applications 1-5 shown in FIG. 1 are all close to time 2, the wake-up times of the long-connection applications 1-5 are adjusted to time 2 nearby.
The time interval between time instant 1 and time instant 2 shown in fig. 1 is referred to herein as an aligned wake-up period.
In some poor network environments, the existing aligned wake-up scheme may have a problem that the timer of each long connection application is aligned to wake up the mobile device for a time interval greater than an aging period of the network connection (e.g., NAT aging period), which may cause network connection interruption.
The application provides a method for aligning and waking up and a mobile device, which can effectively avoid network connection interruption between the mobile device and a network side device.
Fig. 2 is a schematic flow chart of a method 200 for aligned wake-up according to an embodiment of the present application. The method 200 includes the following steps.
S210, after the mobile device establishes network connection with the network side device, the aging period of the network connection is obtained.
The aging period of the network connection represents the maximum lifetime of the network connection without data transmission, in other words, when the time of no data transmission on the network connection exceeds the aging period, the network connection is released.
The aging period of a network connection may include the aging period of the network connection under different protocols or in different stages.
Optionally, the aging period of the network connection may be a NAT aging period of the network connection.
Alternatively, the aging period of a network connection may be the aging period of the network connection under other alternative protocols.
The network side device for establishing network connection with the mobile device includes but is not limited to: a server, or a gateway, or other network entity. Optionally, the network-side device further includes another mobile device. This is not a limitation of the present application.
S220, the mobile device compares the first alignment wakeup period with the aging period.
The first aligned wake-up period may be understood as the aligned wake-up period currently used by the mobile device.
Optionally, the first alignment wakeup period is a fixed value set in advance.
For example, the first aligned wake-up period is an aligned wake-up period initially set by the mobile device.
Optionally, the first pair of wakeup periods is an aligned wakeup period after updating on the basis of an aligned wakeup period initially set by the mobile device.
For example, before step 110, when the mobile device establishes another network connection with another network-side device, an aging period of the another network connection is obtained, and the initially set alignment wakeup period is modified according to the aging period of the another network connection, so as to obtain the first alignment wakeup period.
An aligned wake-up period as referred to herein refers to a time interval between the moments when some or all of the long connection applications on the mobile device collectively wake up the mobile device, such as the time interval of moments 1 and moments 2 shown in fig. 1.
There are various ways to obtain the aligned wake-up period of a mobile device from the wake-up times of some or all of the long-connection applications on the mobile device. For example, the aligned wake-up periods of the mobile device may be obtained by various aligned wake-up schemes as shown in fig. 1 or developed in the future. This is not a limitation of the present application.
It should be understood that the aligned wake-up period may also be referred to as an aligned wake-up duration or an aligned wake-up interval, which is not limited in this application.
S230, when the first alignment wakeup period is greater than the aging period, the mobile device modifies the first alignment wakeup period to a second alignment wakeup period, where the second alignment wakeup period is less than the aging period.
The mobile device may modify the first alignment wakeup period according to the aging period, so that the modified first alignment wakeup period is smaller than the aging period, and the adjusted first alignment wakeup period is the second alignment wakeup period.
And S240, the mobile device sends heartbeat messages of part or all of the long connection applications started on the mobile device according to the second alignment wakeup period.
After the second alignment wakeup period is acquired, the mobile device sends respective heartbeat messages of part or all of the long connection applications on the mobile device according to the second wakeup period, so that the sending time interval of the heartbeat messages is smaller than the aging period of the network connection, and the interruption of the network connection can be avoided.
It should be understood that the heartbeat message may also be referred to as a heartbeat packet.
A long connection application refers to an application on a mobile device that needs to maintain a long connection, for example, an application for instant messaging such as WeChat, Facebook (Facebook), or Twitter (Twitter).
Therefore, in the solution provided in this embodiment of the present application, the mobile device obtains the aging period of the network connection established between the mobile device and the network side device, and when the first alignment wakeup period of the mobile device is greater than the aging period, modifies the first alignment wakeup period to be a second alignment wakeup period that is less than the aging period, and sends the heartbeat message of part or all of the long connection applications on the mobile device according to the second alignment wakeup period, so that the sending time interval of the heartbeat message can be made smaller than the aging period of the network connection, and the interruption of the network connection can be avoided.
It should be appreciated that avoiding an interruption in the network connection may reduce data transmission latency for long connection applications on the mobile device.
It should also be understood that, with the scheme provided in the embodiment of the present application, the network connection established between the mobile device and the network-side device is not interrupted in a poor network environment, so that the time delay of data transmission between the mobile device and the network-side device can be effectively reduced.
The aging period of a network connection, as referred to herein, may also be expressed as a timeout time or an aging time of the network connection. The NAT aging period may also be referred to as NAT timeout or NAT aging time.
Optionally, as shown in fig. 3, the method 200 further includes the following steps.
S250, when the first alignment wakeup period is smaller than the aging period, the mobile device modifies the first alignment wakeup period to a third alignment wakeup period, where the third alignment wakeup period is smaller than the aging period, and the third alignment wakeup period is larger than the first alignment wakeup period.
The mobile device may modify the first alignment wakeup period according to the aging period, so that the modified first alignment wakeup period is smaller than the aging period and larger than the first alignment wakeup period, and the adjusted first alignment wakeup period is the third alignment wakeup period.
And S260, the mobile equipment sends heartbeat messages of part or all of the long connection applications started on the mobile equipment according to the third alignment wake-up period.
It should be understood that the third aligned wake-up period for the mobile device to send the heartbeat message is less than the aging period of the network connection, which can ensure that the sending time interval of the heartbeat message is less than the aging period of the network connection, thereby avoiding the interruption of the network connection.
It should also be appreciated that the third aligned wake-up period for the mobile device to send heartbeat messages is greater than the first aligned wake-up period previously used by the mobile device, which may reduce standby power consumption of the mobile device.
Therefore, in the solution provided in this embodiment of the present application, the mobile device obtains an aging period of a network connection established between the mobile device and the network side device, and when a first alignment wakeup period of the mobile device is smaller than the aging period, modifies the first alignment wakeup period to a third alignment wakeup period that is smaller than the aging period and larger than the first alignment wakeup period, and sends a heartbeat message of a part or all of long connection applications on the mobile device according to the third alignment wakeup period, so that standby energy consumption of the mobile device can be effectively reduced on the premise of ensuring that network connection is not interrupted.
It should be understood that, with the scheme provided in the embodiment of the present application, under a better network environment, on the premise of ensuring that the network connection established between the mobile device and the network-side device is not interrupted, the standby energy consumption of the mobile device is reduced as much as possible, and the user experience is improved.
Optionally, in some embodiments, when the first alignment wakeup period is equal to the aging period of the network connection, the mobile device may continue to send heartbeat messages for some or all of the long connection applications on the mobile device using the first alignment wakeup period.
Optionally, in some embodiments, when the first alignment wakeup period is equal to the aging period of the network connection, the mobile device may modify the first alignment wakeup period to a fourth alignment wakeup period, the fourth alignment wakeup period being less than the aging period. For example, the fourth alignment wakeup period is the second alignment wakeup period in the above embodiment.
Optionally, in some embodiments, when the first alignment wakeup period is less than the aging period of the network connection, the mobile device may continue to send heartbeat messages for some or all of the long connection applications on the mobile device using the first alignment wakeup period.
Therefore, in the scheme provided by the application, the mobile device obtains the aging period of the network connection established between the mobile device and the network side device, compares the first alignment wakeup period with the aging period, and determines the alignment wakeup period finally used for sending the heartbeat message according to the comparison result, so that the alignment wakeup period is smaller than the aging period, the sending time interval of the heartbeat message can be smaller than the aging period of the network connection, and the interruption of the network connection can be avoided.
In the application, the mobile device may dynamically adjust the alignment wakeup period to ensure that the alignment wakeup period is always smaller than the aging period of the current network connection of the mobile device (and the network connection established between the mobile device and the network-side device) as far as possible, thereby effectively ensuring that the transmission time interval of the heartbeat message is smaller than the aging period of the current network connection, and avoiding network connection interruption.
Optionally, in some embodiments, the mobile device obtains an aging period of the network connection, including: and when the network accessed by the mobile equipment is changed, acquiring the aging period of the network connection.
When the mobile device detects that the accessed network changes, the aging period of the network connection established between the mobile device and the network side device in the network is obtained. For example, after each aging period for acquiring the network connection, the above-described steps S220, S230, S240, S250 and S260 are performed to acquire an aligned wake-up period smaller than the aging period.
Situations where the network accessed by the mobile device changes may include, but are not limited to, the following two: the cell accessed by the mobile equipment changes; the type of network the mobile device has access to changes.
In the first situation, when a cell accessed by a mobile device changes, an aging period of a network connection established between the mobile device and a network side device in a current network is obtained.
For example, the mobile device originally accesses the china mobile network in beijing, and when the mobile device subsequently accesses the china mobile network in hebei, the aging period of the network connection established between the mobile device and the network side device in the current network may be obtained.
And in the second situation, when the type of the network accessed by the mobile equipment changes, the aging period of the network connection established between the mobile equipment and the network side equipment in the current network is acquired. In other words, when the network type of the mobile device access changes, the aging period of the current network connection is obtained.
For example, when the mobile device is switched from the china mobile network to the china unicom network, the aging period of the network connection established between the mobile device and the network side device in the current network is obtained.
For another example, when the mobile device is switched from the china mobile 4G network to the china mobile 3G network, the aging period of the network connection established between the mobile device and the network side device in the current network is obtained.
For another example, when the mobile device is switched from a Wi-Fi network (or a cellular network) of a china mobile network to a cellular network (or a Wi-Fi network), an aging period of a network connection established between the mobile device and the network-side device in the current network is obtained.
Optionally, the mobile device supports at least two network systems.
For example, the mobile device supports at least two of the following network formats: china Mobile 2G/3G/4G network, China Unicom 2G/3G/4G network, and China telecom 2G/3G/4G network.
Optionally, in some embodiments, the mobile device obtains an aging period of the network connection, including: the mobile equipment acquires the aging period of the network connection according to a preset period.
The mobile device may obtain the aging period of the current network connection in a periodic polling manner. For example, after each aging period for acquiring the network connection, the above-described steps S220, S230, S240, S250 and S260 are performed to acquire an aligned wake-up period smaller than the aging period.
For example, the mobile device obtains the aging period of the current network connection every 1 hour.
There are various ways in which the mobile device may specifically obtain the aging period of the network connection.
Optionally, the mobile device may obtain the aging period of the current network connection through the protocol information of the current access network.
For example, after the mobile device accesses the current network, the mobile device obtains the aging period of the current network connection by receiving the system information of the current network.
Optionally, the mobile device detects the aging period of the current network connection by dynamically adjusting the time interval for one or more long connection applications (denoted as clients) started on the mobile device to send heartbeat messages to the server side.
For example, the time interval of sending heartbeat messages from a client to a server is gradually increased by 1 minute from 1 minute interval to 3 times of trying, each time the heartbeat message is successfully sent, until after 7 minutes of trying interval fails, the aging period of the current network connection is considered to be between 6 and 7 minutes.
As one implementation, the aging period of the current network connection may be detected by a network probing unit of a long connection application launched on the mobile device. The mobile device may obtain the aging period of the current network connection from the network probing element of the long connection application.
For example, the aging period of the current network connection is obtained by a network probing unit of one or more system applications or one or more third party applications launched on the mobile device.
As another implementation, the aging period of the current network connection may be detected directly by the network probing unit of the mobile device.
Therefore, in the solution provided in the present application, the mobile device may dynamically adjust the alignment wakeup period by obtaining the aging period of the current network connection when the access network changes, so as to ensure that the alignment wakeup period is always smaller than the aging period of the current network connection of the mobile device (and the network connection established between the mobile device and the network-side device) as far as possible, thereby effectively ensuring that the sending time interval of the heartbeat message is smaller than the aging period of the current network connection, and avoiding network connection interruption.
The long connection application referred to herein refers to application software installed on the mobile device, such as system application software or third party application software. The long connection application referred to herein may also be referred to as an application program, a computer application program, or a client.
Optionally, the mobile device in the embodiment of the present application may be an electronic device with an operating system of Android (Android) or iOS.
Optionally, the mobile device in this embodiment of the present application may support at least two network systems.
For example, the mobile device may support at least two of the following network formats: china Mobile 2G/3G/4G network, China Unicom 2G/3G/4G network, and China telecom 2G/3G/4G network.
As another example, the mobile device may also support foreign networks, such as the network of the U.S. carrier.
Method embodiments of the present application are described above and apparatus embodiments of the present application are described below. It should be understood that the description of the apparatus embodiments corresponds to the description of the method embodiments, and therefore, for brevity, details are not repeated here, since the details that are not described in detail may be referred to the above method embodiments.
As shown in fig. 4, an embodiment of the present application provides a mobile device 400. The mobile device 400 may correspond to the mobile device in the above method embodiments. The mobile device 400 is used to perform the actions on the mobile device side in the above method embodiments. The mobile device 400 includes the following elements.
The obtaining unit 410 is configured to obtain an aging period of the network connection after the mobile device establishes a network connection with the network side device, where the aging period represents a maximum lifetime of the network connection without data transmission.
The aging period of the network connection represents the maximum lifetime of the network connection without data transmission, in other words, when the time of no data transmission on the network connection exceeds the aging period, the network connection is released.
The aging period of a network connection may include the aging period of the network connection under different protocols or in different stages.
Optionally, the aging period of the network connection may be a NAT aging period of the network connection.
Alternatively, the aging period of a network connection may be the aging period of the network connection under other alternative protocols.
A comparing unit 420, configured to compare the first alignment wake-up period with the size of the aging period acquired by the acquiring unit 410.
A modifying unit 430, configured to modify the first alignment wakeup period to be a second alignment wakeup period when the comparison result of the comparing unit 420 is that the first alignment wakeup period is greater than the aging period, where the second alignment wakeup period is smaller than the aging period.
A sending unit 440, configured to send a heartbeat message of part or all of the long connection applications started by the mobile device according to the second alignment wakeup period determined by the modifying unit 430.
For example, the mobile device 400 has a long connection application 1 and an application 2, and the sending unit 440 is configured to send a heartbeat message of the application 1 to the server of the application 1 according to a second alignment wakeup period; and sending a heartbeat message of the application 2 to a server of the application 2 according to the second alignment wakeup period.
Therefore, in the solution provided in this embodiment of the present application, the mobile device obtains the aging period of the network connection established between the mobile device and the network side device, and when the first alignment wakeup period of the mobile device is greater than the aging period, modifies the first alignment wakeup period to be a second alignment wakeup period that is less than the aging period, and sends the heartbeat message of part or all of the long connection applications on the mobile device according to the second alignment wakeup period, so that the sending time interval of the heartbeat message can be made smaller than the aging period of the network connection, and the interruption of the network connection can be avoided.
Optionally, in some embodiments, the modifying unit 430 is further configured to, when the comparison result of the comparing unit 420 is that the first alignment wakeup period is smaller than the aging period, modify the first alignment wakeup period to a third alignment wakeup period by the mobile device, where the third alignment wakeup period is smaller than the aging period, and the third alignment wakeup period is larger than the first alignment wakeup period. The sending unit 440 is further configured to send a heartbeat message of part or all of the long connection applications started on the mobile device according to the third aligned wake-up period determined by the modifying unit 430.
Therefore, in the solution provided in this embodiment of the present application, the mobile device obtains an aging period of a network connection established between the mobile device and the network side device, and when a first alignment wakeup period of the mobile device is smaller than the aging period, modifies the first alignment wakeup period to a third alignment wakeup period that is smaller than the aging period and larger than the first alignment wakeup period, and sends a heartbeat message of a part or all of long connection applications on the mobile device according to the third alignment wakeup period, so that standby energy consumption of the mobile device can be effectively reduced on the premise of ensuring that network connection is not interrupted.
Optionally, in some embodiments, the sending unit 440 is further configured to continue sending the heartbeat message according to the first alignment wakeup period when the modifying unit 430 does not modify the first alignment wakeup period.
Optionally, in some embodiments, the obtaining unit 410 is configured to obtain an aging period of the network connection when a network accessed by the mobile device changes.
Situations where the network accessed by the mobile device changes include, but are not limited to, the following two: the cell accessed by the mobile equipment changes; the type of network the mobile device accesses changes.
Optionally, in some embodiments, the obtaining unit 410 is configured to obtain the aging period of the network connection according to a preset period.
Optionally, in some embodiments, the mobile device 400 is an electronic device with an operating system that is android or iOS.
Optionally, in some embodiments, mobile device 400 supports at least two network modalities.
For example, the mobile device 400 supports at least two of the following network formats: china Mobile 2G/3G/4G network, China Unicom 2G/3G/4G network, and China telecom 2G/3G/4G network.
It should be understood that the obtaining unit 410, the comparing unit 420, and the modifying unit 430 in this embodiment may be implemented by a processor. The transmitting unit 440 may be implemented by a transmitter or a transceiver.
Optionally, the mobile device 400 provided in this embodiment may further include a receiving unit, for example, configured to receive a message sent by the server. The receiving unit may be implemented by a receiver or a transceiver.
As shown in fig. 5, an embodiment of the present application further provides a mobile device 500. The mobile device 500 may correspond to the mobile device in the above method embodiments. The mobile device 500 is used to perform the actions on the mobile device side in the above method embodiments. The mobile device 500 is, for example, a cell phone. As shown in fig. 5, the mobile device 500 includes the following elements.
A plurality of application units 510 (one is schematically depicted in fig. 5), each application unit 510 being configured to send its wake up time (i.e. the time at which the application wakes up the mobile device) to the wake up regulating unit 530.
If the application unit 510 determines the wake-up time by setting a wake-up timer, the application unit 510 is configured to send the timing configuration of its wake-up timer to the wake-up regulating unit 530. The wakeup managing unit 530 may obtain the wakeup time of an application unit 510 according to the timing configuration of the wakeup timer of the application unit 510.
For example, each application unit 510 corresponds to an application software on the mobile device 500, such as WeChat, Facebook (Facebook), or Twitter (Twitter).
The network detecting unit 520 is configured to obtain an aging period of a network connection currently established by the mobile device 500 and a network side device, where the aging period of the network connection indicates a maximum lifetime of the network connection without data transmission, and the network detecting unit 520 is further configured to send the aging period to the wake-up managing and controlling unit 530.
A wakeup managing and controlling unit 530, configured to determine an alignment wakeup period according to wakeup times of the multiple application units 510; and is further configured to adjust the alignment wakeup period according to the aging period obtained by the network detection unit 520, so as to ensure that the alignment wakeup period does not exceed the aging period of the current network connection. The wake-up regulating unit 530 is further configured to send an aligned wake-up period not exceeding the aging period of the current network connection to the sending unit 540.
The wake up management unit 530 is configured to:
when the current alignment awakening period used by the mobile equipment is greater than the aging period of network connection, adjusting the alignment awakening period to enable the adjusted alignment awakening period to be smaller than the aging period;
when the current used alignment awakening period of the mobile equipment is smaller than the aging period of network connection, adjusting the alignment awakening period to enable the adjusted alignment awakening period to be larger than the alignment awakening period before adjustment and smaller than the aging period, or not adjusting the current used alignment awakening period;
when the current used alignment wakeup period of the mobile device is equal to the aging period of the network connection, the alignment wakeup period is adjusted, so that the adjusted alignment wakeup period is smaller than the aging period, or the current used alignment wakeup period is not adjusted.
A sending unit 540, configured to send a heartbeat message to the server according to the aligned wake-up period sent by the wake-up management and control unit 530.
Optionally, in some embodiments, the network probing unit 520 is configured to obtain an aging period of the network connection when a network accessed by the mobile device changes.
Situations where the network accessed by the mobile device changes include, but are not limited to, the following two: the cell accessed by the mobile equipment changes; the type of network the mobile device accesses changes.
Optionally, in some embodiments, the network probing unit 520 is configured to obtain an aging period of the network connection according to a preset period.
Optionally, in some embodiments, the mobile device 500 is an electronic device with an operating system that is android or iOS.
Optionally, in some embodiments, the mobile device 500 supports at least two network modalities.
For example, the mobile device 500 supports at least two of the following network systems: china Mobile 2G/3G/4G network, China Unicom 2G/3G/4G network, and China telecom 2G/3G/4G network.
It should be understood that the network probing unit 520 in this embodiment may be implemented by a transceiver and a processor. The wake up management unit 530 may be implemented by a processor. The transmitting unit 540 may be implemented by a transmitter or a transceiver.
It should also be understood that the mobile device 500 provided by the present embodiment may further include a receiving unit, for example, for receiving a message sent by the server. The receiving unit may be implemented by a receiver or a transceiver.
As shown in fig. 6, an embodiment of the present application provides a mobile device 600. The mobile device 600 may correspond to the mobile device in the above method embodiments. The mobile device 600 is used to perform the actions on the mobile device side in the above method embodiments. The mobile device 600 includes a processor 610, a memory 620, and a transceiver 630. A memory 620 for storing instructions; a processor 610 for executing instructions stored by the memory 620, the processor 610 further for controlling the transceiver 630 to receive and/or transmit signals. Execution of the instructions stored in memory 620 causes processor 610 to: after the mobile equipment establishes network connection with network side equipment, acquiring an aging period of the network connection, wherein the aging period represents the maximum survival time of the network connection under the condition of no data transmission; comparing the first alignment awakening period with the aging period; when the first alignment awakening period is larger than the aging period, the first alignment awakening period is modified into a second alignment awakening period, and the second alignment awakening period is smaller than the aging period; the control transceiver 630 sends heartbeat messages for some or all of the long connection applications launched on the mobile device in a second alignment wakeup period.
Therefore, in the solution provided in this embodiment of the present application, the mobile device obtains the aging period of the network connection established between the mobile device and the network side device, and when the first alignment wakeup period of the mobile device is greater than the aging period, modifies the first alignment wakeup period to be a second alignment wakeup period that is less than the aging period, and sends the heartbeat message of part or all of the long connection applications on the mobile device according to the second alignment wakeup period, so that the sending time interval of the heartbeat message can be made smaller than the aging period of the network connection, and the interruption of the network connection can be avoided.
Optionally, in some embodiments, the processor 610 is further configured to: when the first alignment awakening period is smaller than the aging period, the first alignment awakening period is modified into a third alignment awakening period, the third alignment awakening period is smaller than the aging period, and the third alignment awakening period is larger than the first alignment awakening period; the control transceiver 630 sends heartbeat messages for some or all of the long connection applications launched on the mobile device in a third aligned wake-up period.
Therefore, in the solution provided in this embodiment of the present application, the mobile device obtains an aging period of a network connection established between the mobile device and the network side device, and when a first alignment wakeup period of the mobile device is smaller than the aging period, modifies the first alignment wakeup period to a third alignment wakeup period that is smaller than the aging period and larger than the first alignment wakeup period, and sends a heartbeat message of a part or all of long connection applications on the mobile device according to the third alignment wakeup period, so that standby energy consumption of the mobile device can be effectively reduced on the premise of ensuring that network connection is not interrupted.
Optionally, in some embodiments, the processor 610 is configured to obtain an aging period of the network connection when a network accessed by the mobile device changes.
Situations where the network accessed by the mobile device changes include, but are not limited to, the following two: the cell accessed by the mobile equipment changes; the type of network the mobile device accesses changes.
Optionally, in some embodiments, the processor 610 is configured to obtain the aging period of the network connection according to a preset period.
Optionally, in some embodiments, the mobile device supports at least two of the following network formats: china Mobile 2G/3G/4G network, China Unicom 2G/3G/4G network, and China telecom 2G/3G/4G network.
Optionally, in some embodiments, the mobile device 600 is an electronic device with an operating system that is android or iOS.
As shown in fig. 7, an embodiment of the present application further provides a mobile device. The mobile device may correspond to the mobile device in the above method embodiment. The mobile device is configured to perform actions on the mobile device side in the above method embodiments. For convenience of understanding and illustration, in fig. 7, a mobile device is taken as an example of a mobile phone. As shown in fig. 7, the mobile device includes a processor, a memory, a radio frequency circuit, an antenna, and an input-output means. The processor is mainly used for processing communication protocols and communication data, controlling the mobile device, executing software programs, processing data of the software programs and the like. The memory is used primarily for storing software programs and data. The radio frequency circuit is mainly used for converting baseband signals and radio frequency signals and processing the radio frequency signals. The antenna is mainly used for receiving and transmitting radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, keyboards, etc., are used primarily for receiving data input by a user and for outputting data to the user. It should be noted that some kinds of mobile devices may not have input and output devices.
When data needs to be sent, the processor performs baseband processing on the data to be sent and outputs baseband signals to the radio frequency circuit, and the radio frequency circuit performs radio frequency processing on the baseband signals and sends the radio frequency signals to the outside in the form of electromagnetic waves through the antenna. When data is sent to the mobile equipment, the radio frequency circuit receives radio frequency signals through the antenna, converts the radio frequency signals into baseband signals and outputs the baseband signals to the processor, and the processor converts the baseband signals into the data and processes the data. For ease of illustration, only one memory and processor are shown in FIG. 7. In an actual mobile device product, there may be one or more processors and one or more memories. The memory may also be referred to as a storage medium or a storage device, etc. The memory may be provided independently of the processor, or may be integrated with the processor, which is not limited in this embodiment.
In the embodiment of the present application, the antenna and the radio frequency circuit with transceiving function may be regarded as a transceiving unit of the mobile device, and the processor with processing function may be regarded as a processing unit of the mobile device. As shown in fig. 7, the mobile device includes a transceiving unit 701 and a processing unit 702. The transceiver unit 701 may also be referred to as a transceiver, a transceiving device, etc. A processing unit may also be referred to as a processor, a processing board, a processing module, a processing device, or the like. Optionally, a device in the transceiver unit 701 for implementing the receiving function may be regarded as a receiving unit, and a device in the transceiver unit 701 for implementing the transmitting function may be regarded as a transmitting unit, that is, the transceiver unit 701 includes a receiving unit and a transmitting unit. A transceiver unit may also sometimes be referred to as a transceiver, transceiving circuitry, or the like. A receiving unit may also be referred to as a receiver, a receiving circuit, or the like. A transmitting unit may also sometimes be referred to as a transmitter, or a transmitting circuit, etc. Alternatively, the memory may be located within processing unit 702, and may be separate from processing unit 702 (e.g., in FIG. 7, the memory is separate from processing unit 702).
For example, in one implementation, the processing unit 702 is configured to perform steps S210, S220, and S230 in fig. 2; the transceiving unit 701 is configured to perform step S240 in fig. 2.
For another example, in one implementation, the processing unit 702 is configured to perform steps S210, S220, and S250 in fig. 3. The transceiving unit 701 is configured to perform step S260 in fig. 3.
For the explanation and beneficial effects of the related content in any of the communication apparatuses provided above, reference may be made to the corresponding method embodiments provided above, and details are not repeated here.
It should be understood that the processor mentioned in the embodiments of the present application may be a Central Processing Unit (CPU), and may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will also be appreciated that the memory referred to in the embodiments of the application 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 EPROM (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 (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, Synchronous Link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
It should be noted that when the processor is a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, the memory (memory module) is integrated in the processor.
It should be noted that the memory described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
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 application.
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 several embodiments provided in the present application, it should be understood that the disclosed system, 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 application 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 application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including 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 application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application 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 application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (13)

1. A method for aligned wake up, comprising:
after network connection is established between mobile equipment and network side equipment, acquiring an aging period of the network connection, wherein the aging period represents the maximum survival time of the network connection under the condition of no data transmission;
the mobile equipment compares the size of a first alignment awakening period with the size of the aging period, wherein the first alignment awakening period is the currently used alignment awakening period, and the alignment awakening period is the time interval between the moments when part or all of long connection applications on the mobile equipment are intensively awakened;
when the first alignment awakening period is larger than the aging period, the mobile device modifies the first alignment awakening period into a second alignment awakening period, and the second alignment awakening period is smaller than the aging period;
the mobile equipment sends heartbeat messages of part or all of the long connection applications started on the mobile equipment according to the second alignment awakening period;
when the first alignment wakeup period is smaller than the aging period, the mobile device modifies the first alignment wakeup period into a third alignment wakeup period, wherein the third alignment wakeup period is smaller than the aging period, and the third alignment wakeup period is larger than the first alignment wakeup period;
and the mobile equipment sends heartbeat messages of part or all of the long connection applications started on the mobile equipment according to the third alignment wake-up period.
2. The method of claim 1, wherein obtaining the aging period of the network connection comprises:
and when the network accessed by the mobile equipment is changed, acquiring the aging period of the network connection.
3. The method of claim 2, wherein the network accessed by the mobile device changes, including any of the following situations:
the cell accessed by the mobile equipment changes;
the type of network the mobile device accesses changes.
4. The method of claim 1 or 2, wherein the obtaining the aging period of the network connection comprises:
and the mobile equipment acquires the aging period of the network connection according to a preset period.
5. The method according to any one of claims 1 to 3, wherein the mobile device supports at least two network standards.
6. The method of claim 4, wherein the mobile device supports at least two network standards.
7. A mobile device, comprising:
a memory to store instructions;
a processor to execute the memory-stored instructions, execution of the memory-stored instructions causing the processor to:
after the mobile device establishes network connection with network side equipment, acquiring an aging period of the network connection, wherein the aging period represents the maximum survival time of the network connection under the condition of no data transmission;
comparing the size of a first alignment awakening period with the size of the aging period, wherein the first alignment awakening period is an alignment awakening period used currently, and the alignment awakening period is a time interval between moments when part or all of long connection applications on the mobile equipment are intensively awakened;
when the first alignment awakening period is larger than the aging period, modifying the first alignment awakening period into a second alignment awakening period, wherein the second alignment awakening period is smaller than the aging period;
the mobile device further comprises a transceiver;
the execution of the instructions stored in the memory causes the processor to be further configured to control the transceiver to send heartbeat messages of some or all of the long connection applications started on the mobile device according to the second alignment wakeup period;
when the first alignment awakening period is smaller than the aging period, modifying the first alignment awakening period into a third alignment awakening period, wherein the third alignment awakening period is smaller than the aging period and is larger than the first alignment awakening period;
and controlling the transceiver to send heartbeat messages of part or all of the long connection applications started on the mobile equipment according to the third alignment wake-up period.
8. The mobile device of claim 7, wherein the processor is configured to obtain an aging period of the network connection when a network accessed by the mobile device changes.
9. The mobile device of claim 8, wherein the network accessed by the mobile device changes, including any of:
the cell accessed by the mobile equipment changes;
the type of network the mobile device accesses changes.
10. The mobile device according to claim 7 or 8, wherein the processor is configured to obtain the aging period of the network connection according to a preset period.
11. The mobile device according to any of claims 7 to 9, wherein the mobile device supports at least two network systems.
12. The mobile device of claim 10, wherein the mobile device supports at least two network formats.
13. A computer-readable storage medium, having stored thereon a computer program which, when executed by a mobile device, causes the mobile device to carry out the method of any one of claims 1 to 6.
CN201811044493.3A 2018-09-07 2018-09-07 Method and mobile device for aligning wake-up Active CN110891328B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811044493.3A CN110891328B (en) 2018-09-07 2018-09-07 Method and mobile device for aligning wake-up
PCT/CN2019/103915 WO2020048410A1 (en) 2018-09-07 2019-09-02 Aligned wakeup method and mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811044493.3A CN110891328B (en) 2018-09-07 2018-09-07 Method and mobile device for aligning wake-up

Publications (2)

Publication Number Publication Date
CN110891328A CN110891328A (en) 2020-03-17
CN110891328B true CN110891328B (en) 2022-04-12

Family

ID=69722042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811044493.3A Active CN110891328B (en) 2018-09-07 2018-09-07 Method and mobile device for aligning wake-up

Country Status (2)

Country Link
CN (1) CN110891328B (en)
WO (1) WO2020048410A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464642A (en) * 2020-04-01 2020-07-28 北京四维智联科技有限公司 Method and device for pushing messages of vehicle machine
CN113709202B (en) * 2020-05-22 2023-09-19 北京罗克维尔斯科技有限公司 Method and system for waking up system chip
CN113900714A (en) * 2020-06-22 2022-01-07 阿里巴巴集团控股有限公司 Electronic equipment and nearby awakening method and device thereof
CN116932015B (en) * 2023-09-18 2023-12-15 中汽智联技术有限公司 Remote upgrading method, device and system for vehicle software and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096435A (en) * 2011-10-31 2013-05-08 中国移动通信集团公司 Connection keeping method, device, mobile terminal and data transmitting method
CN104412649A (en) * 2014-06-18 2015-03-11 华为技术有限公司 Heartbeat adjusting method, device and terminal
CN106341908A (en) * 2016-08-24 2017-01-18 福州瑞芯微电子股份有限公司 Method and system for maintaining long connection of mobile network
CN106612538A (en) * 2015-10-27 2017-05-03 深圳市中兴微电子技术有限公司 Alignment wakeup method and alignment wakeup terminal
CN107204999A (en) * 2016-03-16 2017-09-26 阿里巴巴集团控股有限公司 A kind of method and apparatus for realizing heartbeat

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104022922B (en) * 2014-06-27 2017-06-13 北京邮电大学 Mobile terminal, heartbeat forwarding server and heartbeat message sending method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096435A (en) * 2011-10-31 2013-05-08 中国移动通信集团公司 Connection keeping method, device, mobile terminal and data transmitting method
CN104412649A (en) * 2014-06-18 2015-03-11 华为技术有限公司 Heartbeat adjusting method, device and terminal
CN106612538A (en) * 2015-10-27 2017-05-03 深圳市中兴微电子技术有限公司 Alignment wakeup method and alignment wakeup terminal
CN107204999A (en) * 2016-03-16 2017-09-26 阿里巴巴集团控股有限公司 A kind of method and apparatus for realizing heartbeat
CN106341908A (en) * 2016-08-24 2017-01-18 福州瑞芯微电子股份有限公司 Method and system for maintaining long connection of mobile network

Also Published As

Publication number Publication date
CN110891328A (en) 2020-03-17
WO2020048410A1 (en) 2020-03-12

Similar Documents

Publication Publication Date Title
CN110536345B (en) Measurement reporting method, electronic equipment and storage medium
CN110891328B (en) Method and mobile device for aligning wake-up
US20230284138A1 (en) Wireless communication method and device
US11013058B2 (en) Communication method, terminal device and network device
TW201943226A (en) A method and device for signal transmission
AU2023251548A1 (en) Discontinuous reception method, terminal device and network device
US9955422B2 (en) User equipment power optimization
US20210007051A1 (en) Method and device for signal transmission
US10999887B2 (en) Data sending method, data receiving method, and device
US11895729B2 (en) Discontinuous reception method, terminal device and network device
US20080025258A1 (en) Uma/gan keep-alive mechanism in wireless communication networks
JP6668484B2 (en) System information transmission method, system information update method, and device
US11856521B2 (en) System information updating method, apparatus, and system
US11641691B2 (en) Method and device for discontinuous transmission
US20200359316A1 (en) Method and device for discontinuous reception
RU2789851C2 (en) Method for switching the receiving mode and the terminal device

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