Method and electronic device for reconnecting cloud server

A cloud server and reconnection technology, applied in the field of communications, can solve the problems of cloud exception, unrecoverable, cloud performance impact, etc., and achieve the effect of reducing performance impact, restoring communication, and reducing pressure

Active Publication Date: 2021-08-20
HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The disadvantage of this reconnection mechanism is that if there is an abnormality in the cloud, all devices connected to the cloud will disconnect the MQTT connection at the same time, and then initiate an MQTT connection at the same time in the next second. When the number of devices is large, a large number of Simultaneous MQTT connections initiated by the device will have a great performance impact on the cloud, which may cause the cloud to continue to be abnormal and unable to recover

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and electronic device for reconnecting cloud server
  • Method and electronic device for reconnecting cloud server
  • Method and electronic device for reconnecting cloud server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures indicate functionally identical or similar elements. While various aspects of the embodiments are shown in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.

[0052] The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.

[0053] The term "and / or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations. In addition, the term "at least one" herein mean...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present disclosure relates to a method and electronic device for reconnecting to a cloud server, which includes: in response to disconnecting from the cloud server, determining the cause of the disconnection failure; based on the determined cause of the failure, according to a time strategy corresponding to the cause of the failure Perform network status detection until the fault is eliminated; send a reconnection request to the cloud server to re-establish a network connection with the cloud server. Embodiments of the present disclosure can reduce performance impact on the cloud.

Description

technical field [0001] The present disclosure relates to the communication field, and in particular, to a method for reconnecting to a cloud server and an electronic device. Background technique [0002] The MQTT (Message Queue Telemetry Transmission) protocol is used for real-time communication between the device and the cloud. When the device disconnects from MQTT due to local network reasons or cloud abnormalities, the device will generally re-initiate the MQTT connection in the next second in order to restore the connection with the cloud as soon as possible. MQTT communication. [0003] The disadvantage of this reconnection mechanism is that if there is an abnormality in the cloud, all devices connected to the cloud will disconnect the MQTT connection at the same time, and then initiate an MQTT connection at the same time in the next second. When the number of devices is large, a large number of Simultaneous MQTT connections initiated by the device will have a great im...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08H04L12/24
CPCH04L41/0631H04L41/064H04L41/0654H04L67/141
Inventor 常城
Owner HANGZHOU TUYA INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products