CN114698069A - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
CN114698069A
CN114698069A CN202011622741.5A CN202011622741A CN114698069A CN 114698069 A CN114698069 A CN 114698069A CN 202011622741 A CN202011622741 A CN 202011622741A CN 114698069 A CN114698069 A CN 114698069A
Authority
CN
China
Prior art keywords
information
electronic device
sleep
electronic
communication device
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.)
Pending
Application number
CN202011622741.5A
Other languages
Chinese (zh)
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 CN202011622741.5A priority Critical patent/CN114698069A/en
Publication of CN114698069A publication Critical patent/CN114698069A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0241Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where no transmission is received, e.g. out of range of the transmitter
    • 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
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/34Selective release of ongoing 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

Abstract

The embodiment of the application provides a communication method and equipment, wherein the communication equipment is connected with one or more electronic equipment, the communication equipment comprises a data transmission record of each electronic equipment, and the method comprises the following steps: receiving first information sent by one or more electronic devices, wherein the first information is used for requesting to enter a sleep state; determining a sleep cycle according to the data transmission record of each electronic device; sending second information to each electronic device, wherein the second information comprises the sleep cycle; and disconnecting each electronic device and entering a sleep state based on the sleep cycle. When the user terminal (such as electronic equipment) has no data transmission, the AP equipment is negotiated and disconnected, and the AP equipment enters a dormant state, so that the power consumption is reduced and the endurance time of a product is prolonged under the condition that the use condition of a user is not influenced.

Description

