CN107196959A - A kind of method that instant communication client finds server address - Google Patents

A kind of method that instant communication client finds server address Download PDF

Info

Publication number
CN107196959A
CN107196959A CN201710475801.7A CN201710475801A CN107196959A CN 107196959 A CN107196959 A CN 107196959A CN 201710475801 A CN201710475801 A CN 201710475801A CN 107196959 A CN107196959 A CN 107196959A
Authority
CN
China
Prior art keywords
server
address
client
broadcasting packet
lan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710475801.7A
Other languages
Chinese (zh)
Inventor
林坚华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Xinda Jiuzhou Science And Technology Co Ltd
Original Assignee
Zhuhai Xinda Jiuzhou Science And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Xinda Jiuzhou Science And Technology Co Ltd filed Critical Zhuhai Xinda Jiuzhou Science And Technology Co Ltd
Priority to CN201710475801.7A priority Critical patent/CN107196959A/en
Publication of CN107196959A publication Critical patent/CN107196959A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

Technical scheme includes a kind of method that instant communication client finds server address, it is characterised in that this method includes:Broadcasting packet is sent first in LAN using any one client, if receiving the address of server transmission, corresponding server address is then recorded, if not receiving the address of server transmission, the IP address inputted according to user is attached to corresponding server;The IP address that client is obtained and filled in is reported to cloud dns server;When subsequent client needs login service device, broadcasting packet is sent, according to having logged in address registration that client or/cloud dns server feed back to corresponding server.Beneficial effects of the present invention are:This invention can be accessed in LAN machine in the case of outer net, and all users of optimal result can obtain server log address automatically;Greatly reduction user deployment uses threshold.

Description

A kind of method that instant communication client finds server address
Technical field
The present invention relates to a kind of method that instant communication client finds server address, belong to computer communication field.
Background technology
Already present enterprise instant communication system client manually fills in server address substantially in the market, for Large enterprises, client terminal quantity is huge, and each User logs in is required for filling in server ip, inconvenient operation, while easily occurring Input error, to using bringing very big inconvenience.
The content of the invention
In view of the shortcomings of the prior art, technical scheme provides a kind of instant communication client and finds server The method of address, the problem for solving existing multi-client connection server inconvenience.
Technical scheme includes a kind of method that instant communication client finds server address, and its feature exists In this method includes:A. broadcasting packet is sent first in LAN using any one client, if receiving server transmission Address, then record corresponding server address, if do not receive server transmission address, the IP inputted according to user Address is attached to corresponding server;B. the IP address for client being obtained and being filled in is reported to cloud dns server;C. When subsequent client needs login service device, broadcasting packet is sent, is fed back according to client or/cloud dns server has been logged in Address registration to corresponding server.
The method that server address is found according to described instant communication client, wherein step A includes what is first logged into Client sends broadcasting packet to LAN;Server implementation monitors LAN, is received simultaneously if broadcasting packet is monitored IP address is sent to corresponding client according to message information;Client is received to IP address, and generates server log Configuration file;The IP address inputted if the IP address of server feedback is not received according to user is connected to corresponding service Device, while generating server log configuration file.
The method that server address is found according to described instant communication client, wherein step C also includes:Subsequent clients When end is logged in, broadcasting packet is sent to LAN first;The client of login service device is received to broadcasting packet, is entered And, return to server ip address;Subsequent client logs in given server according to the IP address of return and generates server log Configuration file.
The method that server address is found according to described instant communication client, wherein step C also includes:Subsequent clients When end is logged in, broadcasting packet is sent to LAN first;Cloud dns server obtains broadcasting packet and inquires about the server stored IP address, and then, corresponding server ip address is returned to, wherein when cloud dns server inquires about IP address information without submitting Client-side information;Subsequent client logs in given server according to the IP address of return and generates server log configuration file.
The method that server address is found according to described instant communication client, it is characterised in that:The cloud DNS service The broadcasting packet that device is sent to client is parsed, and obtains IP and/or http protocol packet header, enters to obtain to send client IP, and then server ip address is sent to client ip address.
Beneficial effects of the present invention are:This invention can be accessed in LAN machine in the case of outer net, and optimal result institute is useful Family can obtain server log address automatically.Only first user of worst result needs to fill in server log address, after The user in face can get automatically, and greatly reduction user deployment uses threshold.
Brief description of the drawings
Fig. 1 show the overview flow chart according to embodiment of the present invention;
Fig. 2 show according to the local area network client of embodiment of the present invention and to interact timing diagram with LAN server;
Fig. 3 show the interaction timing diagram between the local area network client according to embodiment of the present invention;
Fig. 4 show according to the local area network client of embodiment of the present invention and to interact timing diagram to cloud dns server.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings with specific embodiment pair The present invention is described in detail.The instant communication client of the present invention finds that the method for server address is applied to LAN client Hold quick and automatic connection server.
Fig. 1 show the overview flow chart according to embodiment of the present invention.It includes:Using any one end in LAN Broadcasting packet is inside sent first, if receiving the address of server transmission, corresponding server address is recorded, if not receiving The address sent to server, the then IP address inputted according to user is attached to corresponding server;By client obtain and The IP address filled in is reported to cloud dns server;When subsequent client needs login service device, broadcasting packet is sent, According to the address registration of login client or/cloud dns server feedback to corresponding server.
Fig. 2 show according to the local area network client of embodiment of the present invention and to interact timing diagram with LAN server.Clothes It is engaged in after the completion of the administration of end, during first user's operation client, client is never logged, then is sent to the network segment where oneself Broadcast packet, server receives one IP address of return after the broadcast request, and client is literary by IP address write-in configuration after receiving Part, user only fills in and can logged in after account number cipher.
Fig. 3 show the interaction timing diagram between the local area network client according to embodiment of the present invention.Having one In the case of individual user's Successful login, when other clients are logged in, the network segment where to oneself sends broadcast packet, listed visitor Family terminal device is received after broadcast packet, returns to the server address information that it is logged in.
Fig. 4 show according to the local area network client of embodiment of the present invention and to interact timing diagram to cloud dns server. The client logined successfully, server address information is reported to cloud dns server, and other follow-up clients can not be obtained by broadcast When getting entry address, then inquired about to high in the clouds dns server, cloud DNS service is by obtaining IP address (the i.e. LAN of visitor Export IP), because existing subscriber had logged on, there is the enterprise servers address, therefore client in DNS service database End can get server log address.
It is described above, simply presently preferred embodiments of the present invention, the invention is not limited in above-mentioned embodiment, as long as It reaches the technique effect of the present invention with identical means, should all belong to protection scope of the present invention.In the protection model of the present invention Its technical scheme and/or embodiment can have a variety of modifications and variations in enclosing.

