CN101394404B - Network communication method, dispatching server and server - Google Patents

Network communication method, dispatching server and server Download PDF

Info

Publication number
CN101394404B
CN101394404B CN2008101618951A CN200810161895A CN101394404B CN 101394404 B CN101394404 B CN 101394404B CN 2008101618951 A CN2008101618951 A CN 2008101618951A CN 200810161895 A CN200810161895 A CN 200810161895A CN 101394404 B CN101394404 B CN 101394404B
Authority
CN
China
Prior art keywords
server
data
client
line
service
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.)
Expired - Fee Related
Application number
CN2008101618951A
Other languages
Chinese (zh)
Other versions
CN101394404A (en
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.)
YUANGANG SCIENCE AND TECHNOLOGY Co Ltd
Original Assignee
YUANGANG 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 YUANGANG SCIENCE AND TECHNOLOGY Co Ltd filed Critical YUANGANG SCIENCE AND TECHNOLOGY Co Ltd
Priority to CN2008101618951A priority Critical patent/CN101394404B/en
Publication of CN101394404A publication Critical patent/CN101394404A/en
Application granted granted Critical
Publication of CN101394404B publication Critical patent/CN101394404B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a network communication method, which comprises the following steps: acquiring a login account from a client; inquiring a server list according to the login account to acquire the online data of a local server in the same domain of the client; and guiding the client to the local server according to the online data of the local server.

Description

