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

Automatic reconnection method when disconnecting from server Download PDF

Info

Publication number
CN1700660A
CN1700660A CN 200510082477 CN200510082477A CN1700660A CN 1700660 A CN1700660 A CN 1700660A CN 200510082477 CN200510082477 CN 200510082477 CN 200510082477 A CN200510082477 A CN 200510082477A CN 1700660 A CN1700660 A CN 1700660A
Authority
CN
China
Prior art keywords
server
online
electronic installation
network
servers
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.)
Granted
Application number
CN 200510082477
Other languages
Chinese (zh)
Other versions
CN100334842C (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

Abstract

This invention relates to one re-linking method to the servo, which is applied through at least one network and one servo electrical device and comprises the following steps: a, detecting the status with servo; b, detecting the linkage status to the net when in interval; c, when in interval re-linking to the network; d, re-linking to the network and servo loading without the re-loading to the machine.

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 provided by the invention and server is applied to by at least one network and the online electronic installation of at least one server, and this method comprises the steps:
A. detecting and this server on line state;
B. when recording, detect and this network online state with the online interruption of this server;
C. when recording when interrupting again and this network on-line with this network on-line;
D. with this network on-line after online with this server again.
Described method, wherein, the detecting action among this step a is for regularly carrying out.
Described method, wherein, this electronic installation is online by this network and plural server, and this method also is included in the step of these network address of server of the preceding record of step a, and is then online according to these network addresss and these servers in the steps d.
Described method, wherein, these servers comprise the account server that authenticated once the verify data that this electronic installation user provides, one and this electronic installation broken string back certain hour in need not this user once more by the account server authentication can for online first 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 begin to supply the second online service server of this electronic installation, then oppositely this server is online in regular turn with respectively in proper order according to these network address records in the steps d.
Described method, wherein, in the steps d when any one can't be online in a Preset Time in these servers, next server in promptly online these servers, until these servers all through attempt after online online again again this can't be online server.
The present invention also provides a kind of Storage Media, be installed on an electronic installation and in order to store an application program, this electronic installation is online by at least one network and at least one server, and this application program will make this electronic installation carry out each step as above-mentioned method after execution.
Provided by the invention and the automatic reconnection method of server intermittent line, also be applied to an electronic installation online with plural server, these servers comprise the verify 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 once more by the account server authentication can for online first 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 begin to supply the second online service server of this electronic installation, this method comprises the steps:
A. write down these network address of server;
B. detecting and these server on line states;
C. when recording with the online interruption of these servers, oppositely this server is online in regular turn with respectively according to these network address record orders.
Described method, wherein, among the step c when any one can't be online in a Preset Time in these servers, next server in promptly online these servers, until these servers all through attempt after online 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 (8)

1, the automatic reconnection method of broken string between a kind of and server is applied to by at least one network and the online electronic installation of at least one server, and this method comprises the steps:
A. detecting and this server on line state;
B. when recording, detect and this network online state with the online interruption of this server;
C. when recording when interrupting again and this network on-line with this network on-line;
D. with this network on-line after online with this server again.
2, the method for claim 1, wherein the action of the detecting among this step a for regularly carrying out.
3, the method for claim 1, wherein, this electronic installation is online by this network and plural server, and this method also is included in the step of these network address of server of the preceding record of step a, and is then online according to these network addresss and these servers in the steps d.
4, method as claimed in claim 3, wherein, these servers comprise the verify 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 once more by the account server authentication can for online first 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 begin to supply the second online service server of this electronic installation, then oppositely this server is online in regular turn with respectively in proper order according to these network address records in the steps d.
5, method as claimed in claim 4, wherein, in the steps d when any one can't be online in a Preset Time in these servers, next server in promptly online these servers, until these servers all through attempt after online online again again this can't be online server.
6, a kind of Storage Media, be installed on an electronic installation and in order to store an application program, this electronic installation is online by at least one network and at least one server, and this application program will make this electronic installation carry out each step as method as described in arbitrary in the claim 1 to 5 after execution.
7, the automatic reconnection method of broken string between a kind of and server, be applied to an electronic installation online with plural server, these servers comprise the verify 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 once more by the account server authentication can for online first 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 begin to supply the second online service server of this electronic installation, this method comprises the steps:
A. write down these network address of server;
B. detecting and these server on line states;
C. when recording with the online interruption of these servers, oppositely this server is online in regular turn with respectively according to these network address record orders.
8, method as claimed in claim 7, wherein, among the step c when any one can't be online in a Preset Time in these servers, next server in promptly online these servers, until these servers all through attempt after online 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 true CN1700660A (en) 2005-11-23
CN100334842C 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)

