IP Library Granted Patent US 11,337,150
Granted Patent B2
US 11,337,150 · App. 16/852,721 · Granted May 17, 2022

Method and apparatus for adjusting wake-up period of terminal, storage medium and electronic device

Inventors: Ying Zhang (Beijing, CN); Hongyan Pei (Beijing, CN); Yi Bian (Beijing, CN)
Assignee: BOE TECHNOLOGY GROUP CO., LTD.
H04W52/0216H04L43/10
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,337,150
App. No.
16/852,721
Granted
May 17, 2022
Kind
B2
Abstract

The present disclosure provides a method and apparatus for adjusting a wake-up period of a terminal, a storage medium, and an electronic device. The method includes: broadcasting heartbeat information and remaining in a monitoring state for a first predetermined time; and adjusting a current first wake-up period of a terminal to a second wake-up period when the monitoring state ends according to information received by the terminal in the monitoring state.

Claims (79)

1. A method for adjusting a wake-up period of a terminal, the method comprising:

broadcasting, by the terminal, heartbeat information and remaining in a monitoring state for a first predetermined time; and

adjusting, by the terminal, a current first wake-up period of the terminal to a second wake-up period when the monitoring state ends according to information received by the terminal in the monitoring state,

wherein the information received by the terminal in the monitoring state comprises at least one of:

gateway response information transmitted by a gateway in response to the heartbeat information broadcast by the terminal, and

heartbeat information broadcast by other terminals, and

wherein before the step of adjusting a current first wake-up period of the terminal to a second wake-up period when the monitoring state ends according to information received by the terminal in the monitoring state, the method further comprises:

detecting whether the terminal receives the gateway response information in the monitoring state;

when the terminal receives the gateway response information, determining an adjustment parameter t to be −rand(0˜T1/2) if the terminal is an first state, and determining the adjustment parameter t to be 0 if the terminal is in an second state, wherein rand( ) is a random function for generating a random number, T1 being a first time reference;

when the terminal does not receive the gateway response information, determining the adjustment parameter t to be 0 if the terminal is in the first state, and determining the adjustment parameter t to be −rand(0˜T2/2) if the terminal is in the second state, T2 being a second time reference; and

determining the second wake-up period according to the first wake-up period and the adjustment parameter.

2. The method according to claim 1 , wherein the step of adjusting a current first wake-up period of the terminal to a second wake-up period when the monitoring state ends according to information received by the terminal in the monitoring state comprises:

adjusting the first wake-up period to a sum of the first wake-up period and the adjustment parameter, wherein the sum of the first wake-up period and the adjustment parameter is the second wake-up period.

3. The method according to claim 1 , wherein the step of determining the second wake-up period according to the first wake-up period and the adjustment parameter comprises:

detecting whether the terminal in the monitoring state receives the heartbeat information broadcasted by the other terminals;

counting a number M of the heartbeat information received by the terminal in the monitoring state from the other terminals in a case where the terminal receives the heartbeat information broadcasted by the other terminals; and

determining the second wake-up period according to the first wake-up period, the adjustment parameter, and the number M of the heartbeat information.

4. The method according to claim 3 , wherein the step of determining the second wake-up period according to the first wake-up period, the adjustment parameter, and the number M of the heartbeat information comprises:

detecting whether the number M of the heartbeat information of the other terminals is greater than a balance value N;

determining the second wake-up period to be rand(0˜(Tc+t))+r in a case where M>N, wherein r is a random delay number, and Tc is a current time reference;

detecting whether the current time reference Tc is greater than an initial wake-up period T0 in a case where M≤N;

determining an intermediate value T′=(M+1)Tc/N when Tc>T0, detecting whether T′ is greater than T0, determining the second wake-up period to be T0 when T′≤T0, and determining the second wake-up period to be T′+t+r when T′>T0; and

determining the second wake-up period to be Tc+t+r when Tc≤T0,