Network communication method, dispatching server and server
Technical field
The present invention relates to a kind of data switching networks, and particularly relevant for a kind of data switching networks that constitutes feature with the path.
Background technology
Under the general networking framework, can set up a database so that the server access to be provided.The website that flow load is bigger then can be set up multiple servers and be shared flow.Yet these servers remain the same database of access.In addition, for security consideration, database is set to same LAN (Local AreaNetwork, server access LAN) only can be provided usually.Therefore, server only can be set up in the LAN that database set up.
When desire was set up server according to different user of services' zone, the server of zones of different just can't directly be obtained the data in other regional database.In addition, when the database storage data of a plurality of LAN networks, the user of service will be difficult to judge and should obtain its data from which server.
Thus, need a kind of network communication method and application thereof, use so that server can be set up in different LAN.
Summary of the invention
Technical problem to be solved by this invention is a kind of network communication method and application thereof, uses so that server can be set up in different LAN.
To achieve these goals,, the invention provides a kind of network communication method, comprise following steps according to one embodiment of the invention:
(1) obtains one from a client and login account number.
(2), inquire about a server inventory, with the on line data of a home server of obtaining the territory of identical net with client according to logining account number.
(3) according to the on line data of home server, client is directed to home server.
To achieve these goals, according to another embodiment of the present invention, the present invention provides a kind of network communication method in addition, comprises following steps:
(1) obtains a access request from a client to a particular data.
(2) judge whether particular data is stored in a local data base.
(3) when local data base does not store particular data, server is sent in inquiry one, to obtain the on line data of a service server of being responsible for particular data.
(4) according to the on line data of service server, client is directed to service server, with the access particular data.
To achieve these goals, according to further embodiment of this invention, the present invention provides a kind of dispatching server again, comprises to login account number and obtain device, a database, an on-line equiries device and a guide.Logining account number obtains device and logins account number in order to obtain one from a client.Database is in order to store a server inventory.The on-line equiries device is logined account number in order to basis, and the querying server inventory is to obtain a home server on line data in the territory of identical net with client.Guide is directed to home server in order to the on line data according to home server with client.
To achieve these goals, according to yet another embodiment of the invention, the present invention provides a kind of server again, comprises an access request device, a data determining device, an on-line query device and a guide.The access request device is in order to obtain the access request to a particular data from a client.Whether the data determining device is stored in a local data base in order to judge particular data.The on-line query device, in order to when local data base does not store particular data, server is sent in inquiry one, to obtain the on line data of a service server of being responsible for particular data.Guide is directed to service server access particular data in order to according on line data with client.
According to the foregoing description, by network communication method of the present invention and application thereof, can be so that server can be set up in different LAN.When server sets up according to different user of services' zone, network communication method, dispatching server and server make the server of zones of different can directly obtain the data in other regional databases, and can make user of service's easier judgement when facing the database storage data of a plurality of LAN networks obtain its data from which server.
Description of drawings
Fig. 1 is the flow chart according to the network communication method 100 of one embodiment of the invention;
Fig. 2 is the flow chart according to the network communication method 200 of another embodiment of the present invention;
Fig. 3 is the functional block diagram of the dispatching server 300 of another embodiment of the present invention;
Fig. 4 is the functional block diagram of the server 700 of another embodiment of the present invention;
Fig. 5 is the on line data module 750 that illustrates Fig. 4.
[primary clustering symbol description]
100: network communication method 500: home server
102~112: step 600: service server
200: network communication method 700: server
202~210: step 710: access request obtains device
300: dispatching server 720: the data determining device
310: login account number and obtain device 730: the on-line query device
320: database 740: guide
330: on-line equiries device 750: the on line data module
340: guide 751: on-line deta base
350: access request obtains device 752: holder
360: service-seeking device 753: search engine
370: service guide 754: obtain device
400: client 800: local data base
Embodiment
Fig. 1 is the flow chart according to the network communication method 100 of one embodiment of the invention.This network communication method 100 can be directed to home server with client according to the net territory at client place.Network communication method 100 comprises following steps (should be appreciated that mentioned in the present embodiment step except that the step of chatting bright its order especially, all can be adjusted its front and back order according to actual needs, even possibility while or partly execution simultaneously):
(1) obtains one from a client and login account number (step 102).
(2), inquire about a server inventory, with the on line data (step 104) of a home server of obtaining the territory of identical net with client according to logining account number.
(3) according to the on line data of home server, client is directed to home server (step 106).
Wherein, the server inventory stores the on line data of several servers.Thus, network communication method 100 can not need client to know in advance under the situation of its home server, and the guiding client is to home server.
In addition, network communication method 100 can be guided home server to other server, with the data on other server of access.Therefore, network communication method 100 comprises following steps:
(4) obtain a access request (step 108) from home server to a particular data.
(5) according to access request, the querying server inventory is to obtain the on line data (step 110) of a service server of being responsible for the storage particular data.
(6) according to the on line data of service server, the guiding home server is to service server, with access particular data (step 112).
Thus, can guide home server to other server and obtain data, and home server does not need to store in advance the on line data of other server.That is to say,, can make server rack be located at the LAN network, and the database of variant LAN does not need synchronously by network communication method 100.
Fig. 2 is the flow chart according to the network communication method 200 of another embodiment of the present invention.The data that network communication method 200 can be desired to obtain in client are directed to client other server at data place during at other server.Network communication method 200 comprises following steps (should be appreciated that mentioned in the present embodiment step except that chatting bright its order person especially, all can be adjusted its front and back order according to actual needs, even possibility while or partly execution simultaneously):
(1) obtains a access request (step 202) from a client to a particular data.
(2) judge whether particular data is stored in a local data base (step 204).
(3) when local data base does not store particular data, server is sent in inquiry one, to obtain the on line data (step 206) of a service server of being responsible for particular data.
(4) according to the on line data of service server, client is directed to service server, with access particular data (step 208).
On real the work, network communication method 200 is applied in a server, and local data base therewith server rack be located in the same LAN.Thus, when can not be stored in local data base in the data that client is desired access, the guiding client is to service server, with the access particular data.
Network communication method 200 can be stored to the on line data of obtained service server one on-line deta base, for using next time.Therefore, network communication method 200 can comprise:
(5) on line data to an on-line deta base (step 210) of store-service server.
Whether network communication method 200 can have the on line data of service server from the on-line deta base search.Therefore, network communication method 200 can comprise following steps:
(2.1) before the inquiry dispatching server,, search the on line data (step 205) that whether stores service server in the on-line deta base in response to access request.
When (2.2) in on-line deta base, storing the on line data of service server, obtain the on line data (step 207) of service server from on-line deta base.
Thus, can obtain the on line data of service server, and not need all to obtain the on line data of service server at every turn from dispatching server from on-line deta base.
Fig. 3 is the functional block diagram of the dispatching server 300 of another embodiment of the present invention.Dispatching server 300 can be according to the net territory of client 400, and guiding client 400 is to home server 500.Dispatching server 300 comprises to be logined account number and obtains device 310, a database 320, an on-line equiries device 330 and a guide 340.Logining account number obtains device 310 and logins account number in order to obtain one from a client 400.Database 320 is in order to store a server inventory.Wherein, store the on line data of several service available servers in the server inventory.On-line equiries device 330 is in order to according to logining account number, and the querying server inventory is to obtain the on line data with the home server 500 in client 400 identical net territories.Guide 340 is directed to home server 500 in order to the on line data according to home server 500 with client 400.Thus, after client 400 was online to dispatching server 300, dispatching server 300 can be directed to home server 500 with client 400 according to the net territory of client 400.That is to say that client 400 does not need to have in advance the on line data of home server 500.
In addition, dispatching server 300 can be guided home server 500 to one service servers 600 to obtain particular data.Therefore, this dispatching server 300 can comprise an access request and obtains device 350, a service-seeking device 360 and a service guide 370.Access request obtains device 350 in order to obtain the access request to a particular data from home server 500.Service-seeking device 360 is in order to according to access request, and the querying server inventory is to obtain the on line data of a service server 600 of being responsible for storing particular data.Service guide 370 is in order to the on line data according to service server 600, and guiding home server 500 is to service server 600, with the access particular data.Thus, dispatching server 300 can be guided home server 500 to service server 600, with the access particular data.That is to say that home server 500 does not need to have in advance the on line data of service server 600.
Fig. 4 is the functional block diagram of the server 700 of another embodiment of the present invention.When the particular data of client 400 desire accesses was not stored in server 700, server 700 can be directed to client the service server 600 that stores this particular data.The access request that comprises server 700 obtains device 710, a data determining device 720, an on-line query device 730 and a guide 740.Access request device 710 is in order to obtain the access request to a particular data from client 400.Data determining device 720 is in order to judge whether particular data is stored in a local data base 800.Wherein, server 700 is set up in same LAN with local data base 800.On-line query device 730 is not in order to when local data base 800 stores particular data, and server 300 is sent in inquiry one, to obtain the on line data of the service server 600 of being responsible for particular data.Guide 740 is directed to service server 600 access particular datas in order to according on line data with client 400.Thus, client 400 can be from service server 600 access particular datas.In addition, see through dispatching server 300, server 700 can be guided client 400 to service server 600 access particular datas.That is to say,, also can make the client 400 that is online to server 700 obtain the data that are stored in service server 600 even server 700 is set up in different LAN with service server 600.
In addition, but the on line data of server 700 store-service servers 600, for using during online this service server 600 next time.Therefore, this server 700 can comprise on line data module 750.What Fig. 5 was drawn is the on line data module 750 of Fig. 3.On line data module 750 comprises an on-line deta base 751 and a holder 752.Holder 752 in order to the on line data of store-service server 600 to on-line deta base 751.
Before inquiry dispatching server 300, server 700 can be searched the data whether service server 600 is arranged in the on-line deta base 750.Therefore, on line data module 750 can comprise a search engine 753 and and obtains device 754.Search engine 753 in response to this access request, is searched the on line data that whether stores service server 600 in the on-line deta base 751 in order to before inquiry dispatching server 300.Obtain device 754 when in on-line deta base 751, storing the on line data of service server 600, obtain the on line data of service server 600 from on-line deta base 751.Thus, server 700 can be obtained the on line data of service server 600 from on-line deta base 751, and does not need all to obtain from dispatching server 300 on line data of service server 600 at every turn.
Though the present invention discloses as above with a preferred embodiment; right its is not in order to limit the present invention; any person skilled in the art person; without departing from the spirit and scope of the present invention; when can being used for a variety of modifications and variations, so protection scope of the present invention is as the criterion when looking the scope that the accompanying Claim book defined.

