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

A communication network connection method and an apparatus thereof

A technology for network connection and communication network, which is applied in the field of communication network connection method and device, and can solve problems such as the inability to meet the high requirements of the real-time performance of the communication network.

Active Publication Date: 2013-10-02
BEIJING SOHU NEW MEDIA INFORMATION TECH
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the failure recovery mechanism of periodic reconnection introduces additional processing overhead, especially when the underlying network failure lasts for a long time, this periodic reconnection mechanism will lead to many unnecessary reconnection operations
[0005] In addition, when using the periodic reconnection network mechanism for reconnection, a reconnection time interval must be set. For instantaneous network failures, such as network flash failures caused by abnormal switches or network cards, it is also necessary to wait for a reconnection The network connection can only be restored after a certain time interval, which cannot meet the high real-time requirements of the communication network

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
  • A communication network connection method and an apparatus thereof
  • A communication network connection method and an apparatus thereof
  • A communication network connection method and an apparatus thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] see figure 1 , which is a method flowchart of a communication network connection method disclosed in Embodiment 1 of the present application, the method includes the following steps:

[0047] S1: When the upper layer application needs to perform data transmission, send the required network connection status information and the required data transmission to the network communication library;

[0048] The network communication library refers to the asynchronous network communication library, which is a network communication framework that encapsulates socket communication into an asynchronous message transmission mode in order to simplify network programming. The distributed system provides an interface for large-scale file storage and access for upper-level applications to provide fast and convenient communication. There are various types of upper-layer applications, and different upper-layer applications have different functions to complete different data processing. ...

Embodiment 2

[0065] The following explains the invented network connection method with specific application scenarios, specifically: the upper-layer application is the mail sender 1, and the current task is to send an email to the mail receiver 2. For specific methods, please refer to figure 2 , which is a method flowchart of a communication network connection method disclosed in Embodiment 2 of the present application, and the method includes the following steps:

[0066] Step 201: When the email sender 1 needs to perform data transmission, send the required network connection status information and the required data to be transmitted to the network communication library;

[0067] When the mail sending end 1 needs to send mail to the mail receiving end 2, it sends the status information of the network connection between the mail sending end 1 and the mail receiving end 2 and the mail data to be transmitted to the network communication library.

[0068] When the mail sending end 1 establi...

Embodiment 3

[0084] Corresponding to the communication network connection method in the first embodiment above, this embodiment of the present application provides a communication network connection device. see image 3 , which is a device structure diagram of a communication network connection device disclosed in Embodiment 3 of the present application. The device includes: a sending module 301, a detection module 302, a checking module 303, a first processing module 304, a second processing Connection module 306, update module 307 and storage module 308. The following will further introduce its internal structure and connection relationship in combination with the working principle of the device.

[0085] The sending module 301 is used for sending the status information of the required network connection and the data to be transmitted to the network communication library when the upper layer application needs to perform data transmission;

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 embodiment of the invention discloses a communication network connection method and an apparatus thereof. Specifically, the method comprises the following steps: when an upper layer application needs to carry out data transmission, needed state information of network connection and data which needs to be transmitted are sent to a network communication database; connection state at present is detected to see whether the connection state is normal according to the state information; When the connection state is normal, a retransmission request queue is detected to see whether a transmission request which needs to be retransmitted exist; different treatments are carried out according to detected results; when the connection state is abnormal, a network connection is reestablished; if the reestablishment is successful, the connection state in state information is updated to be normal, and corresponding data transmission processing is carried out; if the reestablishment fails, the present transmission request is stored in the retransmission request queue. The connection method can reduce network reconnection operations, avoid unnecessary recovery operations. At the same time, the connection method can minimize the influence on the application by fault recovery, and improve real-time performance of the communication network.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a communication network connection method and device. Background technique [0002] A distributed system is a software system built on top of a network. It is precisely because of the characteristics of software that distributed systems are highly cohesive and transparent. Cohesion means that each database distribution node is highly autonomous and has a local database management system. Transparency means that each database distribution node is transparent to user applications, and it is impossible to tell whether it is local or remote. In a distributed database system, the user does not feel that the data is distributed, that is, the user does not need to know whether it is divided, whether there is a copy, which site the data is stored on, and which site the transaction is executed on. Based on the above advantages, distributed systems have been widely develop...

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
IPC IPC(8): H04L12/24H04L1/18
Inventor 李剑宇
Owner BEIJING SOHU NEW MEDIA INFORMATION TECH
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