wherein Tc is the first time reference or the second time reference.

5. The method according to claim 4 , wherein after the step of detecting whether the number M of the heartbeat information of the other terminals is greater than a balance value N, the method further comprises:

detecting whether a first adjustment number of the second wake-up period exceeds a first preset threshold in a case where M>N;

determining the second wake-up period to be rand(0˜(Tc+t))+r in a case where the first adjustment number does not exceed the first preset threshold, and increasing the value of the first adjustment number by 1; and

adjusting a value of Tc to Tnew in a case where the first adjustment number exceeds the first preset threshold, determining the second wake-up period to be Tnew+r and resetting the first adjustment number to 0, wherein Tnew=(M+1)Tc/N.

6. The method according to claim 4 , wherein after the step of detecting whether the number M of the heartbeat information of the other terminals is greater than a balance value N, the method further comprises:

detecting whether a second adjustment number of the second wake-up period exceeds a second preset threshold in a case where M≤N and Tc>T0;

determining an intermediate value T′ to be (M+1)Tc/N in a case where the second adjustment number does not exceed the second preset threshold, determining the second wake-up period to be T0 when T′≤T0, and determining the second wake-up period to be T′+t+r when T′>T0, and increasing the value of the second adjustment number by 1; and

adjusting a value of Tc to Tnew in a case where the second adjustment number exceeds the second preset threshold, determining the second wake-up period to be Tnew+t+r, and resetting the second adjustment number to 0, wherein Tnew=(M+1)Tc/N.

7. The method according to claim 3 , wherein the step of determining the second wake-up period according to the first wake-up period, the adjustment parameter, and the number M of the heartbeat information comprises:

detecting the relationship between the number M of the heartbeat information of the other terminals, a balance value N, and an error tolerance L for the balance value N;

determining the second wake-up period to be rand(0˜(Tc+t))+r in a case where M>N+L, wherein r is a random delay number and Tc is a current time reference;

detecting whether the current time reference Tc is greater than an initial wake-up period T0 in a case where M≤N−L;

determining an intermediate value T′=(M+1)Tc/N when Tc>T0, determining the second wake-up period to be T0 when T′≤T0, and determining the second wake-up period to be T′+t+r when T′>T0; and

determining the second wake-up period to be Tc+t+r when Tc≤T0, wherein Tc is the first time reference or the second time reference,

resetting the first adjustment number and the second adjustment number to 0 and determining the second wake-up period to be Tc+t+r in a case where N−L<M≤N+L.

8. An apparatus for adjusting a wake-up period of a terminal, the apparatus comprising:

a radio frequency circuit configured to broadcast heartbeat information and remain in a monitoring state for a first predetermined time; and

a processor communicatively coupled to the radio frequency circuit and configured to adjust a current first wake-up period of the terminal to a second wake-up period when the monitoring state ends according to information received by the radio frequency circuit in the monitoring state,

wherein the information received by the radio frequency circuit in the monitoring state comprises at least one of:

gateway response information transmitted by a gateway in response to the heartbeat information of the terminal, and

heartbeat information broadcast by other terminals, and

wherein the processor is further configured to:

detect whether the terminal receives the gateway response information in the monitoring state;

when the terminal receives the gateway response information, determine an adjustment parameter t to be −rand(0˜T1/2) if the terminal is an first state, and determine the adjustment parameter t to be 0 if the terminal is in an second state, wherein rand( ) is a random function for generating a random number, T1 being a first time reference;

when the terminal does not receive the gateway response information, determine the adjustment parameter t to be 0 if the terminal is in the first state, and determine the adjustment parameter t to be −rand(0˜T2/2) if the terminal is in the second state, T2 being a second time reference; and

determine the second wake-up period according to the first wake-up period and the adjustment parameter.

9. The apparatus according to claim 8 , wherein the processor is further configured to:

