The present invention relates to a method and system for terminal PTT (push to talk) registration based on CDMA trunking system.
With the further development of mobile terminal device, there are a wide range of universal terminal equipments available in the market, such as a GSM terminal, a CDMA terminal, a WCDMA terminal, and a dual-mode and multi-standby terminal. At the same time, some trunking systems and terminals thereof directed to particular users have been developed and applied quickly, for example, a CDMA-based trunking system, gota. The trunking-based terminal equipment is important in the mobile terminal market. Generally, a trunking terminal is directed to users in a specific field, such as dockworkers, taxi drivers, traffic police, etc. However, the existing trunking system and the terminal thereof have some problems in certain aspects, for instance, a registration problem is widely existed in a current terminal of trunking function based on CDMA wherein if a incoming call is received before the PTT terminal registration, the trunking terminal can not carry out the registration or the registration is abnormal, thus resulting in terminal malfunctions.
The present invention is made by keeping the above problems in mind, thus the main object of the present invention is to provide a method and system for terminal PTT registration based on CDMA trunking system.
According to one aspect of the present invention, it is provided a method for terminal PTT registration based on CDMA trunking system, comprising:
Step S102, after a PTT terminal is powered and a normal CDMA registration flow is completed, the value of PTT registration message counter of the PTT terminal is initialized;
Step S104, the PTT terminal initiates a registration to the dispatching server and sends a registration message to a base station on a control channel through the PTT registration message;
Step S106, after having sent the PTT registration message, the PTT terminal starts a PTT registration timer of the terminal and waits for a registration response message from the base station;
Step S108, upon having received the PTT registration message of the PTT terminal user, the base station sends to the terminal a registration response message containing answer information;
Step S110, if the registration response message received by the PTT terminal is a PTT registration acceptance message from the base station, then turning to Step S114; if the registration response message received by the PTT terminal is a PTT registration refusal message from the base station, then turning to Step S118; if when the PTT registration timer has expired and the PTT terminal has not received a response message from the base station, then turning to S112;
Step S112, the value of PTT registration message counter is assigned with the value which is obtained by subtracting 1 from the current value of the registration message counter wherein if the value of PTT registration message counter is greater than 0, then the PTT terminal goes to Step S104 and re-sends a registration message to the base station, otherwise turning to Step S116;
Step S114, the registration succeeds and the PTT terminal shuts down the PTT registration timer, finishing the registration;
Step S116, the registration does not succeeds, the PTT registration timer is shut down, and the registration flow is finished;
Step S118, the registration is failed and the PTT registration timer is shut down, and the registration flow is finished.
In addition, the present method further comprises a timing registration timer, and after Step S116 comprises a process of starting the timing registration, wherein the registration process comprises:
Step S202, the time length of the timing registration timer is set as M and the timing registration timer is started wherein when the timing registration timer expires, turning to Step S204;
Step S204, the PTT terminal initiates a registration to the dispatching server wherein the terminal sends a registration message to the base station on the control channel through a PTT registration message, and the base station initiates a registration to the dispatching server;
Step S206, after sending the registration message, the PTT terminal starts the registration timer and waits for a response message from the base station;
Step S208, after receiving the registration response message from the PTT terminal, the base station sends to the PTT terminal a PTT registration message containing answer information;
Step S210, if the PTT terminal receives a registration acceptance message from the base station, then it shuts down the registration timer, turning to Step S212; if the PTT terminal receives a registration refusal message from the base station, then it shuts down the registration timer, turning to Step S214; if the PTT terminal has not received a response message from the base station when the registration timer expires, turning to Step S202;
Step S212, the registration succeeds and the PTT terminal shuts down the timing registration timer, finishing the timing registration;
Step S214, the PTT terminal shuts down the timing registration timer, finishing the timing registration.
In addition, the method further comprises performing a timing registration of PTT waiting, which is performed before the timing registration timer expires for the first time in the Step S202.
In addition, in the method, the terminal comprises a waiting registration timer and a waiting registration message counter. The PTT waiting registration process comprises:
Step S300, the initial value of the waiting registration message counter is set as N;
Step S302, the time length of the waiting registration timer is set as the value which is n times of the initial value of the waiting registration message counter, and when the waiting registration timer expires, turning to Step S304;
Step S304, the PTT terminal initiates a registration to the dispatching server wherein the terminal sends a PTT registration message to a base station on the control channel through the PTT registration message, and then the base station sends a PTT registration message to the dispatching server;
Step S306, after having sent the PTT registration message, the PTT terminal starts the registration timer and waits for a registration response message from the base station;
Step S308, upon having received the registration response message of the PTT terminal, the base station sends to the PTT terminal a PTT registration response message containing answer information;
Step S310, if receiving the registration acceptance message from the base station, the PTT terminal shuts down the registration timer and turns to Step S314; if receiving a registration refusal message responded from the base station, the PTT terminal shuts down the registration timer and turns to Step S316; if when the registration timer expires the PTT terminal has not received a response message from the base station, the process goes to S312;
Step S312, the value of the waiting registration timer is assigned to the waiting registration message counter wherein if the value of the timing registration counter is less than M, turning to S302, and otherwise if the value of the timing registration counter is greater than or equal to M, the waiting registration timer is shut down, finishing the waiting registration;
Step S314, the registration succeeds, and the terminal shuts down the waiting registration timer and the timing registration timer, finishing the registration;
Step S316, the registration is failed, and the terminal shuts down the waiting registration timer and the timing registration timer, finishing the registration.
In addition, in the method, the PTT registration message is embodied by a SDB message.
The method of the terminal PTT registration based on the CDMA trunking system according to the present invention is executed after the CDMA system registration is finished, comprising:
Step S404, the terminal sends a PTT registration message to the dispatching server and starts the registration timer; and
Step S406, performing corresponding process according to the response by the dispatching server.
In addition, in the method, the response situation comprises: (1) the dispatching server receiving a PTT registration message and returning to the terminal a PTT registration acceptance message representative of accepting the registration, (2) the dispatching server refusing the PTT registration message and returning to the terminal a PTT registration refusal message representative of refusing the registration, and (3) the PTT registration timer expiring and no response being returned.
In addition, in the method, when the situation (1) occurs, Step S406 comprises: the terminal receiving a PTT registration acceptance message, the registration succeeding, the PTT registration timer being shut down and the registration flow be finished. When the situation (2) occurs, Step S406 comprises: the terminal receiving a PTT registration refusal message, the registration failing, the PTT registration timer being shut down and the registration flow be finished. When the situation (3) occurs, Step S406 comprises: the value of the registration message counter being subtracted by 1 wherein if the value after the subtraction is greater than 0, going to Step S404, otherwise the registration does not succeed.
In addition, in the method, the terminal further comprises a PTT timing registration timer. When the registration does not succeed, it goes to the timing registration process. Before the PTT timing registration timer expires for the first time during the timing registration procedure, it goes to the waiting registration process.
In addition, in the method, the timing registration process comprises:
Step S502, the time length of the timing registration timer is set as M and the timer is started wherein when the timing registration timer expires, it turns to Step S504;
Step S504, the PTT terminal initiates a registration to the dispatching server wherein the terminal sends a PTT registration message to the base station on the control channel through the PTT registration message, and the base station initiates a registration to the dispatching server;
Step S506, after sending the PTT registration message, the PTT terminal starts the registration timer and waits for a response message from the base station;
Step S508, after receiving the registration response message from the PTT terminal, the base station sends to the PTT terminal a PTT registration message containing answer information;
Step S510, if the PTT terminal receives a registration acceptance message responded from the base station, then the PTT terminal shuts down the registration timer, turning to Step S512; if the PTT terminal receives a registration refusal message responded from the base station, then the PTT terminal shuts down the registration timer, turning to Step S514; if the PTT terminal has not received the answer information from the base station when the registration timer expires, then it turns to Step S502;
Step S512, the registration succeeds and the PTT terminal shuts down the timing registration timer, finishing the timing registration;
Step S514, the PTT terminal shuts down the timing registration timer, finishing the timing registration.
In addition, in the method, the terminal comprises a waiting registration timer and a waiting registration message counter. The PTT waiting registration procedure comprises:
Step S602, the initial value of the waiting registration message counter is set as N;
Step S604, the time length of the waiting registration timer is set as n times of the initial value of the waiting registration message counter wherein when the waiting registration timer expires, it goes to Step S606;
Step S606, the PTT terminal initiates a registration to the dispatching server wherein the terminal sends a PTT registration message to a base station on the control channel through a PTT registration message, and then the base station sends the PTT registration message to the dispatching server;
Step S608, after having sent the PTT registration message, the PTT terminal starts the registration timer and waits for a registration response message from the base station;
Step S610, upon having received the registration response message of the PTT terminal, the base station sends to the PTT terminal a PTT registration response message containing answer information;
Step S612, if the PTT terminal receives the registration acceptance message responded by the base station, then the terminal shuts down the registration timer, turning to Step S616; if the PTT terminal receives a registration refusal message responded by the base station, then the PTT terminal shuts down the registration timer, turning to Step S618; if the PTT terminal has not received a response message from the base station when the registration timer expires, it goes to Step S614;
Step S614, the value of the waiting registration timer is assigned to the waiting registration message counter wherein if the value of the timing registration counter is less than M, then it goes to S604, otherwise if the value of the timing registration counter is greater than or equal to M, the waiting registration timer is shut down and the waiting registration process is finished;
Step S616, the registration succeeds and the terminal shuts down the waiting registration timer and the timing registration timer, finishing the registration;
Step S618, the registration is failed and the terminal shuts down the waiting registration timer and the timing registration timer, finishing the registration.
In addition, in the method, the PTT registration message is transmitted on the control channel. The PTT registration message is embodied by the short data burst (SDB) message.
The terminal PTT registration system based on CDMA trunking system according to the present invention comprises: a registration device for providing a PTT registration message to a base station, answering a response message from the base station, and counting the execution times of the PTT registration message; a base station for sending the PTT registration message from a registration device to a dispatching server and forwarding a response message from the dispatching server to the registration device; a dispatching server for receiving a PTT registration message from the base station and sending to the base station a response message as the processing result of the trunking function; and a transmission channel for transmitting the PTT registration message.
In the system, the transmission channel for transmitting the PTT registration message is a control channel. The response message comprises a registration acceptance message representing that the dispatching server accepts the PTT registration message and a registration refusal message representing that the dispatching server refuses the PTT registration message.
In addition, in the system, the registration device comprises: a registration message processing module for generating and sending a PTT registration message and answering the response message from the base station; a registration timer for periodically re-sending the PTT registration message to the base station when no registration acceptance message is received from the base station; and a registration message counter for recording how many times that the registration message processing module sends the PTT registration message.
In addition, in the system, the registration device further comprises: a waiting registration timer for sending a PTT registration message to the base station, when no registration acceptance message is received from the base station and the timing registration timer has not activated; and a timing registration timer for sending a PTT registration message to the base station, when no registration acceptance message is received from the base station and the timing registration timer has been activated.
The present invention enables a terminal of CDMA trunking function to prevent the problem caused by a failed registration.
Other features and advantages of the present invention will be described in the following specification and partly apparent from the specification or through implementing the present invention. The purpose and other advantages of the present invention will be realized and obtained through the structure specified in the written specification, claims, and drawings.
The drawings are provided for a further understanding of the present invention and forms a part of the specification to explain the present invention together with the embodiments thereof, rather than to limit the present invention, wherein:
The preferred embodiments of the present invention will be described in connection with the drawings. It will be appreciated that the preferred embodiments are described herein only to explain and illustrate, not limiting the present invention.
In the embodiment, the method of a terminal PTT registration based on CDMA trunking system is provided.
As shown in
Step S102, after the PTT terminal is powered and a normal CDMA registration flow is completed, the value of a PTT registration message counter of the PTT terminal is initialized;
Step S104, the PTT terminal initiates a registration to the dispatching server and sends a registration message to a base station on the control channel through a PTT registration message;
Step S106, after having sent the PTT registration message, the PTT terminal starts the PTT registration timer of the terminal and waits for a registration response message from the base station;
Step S108, upon having received the PTT registration message of the PTT terminal user, the base station sends to the terminal a registration response message containing answer information;
Step S110, if the registration response message received by the PTT terminal is a PTT registration acceptance message of the base station, then it goes to Step S114; if the registration response message received by the PTT terminal is a PTT registration refusal message of the base station, then it goes to Step S118; if the PTT terminal has not received a response message from the base station when the PTT registration timer expires, it goes to S112;
Step S112, the value of PTT registration message counter is assigned with the value which is obtained by subtracting the current value of the registration message counter by 1, wherein if the value of the PTT registration message counter is greater than 0, then the PTT terminal returns to S104, and re-sends a PTT registration message to the base station, otherwise turning to S116;
Step S114, the registration succeeds, and the PTT terminal shuts down the PTT registration timer, finishing the registration;
Step S116, the registration does not succeeds, and the PTT registration timer is shut down, finishing the registration;
Step S118, the registration is failed and the PTT registration timer is shut down, finishing the registration.
In addition, in the present method, the terminal further comprises a timing registration timer, and after Step S116 the method further comprises starting the timing registration process. As shown in
Step S202, the time length of the timing registration timer is set as M and the timing registration timer is started wherein when the timing registration timer expires, it goes to Step S204;
Step S204, the PTT terminal initiates a registration to the dispatching server wherein the terminal sends a PTT registration message to the base station on the control channel through the PTT registration message, and the base station initiates a registration to the dispatching server;
Step S206, after sending the PTT registration message, the PTT terminal starts the registration timer and waits for a response message from the base station;
Step S208, after receiving the registration response message from the PTT terminal, the base station sends to the PTT terminal a PTT registration response message containing answer information;
Step S210, if the PTT terminal receives a registration acceptance message responded from the base station, then the PTT terminal shuts down the registration timer, turning to Step S212; if the PTT terminal receives a registration refusal message responded from the base station, then the PTT terminal shuts down the registration timer, turning to Step S214; if the PTT terminal has not received the answer information from the base station when the registration timer expires, it goes to Step S202;
Step S212, the registration succeeds and the PTT terminal shuts down the timing registration timer, finishing the timing registration;
Step S214, the PTT terminal shuts down the timing registration timer, finishing the timing registration.
In addition, the method further comprises performing the PTT waiting timing registration before the timing registration timer expires for the first time in the Step S202.
In addition, in the method, the terminal comprises a waiting registration timer and a waiting registration message counter. As shown in
Step S300, the initial value of the waiting registration message counter is set as N;
Step S302, the time length of the waiting registration timer is set as n times of the initial value of the waiting registration message counter wherein when the waiting registration timer expires, it goes to Step S304;
Step S304, the PTT terminal initiates a registration to the dispatching server wherein the terminal sends a PTT registration message to a base station on the control channel through the PTT registration message, and then the base station sends the PTT registration message to the dispatching server;
Step S306, after having sent the PTT registration message, the PTT terminal starts the registration timer and waits for a registration response message from the base station;
Step S308, upon having received the registration response message of the PTT terminal, the base station sends to the PTT terminal a PTT registration response message containing answer information;
Step S310, if the PTT terminal receives the registration acceptance message responded from the base station, then the terminal shuts down the registration timer, turning to Step S314; if the PTT terminals receives a registration refusal message responded by the base station, then the PTT terminal shuts down the registration timer, turning to Step S316; if the PTT terminal has not received a response message from the base station when the registration timer expires, it goes to S312;
Step S312, the value of the waiting registration timer is assigned to the waiting registration message counter wherein if the value of the timing registration counter is less than M, then it goes to S302, otherwise if the value of the timing registration counter is greater than or equal to M, the waiting registration timer is shut down, finishing the waiting registration;
Step S314, the registration succeed and the terminal shuts down the waiting registration timer and the timing registration timer, finishing the registration;
Step S316, the registration is failed and the terminal shuts down the waiting registration timer and the timing registration timer, finishing the registration.
In addition, in the method, the PTT registration message is embodied by a SDB message.
As shown in
Step S404, the terminal sends a PTT registration message to the dispatching server and starts the PTT registration timer; and
Step S406, performing corresponding process based on the response situation by the dispatching server.
In addition, in the method, response situation comprises: (1) the dispatching server receiving a PTT registration message and returning to the terminal a PTT registration acceptance message representative of accepting the registration, (2) the dispatching server refusing the PTT registration message and returning to the terminal a PTT registration refusal message representative of refusing the registration, and (3) the PTT registration timer expiring and no response being returned.
In addition, in the method, when the situation (1) occurs, the Step S406 comprises: the terminal receiving a PTT registration acceptance message, the registration succeeding, the PTT registration timer being shut down and finishing the registration. When the situation (2) occurs, the Step S406 comprises: the terminal receiving a PTT registration refusal message, the registration being failed, shutting down the PTT registration timer and finishing the registration. When the situation (3) occurs, the Step S406 comprises: the value of the registration message counter being subtracted by 1 wherein if the value after the subtraction is greater than 0, it goes to Step S404, otherwise the registration does not succeed.
In addition, in the method, the terminal further comprises a PTT timing registration timer. When the registration does not succeed, it goes to the timing registration process. Before the PTT timing registration timer expires for the first time during the timing registration procedure, it goes to the waiting registration procedure.
In addition, in the method, as shown in
Step S502, the time length of the timing registration timer is set as M and the timer is started wherein when the timing registration timer expires, it goes to Step S504;
Step S504, the PTT terminal initiates a registration to the dispatching server wherein the terminal sends a PTT registration message to the base station on the control channel through the PTT registration message, and the base station initiates a registration to the dispatching server;
Step S506, after sending the PTT registration message, the PTT terminal starts the registration timer and waits for a response message from the base station;
Step S508, after receiving the registration response message from the PTT terminal, the base station sends to the PTT terminal a PTT registration response message containing answer information;
Step S510, if the PTT terminal receives a registration acceptance message from the base station, then the PTT terminal shuts down the registration timer, turning to Step S512; if the PTT terminal receives a registration refusal message responded from the base station, then the PTT terminal shuts down the registration timer, turning to Step S514; if the PTT terminal has not received the answer information from the base station when the registration timer expires, it goes to Step S502;
Step S512, the registration succeeds and the PTT terminal shuts down the timing registration timer, finishing the timing registration;
Step S514, the PTT terminal shuts down the timing registration timer, finishing the timing registration.
In addition, in the method, the terminal comprises a waiting registration timer and a waiting registration message counter. As shown in
Step S602, the initial value of the waiting registration message counter is set as N;
Step S604, the time length of the waiting registration timer is set as n times of the initial value of the waiting registration message counter wherein when the waiting registration timer expires, it goes to Step S606;
Step S606, the PTT terminal initiates a registration to the dispatching server, wherein the terminal sends a PTT registration message to a base station on the control channel through the PTT registration message, and then the base station sends the PTT registration message to the dispatching server;
Step S608, after having sent the PTT registration message, the PTT terminal starts the registration timer and waits for a registration response message from the base station;
Step S610, upon having received the registration response message of the PTT terminal, the base station sends to the PTT terminal a PTT registration response message containing answer information;
Step S612, if the PTT terminal receives the registration acceptance message responded by the base station, then the terminal shuts down the registration timer, turning to Step S616; if the PTT terminals receives a registration refusal message responded by the base station, then the PTT terminal shuts down the registration timer, turning to Step S618; if the PTT terminal has not received a response message from the base station when the registration timer expires, it goes to Step S614;
Step S614, the value of the waiting registration timer is assigned to the waiting registration message counter wherein if the value of the timing registration counter is less than M, then it goes to S604, otherwise if the value of the timing registration counter is greater than or equal to M, the waiting registration timer is shut down, finishing the waiting registration;
Step S616, the registration succeeds and the terminal shuts down the waiting registration timer and the timing registration timer, finishing the registration;
Step S618, the registration is failed and the terminal shuts down the waiting registration timer and the timing registration timer, finishing the registration.
In addition, in the method, the PTT registration message is transmitted on the control channel. The PTT registration message is embodied by the short data burst (SDB) message.
As shown in
In the system, the transmission channel for transmitting the PTT registration message is a control channel. The response message comprises a registration acceptance message representing that the dispatching server accepts the PTT registration message and a registration refusal message representing that the dispatching server refuses the PTT registration message.
In addition, in the system, the registration device comprises: a registration message processing module for generating and sending a PTT registration message and answering the response message from the base station; a registration timer for periodically re-sending the PTT registration message to the base station when no registration acceptance message is received from the base station; and a registration message counter for counting the times that the registration message processing module transmits the PTT registration message.
In addition, in the system, the registration device further comprises: a waiting registration timer for sending a PTT registration message to the base station when no registration acceptance message is received from the base station and the timing registration timer is not activated; and a timing registration timer for sending a PTT registration message to the base station when no registration acceptance message is received from the base station and the timing registration timer has been activated;
Referring to
By the above aspects of the present invention, the terminal based on CDMA trunking function can avoid the problem arising from failed registration.
Above description is used to illustrate the preferred embodiments, but not limit the present invention. Various alterations and changes to the present invention are apparent to those skilled in the art. The scope defined in claims of the present invention shall cover any modifications, equivalent substitutions and improvements in the spirit and principle of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2007 1 0137657 | Jul 2007 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN2008/071835 | 7/31/2008 | WO | 00 | 1/30/2010 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2009/015610 | 2/5/2009 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6876670 | Budrikis et al. | Apr 2005 | B1 |
7289816 | Mills | Oct 2007 | B2 |
7366131 | Park | Apr 2008 | B2 |
7477911 | Praveen et al. | Jan 2009 | B1 |
7822437 | Barrow et al. | Oct 2010 | B2 |
8077634 | Maggenti et al. | Dec 2011 | B2 |
20040090950 | Lauber et al. | May 2004 | A1 |
20050202819 | Blicker | Sep 2005 | A1 |
20060114882 | Mills | Jun 2006 | A1 |
20060270362 | Emrich et al. | Nov 2006 | A1 |
20070153719 | Gopal | Jul 2007 | A1 |
20070238466 | Buckley et al. | Oct 2007 | A1 |
Number | Date | Country |
---|---|---|
1585554 | Feb 2005 | CN |
1717076 | Jan 2006 | CN |
101137231 | Mar 2008 | CN |
20050107205 | Nov 2005 | KR |
Number | Date | Country | |
---|---|---|---|
20100216503 A1 | Aug 2010 | US |