Cited By (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
CN103139036A (en) * 2011-11-28 2013-06-05 联想(北京)有限公司 Electronic equipment and information processing method thereof
CN103516590A (en) * 2012-06-30 2014-01-15 北京神州泰岳软件股份有限公司 Method and device for logging in instant messaging platform
CN104581326A (en) * 2014-12-09 2015-04-29 深圳市腾讯计算机系统有限公司 Interaction method and device between control device and television
CN108616914A (en) * 2018-03-30 2018-10-02 武汉斗鱼网络科技有限公司 A kind of method and device of disconnection reconnecting
CN108632646A (en) * 2017-03-20 2018-10-09 腾讯科技(深圳)有限公司 A kind of net cast method, apparatus and server
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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11275110A (en) * 1998-03-26 1999-10-08 Nec Corp Radio data communications method its device
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
US7080404B2 (en) * 2002-04-01 2006-07-18 Microsoft Corporation 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

Cited By (12)

* 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
CN103139036A (en) * 2011-11-28 2013-06-05 联想(北京)有限公司 Electronic equipment and information processing method thereof
CN103139036B (en) * 2011-11-28 2015-12-09 联想(北京)有限公司 Electronic equipment and information processing method thereof
CN103516590A (en) * 2012-06-30 2014-01-15 北京神州泰岳软件股份有限公司 Method and device for logging in instant messaging platform
CN103516590B (en) * 2012-06-30 2017-08-04 北京神州泰岳软件股份有限公司 A kind of method and apparatus of access of instant communicating platform
CN104581326A (en) * 2014-12-09 2015-04-29 深圳市腾讯计算机系统有限公司 Interaction method and device between control device and television
CN104581326B (en) * 2014-12-09 2017-10-27 深圳市腾讯计算机系统有限公司 Exchange method and device between controlling equipment and TV
CN108632646A (en) * 2017-03-20 2018-10-09 腾讯科技(深圳)有限公司 A kind of net cast method, apparatus and server
CN108616914A (en) * 2018-03-30 2018-10-02 武汉斗鱼网络科技有限公司 A kind of method and device of disconnection reconnecting
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

Also Published As

Publication number Publication date
CN100334842C (en) 2007-08-29

Similar Documents

Publication Publication Date Title
CN1700660A (en) Automatic reconnection method when disconnecting from server
CN101395672B (en) Low storage portable media player
CN102468989B (en) The method and system of network data
US8839403B2 (en) Local proxy system and method
CN101110987B (en) System and method for implementing short message group sending
WO2007058763A3 (en) System and method for accessing electronic program guide information and media content from multiple locations using mobile devices
CN105677512B (en) Data processing method and device and electronic equipment
WO2005027387A3 (en) Wireless communications services pay plan customizer and notifier
CN106547615A (en) A kind of management method and management module of background application
WO2004028123A8 (en) System and method of accessing contact information on a communication device
CN102111426A (en) Method, system and device for implementing point-to-point technology
CN101163050A (en) Equipment near-end maintenance method, system and equipment
CN102821111A (en) Real-time synchronizing method for file cloud storage
CN103218555A (en) Logging-in method and device for application program
WO2005048104A3 (en) System, apparatus, and method for automatic copy function selection
CN103685281A (en) Network address protocol switching method and device
US20080274717A1 (en) Apparatus of Transmitting Private Information in Mobile Terminal and Its Method
CN101997743A (en) Method for sharing file information
CN111352900B (en) Virtualized application file access method, device, server and storage medium
CN101951361B (en) Method for accessing intelligent card and server
CN104090878A (en) Multimedia checking method, terminal, server and system
CN102223399B (en) Contact person session presentation method based on intelligent terminal and system thereof
CN101656936A (en) Communication method and device thereof
CN110851411B (en) DNS dynamic change system and method based on file synchronization
CN103856535A (en) Method and device for obtaining user data

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

Granted publication date: 20070829

Termination date: 20180701

CF01 Termination of patent right due to non-payment of annual fee