Method for automatically having access to network

An automatic connection and network technology, applied in the direction of data exchange network, digital transmission system, electrical components, etc., can solve the problems of manual setting of connection IP, troublesome setting, low efficiency, etc., achieve active and convenient connection mode, and realize rapidity Effect

Inactive Publication Date: 2014-06-18
广州市纬志电子科技有限公司
View PDF15 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

So inefficient and cumbersome to set up
[0003] There are two main Ethernet communication methods, TCP and UDP. Today, the Internet mainly uses TCP technology. Its advantage is that once the connection is established, it is very stable, but the connection IP must be manually set.
UDP is based on the principle of one-to-many communication, which sends a command to all devices in multiple systems, but not all devices can receive the command accurately, that is, the success rate of device reception cannot reach 100%, resulting in some devices failing Can establish a normal data connection with the system

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 for automatically having access to network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0014] A method of automatically connecting to the network, including:

[0015] The server starts UDP to broadcast and sends UDP packets; (Step 1)

[0016] The client receives the UDP packet and obtains the IP address of the server from it; (Step 2)

[0017] According to the server's IP address, establish a TCP network connection. (Step Three)

[0018] Preferably, before executing the step of starting UDP on the server side for broadcasting a...

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 for automatically having access to the network. The method includes the steps that a server terminal starts a UDP to conduct broadcasting and sends a UDP information packet; a client terminal receives the UDP information packet and obtains the IP address of a server from the UDP information packet; according to the IP address of the server, TCP network connecting is built. By means of the method for automatically having access to the network, positive registering, reconnection after offline and intelligent heartbeats are achieved.

Description

Technical field [0001] The invention relates to a network connection mode, in particular to a method for automatically connecting to a network. Background technique [0002] At present, when the computer is connected to the Internet to set an IP address, two methods are generally adopted, namely, automatic acquisition of IP technology or setting of a designated IP address. Under normal circumstances, customers will choose to automatically obtain an IP address. After a device is connected to the LAN, both the server and the client must query each other to determine their IP, and set the connection IP to achieve a server connection Multiple clients, these generally need to be set one by one on the client. So inefficient and troublesome to set up. [0003] There are two main methods of Ethernet communication: TCP and UDP. Nowadays, the Internet mainly uses TCP technology. Its advantage is that once the connection is established, it is very stable, but the connection IP must be manua...

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): H04L29/06H04L12/24
Inventor 刘志徽
Owner 广州市纬志电子科技有限公司
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