Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Offline detection method and device and computer readable memory medium

An offline detection and storage medium technology, applied in the field of communication, can solve the problem of long time-consuming offline detection

Inactive Publication Date: 2018-09-21
MIDEA GRP CO LTD +1
View PDF5 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide an off-line detection method, device and computer-readable storage medium, aiming at solving the technical problem that offline detection takes a long time

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
  • Offline detection method and device and computer readable memory medium
  • Offline detection method and device and computer readable memory medium
  • Offline detection method and device and computer readable memory medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0078] refer to figure 2 , the first embodiment of the offline detection of the present invention, the offline detection method includes:

[0079] Step S10, sending heartbeat data packets every first preset time interval.

[0080] Step S20, after sending the first heartbeat data packet, receiving a response signal of the heartbeat data packet.

[0081] When the heartbeat data packet or communication data sent by the server does not receive a response signal from the receiving terminal, the server starts the offline detection mode in the heartbeat detection. In the offline detection mode, the heartbeat data packet is sent every first preset time interval, and the response information of the heartbeat data packet is received after sending the first heartbeat data packet, so as to detect whether the heartbeat data packet is sent successfully. Here, the first preset time interval for sending the heartbeat data packet is shorter than the time interval for regularly sending the h...

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 invention discloses an offline detection method, comprising the steps of sending heartbeat data packets every other first preset time interval, wherein after the heartbeat data packets are sent for preset times, the sending of the heartbeat data packets is stopped; receiving a response signal of the heartbeat data packet after a first heartbeat data packet is sent; and judging that a terminalreceiving the heartbeat data packet is in an offline state when the response signal is not received within a second preset time interval, wherein the second preset time interval is greater than the sum of the total first preset time intervals among the heartbeat data packets and the response duration of the heartbeat data packets. The invention also discloses an offline detection device and a computer readable memory medium. The preset times of heartbeat data packets are sent every other preset time, and after all data packets are sent completely, whether the response signals of the heartbeatdata packets are received or not is uniformly detected in certain time interval, so whether the terminal is in the offline state or not is judged, and the offline detection speed and efficiency are improved.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to an off-line detection method, device and computer-readable storage medium. Background technique [0002] With the development of science and technology, smart home appliances are gradually diversified. A set of visual PAD tablets are embedded in many smart home appliances as the user's control interface to upload user data. In order for the smart home appliances to exchange data with the server in real time, a long connection between the home appliance and the server is maintained to ensure the stable online of the home appliance. [0003] A set of heartbeat detection mechanisms are often used in long-term connections, and the method of regularly sending heartbeat packets is used to judge the connection status of the terminal, so as to ensure that the server can discover the online and offline scenarios of the terminal. The offline detection method in the heartbeat...

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 Applications(China)
IPC IPC(8): H04L12/26
CPCH04L43/0811H04L43/10
Inventor 袁秀东杨俊彭小生
Owner MIDEA GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products