Claims (5)

1. a kind of method that instant communication client finds server address, it is characterised in that this method includes:
A. broadcasting packet is sent first in LAN using any one client, if receiving the address of server transmission, Corresponding server address is recorded, if not receiving the address of server transmission, the IP address inputted according to user is carried out It is connected to corresponding server;
B. the IP address for client being obtained and being filled in is reported to cloud dns server;
C. when subsequent client needs login service device, broadcasting packet is sent, according to login client or/cloud DNS The address registration of server feedback is to corresponding server.
2. the method that instant communication client according to claim 1 finds server address, it is characterised in that the step Rapid A includes
The client first logged into sends broadcasting packet to LAN;
Server implementation monitors LAN, is received if broadcasting packet is monitored and according to message information to corresponding client End sends IP address;
Client is received to IP address, and generates server log configuration file;
The IP address inputted if the IP address of server feedback is not received according to user is connected to corresponding server, simultaneously Generate server log configuration file.
3. the method that instant communication client according to claim 1 finds server address, it is characterised in that the step Rapid C also includes:
When subsequent client is logged in, broadcasting packet is sent to LAN first;
The client of login service device is received to broadcasting packet, and then, return to server ip address;
Subsequent client logs in given server according to the IP address of return and generates server log configuration file.
4. the method that instant communication client according to claim 1 finds server address, it is characterised in that the step Rapid C also includes:
When subsequent client is logged in, broadcasting packet is sent to LAN first;
Cloud dns server obtains broadcasting packet and inquires about the server ip address stored, and then, return to corresponding server ip Address, wherein client-side information need not be submitted when cloud dns server inquires about IP address information;
Subsequent client logs in given server according to the IP address of return and generates server log configuration file.
5. the method for server address is found according to claim 4 instant communication client, it is characterised in that:
The broadcasting packet that the cloud dns server is sent to client is parsed, and is obtained IP and/or http protocol packet header, is entered Obtain sending the IP of client, and then send server ip address to client ip address.
CN201710475801.7A 2017-06-21 2017-06-21 A kind of method that instant communication client finds server address Pending CN107196959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710475801.7A CN107196959A (en) 2017-06-21 2017-06-21 A kind of method that instant communication client finds server address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710475801.7A CN107196959A (en) 2017-06-21 2017-06-21 A kind of method that instant communication client finds server address

