Method and device of data communication

A data communication and data packet technology, applied in the network field, can solve problems such as data packets cannot be received normally, data packets are lost, etc.

Active Publication Date: 2015-04-29
XFUSION DIGITAL TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the period from the migration of a service process to the end of the migration of the service process (that is, the service process is re-established on the standby node), the data packet cannot be received normally, but the client will not realize it The data packets sent were not received normally, so the data packets sent by the client during this period will be lost

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 device of data communication
  • Method and device of data communication
  • Method and device of data communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0029] The embodiment of the present invention provides a socket-based data communication method, such as figure 1 As shown, the method includes the following steps:

[0030] Step S101: After receiving the data packet sent by the client, look for the host socket of the data packet;

[0031] Step S102: Find the data packet at the end of the r...

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 provides a method of data communication and a device of data communication based on the socket. The method includes searching a host socket of a data package after the data package sent by a client is received, searching a tail end data package of a receive queue of the host socket, judging a checking point zone bit of the tail end data package is set as a value which shows that the content of the receive queue is saved in a check point file by a check point process or not. If the checking point zone bit of the tail end data package is set as the value which shows that the content of the receive queue is saved in the check point file by the check point process, and then the received data package is discarded directly.

Description

technical field [0001] The invention belongs to the field of network technology, and in particular relates to a data communication method and device. Background technique [0002] With the rapid development of current network technology, many traditional services have been transferred to the network environment for implementation, such as financial transactions and enterprise management. Due to the fragility of the network environment, the server often needs to be maintained. Once the server is in the maintenance state, if the necessary measures are not taken, the services provided will be interrupted for a long time. For enterprise-level applications, such a long service interruption is unacceptable. [0003] In order to overcome the above-mentioned problems, today's high-availability clusters enable server systems to run uninterrupted, and the server systems generally consist of two or more nodes. If a node needs maintenance, the service process on the node will be migra...

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/08
Inventor 赵琪杨振章
Owner XFUSION DIGITAL 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