CN100334842C - Automatic reconnection method when disconnecting from server - Google Patents

Automatic reconnection method when disconnecting from server Download PDF

Info

Publication number
CN100334842C
CN100334842C CNB200510082477XA CN200510082477A CN100334842C CN 100334842 C CN100334842 C CN 100334842C CN B200510082477X A CNB200510082477X A CN B200510082477XA CN 200510082477 A CN200510082477 A CN 200510082477A CN 100334842 C CN100334842 C CN 100334842C
Authority
CN
China
Prior art keywords
server
online
linking
electronic installation
network
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
CNB200510082477XA
Other languages
Chinese (zh)
Other versions
CN1700660A (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.)
E Ten Information Systems Co Ltd
Original Assignee
E Ten Information Systems 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 E Ten Information Systems Co Ltd filed Critical E Ten Information Systems Co Ltd
Priority to CNB200510082477XA priority Critical patent/CN100334842C/en
Publication of CN1700660A publication Critical patent/CN1700660A/en
Application granted granted Critical
Publication of CN100334842C publication Critical patent/CN100334842C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to an automatic reconnection method for discontinuous lines of a server, which is applied to an electronic device connected with at least one server by at least one network. The method comprises the following procedures: a. detecting a linking state with each server; b. detecting a linking state with each network when detecting linking interruption with the servers; c. re-linking with the networks when detecting the linking interruption with the networks; d. linking with the networks and re-linking with the serves. Thus, after disconnection, users carry out dail-up and re-login linking action without manual operation. When each servo device has different re-linking conditions, the server of which the re-linking condition is looser can complete online so as to at least provide partial services according to the re-linking conditions of the serves.

Description