Communication method and apparatus
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication method and device.
Background
Wi-Fi equipment is generally used for converting networks such as 3G, 4G, 5G or LTE (Long term evolution) networks into Wi-Fi and providing a Wi-Fi hotspot function for electronic equipment such as a mobile phone, a watch or a computer. For example, as shown in fig. 1A, an application scenario diagram of a traveling Wi-Fi device (e.g., a traveling AP device) is shown, where the traveling AP device is generally powered by a battery, and a product duration of the traveling AP device is one of important factors affecting user experience, compared with a fixed AP router.
Currently, the 802.11 protocol (wlan universal standard protocol) defines only low power consumption related protocols, such as psm (power Save mode), for the ue, and does not have low power consumption related protocols for the AP device. Therefore, as shown in fig. 1B, in the existing communication method, in the using process of the AP device, there is a common scenario that a user terminal, such as an electronic device like a mobile phone, is connected to the AP device, but a user does not use the terminal, only Wi-Fi connection is maintained, and data transmission is not performed, at this time, since the AP device needs to receive a data message possibly from the user terminal at any time, the AP device needs to be always connected to the user terminal, and is always in a Wi-Fi operating state, and cannot sleep, which results in higher power consumption and reduces the duration of a product.
Disclosure of Invention
The application provides a communication method and equipment, when a user terminal (such as electronic equipment) has no data transmission, the user terminal negotiates with communication equipment such as AP equipment to disconnect, enters a dormant state, and is beneficial to reducing power consumption and improving the endurance time of a product under the condition of not influencing the use of a user.
In a first aspect, the present application provides a communication method applied to a communication device, where the communication device establishes a connection with one or more electronic devices, and the communication device includes a data transmission record of each electronic device, where the method includes:
receiving first information sent by one or more electronic devices, wherein the first information is used for requesting to enter a sleep state;
determining a sleep cycle according to the data transmission record of each electronic device;
sending second information to each electronic device, wherein the second information comprises the sleep cycle;
and disconnecting each electronic device and entering a sleep state based on the sleep cycle.
In one possible implementation manner, the electronic device includes an idle duration, and the first information is determined based on a comparison result between the idle duration and a preset duration.
In one possible implementation manner, the data transmission record includes a heartbeat packet sending time and a heartbeat cycle of the electronic device, and before the receiving the first information sent by one or more electronic devices, the method further includes:
determining third information based on the heartbeat packet sending time and the heartbeat cycle of each electronic device, wherein the third information is used for requesting to unify the heartbeat packet sending time and the heartbeat cycle of each electronic device;
and sending the third information to each electronic device.
In one possible implementation, the sleep period is equal to the heartbeat period.
In one possible implementation manner, the electronic device includes a static state and an idle state, and the first information is determined based on the static state and the idle state of the electronic device.
In one possible implementation manner, the data transmission record includes an idle duration of the electronic device, and the sleep cycle is determined based on the idle duration of each electronic device.
In one possible implementation manner, the determining a sleep cycle according to the data transmission record of each electronic device includes:
comparing the idle time of each electronic device;
and determining a sleep cycle based on the minimum value or the least common divisor of the idle time length.
In one possible implementation manner, before the sending the second information to each electronic device, the method further includes:
acquiring the quantity of the first information and the total number of connections between the communication equipment and the electronic equipment;
comparing the number of the first information with the total number of the connections, and determining whether to perform the transmission of the second information to each of the electronic devices based on the comparison result.
In one possible implementation manner, the second information further includes a sleep request, where the sleep request is used to request each of the second devices to enter a network sleep state.
In one possible implementation manner, after the disconnecting the connection with each electronic device and entering a sleep state based on the sleep cycle, the method further includes:
after the sleep period, receiving a connection request sent by one or more electronic devices, and establishing connection with one or more electronic devices based on the connection request.
In a second aspect, the present application provides a communication method applied to an electronic device, where the electronic device establishes a connection with a communication device, and the method includes:
sending first information to the communication equipment, wherein the first information is used for requesting to enter a dormant state;
receiving second information transmitted by the communication device, the second information including a sleep period;
and disconnecting the communication equipment and entering a network sleep state based on the sleep cycle.
In one possible implementation manner, before the sending the first information to the communication device, the method further includes:
detecting an idle time of the electronic equipment;
and comparing the idle time with a preset time, and determining whether to execute the sending of the first information to the communication equipment based on the comparison result.
In a possible implementation manner, the communication device includes third information, and before the sending the first information to the communication device, the method further includes:
receiving third information sent by the communication equipment, wherein the third information comprises a heartbeat packet sending time and a heartbeat cycle;
judging whether the electronic equipment is in an idle state or not in a historical heartbeat period;
and if the electronic equipment is in an idle state, determining the sending time of the first information based on the sending time of the heartbeat packet.
In one possible implementation, the sleep period is equal to the heartbeat period.
In one possible implementation manner, before the sending the first information to the communication device, the method further includes:
acquiring fourth information, wherein the fourth information is used for representing that the electronic equipment is static and has no data transmission;
determining whether to perform the sending of the first information to the communication device based on the fourth information.
In one possible implementation manner, after the disconnecting the connection from the communication device and entering the sleep state based on the sleep period, the method further includes:
after the sleep period, sending a connection request to the communication device, the connection request requesting to establish a connection with the communication device.
In a third aspect, the present application provides a communication apparatus, the communication apparatus establishing a connection with one or more electronic devices, the communication apparatus including a data transmission record of each of the electronic devices, the apparatus including:
the first information receiving module is used for receiving first information sent by one or more electronic devices, and the first information is used for requesting to enter a sleep state;
the sleep cycle determining module is used for determining a sleep cycle according to the data transmission record of each piece of electronic equipment;
a second information sending module, configured to send second information to each electronic device, where the second information includes the sleep cycle;
and the dormancy module is used for disconnecting the connection with each piece of electronic equipment and entering a dormancy state based on the dormancy period.
In a fourth aspect, the present application provides a terminal, where the terminal establishes a connection with a communication device, and the terminal includes:
a first information sending module, configured to send first information to the communication device, where the first information is used to request to enter a dormant state;
a second information receiving module, configured to receive second information sent by the communication device, where the second information includes a sleep cycle;
and the dormancy module is used for disconnecting the connection with the communication equipment and entering a network dormancy state based on the dormancy period.
In a fifth aspect, the present application provides a communication device comprising:
one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the communication device, cause the communication device to perform the method of the first aspect.
In a sixth aspect, the present application provides an electronic device comprising:
one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the electronic device, cause the electronic device to perform the method of the second aspect.
In a seventh aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform the method according to the first or second aspect.
In an eighth aspect, the present application provides a computer program for performing the method of the first or second aspect when the computer program is executed by a computer.
In a possible design, the program in the eighth aspect may be stored in whole or in part on a storage medium packaged with the processor, or in part or in whole on a memory not packaged with the processor.
Drawings
FIG. 1A is a diagram of an application scenario of a Wi-Fi device;
FIG. 1B is a diagram illustrating a communication method according to the prior art;
fig. 2 is a schematic diagram of an embodiment of a communication device to which the communication method of the present application is applied;
FIG. 3 is a schematic flow chart diagram illustrating one embodiment of a communication method of the present application;
FIG. 4 is a schematic diagram of an embodiment of an electronic device to which the communication method of the present application is applied;
FIG. 5 is a schematic structural diagram of an embodiment of a communication device of the present application;
FIG. 6 is a schematic structural diagram of an embodiment of a terminal of the present application;
FIG. 7A is a schematic block diagram of an embodiment of a communication device of the present application;
FIG. 7B is a hardware diagram of an embodiment of the communication device of the present application;
FIG. 7C is a software diagram of an embodiment of the communications device of the present application;
fig. 8 is a schematic structural diagram of an embodiment of an electronic device according to the present application.
Detailed Description
The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application.
Currently, the 802.11 protocol (wlan universal standard protocol) defines only low power consumption related protocols, such as psm (power Save mode), for the ue, and does not have low power consumption related protocols for the AP device. Therefore, as shown in fig. 1B, in the existing communication method, in the using process of the AP device, there is a common scenario that a user terminal, such as an electronic device like a mobile phone, is connected to the AP device, but a user does not use the terminal, only Wi-Fi connection is maintained, and data transmission is not performed, at this time, since the AP device needs to receive a data message possibly from the user terminal at any time, the AP device needs to be always connected to the user terminal, and is always in a Wi-Fi operating state, and cannot sleep, which results in higher power consumption and reduces the duration of a product.
Therefore, the application provides a communication method and device, when a user terminal (such as an electronic device) has no data transmission, the communication method and device negotiate with an AP device to disconnect, and enter a dormant state, so that under the condition that the use of the user is not influenced, the power consumption is reduced, and the endurance time of a product is prolonged.
Fig. 2 is a schematic method diagram of an embodiment of the communication method, as shown in fig. 2, the communication method is applied to a communication device, and the communication device establishes a connection with one or more electronic devices. The communication method may include:
s101, receiving first information sent by one or more electronic devices, wherein the first information is used for requesting to enter a sleep state.
In this embodiment, the communication device may include a Wi-Fi device (e.g., a portable AP device, etc.) or other device that provides a Wi-Fi hotspot function. The electronic device may comprise a user terminal such as a mobile phone, a watch, a smart band, a computer, etc. The communication device may connect with one or more electronic devices via Wi-Fi. The communication device may broadcast a beacon frame (beacon frame) to the outside, receive a data packet transmitted from the electronic device, and then transmit the data packet to the electronic device that is on the hook.
Preferably, in step S101, each electronic device may determine whether to send the first information to a communication device, for example, when the electronic device is not used by a user, the electronic device may send the first information to the communication device to request to enter a sleep state. That is, the first information may be used to characterize that the electronic device is not being used or has no data transmission for negotiating a disconnection with the communication device (e.g., AP device).
S102, determining a sleep cycle according to the data transmission record of each electronic device.
That is to say, in step S102, the communication device may include a data transmission record of each electronic device, and the data transmission record may include an idle duration, a heartbeat cycle, or a heartbeat packet sending time of each electronic device. The idle duration may indicate that the electronic device has no data transfer time or unused time.
Preferably, the step S102 may include:
comparing the idle time of each electronic device;
and determining a sleep cycle based on the minimum value or the least common divisor of the idle time length.
That is, in the case of not affecting the usage, the idle time duration (e.g., the shortest idle time duration) of each electronic device is compared, and then the minimum value or the least common contract value, etc. is determined from the idle time duration of each electronic device, i.e., the sleep cycle is obtained.
For another example, the electronic device may include a first device, a second device, and a third device, where an idle duration of the first device is T1, an idle duration of the second device is T2, and an idle duration of the third device is T3, in step S102, T1, T2, and T3 may be compared, and a minimum value or a minimum common denominator value is obtained as the sleep cycle.
It is understood that the communication device may record the idle time duration of each electronic device in real time to adjust the size of the sleep period in real time.
S103, sending second information to each electronic device, wherein the second information comprises the sleep cycle.
In the present embodiment, when the communication device receives the first information transmitted by each electronic device, the communication device transmits the second information to each electronic device. Preferably, the second information may be used to characterize that each electronic device is disconnected from the communication device during the sleep period, or that no data transmission is performed, etc.
In one possible implementation manner, the second information may further include a sleep request, where the sleep request is used to request each of the second devices to enter a network sleep state (e.g., to turn off a network, to enter a network sleep state, or to enter a sleep state such as a power saving mode or a sleep mode, etc.), so that each of the second devices is disconnected from the communication device, and enters the network sleep state based on the sleep cycle.
That is to say, after the electronic device receives the second information, the electronic device disconnects from the communication device, does not perform data transmission any more, and enters a network sleep state in a sleep period, thereby being beneficial to reducing the power consumption of the electronic device and improving the duration of the electronic device.
And S104, disconnecting each electronic device and entering a sleep state based on the sleep cycle.
That is, after the communication device sends the second information, the communication device is disconnected from each electronic device (e.g., the WLAN network is turned off or the network is put into a sleep state, etc.), and is put into the sleep state (e.g., a power saving mode or a sleep mode, etc.) during the sleep period, so as to be beneficial to reducing the power consumption of the communication device and providing the endurance duration of the communication device, for example, the power consumption of the whole communication device can be reduced by 100+ mA power consumption, etc.
In this embodiment, the dormant state may be defined as the communication device entering a low power consumption mode, a power saving mode, a sleep mode, or the like, for example, in the dormant state, the communication device shuts down part or all of applications or services, such as routing services, wireless services, or Wi-Fi services, and the like, without being limited thereto.
In one possible implementation manner, after step S104, the method further includes:
and S105, after the sleep period, receiving a connection request sent by each electronic device, and establishing connection with each electronic device based on the connection request.
Specifically, the communication device starts a network after a sleep period, exits from a sleep state, waits for receiving a connection request sent by the electronic device, and establishes a connection with the electronic device after receiving the connection request, thereby realizing data transmission.
Correspondingly, the electronic equipment starts the network after the sleep period, exits from the network sleep state, sends a connection request to the communication equipment, establishes connection with the communication equipment and realizes data transmission.
In one possible implementation manner, in step S101, the electronic device may include an idle duration, where the idle duration is used to characterize a duration of the electronic device without data transmission, and the first information is determined based on a comparison result between the idle duration and a preset time. Specifically, if the idle duration is greater than the preset time, the electronic device sends the first information to the communication device, otherwise, the first information is not sent.
More specifically, the electronic device may detect a time without data transmission, so as to obtain an idle duration, that is, when the electronic device detects that no data transmission exists within a period of time (i.e., the idle duration), the electronic device is considered not to be used by the user, and the electronic device sends the first information to the communication device to request to enter the sleep state.
Optionally, the electronic device determines whether the electronic device is in an idle state in a historical heartbeat cycle (the idle state indicates that the electronic device has no data transmission), and if the electronic device is in the idle state, the electronic device sends the first information to the communication device at a heartbeat packet sending time. Specifically, the electronic device generally sends heartbeat packets to the communication device periodically (i.e., heartbeat cycle), if there is no data transmission in one heartbeat cycle, the electronic device is considered to be unused by the user, and the electronic device sends the first information to the communication device at the next heartbeat packet sending time to request to enter the sleep state.
Further, the data transmission record may include a heartbeat packet sending time and a heartbeat cycle of the electronic device, and before step S101, the method further includes:
s201, determining third information based on the heartbeat packet sending time and the heartbeat cycle of each electronic device, wherein the third information is used for requesting to unify the heartbeat packet sending time and the heartbeat cycle of each electronic device;
s202, the third information is sent to each electronic device.
Further, the communication device may record the heartbeat packet transmission time and the heartbeat cycle of each electronic device, and unify the heartbeat packet transmission time and the heartbeat cycle of each electronic device. The third information may include a unified heartbeat packet sending time and a unified heartbeat cycle, and the third information may be used to request that the heartbeat packet sending time and the heartbeat cycle of each electronic device be unified, so that each electronic device sends the heartbeat packet to the communication device at the same time (i.e., the unified heartbeat packet sending time) and the same heartbeat cycle (i.e., the unified heartbeat cycle).
In step S102, the sleep period is equal to a heartbeat period of the electronic device. That is to say, after the sending time of the heartbeat packets and the heartbeat cycle of all the electronic devices are unified, the communication device can determine that the sleep cycle is equal to the heartbeat cycle, which is beneficial to prolonging the sleep time, further reducing the power consumption and improving the endurance time of the product under the condition of ensuring that the use of the user is not affected.
In one possible implementation manner, the electronic device may include fourth information, the fourth information is used to characterize that the electronic device is stationary and has no data transmission, and the first information is determined based on the fourth information. Still further, the fourth information may include a stationary state and an idle state of the electronic device, and the first information is determined based on the stationary state and the idle state of the electronic device. The standing state is used for representing whether the electronic equipment is in standing, the idle state is used for representing whether the electronic equipment has no data transmission, and when the electronic equipment is in standing and has no data transmission, the electronic equipment sends first information to the communication equipment.
Further, the electronic device may include a sensor for detecting whether the electronic device is stationary to obtain a stationary state, and the sensor may include an acceleration sensor, a gravity sensor, and the like, and may detect acceleration, gravity, and the like of the electronic device, for example, when a user plays a game using the electronic device, the acceleration or the gravity of the electronic device may change, and if the acceleration or the gravity of the electronic device does not exceed a preset range or a preset value, the electronic device may be determined to be stationary.
Furthermore, when the electronic device is in a standing state, the electronic device further detects whether there is no data transmission at the current moment, and if there is no data transmission, the electronic device sends the first information to the communication device to request to enter a sleep state.
In one possible implementation manner, before step S103, the method further includes:
s301, obtaining the number of the first information and the total number of connections between the communication equipment and the electronic equipment;
s302, comparing the number of the first information with the total number of the connections, and determining whether to execute the sending of the second information to each electronic device based on the comparison result.
As shown in fig. 3, if the communication device establishes connections with the first device and the second device, respectively, the total number of the connections is 2, when the communication device receives first information (that is, the number of the first information is 2) sent by the first device and the second device, the communication device sends second information to the first device and the second device, respectively, the communication device closes the network and enters a sleep state in a sleep period, and both the first device and the second device close the network and enter the network sleep state in the sleep period.
Specifically, when the communication device receives first information sent by all electronic devices within a preset time period (for example, the time period between the communication device receiving the first information sent by the first electronic device and the first information sent by the last electronic device is less than the preset time period), the communication device sends second information to each electronic device.
After the communication device transmits the second information to the electronic devices, the communication device shuts down a network (WLAN), disconnects each electronic device, and then enters a sleep state during a sleep period. Accordingly, each electronic device, upon receiving the second information, shuts down the network, disconnects the communication device, and then enters a network sleep state also during the sleep period.
After the sleep period, the communication device starts the network, exits from the sleep state, waits for receiving the connection request sent by each electronic device, starts the network, exits from the network sleep state, and sends the connection request to the communication device. And after the communication equipment receives the connection request sent by the electronic equipment, the communication equipment establishes connection with the electronic equipment to realize data transmission.
Then, the communication device may determine whether the first information sent by all the electronic devices is received again, and enter the sleep state of the next sleep cycle if the first information sent by all the electronic devices is received.
It is to be understood that some or all of the steps or operations in the above-described embodiments are merely examples, and other operations or variations of various operations may be performed by the embodiments of the present application. Further, the various steps may be performed in a different order presented in the above embodiments, and not all of the operations in the above embodiments may be performed.
As shown in fig. 4, the present application further provides a communication method applied to an electronic device, where the electronic device establishes a connection with a communication device, and the method may include:
s401, first information is sent to the communication equipment, and the first information is used for requesting to enter a sleep state.
S402, receiving second information sent by the communication equipment, wherein the second information comprises a sleep cycle.
S403, disconnecting the communication device and entering a network sleep state based on the sleep cycle.
In this embodiment, step S401 in the communication method applied to the electronic device corresponds to step S101 in the communication method applied to the communication device, and specific functions or principles may refer to step S101, which is not described herein again. Step S402 in the communication method applied to the electronic device corresponds to step S103 in the communication method applied to the communication device, and specific functions or principles may refer to step S103, which is not described herein again. Step S403 in the communication method applied to the electronic device corresponds to step S104 in the communication method applied to the communication device, and specific functions or principles may refer to step S104, which is not described herein again.
In one possible implementation manner, after step S403, the method further includes:
s404, after the sleep period, sending a connection request to the communication equipment, and establishing connection with the communication equipment.
Step S404 in the communication method applied to the electronic device corresponds to step S105 in the communication method applied to the communication device, and specific functions or principles may refer to step S105, which is not described herein again.
In one possible implementation manner, before step S401, the method further includes:
s501, detecting the idle time of the electronic equipment;
s502, comparing the idle time with preset time, and determining whether to execute the sending of the first information to the communication equipment based on the comparison result.
Specifically, the electronic device may detect a duration of no data transmission, so as to obtain an idle duration, that is, when the electronic device has no data transmission for a period of time (i.e., the idle duration), the electronic device is considered not to be used by the user, and the electronic device sends the first information to the communication device to request to enter the sleep state.
In a possible implementation manner, the communication device includes third information, and before step S401, the method further includes:
s601, receiving third information sent by the communication equipment, wherein the third information comprises a heartbeat packet sending time and a heartbeat cycle;
s602, judging whether the electronic equipment is in an idle state or not in a historical heartbeat period;
s603, if the electronic equipment is in an idle state, determining the sending time of the first information based on the sending time of the heartbeat packet.
In step S602, the original heartbeat packet sending time and heartbeat cycle of the electronic device may be changed to the heartbeat packet sending time and heartbeat cycle in the third information, so that the heartbeat cycles of the electronic devices are unified.
Specifically, the electronic device determines whether the electronic device is in an idle state in a historical heartbeat cycle (the idle state indicates that the electronic device has no data transmission), and if the electronic device is in the idle state, the electronic device sends the first information to the communication device at a heartbeat packet sending time.
In one possible implementation, the sleep period is equal to the heartbeat period.
In one possible implementation manner, before step S401, the method further includes:
s701, acquiring fourth information, wherein the fourth information is used for representing that the electronic equipment is static and has no data transmission;
s702, determining whether to execute the sending of the first information to the communication equipment based on the fourth information.
Further, the fourth information may include a stationary state and an idle state of the electronic device, and the first information is determined based on the stationary state and the idle state of the electronic device. The standing state is used for representing whether the electronic equipment is in standing, the idle state is used for representing whether the electronic equipment has no data transmission, and when the electronic equipment is in standing and has no data transmission, the electronic equipment sends first information to the communication equipment.
Further, the electronic device may include a sensor for detecting whether the electronic device is stationary, the sensor may include an acceleration sensor, a gravity sensor, and the like, and may detect acceleration, gravity, and the like of the electronic device, for example, when a user plays a game with the electronic device, the acceleration or gravity of the electronic device may change, and if the acceleration or gravity of the electronic device does not exceed a preset range or a preset value, the electronic device may be determined to be stationary.
Furthermore, when the electronic device is in a standing state, the electronic device further detects whether there is no data transmission at the current moment, and if there is no data transmission, the electronic device sends the first information to the communication device to request to enter a sleep state.
It is to be understood that some or all of the steps or operations in the above-described embodiments are merely examples, and other operations or variations of various operations may be performed by the embodiments of the present application. Further, the various steps may be performed in a different order presented in the above-described embodiments, and it is possible that not all of the operations in the above-described embodiments are performed.
As shown in fig. 5, the present application provides a communication apparatus 100, where the communication apparatus 100 establishes a connection with one or more electronic devices, the communication apparatus 100 includes a data transmission record of each of the electronic devices, and the apparatus 100 includes:
a first information receiving module 101, configured to receive first information sent by one or more electronic devices, where the first information is used to request to enter a sleep state;
a sleep cycle determining module 102, configured to determine a sleep cycle according to a data transmission record of each electronic device;
a second information sending module 103, configured to send second information to each electronic device, where the second information includes the sleep cycle;
a sleep module 104, configured to disconnect each of the electronic devices and enter a sleep state based on the sleep cycle.
In one possible implementation manner, the electronic device includes an idle duration, and the first information is determined based on a comparison result between the idle duration and a preset duration.
In one possible implementation manner, the data transmission record includes a heartbeat packet sending time and a heartbeat cycle of the electronic device, and the apparatus 100 further includes:
determining third information based on the heartbeat packet sending time and the heartbeat cycle of each electronic device, wherein the third information is used for requesting to unify the heartbeat packet sending time and the heartbeat cycle of each electronic device;
and sending the third information to each electronic device.
In one possible implementation, the sleep period is equal to the heartbeat period.
In one possible implementation manner, the electronic device includes a static state and an idle state, and the first information is determined based on the static state and the idle state of the electronic device.
In one possible implementation manner, the data transmission record includes idle time lengths of the electronic devices, and the sleep period is determined based on the idle time length of each electronic device.
In one possible implementation manner, the sleep cycle determining module 102 includes:
comparing the idle time of each electronic device;
and determining a sleep cycle based on the minimum value or the least common divisor of the idle time length.
In one possible implementation manner, the apparatus further includes:
acquiring the quantity of the first information and the total number of connections between the communication equipment and the electronic equipment;
comparing the number of the first information with the total number of the connections, and determining whether to perform the transmission of the second information to each of the electronic devices based on the comparison result.
In one possible implementation manner, the second information further includes a sleep request, where the sleep request is used to request each of the second devices to enter a network sleep state.
In one possible implementation manner, the apparatus further includes:
after the sleep period, receiving a connection request sent by one or more electronic devices, and establishing connection with one or more electronic devices based on the connection request.
As shown in fig. 6, the present application provides a terminal 200, where the terminal 200 establishes a connection with a communication device, and the terminal 200 includes:
a first information sending module 201, configured to send first information to the communication device, where the first information is used to request to enter a sleep state;
a second information receiving module 202, configured to receive second information sent by the communication device, where the second information includes a sleep cycle;
a sleep module 203, configured to disconnect the communication device and enter a network sleep state based on the sleep cycle.
In one possible implementation manner, the terminal 200 further includes:
a detection module 204, configured to detect an idle duration of the electronic device without data transmission;
a determining module 205, configured to compare the idle time with a preset time, and determine whether to perform the sending of the first information to the communication device based on a comparison result.
In a possible implementation manner, the communication device includes third information, and the apparatus 200 further includes:
receiving third information sent by the communication equipment, wherein the third information comprises a heartbeat packet sending time and a heartbeat cycle;
judging whether the electronic equipment is in an idle state or not in a historical heartbeat period;
and if the electronic equipment is in an idle state, determining the sending time of the first information based on the sending time of the heartbeat packet.
In one possible implementation, the sleep period is equal to the heartbeat period.
In one possible implementation manner, the apparatus further includes:
acquiring fourth information, wherein the fourth information is used for representing that the electronic equipment is static and has no data transmission;
determining whether to perform the sending of the first information to the communication device based on the fourth information.
In one possible implementation manner, the apparatus further includes:
after the sleep period, sending a connection request to the communication device, the connection request requesting to establish a connection with the communication device.
The embodiment shown in fig. 5 provides a communication apparatus 100 that can be used to implement the technical solution of the method embodiment shown in fig. 2 of the present application, and further reference may be made to the related description in the method embodiment for realizing the principle and technical effect. The terminal 200 provided in the embodiment shown in fig. 6 may be used to execute the technical solution of the method embodiment shown in fig. 4 of the present application, and the implementation principle and the technical effect may further refer to the related description in the method embodiment.
It should be understood that the above division of the communication apparatus shown in fig. 5 or the respective modules in the terminal 200 shown in fig. 6 is merely a division of logical functions, and all or part of the actual implementation may be integrated into one physical entity or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling by the processing element in software, and part of the modules can be realized in the form of hardware. For example, the detection module may be a separately established processing element, or may be integrated into a chip of the electronic device. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors (DSPs), one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, these modules may be integrated together and implemented in the form of a System-On-a-Chip (SOC).
Fig. 7A is a schematic structural diagram of an embodiment of a communication device 800 according to the present application, as shown in fig. 7A, the communication device 800 establishes a connection with one or more electronic devices, where the communication device 800 includes a data transmission record of each electronic device, and the communication device 800 may include:
one or more processors; a memory; and one or more computer programs;
wherein the one or more computer programs are stored in the memory, the one or more computer programs including instructions that, when executed by the apparatus, cause the apparatus to perform the steps of:
receiving first information sent by one or more electronic devices, wherein the first information is used for requesting to enter a sleep state;
determining a sleep cycle according to the data transmission record of each electronic device;
sending second information to each electronic device, wherein the second information comprises the sleep cycle;
and disconnecting each electronic device and entering a sleep state based on the sleep cycle.
In one possible implementation manner, the electronic device includes an idle duration, and the first information is determined based on a comparison result between the idle duration and a preset duration.
In one possible implementation manner, the data transmission record includes a heartbeat packet sending time and a heartbeat cycle of the electronic device, and when the instruction is executed by the device, the device further executes:
determining third information based on the heartbeat packet sending time and the heartbeat cycle of each electronic device, wherein the third information is used for requesting to unify the heartbeat packet sending time and the heartbeat cycle of each electronic device;
and sending the third information to each electronic device.
In one possible implementation, the sleep period is equal to the heartbeat period.
In one possible implementation manner, the electronic device includes a static state and an idle state, and the first information is determined based on the static state and the idle state of the electronic device.
In one possible implementation manner, the data transmission record includes an idle duration of the electronic device, and the sleep cycle is determined based on the idle duration of each electronic device.
In one possible implementation manner, when the instruction is executed by the device, the device is caused to execute the determining of the sleep period according to the data transmission record of each electronic device, including:
comparing the idle time of each electronic device;
and determining a sleep cycle based on the minimum value or the least common divisor of the idle time length.
In one possible implementation manner, when the instruction is executed by the apparatus, the apparatus is further caused to perform:
acquiring the quantity of the first information and the total number of connections between the communication equipment and the electronic equipment;
comparing the number of the first information with the total number of the connections, and determining whether to perform the transmission of the second information to each of the electronic devices based on the comparison result.
In a possible implementation manner, the second information further includes a sleep request, where the sleep request is used to request each of the second devices to enter a network sleep state.
In one possible implementation manner, when the instruction is executed by the apparatus, the apparatus is further caused to perform:
after the sleep period, receiving a connection request sent by one or more electronic devices, and establishing connection with one or more electronic devices based on the connection request.
The communication apparatus 800 shown in fig. 7A may be a circuit apparatus built in the electronic apparatus described above. The apparatus may be used to perform the functions/steps of the method provided by the embodiment of fig. 2 of the present application.
As shown in fig. 7A, the communication device 800 includes a processor 810 and a memory 820. Wherein, the processor 810 and the memory 820 can communicate with each other through the internal connection path to transmit control and/or data signals, the memory 820 is used for storing computer programs, and the processor 810 is used for calling and running the computer programs from the memory 820.
It should be appreciated that the communications device 800 shown in fig. 7A is capable of implementing the processes of the method provided by the embodiment shown in fig. 2 of the present application. The operations and/or functions of the respective modules in the communication device 800 are respectively for implementing the corresponding flows in the above-described method embodiments. Reference may be made specifically to the description of the embodiment of the method illustrated in fig. 2 of the present application, and a detailed description is appropriately omitted herein to avoid redundancy.
As shown in fig. 7B, which is a hardware diagram of the communication device 900, the Processor 910 may include an Application Processor (Application Processor) having functions of processing instructions, executing operations, controlling time or processing data, and a baseband communication Processor (Base Band), and the Application program may include an integrated circuit that extends video functions and a dedicated interface on the basis of a low-power CPU. The application processor may cooperate with analog and hybrid ICs to form a system, for example, the application processor may integrate video codecs, audio ADCs/DACs, power amplifiers, ethernet interfaces, HDMI interfaces, bluetooth modules, Wi-Fi modules, GPS modules, FM modules, power management, and the like. Further, the application processor may be externally connected with DDR (dynamic random access memory) and FLASH (two-dimensional animation software). The baseband communication processor may have two functions, one is to run control codes of the physical layer of the communication protocol; the other is upper layer software that controls the communication protocol, including presentation layer or man-machine interface (MMI), etc.
Further, the communication device 900 may include a key connected to the application processor, a USB, an LED, a Wi-Fi chip, a network port, a FLASH, a DDR, an LCD, a power management unit, a battery connected to the power management unit, a charging and discharging IC, etc., and an RFIC, a PA, a LAN, a SIM card, an antenna, etc., connected to the baseband communication processor, and the battery may provide power required for the operation of the communication device 900.
As shown in fig. 7C, which is a software schematic diagram of the communication device 900, the communication device 900 may include a user interface layer, a configuration management layer, a service management layer, and a driver layer, wherein the user interface layer may include a weibui, an APP, etc., the configuration management layer may include a parameter model, a message mechanism, a database, etc., the service management module may include a routing service, a Wi-Fi service, a low power consumption service, etc., and the driver layer may include a Wi-Fi driver, a USB driver, an LCD driver, etc.
The low power consumption service may execute the communication method provided in the embodiment shown in fig. 2 of the present application, and the low power consumption service may include state machine management, user management, decision control, and the like, where the state machine management may be used to count the current state of each electronic device, such as counting first information sent by the electronic device, and the user management may be used to count information of the Wi-Fi access device and manage the state, and the decision control may be used to control the communication device or all the electronic devices to enter a sleep state, and the like.
That is to say, the user management may record information such as data transmission records of electronic devices currently accessing Wi-Fi or the number of the electronic devices, the state machine management may be configured to receive first information sent by each electronic device and count the number of the received first information, and the decision control may control whether the communication device or all the electronic devices enter the sleep state according to the number of the electronic devices and the number of the first information, and specific steps or principles may refer to the communication method in the embodiment shown in fig. 2 of the present application, which is not described herein again.
Fig. 8 is a schematic structural diagram of an embodiment of an electronic device according to the present application, where as shown in fig. 8, the electronic device establishes a connection with a communication device, and the electronic device may include: a display screen; one or more processors; a memory; a plurality of application programs; and one or more computer programs.
Wherein, the display screen may include a display screen of a vehicle-mounted computer (Mobile Data Center); the electronic equipment can be mobile terminals (mobile phones), smart screens, unmanned aerial vehicles, Intelligent networked vehicles (ICV), smart car (smart/Intelligent car) or Vehicle-mounted equipment and the like.
Wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the steps of:
sending first information to the communication equipment, wherein the first information is used for requesting to enter a dormant state;
receiving second information transmitted by the communication device, the second information including a sleep period;
and disconnecting the communication equipment and entering a network sleep state based on the sleep cycle.
In one possible implementation manner, when the instruction is executed by the apparatus, the apparatus is further caused to perform:
detecting the idle time of the electronic equipment without data transmission;
and comparing the idle time with preset time, and determining whether to execute the sending of the first information to the communication equipment based on the comparison result.
In one possible implementation manner, the communication device includes third information, and when the instruction is executed by the device, the device is caused to perform:
receiving third information sent by the communication equipment, wherein the third information comprises a heartbeat packet sending time and a heartbeat cycle;
judging whether the electronic equipment is in an idle state or not in a historical heartbeat period;
and if the electronic equipment is in an idle state, determining the sending time of the first information based on the sending time of the heartbeat packet.
In one possible implementation, the sleep period is equal to the heartbeat period.
In one possible implementation manner, when the instruction is executed by the apparatus, the apparatus is caused to perform:
acquiring fourth information, wherein the fourth information is used for representing that the electronic equipment is static and has no data transmission;
determining whether to perform the sending of the first information to the communication device based on the fourth information.
In one possible implementation manner, when the instruction is executed by the apparatus, the apparatus is caused to perform:
after the sleep period, sending a connection request to the communication device, the connection request requesting to establish a connection with the communication device.
The electronic device shown in fig. 8 may be a terminal device or a circuit device built in the terminal device. The apparatus may be used to perform the functions/steps of the method provided by the embodiment of fig. 4 of the present application.
As shown in fig. 8, the electronic device 900 includes a processor 910 and a transceiver 920. Optionally, the electronic device 900 may also include a memory 930. The processor 910, the transceiver 920 and the memory 930 may communicate with each other via internal connection paths to transmit control and/or data signals, the memory 930 may be used for storing a computer program, and the processor 910 may be used for calling and running the computer program from the memory 930.
The memory 930 may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a Random Access Memory (RAM), or other types of dynamic storage devices that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disc storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, etc.
Optionally, the electronic device 900 may further include an antenna 940 for transmitting the wireless signal output by the transceiver 920.
The processor 910 and the memory 930 may be combined into a single processing device, or more generally, separate components, and the processor 910 is configured to execute the program code stored in the memory 930 to implement the functions described above. In particular implementations, the memory 930 may be integrated with the processor 910 or may be separate from the processor 910.
In addition, to further improve the functionality of the electronic device 900, the electronic device 900 may further include one or more of an input unit 960, a display unit 970, audio circuitry 980, which may also include a speaker 982, a microphone 984, a camera 990, and sensors 901, among other things. The display unit 970 may include a display screen, among others.
Optionally, the electronic device 900 may further include a power supply 950 for supplying power to various devices or circuits in the terminal device.
It should be appreciated that the electronic device 900 shown in fig. 8 is capable of implementing the processes of the methods provided by the embodiments shown in fig. 4 of the present application. The operations and/or functions of the respective modules in the electronic device 900 are respectively for implementing the corresponding flows in the above-described method embodiments. Reference may be made specifically to the description of the embodiment of the method illustrated in fig. 4 of the present application, and a detailed description is appropriately omitted herein to avoid redundancy.
It should be understood that the processor 910 in the electronic device 900 shown in fig. 8 may be a system on chip SOC, and the processor 910 may include a Central Processing Unit (CPU), and may further include other types of processors, such as: an image Processing Unit (hereinafter, referred to as GPU), and the like.
In summary, various portions of the processors or processing units within the processor 910 may cooperate to implement the foregoing method flows, and corresponding software programs for the various portions of the processors or processing units may be stored in the memory 930.
The application also provides an electronic device, the device includes a storage medium and a central processing unit, the storage medium may be a non-volatile storage medium, a computer executable program is stored in the storage medium, and the central processing unit is connected with the non-volatile storage medium and executes the computer executable program to implement the method provided by the embodiment shown in fig. 2 or fig. 4 of the present application.
In the above embodiments, the processors may include, for example, a CPU, a DSP, a microcontroller, or a digital Signal processor, and may further include a GPU, an embedded Neural Network Processor (NPU), and an Image Signal Processing (ISP), and the processors may further include necessary hardware accelerators or logic Processing hardware circuits, such as an ASIC, or one or more integrated circuits for controlling the execution of the program according to the technical solution of the present application. Further, the processor may have the functionality to operate one or more software programs, which may be stored in the storage medium.
Embodiments of the present application further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the method provided by the embodiment shown in fig. 2 or fig. 4 of the present application.
Embodiments of the present application also provide a computer program product, which includes a computer program, when the computer program runs on a computer, causing the computer to execute the method provided by the embodiments shown in fig. 2 or fig. 4 of the present application.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of 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, any function, if implemented in the form of a software functional unit and sold or used as a separate 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: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (19)

