Method for heartbeat packet processing by using proxy, apparatus, and communications system

US10425318B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10425318-B2
Application numberUS-201715476033-A
CountryUS
Kind codeB2
Filing dateMar 31, 2017
Priority dateApr 1, 2016
Publication dateSep 24, 2019
Grant dateSep 24, 2019

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The embodiments of the present invention provide a method for heartbeat packet processing by using a proxy, an apparatus, and a communications system. The method includes: receiving, by a host, a first heartbeat packet sent by a first application in a client, where the client is a terminal that accesses the host by using a short range communications technology; and determining, by the host according to the first heartbeat packet and a first preset list, whether the first application is included in the first preset list. Thus, an objective of saving power for the host and the client can be achieved.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for heartbeat packet processing by using a proxy, applied to a host, the method comprising: receiving, by the host, a first heartbeat packet sent by a first application in a client, wherein the client is a terminal that accesses the host by using a short range communications technology including near field communication, infrared, and Bluetooth; determining, by the host according to the first heartbeat packet and a first preset list, whether the first application is comprised in the first preset list, wherein the first preset list comprises at least one preset application for which the host performs heartbeat packet processing by using a proxy; when the first application is comprised in the first preset list, determining, by the host, first heartbeat time information of the first application according to the first heartbeat packet, the determining, by the host, the first heartbeat time information comprising at least one of: determining, by the host according to the first heartbeat packet and a second preset list, the first heartbeat time information, wherein the second preset list comprises a correspondence between at least one heartbeat packet and at least one piece of heartbeat time information; and when the first heartbeat packet carries the first heartbeat time information, parsing, by the host, the first heartbeat packet to obtain the first heartbeat time information; and performing, by the host, time synchronization between the first heartbeat time information and second heartbeat time information of a second application in the host, and sending a second heartbeat packet to a server on a network side by using the time-synchronized second application as a proxy for the first application. 2. The method according to claim 1 , wherein the first heartbeat time information comprises a first heartbeat trigger time and a first time interval, and the second heartbeat time information comprises a second heartbeat trigger time and a second time interval. 3. The method according to claim 1 , wherein the host further comprises a third preset list, the third preset list comprising at least one application for which the host does not perform heartbeat packet processing by using a proxy, the method further comprising: when neither the first preset list nor the third preset list comprises the first application, performing, by the host, time synchronization between the first heartbeat time information and the second heartbeat time information of the second application in the host within a preset adjustment time or for not more than a preset quantity of adjustment times, and sending the second heartbeat packet to the server on the network side by using the time-synchronized second application as a proxy for the first application, to maintain a persistent connection between the first application and the server. 4. The method according to claim 3 , further comprising: when the third preset list comprises the first application, skipping sending, by the host, the second heartbeat packet to the server on the network side by using a proxy for the first application. 5. The method according to claim 1 , wherein determining, by the host according to the first heartbeat packet and the first preset list, whether the first application is comprised in the first preset list comprises: determining a name of the first application according to the first heartbeat packet; and comparing the name of the first application with a name in the first preset list, to determine whether the first application is comprised in the first preset list, wherein the first preset list comprises a name of the at least one application for which the host performs heartbeat packet processing by using a proxy. 6. The method according to claim 1 , further comprising, after the sending a second heartbeat packet to a server on a network side by using a proxy for the first application: sending, by the host to the client, indication information for instructing the host to perform heartbeat packet processing by using a proxy for the first application. 7. A method for heartbeat packet processing by using a proxy, applied to a host, the method comprising: receiving, by the host, a first heartbeat packet sent by a first application in a client, wherein the client is a terminal that accesses the host by using a short range communications technology including near field communication, infrared, and Bluetooth; when the first application is comprised in a first preset list, determining first heartbeat time information of the first application according to the first heartbeat packet, the determining, by the host, the first heartbeat time information comprising at least one of: determining, according to the first heartbeat packet and a second preset list, the first heartbeat time information, wherein the second preset list comprises a correspondence between at least one heartbeat packet and at least one piece of heartbeat time information; and when the first heartbeat packet carries the first heartbeat time information, parsing, the first heartbeat packet to obtain the first heartbeat time information; and adjusting, by the host, a first heartbeat time information of the first heartbeat packet to perform at least one of time synchronization with second heartbeat time information of a second application in the host within a preset adjustment time and time synchronization with the second heartbeat time information of the second application in the host for not more than a preset quantity of adjustment times, and sending a second heartbeat packet to a server on a network side by using the time-synchronized second application as a proxy for the first application. 8. The method according to claim 7 , wherein the first heartbeat time information comprises a first heartbeat trigger time and a first time interval, and the second heartbeat time information comprises a second heartbeat trigger time and a second time interval. 9. The method according to claim 7 , wherein the receiving, by the host, a first heartbeat packet sent by a first application in a client comprises: receiving, by the host, an encapsulated packet that is sent by the client; and obtaining, by the host, the first heartbeat packet that is of the first application and that is in the encapsulated packet by detecting the encapsulated packet. 10. The method according to claim 7 , further comprising, after the sending a second heartbeat packet to a server on a network side by using a proxy for the first application: sending, by the host, to the client, indication information for instructing the host to perform heartbeat packet processing by using a proxy for the first application. 11. An apparatus, comprising: a receiver; a transmitter; a processor; and a non-transitory computer-readable storage medium including computer-executable instructions executed by the processor to perform operations comprising: receiving, by the receiver, a first heartbeat packet sent by a first application in a client, wherein the client is a terminal that accesses the apparatus by using a short range communications technology including near field communication, infrared, and Bluetooth; determining, according to the first heartbeat packet received by the receiver and a first preset list, whether the first application is comprised in the first preset list, wherein the first preset list comprises at least one preset application for which the apparatus performs heartbeat packet processing by using a proxy; when the first application is comprised in the first preset list, determining first heartbeat time information of the first application according to the first heartbeat packet,

Assignees

Inventors

Classifications

  • Distributed intermediate devices, i.e. intermediate devices for interaction with other intermediate devices on the same level · CPC title

  • Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication · CPC title

  • H04L43/00Primary

    Arrangements for monitoring or testing data switching networks · CPC title

  • H04L43/106Primary

    using time related information in packets, e.g. by adding timestamps · CPC title

  • Synchronization between nodes · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10425318B2 cover?
The embodiments of the present invention provide a method for heartbeat packet processing by using a proxy, an apparatus, and a communications system. The method includes: receiving, by a host, a first heartbeat packet sent by a first application in a client, where the client is a terminal that accesses the host by using a short range communications technology; and determining, by the host acco…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L43/00. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Sep 24 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).