adjust the first wake-up period to a sum of the first wake-up period and the adjustment parameter, wherein the sum of the first wake-up period and the adjustment parameter is the second wake-up period.

10. The apparatus according to claim 8 , wherein the processor is further configured to:

detect whether the terminal in the monitoring state receives the heartbeat information broadcasted by the other terminals;

count a number M of the heartbeat information received by the terminal in the monitoring state from the other terminals in a case where the terminal receives the heartbeat information broadcasted by the other terminals; and

determine the second wake-up period according to the first wake-up period, the adjustment parameter, and the number M of the heartbeat information.

11. The apparatus according to claim 8 , wherein the processor is further configured to:

detect whether the number M of the heartbeat information of the other terminals is greater than a balance value N;

determine the second wake-up period to be rand(0˜(Tc+t))+r in a case where M>N, wherein r is a random delay number, and Tc is a current time reference;

detect whether the current time reference Tc is greater than an initial wake-up period T0 in a case where M≤N;

determine an intermediate value T′=(M+1)Tc/N when Tc>T0, detect whether T′ is greater than T0, determine the second wake-up period to be T0 when T′≤T0, and determine the second wake-up period to be T′+t+r when T′>T0; and

determine the second wake-up period to be Tc+t+r when Tc≤T0,

wherein Tc is the first time reference or the second time reference.

12. The apparatus according to claim 11 , wherein the processor is further configured to:

detect whether a first adjustment number of the second wake-up period exceeds a first preset threshold in a case where M>N;

determine the second wake-up period to be rand(0˜(Tc+t))+r in a case where the first adjustment number does not exceed the first preset threshold, and increase the value of the first adjustment number by 1; and

adjust a value of Tc to Tnew in a case where the first adjustment number exceeds the first preset threshold, determine the second wake-up period to be Tnew+r and reset the first adjustment number to 0, wherein Tnew=(M+1)Tc/N.

13. The apparatus according to claim 11 , wherein the processor is further configured to:

detect whether a second adjustment number of the second wake-up period exceeds a second preset threshold in a case where M≤N and Tc>T0;

determine an intermediate value T′ to be (M+1)Tc/N in a case where the second adjustment number does not exceed the second preset threshold, determine the second wake-up period to be T0 when T′≤T0, and determine the second wake-up period to be T′+t+r when T′>T0, and increase the value of the second adjustment number by 1; and

adjust a value of Tc to Tnew in a case where the second adjustment number exceeds the second preset threshold, determine the second wake-up period to be Tnew+t+r, and reset the second adjustment number to 0, wherein Tnew=(M+1)Tc/N.

14. The apparatus according to claim 11 , wherein the processor is further configured to:

detect the relationship between the number M of the heartbeat information of the other terminals, a balance value N, and an error tolerance L for the balance value N;

determine the second wake-up period to be rand(0˜(Tc+t))+r in a case where M>N+L, wherein r is a random delay number and Tc is a current time reference;

detect whether the current time reference Tc is greater than an initial wake-up period T0 in a case where M≤N−L;

determine an intermediate value T′=(M+1)Tc/N when Tc>T0, determine the second wake-up period to be T0 when T′≤T0, and determine the second wake-up period to be T′+t+r when T′>T0; and

determine the second wake-up period to be Tc+t+r when Tc≤T0, wherein Tc is the first time reference or the second time reference,

reset the first adjustment number and the second adjustment number to 0 and determine the second wake-up period to be Tc+t+r in a case where N−L<M≤N+L.

15. A non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method according to claim 1 .

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 20, 2020
From: ZHANG, YING; PEI, HONGYAN; BIAN, YI
To: BOE TECHNOLOGY GROUP CO., LTD.
Reel/Frame 052439/0375 →
Priority Claims (1)
CN 201911204368.9 · Nov 29, 2019 · national
Continuity (1)
Related Publication 20210168711A1 · Jun 3, 2021
Cited By (2)
US 12,267,220 US 12,452,208