1. A communication method applied to a communication device, the communication device establishing a connection with one or more electronic devices, the communication device including a data transmission record of each electronic device, the method comprising:
receiving first information sent by one or more electronic devices, wherein the first information is used for requesting to enter a sleep state;
determining a sleep cycle according to the data transmission record of each electronic device;
sending second information to each electronic device, wherein the second information comprises the sleep cycle;
and disconnecting each electronic device and entering a sleep state based on the sleep cycle.
2. The method of claim 1, wherein the electronic device comprises an idle duration, and wherein the first information is determined based on a comparison of the idle duration with a preset duration.
3. The method of claim 1, wherein the data transmission record includes a heartbeat packet transmission time and a heartbeat cycle of the electronic device, and wherein prior to said receiving the first information transmitted by one or more of the electronic devices, the method further comprises:
determining third information based on the heartbeat packet sending time and the heartbeat cycle of each electronic device, wherein the third information is used for requesting to unify the heartbeat packet sending time and the heartbeat cycle of each electronic device;
and sending the third information to each electronic device.
4. The method of claim 3, wherein the sleep period is equal to the heartbeat period.
5. The method of claim 1, wherein the electronic device comprises a stationary state and an idle state, and wherein the first information is determined based on the stationary state and the idle state of the electronic device.
6. The method of claim 1, wherein the data transmission record comprises an idle duration of the electronic device, and wherein the sleep period is determined based on the idle duration of each of the electronic devices.
7. The method of claim 6, wherein determining the sleep period based on the data transmission record of each of the electronic devices comprises:
comparing the idle time of each electronic device;
and determining a sleep cycle based on the minimum value or the least common divisor of the idle time length.
8. The method of claim 1, wherein prior to said sending second information to each of said electronic devices, said method further comprises:
acquiring the quantity of the first information and the total number of connections between the communication equipment and the electronic equipment;
comparing the number of the first information with the total number of the connections, and determining whether to perform the transmission of the second information to each of the electronic devices based on the comparison result.
9. The method of claim 1, wherein the second information further comprises a sleep request requesting each of the second devices to enter a network sleep state.
10. The method of any of claims 1-9, wherein after said disconnecting the connection to each of the electronic devices, entering a sleep state based on the sleep period, the method further comprises:
after the sleep period, receiving a connection request sent by one or more electronic devices, and establishing connection with one or more electronic devices based on the connection request.
11. A communication method is applied to electronic equipment, the electronic equipment establishes connection with communication equipment, and the method is characterized by comprising the following steps:
sending first information to the communication equipment, wherein the first information is used for requesting to enter a dormant state;
receiving second information transmitted by the communication device, the second information including a sleep period;
and disconnecting the communication equipment and entering a network sleep state based on the sleep cycle.
12. The method of claim 11, wherein prior to said sending the first information to the communication device, the method further comprises:
detecting an idle time of the electronic equipment;
and comparing the idle time with a preset time, and determining whether to execute the sending of the first information to the communication equipment based on the comparison result.
13. The method of claim 11, wherein the communication device includes third information, and wherein prior to the sending the first information to the communication device, the method further comprises:
receiving third information sent by the communication equipment, wherein the third information comprises a heartbeat packet sending time and a heartbeat cycle;
judging whether the electronic equipment is in an idle state or not in a historical heartbeat period;
and if the electronic equipment is in an idle state, determining the sending time of the first information based on the sending time of the heartbeat packet.
14. The method of claim 13, wherein the sleep period is equal to the heartbeat period.
15. The method of claim 11, wherein prior to said sending the first information to the communication device, the method further comprises:
acquiring fourth information, wherein the fourth information is used for representing that the electronic equipment is static and has no data transmission;
determining whether to perform the sending of the first information to the communication device based on the fourth information.
16. The method of any of claims 11 to 15, wherein after said disconnecting the connection to the communication device, entering a sleep state based on the sleep period, the method further comprises:
after the sleep period, sending a connection request to the communication device, the connection request requesting to establish a connection with the communication device.
17. A communication device that establishes a connection with one or more electronic devices, the communication device including a data transmission record for each of the electronic devices, the communication device comprising:
one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the communication device, cause the communication device to perform the method of any of claims 1 to 10.
18. An electronic device that establishes a connection with a communication device, the electronic device comprising:
one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the electronic device, cause the electronic device to perform the method of any of claims 11-16.
19. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method according to any one of claims 1 to 16.
CN202011622741.5A 2020-12-31 2020-12-31 Communication method and apparatus Pending CN114698069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011622741.5A CN114698069A (en) 2020-12-31 2020-12-31 Communication method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011622741.5A CN114698069A (en) 2020-12-31 2020-12-31 Communication method and apparatus

