[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN1177450C - Method of realizing - Google Patents

Method of realizing Download PDF

Info

Publication number
CN1177450C
CN1177450C CNB011416491A CN01141649A CN1177450C CN 1177450 C CN1177450 C CN 1177450C CN B011416491 A CNB011416491 A CN B011416491A CN 01141649 A CN01141649 A CN 01141649A CN 1177450 C CN1177450 C CN 1177450C
Authority
CN
China
Prior art keywords
heartbeat
server
message
internet
number link
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
CNB011416491A
Other languages
Chinese (zh)
Other versions
CN1411247A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB011416491A priority Critical patent/CN1177450C/en
Publication of CN1411247A publication Critical patent/CN1411247A/en
Application granted granted Critical
Publication of CN1177450C publication Critical patent/CN1177450C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to an implementation method of a 'heartbeat' technology in an internet personal number service, which can be used for ensuring reliable communication between an internet personal number service server and a user server (US) after a communication linkage is established, and simultaneously, the method can also be used for reducing the quantity of interaction data between the internet personal number service server and the user server to save the bandwidth. The method comprises: a heartbeat timer is started by an active heartbeat party (the internet personal number service server) after the communication linkage to start timing; the heartbeat timer is reset in a heartbeat time interval as long as the active party receives any response message of a passive party (US); the active heartbeat party transmits a heartbeat message to the US when the timing time of the heartbeat timer reaches the heartbeat time interval but the active heartbeat party still does not receive any response message from the passive party, and the communication linkage is judged as out of order when continuous execution reaches a maximal number of retries. The heartbeat time interval and the maximal number of retries are designated in a response message for responding to a login request, and the response message for responding to a login request is transmitted by the US to the internet personal number service server.

Description

The implementation method of " heartbeat " technology in the internet one number link you
Technical field
The present invention relates to IP (IP Internet Protocol: communication technology Internet protocol), relate to a kind ofly in new internet one number link you (ONLY:One Number Link You) or rather, realize between two communication equipments mutual " heartbeat " technology that connects.
Background technology
Development along with Internet, the Internet user needs a kind of convenient means that can exchange and obtain information whenever and wherever possible mutually more and more urgently, One Number Link You is just in order to satisfy this demand of user, on the basis of merging conventional telecommunications technology and IP technology, a kind of novelty business of being developed.The core idea of One Number Link You is to distribute an ONLY number to each user, no matter he is telephone subscriber or pc user, also no matter whether this user surfs the Net, by the ONLY system with use the ONLY number just can will call out and this ONLY user's landline telephone (office phone, home phone number), mobile phone (mobile phone), pager, PC etc. couple together, promptly realize phone to phone, phone to PC, PC to phone, four kinds of business of Pc to PC.
Problems such as the mapping problems of the number issues that One Number Link You solves when being pc user, ordinary telephone subscriber intercommunication, charging problem, a plurality of telephone numbers and user move.Use One Number Link You, the user only need apply for an ONLY number (a kind of virtual-number, as a special service number 166 add 8 bit digital that comprise area code * * * * * * * *), after this no matter where this user walks, and other users can be by using equipment such as telephone set, PC and relating to him by the means of using this ONLY number.ONLY user receives the means of information can be according to user's oneself setting, sets up in real time with phone or with the mode of PC and calling subscriber and gets in touch, and also can listen to message in the mode of Voice Mailbox.
Realize One Number Link You, one ONLY server (ONLY Server) and a client server (User Server need be set, but breviaty is US), the ONLY server is used to finish the control that continues of all service-users, no matter be telephone subscriber or pc user, as long as dialed called subscriber's ONLY number, this calling just will be routed to earlier on the ONLY server, carry out the follow-up operation that continues by the ONLY server by user's customization in advance again, to guarantee pc user and Phone user's unified management; The policy control that client server (US) is responsible for calling out, policy control can be by customization (as call forward on busy call out rule), and are kept in the ONLY database.
Have ONLY to call out when arriving, the ONLY server is inquired about to client server, and client server obtains the call path (number) that this user customizes in advance by accessing database, transfers on the corresponding verbal system again.If call out on plain old telephone or the mobile phone, then the ONLY server makes a call to the on-site IP phone gateway of called number (GW); If call out pc client, then the ONLY server directly makes a call to called party terminal; If need message, then the ONLY server transfers the call on the user's voice mailbox.
Realize the networking structure and the call flow of One Number Link You shown in Fig. 1, calling part user is called out the ONLY number, the calling meeting of all-calls ONLY number all is routed on the ONLY server 104 through gateway (GW) 102 or 103, ONLY server 104 is to 105 requests of client server (US), client server (US) 105 Query Databases 106, obtain current actual phone number that should continue or IP address according to called subscriber's current state and log-on data, and return to ONLY server 104, ONLY server 104 under the support of gatekeeper 101 through gateway (GW) 102 or 103, public switched telephone network (PSTN) 109 or 123 makes a call to called subscriber's actual phone number or IP address.What client server (US) 105 returned to ONLY server 104 is one or more telephone numbers, the IP address that customizes in advance according to the called subscriber.Telephone set shown in the figure (Telephone) 110,119, facsimile machine (Fax) 111,120, portable computer (Laptopcomputer) 113,122, modulator-demodulator (Modem) 112,121 is subscriber equipment, and the 115th, pc client (PCC:PC Client).
As everyone knows, between the terminal that Liang Tai communicates, in order to obtain connection situation (TCP connect or UDP connect) between the two in real time, it is mutual generally need to carry out " heartbeat " formula.
Existing " heartbeat " design generally all is periodically to send the heartbeat request message to the other end (server) by a certain end (client), and the other end (server) can be responded the heartbeat back message using behind the heartbeat request message of receiving opposite end (client).If an end (client or server) is not received the heartbeat message (heartbeat request message or heartbeat back message using) of opposite end (server or client) in a certain predetermined amount of time, think that then connection situation between the two is unusual.
The reliable connection between client and the server certainly kept in this heartbeat design, but in fact also have the mutual of other data between the client and server, as call data, metering data etc., can carry out under the normal mutual situation in these data, just can prove that being connected between client and the server is reliable, existing problems are not mutual if also carry out " heartbeat " this moment, obviously there is no need.
In the ONLY of aforementioned introduction new business, ONLY Server and US are two main function components in the ONLY system, adopt TCP to be connected between ONLY Server and the US.Its TCP connects for real-time ensuring, and reduces the mutual of unnecessary data message, needs a kind of efficient heartbeat technology of novel concept in the One Number Link You.
Summary of the invention
The objective of the invention is to design the implementation method of " heartbeat " technology in a kind of internet one number link you (ONLY), can guarantee to carry out between ONLY Server and the US reliable communication, also can reduce the quantity of interaction data between ONLYServer and the US simultaneously, with conserve bandwidth.
The technical scheme that realizes the object of the invention is such: the implementation method of " heartbeat " technology in a kind of internet one number link you (ONLY) is characterized in that comprising:
A. by the masters of the heartbeat that communicates connection, by send the logging request message to the passive side and the passive side after masters is responded the login response message, start the heartbeat timer and pick up counting, in this login response message, the heartbeat time interval and maximum reattempt times are arranged;
B. heart time at interval in, when the masters of heartbeat was received any back message using of passive side, the heartbeat timer that resets restarted timing;
C. after the timing time of heartbeat timer reaches the heart time interval, when the masters of heartbeat is not received any back message using of passive side, send heartbeat message to the passive side, when execution in step C reaches maximum reattempt times continuously, judge that the communication link between described masters and passive side is connected to fault.
Described steps A, be to send the logging request message and after internet one number link you (ONLY) server receives the response logging request response message that client server sends to client server, start that the heartbeat timer picks up counting at internet one number link you (ONLY) server.
Among the described step B, described any back message using comprises any data message and the heartbeat message between internet one number link you (ONLY) server and the client server.
Described maximum reattempt times are in client server appointment in the response logging request response message that internet one number link you (ONLY) server sends.
Described heart time is in client server appointment in the response logging request response message that internet one number link you (ONLY) server sends at interval.
The timing of described heartbeat timer is set to heart time at interval.
The implementation method of " heartbeat " technology in the internet one number link you of the present invention (ONLY), its heartbeat are just to carry out when only the free time appears in the data interaction between two terminals that communicate alternately.By the heartbeat design of this novel concept, the reliability of data interaction between two terminals that can guarantee to communicate, the while has reduced the quantity of interaction data again effectively, has saved bandwidth.
Method of the present invention is removed and be can be used for the One Number Link You China and foreign countries, also can be applicable in the IP communication new business.
Description of drawings
Fig. 1 utilizes the existing gateway function to realize a kind of networking structure and the call flow schematic diagram of One Number Link You.
Fig. 2 be the ONLY server with client server between the mutual FB(flow block) that is connected of " heartbeat " and response message.
Execution mode
Address before Fig. 1 illustrates, repeat no more.
Referring to Fig. 2, the server of ONLY shown in the figure finishes the flow process that TCP is connected alternately with User server.
(1) after setting up TCP between ONLY SERVER and US and being connected, ONLY SERVER sends login (registration) request message to US;
(2) US carries out the legitimacy judgement according to user ID (ID) and password, and returns corresponding response login response message;
(3) after ONLY SERVER succeeds in registration, send heartbeat message to US;
(4) US responds the heartbeat response message to ONLY SERVER;
When (5) ONLY SERVER is out of service, send the de-registration request message to US.
Transmission Control Protocol is adopted in the transmission of above-mentioned message.
When ONLY Server started, ONLY Server sent logging request to User Server, had comprised sign (ID) number and the password of ONLY Server in the solicited message; If User Server thinks that this landing request information is legal, and do not have other abnormal conditions, when not being in a hurry, should return the response message that login is passed through as system, wherein contain heart time interval and maximum reattempt times, system enters heartbeat signal flow process and call flow.
ONLY Server should send heartbeat message behind the idle certain hour of the communication link between ONLY Server and User Server interval.After system enters the heartbeat signal flow process, starting the heartbeat timer picks up counting, heart time interval and maximum reattempt times are specified in the logging request response message that ONLY Server provides at User Server and are provided, as default value is to send once in 10 seconds, maximum reattempt times are 5, in the heartbeat timer picks up counting to 10 seconds, if ONLY Server does not receive any message from User Server, then send heartbeat message, send and still do not receive for 5 times and to reply, think that then User Server has fault, in the heartbeat timer picks up counting to 10 seconds, if ONLY Server receives any message from User Server, the heartbeat timer that then resets restarts timing.
When ONLY Server is out of service, ONLY Server sends de-registration request to User Server, User Server should think that ONLY Server has broken away from logging status after receiving this message, and this moment, UserServer did not need to send response message to ONLY Server again.
The foregoing description can be applicable, suppose to communicate two station terminals of connection, one is masters, and one is the passive side.Masters by heartbeat starts the heartbeat timer, when the active direction passive side sends any data message, after comprising heartbeat message, when if masters has been received any back message using of passive side, can think that being connected between passive side and the masters is normal, heartbeat timer and carry out timing again then resets.Certainly, if the heartbeat timer event takes place, masters still should send heartbeat message to the passive side.
This heartbeat exchange method of the present invention uses in One Number Link You, and good practicability is arranged.Also can be applicable in any IP communication service.

Claims (6)

1. the implementation method of " heartbeat " technology in the internet one number link you is characterized in that comprising following treatment step:
A. by the masters of the heartbeat that communicates connection, by send the logging request message to the passive side and the passive side after masters is responded the login response message, start the heartbeat timer and pick up counting, in this login response message, the heartbeat time interval and maximum reattempt times are arranged;
B. heart time at interval in, when the masters of heartbeat was received any back message using of passive side, the heartbeat timer that resets restarted timing;
C. after the timing time of heartbeat timer reaches the heart time interval, when the masters of heartbeat is not received any back message using of passive side, send heartbeat message to the passive side, when execution in step C reaches maximum reattempt times continuously, judge that the communication link between described masters and passive side is connected to fault.
2. the implementation method of " heartbeat " technology in a kind of internet one number link you according to claim 1, it is characterized in that: described steps A, be to send the logging request message and after the internet one number link you server receives the response logging request response message that client server sends to client server, start that the heartbeat timer picks up counting at the internet one number link you server.
3. the implementation method of " heartbeat " technology in a kind of internet one number link you according to claim 1, it is characterized in that: among the described step B, described any back message using comprises any data message and the heartbeat message between internet one number link you server and the client server.
4. the implementation method of " heartbeat " technology in a kind of internet one number link you according to claim 1, it is characterized in that: described maximum reattempt times are in client server appointment in the response logging request response message that the internet one number link you server sends.
5. the implementation method of " heartbeat " technology in a kind of internet one number link you according to claim 1, it is characterized in that: described heart time is in client server appointment in the response logging request response message that the internet one number link you server sends at interval.
6. the implementation method of " heartbeat " technology in a kind of internet one number link you according to claim 1 is characterized in that: the timing of described heartbeat timer is set to heart time at interval.
CNB011416491A 2001-09-29 2001-09-29 Method of realizing Expired - Fee Related CN1177450C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011416491A CN1177450C (en) 2001-09-29 2001-09-29 Method of realizing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011416491A CN1177450C (en) 2001-09-29 2001-09-29 Method of realizing

Publications (2)

Publication Number Publication Date
CN1411247A CN1411247A (en) 2003-04-16
CN1177450C true CN1177450C (en) 2004-11-24

Family

ID=4676304

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011416491A Expired - Fee Related CN1177450C (en) 2001-09-29 2001-09-29 Method of realizing

Country Status (1)

Country Link
CN (1) CN1177450C (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7962623B2 (en) * 2004-06-30 2011-06-14 Microsoft Corporation Sustaining session connections
GB0526029D0 (en) * 2005-12-21 2006-02-01 Nokia Corp Managing connections in a wireless communications network
CN1925530B (en) * 2006-09-06 2011-01-05 华为技术有限公司 System and method for recording call list
US9026575B2 (en) * 2006-09-28 2015-05-05 Alcatel Lucent Technique for automatically configuring a communication network element
CN101106535B (en) * 2007-08-14 2011-04-13 华为技术有限公司 A method, server and system for heartbeat mechanism
CN101420287B (en) * 2007-10-22 2012-05-23 中兴通讯股份有限公司 Method for improving timer efficiency
CN101599982B (en) * 2008-06-06 2014-03-05 广东宇天科技有限公司 Mobile phone information browsing device, mobile phone information browsing system and realizing method thereof
CN101707536B (en) * 2009-11-25 2011-09-07 成都市华为赛门铁克科技有限公司 Fault detection method, line card and main control card
CN102088372B (en) * 2009-12-03 2014-04-02 大唐移动通信设备有限公司 Heartbeat detecting method, system and equipment
CN102457406A (en) * 2010-10-27 2012-05-16 深圳市金蝶友商电子商务服务有限公司 Method and server for detecting abnormal disconnection of client in Internet communication application
CN103415031A (en) * 2013-07-22 2013-11-27 中国联合网络通信集团有限公司 Method and device for heart beat reminding
CN104391755A (en) * 2014-10-21 2015-03-04 北京星网锐捷网络技术有限公司 Abnormity handling method and device for embedded multimedia card (eMMC) chip
CN107317731A (en) * 2017-08-21 2017-11-03 厦门天锐科技股份有限公司 A kind of detection method of client and server connection state
CN108092853B (en) * 2017-12-27 2021-09-21 珠海市君天电子科技有限公司 Method, device and system for monitoring link state of server, electronic equipment and storage medium
CN110974204A (en) * 2019-12-25 2020-04-10 杭州涂鸦信息技术有限公司 Method, system and device for realizing bidirectional heartbeat mechanism
CN113542380A (en) * 2021-07-06 2021-10-22 四川创智联恒科技有限公司 High-efficiency heartbeat keep-alive method

Also Published As

Publication number Publication date
CN1411247A (en) 2003-04-16

Similar Documents

Publication Publication Date Title
CN1177450C (en) Method of realizing
US6098091A (en) Method and system including a central computer that assigns tasks to idle workstations using availability schedules and computational capabilities
US5951637A (en) Bandwidth reservation system
US7027435B2 (en) Method and device for call diversion via an agent in a communications system
US6363065B1 (en) okApparatus for a voice over IP (voIP) telephony gateway and methods for use therein
CN1214593C (en) Estabishing communication in packet data network
US6285748B1 (en) Network traffic controller
CN101079925A (en) A method and system for allocating instant communication session
CN1324165A (en) Method and system for presence information
JP2000134336A (en) Telephone server system and recording medium recorded with program for the system
AU4771700A (en) Methods for fast dial-on-demand internet access with analog modems at user sides, via public switched telephone networks, enabling apparent user's full session-continuities
US20080056239A1 (en) VOIP Service Over a Regular Phone
US20020116497A1 (en) Method for managing PC to PC audio communications
CN1190047C (en) Method and system for realizing personal number servie of blended telephone net and IP net user service
CN1298146C (en) Method for notifying busy status to session initiating protocol network from end user
CN1694476A (en) Automatic display method and system for incoming message switched by extension telephone
Cisco Cisco High-Performance Gatekeeper
CN1180594C (en) Identification and charging method in ONLY: one number link you
CN1115836C (en) Indication method of network user's coming call
CN100433695C (en) Registration method of flexible switchboard intra domain user
WO2002025985A1 (en) International mobile communication roaming servicing system over the internet protocol
CN1172504C (en) Method of creating charging identification in internet one number link you
CN1127828C (en) Method for calling non-on line user to connect network
US7245607B1 (en) Apparatus and method for telephony feature access and gatekeeper policy interaction on combined ToL/PBX systems
JP2003319067A (en) Call service unit adaptor, trunk server and internet telephone network 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: 20041124

Termination date: 20110929