Claims (2)

1. a network communication method is characterized in that, comprises:
Obtain one from a client and login account number;
Login account number according to this, inquire about a server inventory, and obtain the on line data of a home server in the territory of identical net with this client;
According to the on line data of this home server, this client is directed to this home server in the territory of identical net with this client;
Obtain a access request from this home server to a particular data;
According to this access request, inquire about this server inventory, and obtain the on line data of a service server of being responsible for this particular data of storage; And
According to the on line data of this service server, guide this home server to this service server, with this particular data of access.
2. a dispatching server is characterized in that, comprises:
One logins account number obtains device, logins account number in order to obtain one from a client;
One database is in order to store a server inventory;
One on-line equiries device in order to login account number according to this, is inquired about this server inventory, and obtains the on line data of a home server in the territory of identical net with this client;
One guide in order to the on line data according to this home server, is directed to this client this home server in the territory of identical net with this client;
One access request obtains device, obtains a access request to a particular data in order to this home server certainly;
One service-seeking device in order to according to this access request, is inquired about this server inventory, and obtains the on line data of a service server of being responsible for this particular data of storage; And
One service guide in order to the on line data according to this service server, is guided this home server to this service server, with this particular data of access.
CN2008101618951A 2008-10-13 2008-10-13 Network communication method, dispatching server and server Expired - Fee Related CN101394404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101618951A CN101394404B (en) 2008-10-13 2008-10-13 Network communication method, dispatching server and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101618951A CN101394404B (en) 2008-10-13 2008-10-13 Network communication method, dispatching server and server

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN2011101040233A Division CN102130840A (en) 2008-10-13 2008-10-13 Network communication method and server