Publications (1)

Publication Number Publication Date
CN114698069A true CN114698069A (en) 2022-07-01

Family

ID=82134984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011622741.5A Pending CN114698069A (en) 2020-12-31 2020-12-31 Communication method and apparatus

Country Status (1)

Country Link
CN (1) CN114698069A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024012443A1 (en) * 2022-07-14 2024-01-18 华为技术有限公司 Method and system for controlling power consumption of device, and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626593A (en) * 2009-07-03 2010-01-13 深圳市宏电技术股份有限公司 Method, system and terminal for controlling CDMA service channel
CN102076067A (en) * 2010-12-23 2011-05-25 北京星网锐捷网络技术有限公司 Sleeping method, device and equipment of station and communication system
CN103096419A (en) * 2011-10-31 2013-05-08 华为技术有限公司 Management method and accessing point of terminal and terminal
CN104378809A (en) * 2013-08-15 2015-02-25 华为终端有限公司 Power loss lowering method, Wi-Fi main controller and Wi-Fi gateway
CN104469915A (en) * 2014-12-24 2015-03-25 北京极科极客科技有限公司 Intelligent sleep method and device for wireless router
KR101537895B1 (en) * 2014-03-04 2015-07-17 한국과학기술원 Method and apparatus for controlling sleep mode of wifi access point
CN106376012A (en) * 2015-07-24 2017-02-01 中兴通讯股份有限公司 Method and device for controlling wireless access point equipment
CN107172633A (en) * 2017-06-09 2017-09-15 上海斐讯数据通信技术有限公司 The condition control method and wireless router of a kind of router
CN110677903A (en) * 2019-10-28 2020-01-10 华为终端有限公司 Dormancy control method, device, medium and system for wireless access equipment and wireless access equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626593A (en) * 2009-07-03 2010-01-13 深圳市宏电技术股份有限公司 Method, system and terminal for controlling CDMA service channel
CN102076067A (en) * 2010-12-23 2011-05-25 北京星网锐捷网络技术有限公司 Sleeping method, device and equipment of station and communication system
CN103096419A (en) * 2011-10-31 2013-05-08 华为技术有限公司 Management method and accessing point of terminal and terminal
CN104378809A (en) * 2013-08-15 2015-02-25 华为终端有限公司 Power loss lowering method, Wi-Fi main controller and Wi-Fi gateway
KR101537895B1 (en) * 2014-03-04 2015-07-17 한국과학기술원 Method and apparatus for controlling sleep mode of wifi access point
CN104469915A (en) * 2014-12-24 2015-03-25 北京极科极客科技有限公司 Intelligent sleep method and device for wireless router
CN106376012A (en) * 2015-07-24 2017-02-01 中兴通讯股份有限公司 Method and device for controlling wireless access point equipment
CN107172633A (en) * 2017-06-09 2017-09-15 上海斐讯数据通信技术有限公司 The condition control method and wireless router of a kind of router
CN110677903A (en) * 2019-10-28 2020-01-10 华为终端有限公司 Dormancy control method, device, medium and system for wireless access equipment and wireless access equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024012443A1 (en) * 2022-07-14 2024-01-18 华为技术有限公司 Method and system for controlling power consumption of device, and electronic device