Publications (1)

Publication Number Publication Date
CN107196959A true CN107196959A (en) 2017-09-22

Family

ID=59878671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710475801.7A Pending CN107196959A (en) 2017-06-21 2017-06-21 A kind of method that instant communication client finds server address

Country Status (1)

Country Link
CN (1) CN107196959A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417822A (en) * 2019-09-16 2019-11-05 武汉先同科技有限公司 The method that client and server establish TCP connection automatically in local area network
CN110880978A (en) * 2019-12-19 2020-03-13 浙江诺诺网络科技有限公司 Method, device and medium for connecting business processing PC (personal computer) with terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207617A (en) * 2006-12-22 2008-06-25 英业达股份有限公司 Method for data transmission of network storing system
US20140136660A1 (en) * 2012-11-12 2014-05-15 Benu Networks, Inc. Extending multicast/broadcast services to wide area networks
WO2015054882A1 (en) * 2013-10-18 2015-04-23 华为技术有限公司 Network device communication method and network device
CN106790467A (en) * 2016-12-10 2017-05-31 武汉白虹软件科技有限公司 A kind of cloud main frame finds the method with automatic deployment automatically

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207617A (en) * 2006-12-22 2008-06-25 英业达股份有限公司 Method for data transmission of network storing system
US20140136660A1 (en) * 2012-11-12 2014-05-15 Benu Networks, Inc. Extending multicast/broadcast services to wide area networks
WO2015054882A1 (en) * 2013-10-18 2015-04-23 华为技术有限公司 Network device communication method and network device
CN105359458A (en) * 2013-10-18 2016-02-24 华为技术有限公司 Network device communication method and network device
CN106790467A (en) * 2016-12-10 2017-05-31 武汉白虹软件科技有限公司 A kind of cloud main frame finds the method with automatic deployment automatically

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417822A (en) * 2019-09-16 2019-11-05 武汉先同科技有限公司 The method that client and server establish TCP connection automatically in local area network
CN110880978A (en) * 2019-12-19 2020-03-13 浙江诺诺网络科技有限公司 Method, device and medium for connecting business processing PC (personal computer) with terminal equipment
CN110880978B (en) * 2019-12-19 2021-10-15 浙江诺诺网络科技有限公司 Method, device and medium for connecting business processing PC (personal computer) with terminal equipment

Similar Documents

Publication Publication Date Title
WO2017076327A1 (en) Method and apparatus for processing domain name resolution request, and server
CN104270604B (en) Obtain the method, system and device of the real time video data of IPC
JP2004529410A5 (en)
WO2012097655A1 (en) Group implementation method, system and client
CN104348710A (en) Methods and systems for acquiring and correlating web real-time communications (webrtc) interactive flow characteristics
US20200021859A1 (en) Multicast implementation method and related network device
CN102845123A (en) Virtual private cloud connection method and tunnel proxy server
WO2017173966A1 (en) Recording control method and device
WO2014005442A1 (en) Network service access method and system
CN105049427A (en) Management method and management device for login accounts of application systems
CN103401946A (en) HTTP (hyper text transfer protocol) uploading acceleration method and system
CN103997479B (en) A kind of asymmetric services IP Proxy Methods and equipment
CN102664899A (en) Service processing method, service processing device and service processing system
CN110098987A (en) A method of solving the long connection load balancing of Internet of Things multilayer
CN107196959A (en) A kind of method that instant communication client finds server address
CN101599921B (en) Enterprise instant communication system and file transfer method thereof
TWI294087B (en) Systems and methods for file transfer management
CN105591879B (en) Data transmission method and device
US20100333178A1 (en) System and Method for Unique User Identification via Correlation of Public and Private Data by a Third-Party
CN105049543A (en) P2P communication system and method crossing asymmetric NAT between intelligent routers
CN105721274A (en) Method and device for integrating variety of instant messaging
CN104780230A (en) Method of automatically acquiring cloud server IP address, system and cloud system
CN101207579B (en) Server for implementing network note service and communication method among client machines
CN105634911B (en) Session establishing method and device
US20110289166A1 (en) Method for realizing a message interaction and a converged service system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170922

RJ01 Rejection of invention patent application after publication