With the automatic reconnection method of server intermittent line
Technical field
The invention relates to the automatic reconnection method of a kind of broken string, refer in particular to the automatic reconnection method of broken string between a kind of and server.
Background technology
For a long time, the stock market often is one of important indicator of social economy's prosperity and decline.The real-time querying method of stock market information, the concentrated Reading the Tape that must provide to securities broker company from earliest period, to such an extent as to beginning to have TV reports, more there is portable stock handset to ask the city thereafter, and visit the gift that the internet is popularized in recent years, the main media of real-time quotations on the stock market is inquired about by the group of the more habitual computer of network Reading the Tape, the user is except that passing through as the desktop PC online, more can be via PDA (Personal Digital Assistant) (PDA) or intelligent mobile phone portable electronic devices such as (smart phone), quotations on the stock market whenever and wherever possible surf the web.
With the quotations on the stock market that surf the web via PDA (Personal Digital Assistant) is example, because wherein will be through also may be online with multiple servers as mobile communication network (as GPRS), internet, so wherein arbitrary important node or circuit have problems, all may make PDA (Personal Digital Assistant) end and server end broken string, and must the user manually to dial and connect until online success again, not only cause the inconvenience in the use, also influence the integrality of stock market information that server provides.
Moreover, with regard to the server end framework, often comprise the account server that the verify data user input is authenticated, and some in the user by authenticating the actual service server that stock market information is provided in back.In-line procedure again behind above-mentioned broken string, in some existing design, service server as non real-time transition information such as stock market's historical record (as contour) and public company's analyses is provided, in the certain hour of PDA (Personal Digital Assistant) end broken string back, need not the user authenticate by account server once more, can be online again for PDA (Personal Digital Assistant); As for the service server that provides as real-time transition information such as the real-time index in stock market, views on broad market movements, because its real-time transition information that provides is worth higher, so behind PDA (Personal Digital Assistant) end broken string, must the user once more by the account server authentication, begin to obtain real time information for PDA (Personal Digital Assistant) is online again.
In the manually heavy at present online mechanism, the logical design of server end, after normally making the PDA (Personal Digital Assistant) end authenticate by account server again, online with other all service servers again, this inelastic fixedly flow process, with make in the certain hour of aforementioned broken string back need not the user once more can online again service server by authenticating, again online and provide the time of stock market information service to delay for PDA (Personal Digital Assistant), that is prolong the time of server end because of the broken string break in service.
Summary of the invention
The object of the present invention is to provide a kind of and the automatic reconnection method of server intermittent line.
By enforcement of the present invention, but the on line state between Auto-Sensing electronic installation and server and re-execute network and server is online manually weighs on-line program and need not the user.It can be according to the online condition of the weight of each server, and makes the looser server of heavy online condition finish online so that the part service to be provided at least earlier as quickly as possible.
For achieving the above object, the automatic reconnection method of broken string between a kind of and server provided by the invention, be applied to by network and the online electronic installation of most server, this server comprises the authenticated data that provides this electronic installation user and the account server that is authenticated, one with this electronic installation broken string back certain hour in need not this user can supply the first online service server of this electronic installation by this account server authentication once more, and one with this electronic installation broken string after must this user once more by this account server authentication second online service server of this electronic installation of confession that begins, this method comprises the steps:
A. detecting and these server on line states;
B. when recording, online with these servers in regular turn again with the online interruption of these servers;
C. when any one can't be online in a Preset Time in these servers, next server in promptly online these servers, until other server all through attempt online after, online again again this can't be online server.
Description of drawings
Fig. 1 is the applied system relationship schematic diagram of preferred embodiment of the automatic reconnection method of broken string between the present invention and server;
Fig. 2 is the main implementation step flow chart of this preferred embodiment.
Embodiment
Technology contents of the present invention and effect will elaborate in following conjunction with figs. and preferred embodiment.
As shown in Figure 1, the preferred embodiment of the present invention and the automatic reconnection method of server intermittent line is to realize that with the application program that is installed on a Storage Media in the electronic installation 1 (figure does not show) electronic installation 1 also is connected with plural server 3 by a network 2.
Electronic installation 1 is to be example with a personal digital aid (PDA) (PDA) with GPRS (General Packet Radio Service) Mobile Communications function in the present embodiment, so in other is used, electronic installation 1 also can be other Portable that can connect suitable network or stationary electronic device, as mobile phone, mobile computer, desktop PC etc.Above-mentioned Storage Media in order to application program that store to carry out this method then be the internal memory in the electronic installation 1, the right data storing assembly that also can be as built-in chip, outside plug type memory card or other appropriate format.
2 on network further comprises a GPRS mobile communication network 21 and an internet 22 in this example, 21,22 on two networks are also connected by an interconnecting device 4 (comprising as base station, server and other necessary known soft, nextport hardware component NextPort) of an action communications industry person, to reach the action function of surfing the Net of general common name.Easy speech, electronic installation 1 earlier through GPRS mobile communication network 21 with after interconnecting device 4 is connected with wireless mode, pass through wired internet 22 by interconnecting device 4 again and be connected with server 3.So in other was used, network 2 also can be the combination of single wired or wireless network system (as the internet) or other multiple network system.
3 of servers are further divided into an account server 31, one first service server 32 and one second service server 33.Verify data (as user's title and password) through network 2 transmission is authenticated account server 31 by electronic installation 1 input in order to receive the user.First service server 32 is after the user is by account server 31 authentications, the user is provided required special services, and itself and electronic installation 1 broken string is in one scheduled time of back when online again, need not the user once more by the authentication of account server 31, the sub-device 1 of can powering is directly online and service is provided.Relatively, second service server 33 is after the user is by account server 31 authentications, also provide the user must another special services, and behind itself and electronic installation 1 broken string when online again, must the user once more by the authentication of account server 31, the sub-device 1 of beginning to power is online and service is provided.
First service server 32 provides as non real-time transition information such as stock market's historical record (as contour) and public company's analyses in this example, 33 of second service servers provide as real-time transition information such as the real-time index in stock market, views on broad market movements, because it is higher that the real-time transition information that latter's (second service server 33) is provided is worth, so comparatively strict to authentication demand online again behind the broken string.Certainly, in other was used, service server 32,33 also can provide other type of service; And in this example for ease of narration with service server 32,33 all with single quantitaes, so in other is used, also can be respectively equipped with plural server 32,33.
When electronic installation 1 begins by account server 31 authentication and the border online with service server 32,33, this application program is a self actuating and make electronic installation 1 carry out as shown in Figure 2 following each step, and in present embodiment, this application program also can be pushed a specific keys (figure does not show) by the user and be activated, and can confirm further that for the user this online again automatically action is really underway thus.
At first shown in step 901, according to the network address (IP Address) of the online server 3 of time order and function recorded electronic device 1.In the present embodiment the above-mentioned network address is stored in the interior specific archives of an internal memory (figure does not show) of electronic installation 1, so change in the example in other, also these network address archives can be stored in other suitable recording medium, and " network address " speech and contain domain name (domain name) or other equivalent representation in this specification.
Shown in step 902, whether interval one Preset Time (as 15 seconds) is regularly detected electronic installation 1 normal with the on line state of each server 3.
Shown in step 903, not online as if recording electronic installation 1 with whole servers 3, then check the online whether normal of electronic installation 1 and network 2 earlier.
Shown in step 904,905, if record the online interruption of electronic installation 1 and network 2, then dial and connect automatically online number that should network 2, finish up to dialing and connecting success online till, then enter following step 906.
Because network 2 further comprises GPRS mobile communication network 21 and wired internet 22 in this example, so though above-mentioned steps 903-905 represents to carry out once in each circulation for ease of expressing in figure, come down at network 21,22 respectively carry out once, that is earlier check on line states and under the broken string state, reconnect automatically with regard to GPRS mobile communication network 21, up to GPRS mobile communication network 21 finish online till, then check on line states with regard to internet 22 again and under the broken string state, reconnect automatically, up to internet 22 also finish online till, after definite network 2 whole online successes, the beginning enters following step 906 thus.Change in the example in other, the execution in step of corresponding number of times and order is then arranged according to the actual composition of network 2, finish because it belongs to easy derivation of this area personage, in this not elsewhere specified (NES).
Shown in step 906, if in step 903, record the online normal of electronic installation 1 and network 2, then write down the network address record order of online server 3 before the broken string according to step 901, oppositely online in regular turn each server 3, that is server 3 (for example server 33) beginning the latest of online time of record is online in step 901, this effect is to make electronic installation 1 and previous each online server 3 preference return to the preceding on line state of broken string, is convenient to the user and obtains the service that it is provided by server 3 as quickly as possible after recovery is online before broken string.
Shown in step 907,908, detect the whether online success in carrying out online back Preset Time (as 15 seconds) of each server 3? if record online success, and Servers-all 3 finished onlinely all, and then resumes step 902 repeats said procedures.
Shown in step 909, carrying out the not online as yet success of online back Preset Time if record arbitrary server 3, then earlier online with next server 3, then the not online successful server of retry and this 3 is online again in next circulation time again, has finished online all until Servers-all 3.
The important function of above-mentioned steps 906-909 is, when with first service server 32 when online again, owing to need not earlier again to login by authentication to account server 31, so can save this one to the 31 login authentication times of account server, and can connect first service server 32 as quickly as possible to obtain the service that it provides; And when with second service server 33 when online again, owing to need earlier again to login by authentication to account server 31, so its online action is shelved in advance, carry out the online of subsequent server 3 earlier, because this follow-up online action must comprise the online authentication with account server 31, so when logining second service server 33 again next time, must complete successfully online action.Easy speech, with regard to the application of present embodiment, this online logic can second service server 33 fail finish online before, make first service server 32 finish again online as far as possible earlier, partly serve with the user that electronic installation 1 end is provided, be aforementioned as non real-time transition information such as stock market's historical record, public company's analyses, as for as more important real-time transition information such as the real-time index in stock market, views on broad market movements, treat that then second service server 33 provides after online in also finishing after a while.
In sum, the invention provides the automatic reconnection method of broken string between a kind of and server, on line state between its Auto-Sensing electronic installation and server, promptly re-execute the online two stages action of network on-line and server after broken string takes place automatically in recording, manually dial and connect and login action and need not the user.Moreover, when each server has the different online conditions of weight, can be according to the online condition of the weight of each server, and make heavy online condition looser (as must not be earlier through the authentication of account server) server finish online as quickly as possible and the part service be provided at least earlier, the stock market information of non real-time change in the previous embodiment for example, to the user and Yan Gengxian show consideration for convenient.
The foregoing description is only given an example for convenience of description, and the interest field that the present invention advocated should be as the criterion so that claim is described certainly, but not only limits to the foregoing description.

Claims (1)

1, the automatic reconnection method of broken string between a kind of and server, be applied to by network and the online electronic installation of most server, each comprises the verify data that provides this electronic installation user and the account server that is authenticated in this majority server, one with this electronic installation broken string back certain hour in need not this user once more by the account server authentication can supply the first online service server of this electronic installation, and one with this electronic installation broken string after must this user once more by the account server authentication second online service server of this electronic installation of confession that begins, this method comprises the steps:
A. detecting and this majority server on line state;
B. when recording, online with this majority server in regular turn again with the online interruption of this majority server;
C. when any one can't be online in a Preset Time in this majority server, promptly online next server in should the majority server, until other server all through attempt online after, online again again this can't be online server.
CNB200510082477XA 2005-07-01 2005-07-01 Automatic reconnection method when disconnecting from server Expired - Fee Related CN100334842C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200510082477XA CN100334842C (en) 2005-07-01 2005-07-01 Automatic reconnection method when disconnecting from server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200510082477XA CN100334842C (en) 2005-07-01 2005-07-01 Automatic reconnection method when disconnecting from server

Publications (2)

Publication Number Publication Date
CN1700660A CN1700660A (en) 2005-11-23
CN100334842C true CN100334842C (en) 2007-08-29

Family

ID=35476530

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200510082477XA Expired - Fee Related CN100334842C (en) 2005-07-01 2005-07-01 Automatic reconnection method when disconnecting from server

Country Status (1)

Country Link
CN (1) CN100334842C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163113B (en) * 2006-10-12 2011-01-26 阿里巴巴集团控股有限公司 Disconnection reconnecting system and method of instant communication
CN103139036B (en) * 2011-11-28 2015-12-09 联想(北京)有限公司 Electronic equipment and information processing method thereof
CN103516590B (en) * 2012-06-30 2017-08-04 北京神州泰岳软件股份有限公司 A kind of method and apparatus of access of instant communicating platform
CN104581326B (en) * 2014-12-09 2017-10-27 深圳市腾讯计算机系统有限公司 Exchange method and device between controlling equipment and TV
CN108632646B (en) * 2017-03-20 2021-12-10 腾讯科技(深圳)有限公司 Video live broadcast method and device and server
CN108616914B (en) * 2018-03-30 2021-09-07 武汉斗鱼网络科技有限公司 Method and device for reconnection of broken line
TWI702157B (en) * 2019-09-19 2020-08-21 拓連科技股份有限公司 Charging device for electric vehicles, automatic troubleshooting method and computer program product
CN112564932A (en) * 2019-09-26 2021-03-26 北京比特大陆科技有限公司 Target server offline notification method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1234705A (en) * 1998-03-26 1999-11-10 日本电气株式会社 Radio data communication method and system
JP2000194632A (en) * 1998-12-28 2000-07-14 Toshiba Corp Network computing system, communication control method for the system and storage medium storing program information on the system
JP2002344484A (en) * 2001-05-21 2002-11-29 Nec Corp Method and system for restoring connection of network
CN1448861A (en) * 2002-04-01 2003-10-15 微软公司 Automatic re-authentication
US20050141511A1 (en) * 2003-12-08 2005-06-30 Thawatt Gopal Method of reducing call setup time for IP services in a mobile communication network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1234705A (en) * 1998-03-26 1999-11-10 日本电气株式会社 Radio data communication method and system
JP2000194632A (en) * 1998-12-28 2000-07-14 Toshiba Corp Network computing system, communication control method for the system and storage medium storing program information on the system
JP2002344484A (en) * 2001-05-21 2002-11-29 Nec Corp Method and system for restoring connection of network
CN1448861A (en) * 2002-04-01 2003-10-15 微软公司 Automatic re-authentication
US20050141511A1 (en) * 2003-12-08 2005-06-30 Thawatt Gopal Method of reducing call setup time for IP services in a mobile communication network

Also Published As

Publication number Publication date
CN1700660A (en) 2005-11-23

Similar Documents

Publication Publication Date Title
CN100334842C (en) Automatic reconnection method when disconnecting from server
CN102468989B (en) The method and system of network data
EP3016296B1 (en) Bluetooth communication method and bluetooth communication device
CN101316120B (en) Radio frequency user recognition module, member card information processing method and processing system
CN105677512B (en) Data processing method and device and electronic equipment
CN1981282A (en) Method of uploading web blog in mobile communication terminal and system thereof
CN105814591A (en) Verification information transmission method and terminal
CN102184254A (en) Remark of mobile contact person
CN101931655A (en) Online-state prompting method and system
CN101807319A (en) Authentication method and system based on ATM
JP5271703B2 (en) Context sensitive data processing methods
CN104079470A (en) Electronic business card exchange method, system and server
CN102821111A (en) Real-time synchronizing method for file cloud storage
CN105430016A (en) Network access authentication method and system
CN102045265A (en) Device and method for information interaction
CN105893580A (en) Method for establishing and managing electronic diary by using WeChat platform
CN106162805A (en) The connection control method of WIFI hot spot service and device
CN103425647A (en) Method and system for webpage seamless browsing
CN103581700A (en) Audio and video on demand method, server, terminal and system
CN110519258A (en) Equipment accesses account control method, control device and readable storage medium storing program for executing
CN102780729B (en) The method providing far-end to access and communicator thereof
CN102223399B (en) Contact person session presentation method based on intelligent terminal and system thereof
CN104753969B (en) The synchronous method and device of Contents of clipboard information
CN105228115A (en) Send the method for note, server and terminal
CN102833351B (en) A kind of sending method of terminal applies information, method of reseptance and relevant device

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070829

Termination date: 20180701