Publications (2)

Publication Number Publication Date
CN101394404A CN101394404A (en) 2009-03-25
CN101394404B true CN101394404B (en) 2011-09-07

Family

ID=40494477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101618951A Expired - Fee Related CN101394404B (en) 2008-10-13 2008-10-13 Network communication method, dispatching server and server

Country Status (1)

Country Link
CN (1) CN101394404B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853255B (en) * 2009-03-31 2012-08-29 纬创资通股份有限公司 Data access-processing method for information management system and related information management system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5898780A (en) * 1996-05-21 1999-04-27 Gric Communications, Inc. Method and apparatus for authorizing remote internet access
CN101163063A (en) * 2006-10-13 2008-04-16 环达电脑(上海)有限公司 Method of real-time display controlled server alarm message on browser

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5898780A (en) * 1996-05-21 1999-04-27 Gric Communications, Inc. Method and apparatus for authorizing remote internet access
CN101163063A (en) * 2006-10-13 2008-04-16 环达电脑(上海)有限公司 Method of real-time display controlled server alarm message on browser

Also Published As

Publication number Publication date
CN101394404A (en) 2009-03-25

Similar Documents

Publication Publication Date Title
US20150281382A1 (en) Group creating and joining method, client, server , and system
CN106060113B (en) Account method for pushing and device
US20150161282A1 (en) Method and System for Smart URL Shortening Service
KR20100048571A (en) Method, apparatus and system for providing muti user-multi service
CN104168316B (en) A kind of Webpage access control method, gateway
CN109639771B (en) Method and device for pushing service, computer equipment and storage medium
US20090254653A1 (en) Service utilization route output system, management server, service utilization route output method, and service utilization route output program
JP5863999B1 (en) Order management apparatus and order management method
CN105141789B (en) Unknown phone number labeling method and device
CN108510309A (en) The method and device that advertisement is recalled
CN105915621A (en) Data access method and pretreatment server
CN101499996A (en) Domain name differentiate parsing method and domain name server
CN103414732B (en) Application integration device and application integration processing method
CN102780791A (en) Self-adaption IP (Internet Protocol) method, device and system
CN101394404B (en) Network communication method, dispatching server and server
CN108282455A (en) Web-page requests method, apparatus and domain-name information analysis result processing method, device
CN102867056A (en) Method and system for searching keyword
CN102711088B (en) Associated person information acquisition methods and device
KR100775748B1 (en) System for searching url related to keyword of user's input, searching server, searching terminal and method thereof
CN105245739B (en) The method and system of auxiliary telephone customer service
CN106469166B (en) A kind of information processing method and device
US20150278368A1 (en) Method, System, Search Engine and Network for Enhancing Search of Information Over a Data Network
CN102130840A (en) Network communication method and server
CN115794780A (en) Method and device for collecting network space assets, electronic equipment and storage medium
CN110636524A (en) Personal hotspot naming method, mobile terminal and personal hotspot naming system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110907

Termination date: 20131013