Title:
METHOD AND DEVICE FOR RECONNECTING PUSH SERVICE
Document Type and Number:
WIPO Patent Application WO/2019/218480
Kind Code:
A1
Abstract:
The present application is applicable in the technical field of the internet. Provided are a method and device for reconnecting a push service, comprising: if a push service start instruction is received, then activating an exception reconnection monitor; adding a communication link to a listened object list of an application environment collecting thread, and acquiring an operating parameter of the communication link via the application environment collecting thread; calling the exception reconnection listener to extract the operating parameter from an output signal of the application environment collecting thread, and determining an exception index of the operating parameter; if the exception index is greater than an exception threshold, then executing a reconnection operation on the basis of a reconnection response parameter, and acquiring a post-reconnection exception index until the post-reconnection exception index is less than or equal to the exception threshold. The embodiments of the present application obviate the reliance on a looping task under a main thread to detect an exception of the communication link, thus releasing a large amount of resources originally used for maintaining the looping task, and increasing the efficiency of the reconnection operation.
More Like This:
Inventors:
CHENG HUILIN (CN)
LIU DECHAO (CN)
LIU DECHAO (CN)
Application Number:
PCT/CN2018/097553
Publication Date:
November 21, 2019
Filing Date:
July 27, 2018
Export Citation:
Assignee:
PING AN TECH SHENZHEN CO LTD (CN)
International Classes:
H04L12/24; H04L12/26; H04L29/08
Foreign References:
CN107645517A | 2018-01-30 | |||
CN107645517A | 2018-01-30 | |||
CN106060846A | 2016-10-26 | |||
CN106060846A | 2016-10-26 | |||
US9197575B2 | 2015-11-24 | |||
CN103139818A | 2013-06-05 |
Attorney, Agent or Firm:
SHENZHEN ZHONGYI PATENT AND TRADEMARK OFFICE (CN)
Download PDF:
Previous Patent: METHOD AND DEVICE FOR SENDING INFORMATION
Next Patent: SPEECH SYNTHESIS METHOD, SYSTEM, AND TERMINAL APPARATUS
Next Patent: SPEECH SYNTHESIS METHOD, SYSTEM, AND TERMINAL APPARATUS