Similar Documents

Publication Publication Date Title
US9414311B2 (en) Systems and methods for power savings in wireless communications
US10193933B2 (en) System and method for post-discovery communication within a neighborhood-aware network
TWI408921B (en) Method for operating a wireless network
EP2069953B1 (en) Ad-hoc network power save system and method
KR20150058293A (en) System and method for advertising and communicating within a neighborhood aware network
US10136385B2 (en) Information processing device and information processing method
US9407497B2 (en) Communication terminal
KR101974514B1 (en) Electronic device having two processors to process data
US20230164868A1 (en) Method for changing rrc state, communication apparatus, and storage medium
US20220312292A1 (en) Method and device for cell handover
CN107409356B (en) Information processing apparatus, information processing method, and computer program
CN114698069A (en) Communication method and apparatus
TW201642690A (en) Communication device and communication method
CN111615143B (en) Information reporting method, information receiving method, terminal and network control entity
CN110036688A (en) Communication device, communication means and program
EP4319207A1 (en) Communication method and apparatus, and related device
US20220272778A1 (en) Sidelink interface radio bearer configuration method, terminal and network device
JP6950688B2 (en) Wireless communication device and wireless communication method
US20240089827A1 (en) Method and apparatus for processing basic service set identifier, and computer storage medium
US20220408469A1 (en) Downlink control information configuration method and apparatus, and communication device and storage medium
CN108353274A (en) Communication device and communication means
JPWO2019102724A1 (en) Communication equipment, programs and communication methods
US20240040635A1 (en) Electronic device including target wake time (twt) monitoring module and method for controlling target wake time (twt) by using same
US20240022951A1 (en) Method for transmitting data, communication device, and storage medium
WO2023069995A1 (en) Methods of low power on ear-buds in a btoip (wi-fi) topology

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