CN100583934C - Timer control method and system - Google Patents

Timer control method and system Download PDF

Info

Publication number
CN100583934C
CN100583934C CN200510085376A CN200510085376A CN100583934C CN 100583934 C CN100583934 C CN 100583934C CN 200510085376 A CN200510085376 A CN 200510085376A CN 200510085376 A CN200510085376 A CN 200510085376A CN 100583934 C CN100583934 C CN 100583934C
Authority
CN
China
Prior art keywords
timer
message
response
requesting party
restart
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
CN200510085376A
Other languages
Chinese (zh)
Other versions
CN1859529A (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 CN200510085376A priority Critical patent/CN100583934C/en
Publication of CN1859529A publication Critical patent/CN1859529A/en
Application granted granted Critical
Publication of CN100583934C publication Critical patent/CN100583934C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The present invention discloses timer control method. It contains request side transmitting request message to responding side, starting up waiting timer; responding side receiving said message and starting up monitoring timer, when monitoring timer overtime but said message not having ended process, transmitting restart timer message to request side, request receiving said message and restarting waiting timer. The present invention also discloses a timer control system, which includes transmitting request message, request side equipment, and responding side equipment. The present invention avoids service abnormal end.

Description

A kind of timer control method and system
Technical field
The present invention relates to timer control field, be specifically related to a kind of timer control method and system.
Background technology
For based on safe user plane shift position business, present international Open Mobile Alliance (OMA, Open Mobile Alliance) worked up a cover based on safe user plane running fix (SUPL, Secure User Plane Location) agreement is to carry out comprehensive standard to this business.In the SUPL agreement, to the timer of each entity correspondence, and the triggering of each timer and termination condition have all carried out clearly definition.SUPL terminal (SET, SUPL Enabled Terminal) Dui Ying timer is respectively: UT1, UT2, UT3 and UT4, SUPL locating platform (SLP, SUPL LocationPlatform) Dui Ying timer is respectively: ST1, ST2, ST3 and ST4, SUPL position calculation center (SPC, SUPL Positioning Centre) Dui Ying timer is PT1, and the timer that request SUPL locating platform (R-SLP, Requesting SUPL Location Platform) is corresponding is RT1.Each timer is applied to the different phase of SUPL process respectively, for example: the UT1 trigger condition is: SET sends SUPL and begins (Start) message, termination condition is: SET receives SUPL response (Response) message, the timing length of UT1 is 10 seconds, when UT1 is overtime, SET can send SUPL to SLP and finish (End) message, discharges this dialogue resource that self takies simultaneously.
Timer can be avoided carrying out in the process in business, and after the requesting party had sent request message, response side reduced the waste of resource owing to the dialogue that the response timeout to this request message causes is hung.Particularly, when response side does not discharge this dialogue, but owing to inter-process or other reason cause response timeout, and when the requesting party has found that the waiting timer of self is overtime, so, the requesting party can send the SUPL end in time for response side, discharges this dialogue with push-notification-answer side, self discharges this dialogue simultaneously.
Though above-mentioned processing can be avoided the waste of resource to a certain extent, also can cause following shortcoming simultaneously:
When 1, having the ability in response side to handle this business, this business of abnormal ending.Response can temporarily can't be handled this business owing to reasons such as the current network load are bigger, but if the requesting party waits for the short period a little, just very possible this business of handling in response side.And service exception finishes, and can cause the bad impression of service quality to the user.
2, the requesting party may carry out secondary or repeatedly professional application, and response this moment can still can't be handled this business, causes this business to continue failure, has wasted ample resources.
3, the timer duration in the standard criterion all is a recommended value, and these recommended values can not be applicable to all service conversations.
Summary of the invention
In view of this, main purpose of the present invention provides a kind of timer control method and system, finish to be untreated at service conversation, but during the side's of response response timeout, the requesting party can continue the response of wait-for-response side, finishes to avoid service exception.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of timer control method, this method comprises:
A, request directional response side send a request message, and start waiting timer simultaneously; This message is received by response side, start monitor timer, and the duration of monitor timer is less than the duration of waiting timer;
B, overtime and this request message is untreated when finishing at monitor timer, and response side restarts message for requesting party's transmission timer; The requesting party restarts waiting timer after receiving this message.
Step B receives described request side after the timer restart message, further comprises: the requesting party returns the timer restart response for response side.
When described response side restarts message for requesting party's transmission timer, further comprise: set a wait and restart response time,
And response time mistake is restarted in described wait, and response side does not receive requesting party's timer restart response yet, and then response side repeats to restart message to requesting party's transmission timer.
The described waiting timer duration that restarts of step B is provided with for requesting party oneself,
Perhaps be that response side is provided with, and by the described timer restart message informing of step B requesting party.
A kind of timer control system comprises: requesting party's equipment and responder device, wherein,
Requesting party's equipment is used for sending a request message to responder device, starts waiting timer simultaneously; Be used to receive the timer restart message of responder device, restart waiting timer simultaneously;
Responder device is used to receive the request message of requesting party's equipment, starts the monitor timer of duration less than the waiting timer duration of requesting party's equipment simultaneously; And at monitor timer overtime and this request message is untreated when finishing, restart message for requesting party's equipment transmission timer.
The described request method, apparatus is further used for, and after receiving the timer restart message that responder device sends, returns the timer restart response to responder device;
Described responder device is further used for, and receives the timer restart response of requesting party's equipment.
Compared with prior art, the present invention starts waiting timer when the requesting party sends a request message for response side; After this message is received by response side, start monitor timer, this monitor timer duration is less than the waiting timer duration, when be untreated in response side this request message but monitor timer are overtime, returns timer restart message to the requesting party; The requesting party restarts waiting timer after receiving this message.The invention enables response timeout in response side, but have the ability to handle under this professional situation, the requesting party can continue the response of wait-for-response side, has avoided the service exception end, and saved Internet resources, and made requesting party's the more realistic dialogue situation of waiting timer duration.
Description of drawings
Fig. 1 is a timer-operated system block diagram provided by the invention;
Fig. 2 is a timer-operated flow chart provided by the invention.
Embodiment
Core concept of the present invention is: when the requesting party sends a request message for response side, start waiting timer; After this message is received by response side, start monitor timer, the duration of this monitor timer is less than the duration of waiting timer, and when be untreated in response side this request message but monitor timer were overtime, message was restarted to requesting party's transmission timer in response side; The requesting party restarts waiting timer after receiving this message, to continue the response of wait-for-response side.
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Fig. 1 is a timer-operated system block diagram provided by the invention, and as shown in Figure 1, it specifically comprises:
Requesting party's equipment: be used for sending a request message, start waiting timer simultaneously to responder device; Be used to receive the timer restart message that responder device sends, and restart waiting timer.
Further, requesting party's equipment is used for after receiving the timer restart message that responder device sends, and returns the timer restart response to responder device.
Responder device: be used to receive the request message of requesting party's equipment, start the monitor timer of duration simultaneously less than the waiting timer duration of requesting party's equipment; Be used at monitor timer overtime but when being untreated this request message, restart message for requesting party's equipment transmission timer.
Further, responder device is used to receive the timer restart response that requesting party's equipment sends.
In the present invention, need only equipment initiation request and the wait response to method, apparatus, this equipment just can be described as requesting party's equipment; Equally, if an equipment receive request and need to give this request of transmission method, apparatus is returned response, this equipment just can be described as responder device.
Fig. 2 is a timer-operated flow chart provided by the invention, and as shown in Figure 2, its concrete steps are as follows:
Step 201: the requesting party sends a request message for response side, starts waiting timer simultaneously.
Requesting party among the present invention can be SET or SLP etc., and accordingly, response can be to be SLP or SET etc.If a plurality of requesting parties or a plurality of response side are arranged, and all can realize communication between all requesting parties and all the response sides, can adopt timer control method provided by the invention so, realize all requesting parties' timer control.
Step 202: this message is received by response side, sets and the startup monitor timer, simultaneously this message is handled.
The monitor timer duration is less than requesting party's waiting timer duration.Response can be learnt requesting party's waiting timer duration by following dual mode:
One, the acquiescence waiting timer duration of self preserving by default;
Two, the waiting timer duration of response side's prediction.
Step 203: response side judges whether this message disposes, if, execution in step 204; Otherwise, execution in step 205.
Step 204: response side returns response message to the requesting party, removes monitor timer simultaneously, and this flow process finishes.
Equally, after the requesting party receives this response message, remove waiting timer.
Step 205: response side judges whether monitor timer is overtime, if, execution in step 206; Otherwise, continue to handle this message, and return step 203.
Step 206: response side restarts message for requesting party's transmission timer.
Monitor timer is overtime, shows that response side does not in time return response message to the requesting party.
The timer ID that timer restart message comprises current dialogue identifier (ID), need reset is waiting timer ID, can also comprise that timer resets duration.
Timer restart message can adopt the send mode transmission of requesting party and response side support in the prior art.
When message is restarted at transmission timer in response side, can set a wait simultaneously and restart response time,, not receive the timer restart response that the requesting party returns yet, just send this timer restart message to the requesting party again as if this duration mistake.
Step 207: the requesting party receives this timer restart message, restarts waiting timer, with the response message of wait-for-response side again.
After transmission timer was restarted message, response side continued this request message of normal process.
After the requesting party receives the timer restart message of response side's transmission, return a timer restart response can for response side, timer restart message is received in expression, and the timer restart response comprises talks with ID.
The waiting timer duration of resetting can be set in timer restart message response side, also can be that the requesting party sets according to s own situation.
If after the waiting timer of restarting was overtime, response side did not handle this message yet, so, message is restarted in response transmission timer once more, and the requesting party can be restarted waiting timer once more.
In actual applications, according to the different situations of self, the requesting party is after receiving timer restart message, also may not reset waiting timer, and after the waiting timer of former setting is overtime, when still confiscating the response message of response side, send for response side and discharge conversation message, self discharge this dialogue simultaneously; Perhaps, after receiving timer restart message, directly discharge this dialogue, and send the release conversation message for response side.
In order more clearly to describe the present invention, now provide concrete example a: SET and will initiate a self-align process, send SUPL to SLP and begin message, start timer UT1 simultaneously, the duration of UT1 is 10 seconds; SLP receives this message, starts monitor timer, and to set this monitor timer duration be 9 seconds; When monitor timer was overtime, SLP did not handle SUPL yet and begins message, and this moment, SLP returned timer restart message to SET, comprised this dialogue ID, timer ID:UT1 and timer in the message and reseted duration: 3 seconds; After SLP received this message, resetting the UT1 duration was 3 seconds, continued the SUPL response of waiting for that SLP returns.
The above only is process of the present invention and method embodiment, in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1, a kind of timer control method is characterized in that, this method comprises:
A, request directional response side send a request message, and start waiting timer simultaneously; This message is received by response side, starts monitor timer, simultaneously this message is handled, and the duration of monitor timer is less than the duration of waiting timer;
B, overtime and this request message is untreated when finishing at monitor timer, and response side restarts message for requesting party's transmission timer, continues to handle this request message; The requesting party restarts waiting timer after receiving this message, with the response message of wait-for-response side again.
2, the method for claim 1 is characterized in that, step B receives described request side after the timer restart message, further comprises: the requesting party returns the timer restart response for response side.
3, method as claimed in claim 2 is characterized in that, when described response side restarts message for requesting party's transmission timer, further comprises: set a wait and restart response time,
And response time mistake is restarted in described wait, and response side does not receive requesting party's timer restart response yet, and then response side repeats to restart message to requesting party's transmission timer.
4, the method for claim 1 is characterized in that, the described waiting timer duration that restarts of step B is provided with for requesting party oneself,
Perhaps be that response side is provided with, and by the described timer restart message informing of step B requesting party.
5, a kind of timer control system is characterized in that, comprising: requesting party's equipment and responder device, wherein,
Requesting party's equipment is used for sending a request message to responder device, starts waiting timer simultaneously; Be used to receive the timer restart message of responder device, restart waiting timer simultaneously, with the response message of wait-for-response side again;
Responder device is used to receive the request message of requesting party's equipment, starts the monitor timer of duration less than the waiting timer duration of requesting party's equipment simultaneously, and this message is handled; And at monitor timer overtime and this request message is untreated when finishing, restart message for requesting party's equipment transmission timer, continue to handle this request message simultaneously.
6, system as claimed in claim 5 is characterized in that, the described request method, apparatus is further used for, and after receiving the timer restart message that responder device sends, returns the timer restart response to responder device;
Described responder device is further used for, and receives the timer restart response of requesting party's equipment.
CN200510085376A 2005-07-26 2005-07-26 Timer control method and system Expired - Fee Related CN100583934C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200510085376A CN100583934C (en) 2005-07-26 2005-07-26 Timer control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200510085376A CN100583934C (en) 2005-07-26 2005-07-26 Timer control method and system

Publications (2)

Publication Number Publication Date
CN1859529A CN1859529A (en) 2006-11-08
CN100583934C true CN100583934C (en) 2010-01-20

Family

ID=37298390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510085376A Expired - Fee Related CN100583934C (en) 2005-07-26 2005-07-26 Timer control method and system

Country Status (1)

Country Link
CN (1) CN100583934C (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6360100B1 (en) 1998-09-22 2002-03-19 Qualcomm Incorporated Method for robust handoff in wireless communication system
US7668541B2 (en) 2003-01-31 2010-02-23 Qualcomm Incorporated Enhanced techniques for using core based nodes for state transfer
US8983468B2 (en) 2005-12-22 2015-03-17 Qualcomm Incorporated Communications methods and apparatus using physical attachment point identifiers
US9078084B2 (en) 2005-12-22 2015-07-07 Qualcomm Incorporated Method and apparatus for end node assisted neighbor discovery
US8982778B2 (en) 2005-09-19 2015-03-17 Qualcomm Incorporated Packet routing in a wireless communications environment
US9736752B2 (en) 2005-12-22 2017-08-15 Qualcomm Incorporated Communications methods and apparatus using physical attachment point identifiers which support dual communications links
US9066344B2 (en) 2005-09-19 2015-06-23 Qualcomm Incorporated State synchronization of access routers
US8509799B2 (en) 2005-09-19 2013-08-13 Qualcomm Incorporated Provision of QoS treatment based upon multiple requests
US9083355B2 (en) 2006-02-24 2015-07-14 Qualcomm Incorporated Method and apparatus for end node assisted neighbor discovery
US9155008B2 (en) 2007-03-26 2015-10-06 Qualcomm Incorporated Apparatus and method of performing a handoff in a communication network
US8830818B2 (en) 2007-06-07 2014-09-09 Qualcomm Incorporated Forward handover under radio link failure
US9094173B2 (en) * 2007-06-25 2015-07-28 Qualcomm Incorporated Recovery from handoff error due to false detection of handoff completion signal at access terminal
CN101631293B (en) * 2009-08-11 2012-01-11 中兴通讯股份有限公司 Method and device for realizing unstructured supplementary service data (USSD)
US8615241B2 (en) 2010-04-09 2013-12-24 Qualcomm Incorporated Methods and apparatus for facilitating robust forward handover in long term evolution (LTE) communication systems
CN104618429B (en) * 2014-12-23 2018-07-20 华为技术有限公司 A kind of method and device of information exchange
CN107943575A (en) * 2017-12-07 2018-04-20 北京兆易创新科技股份有限公司 Multitask monitoring and managing method and device in SPI NAND
CN110365720B (en) * 2018-03-26 2021-02-12 华为技术有限公司 Method, device and system for processing resource request
CN110430272A (en) * 2019-08-09 2019-11-08 山东浪潮通软信息科技有限公司 Data transmission method and configuration system based on webservice

Also Published As

Publication number Publication date
CN1859529A (en) 2006-11-08

Similar Documents

Publication Publication Date Title
CN100583934C (en) Timer control method and system
CN108712485B (en) Resource subscription method and device for Internet of things equipment
US20070019572A1 (en) SIP server, terminal device, subscriber information management device, and communication control method
US10750570B2 (en) Call termination method, application processor, and modem
WO2008060464B1 (en) Methods, systems, and computer program products for jumping calls between different modes of the same device
CN110225559B (en) Call control method, device, equipment and storage medium
EP4329380A1 (en) Voice call method and voice call apparatus
CN101309515A (en) Method of managing queuing operation for a wireless communications system and related apparatus
CN106547566B (en) Communications service process pool management method and system
CN108259433A (en) A kind of call queuing distribution method, system and server
CN110209474B (en) Task processing method and device
CN102487341A (en) Session detection method and apparatus thereof, and session initiation protocol (SIP) server
US8331973B2 (en) Method and system for terminal PTT registration based on CDMA trunking system
CN111434098B (en) Switch, communication system, registration method, and computer-readable medium
CN110650259B (en) Call request response method, device, server, terminal and storage medium
JPH10327212A (en) Network connection control system and storage medium
CN101695099B (en) Implementing method, system and equipment for voice talk
JP6218937B2 (en) Service scheduling method, system, terminal, and storage medium based on clustering system
CN100499924C (en) Method for implementing subscriber paging
CN100421518C (en) Subscriber plane mobile positioning and system based on safety
CN109246244B (en) Message synchronization detection method, device and system
CN112153726B (en) Method for switching design of inactive state of user equipment
US9380164B2 (en) Method, network exchange device, and user terminal for providing call service
CN115114017A (en) Single-user blocking control method under multi-user high-concurrency scene
KR20180043655A (en) Call Connecting Method And Terminal of Thereof

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: 20100120

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