Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method that can realize self grouping of terminal group in group system.
The implementation method that the invention provides self grouping of terminal group in a kind of group system, it comprises the steps:
A: calling terminal sends self-built group rising to call for and ask to the first dispatch server of its visited place, calls for for described and asks the number that comprises terminal called;
B: described the first dispatch server rises to call for after asking and sends authentication request to the ownership place schedule register of described calling terminal receiving self-built group;
C: the ownership place schedule register assign group identification number GID of described calling terminal also sends the authentication responses of carrying described GID and described calling terminal information to described the first dispatch server;
D: described the first dispatch server judges after the authentication responses of receiving the described calling terminal returning whether described calling terminal is the access that initiatively lags, if not, according to described GID and timestamp, generate the first interim group number, and send paging request to described calling terminal;
E: described the first dispatch server sends authentication request to the ownership place schedule register of all terminal calleds; Described the first dispatch server sends paging request to terminal called after receiving the authentication responses of terminal called;
F: whether described the first dispatch server judges after receiving the paging reply of described calling terminal and terminal called that this is called out successfully sets up, and if so, authorizes right of speech and sends right of speech prompting to described calling terminal and to the terminal called having accessed.
Further, in said method, described method also comprises: described the first dispatch server sends message registration to the terminal called having accessed, and described message registration comprises the described first interim group number; If after the terminal called off-grid having accessed, the terminal called of described off-grid sends and to comprise that calling for of the described first interim group number ask to described the first dispatch server according to described message registration, described the first dispatch server judges according to a first interim group number of calling in asking for the terminal called of described off-grid whether the terminal called of described off-grid is initiatively to lag and add, send paging request if so, to the terminal called of described off-grid.
Further, in said method, described method also comprises: described the first dispatch server sends message registration to the terminal called having accessed, and described message registration comprises the described first interim group number and member's number; If wherein a terminal called has sent to call for for member's number of affiliated message registration again and asked after this group calling finishes, described terminal called has sent to call for to described the first dispatch server according to described message registration and has asked.
Further, in said method, also there is following characteristics, in steps d, described the first dispatch server is preserved the first interim group number before described calling terminal sends paging request, and described the first dispatch server judges that whether terminal is that the active judgment principle adding that lags is:
If rise, call in asking and not carry interim group number, for non-active lagging, to add;
If rise, call in asking and to carry interim group number, more described interim group number and the described first interim group number, if unanimously, add for active lags, otherwise, for non-active lagging, add.
Further, in said method, also have following characteristics, the process that described the first dispatch server sends message registration to the terminal called having accessed is:
The terminal called that described the first dispatch server has accessed in giving self-built group sends message registration prompting;
The message registration of the terminal called loopback having accessed described in described the first dispatch server receives is replied, if receive message registration, does not reply, and again to the described terminal called having accessed, sends message registration prompting.
Further, in said method, also there is following characteristics, the terminal called of described off-grid sends rises to call for to ask and carries conversation number list, described conversation number list comprises member's number of the described first interim group number and corresponding the described first interim group number, described conversation number list starts with spcial character, and each member number intersymbol is with described spcial character interval, and conversation number list finishes with another kind of spcial character.
Further, in said method, also there is following characteristics, in step b, described the first dispatch server sends before authentication request to the ownership place schedule register of described calling terminal and all terminal calleds, creates this and calls out relevant list item and recorded the information of calling in asking.
Further, in said method, also there is following characteristics, in establishment, this is called out relevant list item and has recorded after the information of calling in asking, described the first dispatch server starts information about firms and upgrades timer, described information about firms upgrade timer then after, described the first dispatch server sends information about firms updating message to the terminal called of described calling terminal and access.
Further, in said method, also there is following characteristics, described information about firms updating message comprises number of members, member's number, member Name, member condition, if member condition changes, described the first dispatch server sends information about firms updating message again to the terminal called of described calling terminal and access.
Further, in said method, also there is following characteristics, if described calling terminal is in roaming state, described the first dispatch server is by carrying out signal transmission between the schedule register of described calling terminal visited place and the ownership place schedule register of described calling terminal and described terminal called.
Further, in said method, also there is following characteristics, if described calling terminal from described terminal called in different visited places, between second dispatch server of described the first dispatch server by the visited place of described terminal called and described terminal called, carry out signal transmission.
Further, in said method, also there is following characteristics, in step a, call for to ask for described and carry conversation number list, described conversation number list comprises the number of described terminal called, and described conversation number list starts with spcial character, between each number, with described spcial character interval, conversation number list finishes with another kind of spcial character.
Further, in said method, also there is following characteristics, in step f, described the first dispatch server judges that the whether successful principle of this call setup is: if described calling terminal accesses and has a terminal called access at least, be judged as successfully, otherwise, be judged as failure.
Terminal of the present invention sends self-built group and works the dispatch server of exhaling terminal seat, dispatch server generates interim group number according to the GID and the timestamp that distribute after to caller authentication, and caller is carried out to paging, dispatch server to called authentication after and to called, carry out paging, after obtaining calling and called and paging reply to caller mandate and to called transmission right of speech prompting.The present invention can realize terminal and build group in group system.
Embodiment
Below in conjunction with accompanying drawing, the present invention being realized to the method and system of message transmission between extensible processor and exchange chip describes.
Group system schematic network structure corresponding to the present invention is as Fig. 1, and each part is described as follows:
Master control group system: in a cluster roaming call, control continuing of whole call flow, safeguarding all information of whole calling, and the distribution of the right to speak of administer calls etc.Generally, the master control group system of individual calling is caller visited place group system, and the master control group system of group calling is master home ground group system, and the master control group system of self-built group is caller visited place group system.
Terminal: possess the terminal equipment of group service function, also possess the multiple business abilities such as interconnect call business, Packet data service, short message service, can roam in system whole-network coverage simultaneously.
Base station sub-system: complete the access function of terminal, and use type of service to distribute corresponding subsystem processes according to user.
Scheduler subsystem: completing the control and management function to termination set group business in its coverage, is the control centre of group service.Scheduler subsystem interconnects by IP network.
Dispatch server: realize calling control and the right of speech management of trunked call.In ownership place group system, be referred to as ownership place dispatch server, in the group system of visited place, be referred to as visited place dispatch server, in master control group system, be referred to as master control dispatch server.
Schedule register: preserve log-on message and the positional information of cluster user and group, realize the authentication of cluster user, mandate and billing function, and position is upgraded and group management function.In ownership place group system, be referred to as ownership place schedule register, in the group system of visited place, be referred to as visited place schedule register, in master control group system, be referred to as master control schedule register.
Dispatching desk: safeguard the session of each dispatching desk, turnkey console, realize turnkey console and dispatching desk administering and maintaining colony dispatching.In ownership place group system, be referred to as ownership place dispatching desk, in the group system of visited place, be referred to as visited place dispatching desk, in master control group system, be referred to as master control dispatching desk.
Fig. 2 be under non-roaming condition self grouping of terminal group calling system flow chart, the non-roaming situation described in this flow chart specifically refers in self-built group that all members belong to same ownership place and all at ownership place, visited place is ownership place, its step is as follows:
Step 201: calling terminal is initiated self-built group at ownership place by message registration or phone directory and risen to call for and ask to ownership place base station sub-system, and ownership place base station sub-system rises to call for to ask by self-built group passes to ownership place dispatch server;
Terminal rises while exhaling by phone directory, rise to call in asking and carry conversation number list, conversation number list comprises all called numbers, conversation number list starts with two spcial characters, thereby distinguish, whether carry interim group number, between each number, with this spcial character interval, conversation number list finishes with another kind of spcial character;
Step 202: ownership place dispatch server receive self-built group rise and call for and ask after, create this and call out relevant list item, as group attribute table, user attribute table, member property table etc.; Recorded the various information of calling in asking, as information such as calling terminal (IMSI, ESN, positional information), self-built group of interim group number, call model, called number lists; Start information about firms and upgrade timer; To ownership place schedule register, send temporary group calling authentication request;
Step 203: ownership place schedule register is carried out authentication, distributed interim GID (group identification number) caller, GID is kept in information about firms table, authentication responses message is returned to ownership place dispatch server, in authentication responses message, carry GID and the calling user information of interim distribution;
Step 204: ownership place dispatch server is received after temporary group calling authentication responses message, records group and caller information, rises to call for to ask according to self-built group and judges whether this is called out is initiatively to lag and add.Its judgment principle is as follows:
If self-built group is risen to call in asking and do not carry self-built group of interim group number, for non-active lagging, add;
If carry self-built group of interim group number in call message, traversal caller information about firms table, according to the group's distribution process table in the GID location ownership place dispatch server in information about firms table, interim group number in coupling group distribution process table and self-built group of interim group number in call message, after if caller information about firms table has traveled through, while matching the interim group number consistent with self-built group of interim group number in call message, for initiatively lagging and add; Otherwise add for non-active lagging;
Judge this call out for non-active lag add after, ownership place dispatch server generates interim group number according to GID and timestamp, and preserves interim group number, by ownership place base station sub-system, sends paging request to calling terminal;
Step 205: what ownership place dispatch server was initiated terminal called to ownership place schedule register adds calling authorization request temporarily;
Step 206: calling terminal access calling, loopback pages reply, and the ownership place base station sub-system message that will page reply is passed to ownership place dispatch server;
Step 207: ownership place schedule register is received temporarily adding after calling authorization request of called subscriber, to the called authentication of carrying out, to ownership place dispatch server, carries called user information by authentication responses loopback in authentication responses;
Step 208: ownership place dispatch server records called party information, sends paging request to ownership place base station sub-system, and ownership place base station sub-system is passed to terminal called by paging request;
Step 209: terminal called access calling, loopback pages reply, and the ownership place base station sub-system message that will page reply is passed to ownership place dispatch server;
Step 210: ownership place dispatch server is received paging reply after message of calling and called, according to call setup condition (except caller access, must have a called access calling at least), judge this and called out successfully foundation, to calling terminal, authorize right of speech.Ownership place base station sub-system is passed to calling terminal by authorization messages;
Step 211: calling terminal loopback authorization response, ownership place base station sub-system is passed to ownership place dispatch server by authorization response;
Step 212: ownership place dispatch server receives after the authorization response message of calling terminal, the terminal called having accessed in giving self-built group sends right of speech prompting, and ownership place base station sub-system is passed to terminal called by right of speech prompting message;
Step 213: ownership place dispatch server is judged in self-built group after all called authentications finish, the terminal called that in giving self-built group, success has accessed sends message registration, and retransmission timer is set, in message registration, carry the list of numbers (being all member's numbers in interim group number and this calling) of this call, list of numbers starts with spcial character, and between each number with this spcial character interval, and finish (generally, first number is interim group number) with another kind of spcial character.Ownership place base station sub-system is passed to terminal called by message registration;
Illustrate: in all called authentications, finish the terminal called accessing after this time point, ownership place dispatch server sends message registration to separately this terminal called; The message registration of calling terminal is preserved by calling terminal oneself, without ownership place dispatch server, sends to calling terminal;
Step 214: terminal called loopback message registration is replied, ownership place base station sub-system is replied that message registration pass to ownership place dispatch server;
Illustrate: if retransmission timer then after, ownership place dispatch server does not receive that the message registration of terminal replys, and continues execution step 213;
Step 215: information about firms upgrade timer then after, ownership place dispatch server sends information about firms updating message to all calling and called terminals that accessed, comprising number of members, member's number, member Name, member condition.Ownership place base station sub-system is passed to calling and called terminal by information about firms updating message.If sent after information about firms updating message, there is member condition to change, ownership place dispatch server continues again to send information about firms updating message to all online terminals.
In addition, after this end of calling, if wherein a terminal called has initiated to exhale, according to message registration, rise while exhaling, rise to call in asking and carry conversation number list, conversation number list comprise last time interim group number and all called numbers (generally, interim group number is placed in the first place of conversation number list), conversation number list starts with spcial character, and between each number, with this spcial character interval, conversation number list finishes with another kind of spcial character;
Fig. 3 be under non-roaming condition terminal initiatively lag add self-built group calling system flow chart, the non-roaming situation described in this flow chart specifically refers in self-built group that all members belong to same ownership place and all at ownership place, visited place is ownership place, its step is as follows:
Step 301: terminal is initiated self-built group by message registration to ownership place base station sub-system at ownership place and risen to call for and ask, and ownership place base station sub-system rises to call for to ask by self-built group passes to ownership place dispatch server; Self-built group is risen to call for and carries interim group number and all called numbers in asking (generally, interim group number is placed in the first place of conversation number list), conversation number list starts with spcial character, identify the beginning of this conversation number list, between each number, with this spcial character interval, conversation number list finishes with another kind of spcial character;
Step 302: ownership place dispatch server receive self-built group rise and call for and ask after, create this and call out relevant list item, as group attribute table, user attribute table, member property table etc.; Recorded the various information of calling in asking, as information such as calling terminal (IMSI, ESN, positional information), self-built group of interim group number, call model, called number lists; Start information about firms and upgrade timer; To ownership place schedule register, send temporary group calling authentication request;
Step 303: ownership place schedule register is carried out authentication, distributed interim GID caller, and temporary group calling authentication responses message is returned to ownership place dispatch server, carries GID and the calling user information of interim distribution in temporary group calling authentication responses;
Step 304: ownership place dispatch service is received after temporary group calling authentication responses, record group and caller information, according to self-built group of interim group number in call message, after judging this and calling out and to add for initiatively lagging, ownership place dispatch server is deleted and is worked the related resource of exhaling foundation for this, as group attribute table, the calling terminal that giving lags adds sends calling terminal paging request;
Step 305, calling terminal access calling, loopback pages reply to ownership place base station sub-system, and the ownership place base station sub-system message that will page reply is passed to ownership place dispatch server;
Step 306: ownership place dispatch server is received after paging reply of calling terminal, authorize right of speech to ownership place base station sub-system or send right of speech prompting and (specifically according to whether there being member to take right of speech in current group, determine, there is member to take right of speech, give entrant's right of speech prompting that lags; Otherwise, authorize right of speech to the entrant that lags); In the terminal adding that lags, had message registration, thus ownership place dispatch server without again sending message registration to terminal, if what send is right of speech prompting message, skips steps 307, directly perform step 308; Ownership place base station sub-system sends authorization messages or right of speech prompting message to calling terminal;
Step 307: calling terminal loopback authorization response is to ownership place base station sub-system, and ownership place base station sub-system is passed to ownership place dispatch server by authorization response;
Step 308: now have member condition to change in self-built group, ownership place dispatch server sends information about firms updating message to ownership place base station sub-system, and ownership place base station sub-system sends information about firms updating message in self-built group all online terminals.
Fig. 4 and Fig. 5 be under roaming condition self grouping of terminal group calling system flow chart, roaming condition described in this flow chart specifically refer in self-built group caller in roaming place, part is called with caller in same visited place and to belong to same ownership place, part called in another visited place and belong to Another Place To Fall ground with caller, its step is as follows:
Step 401: calling terminal has been initiated to call for by phone directory in visited place and asked;
Illustrate: terminal rises while exhaling by phone directory, rise to call in asking and carry all called numbers, conversation number list starts with two spcial characters, thereby distinguish, whether carries interim group number, between each number, with this spcial character interval, conversation number list finishes with another kind of spcial character;
Step 402: caller visited place dispatch server creates this and calls out relevant list item, as group attribute table, user attribute table, member property table etc. after having received and having called for and ask; Recorded the various information of calling in asking, as information such as calling terminal (IMSI, ESN, positional information), call model, called number lists; Start information about firms and upgrade timer; To caller visited place schedule register, send temporary group calling authentication request, visited place schedule register passes through master home ground schedule register by temporary group calling authentication request;
Step 403: master home ground schedule register is carried out authentication, distributed interim GID caller, and by the loopback of authentication responses message to caller visited place schedule register, in authentication responses message, carry GID and the calling user information of interim distribution, caller visited place schedule register passes through caller visited place dispatch server by authentication responses message;
Step 404: caller visited place dispatch server is received after temporary group calling authentication responses message, records group and caller information, according to self-built group of interim group number in call message, judges whether this is called out is initiatively to lag and add, and its judgment principle is as follows:
If do not carry self-built group of interim group number in call message, add for non-active lagging;
If carry self-built group of interim group number in call message, traversal caller information about firms table, according to the GID location group distribution process table in information about firms table, interim group number in coupling group distribution process table and self-built group of interim group number in call message, after if caller information about firms table has traveled through, while matching the interim group number consistent with self-built group of interim group number in call message, for initiatively lagging and add; Otherwise add for non-active lagging;
Judge this call out for non-active lag add after, caller visited place dispatch server generates interim group number according to GID and timestamp, to calling terminal, sends paging request.
Step 405: caller visited place dispatch server stops group calling authentication, that to caller visited place schedule register, initiates called subscriber adds calling authorization request temporarily, and caller visited place schedule register passes through master home ground schedule register by authentication request; Illustrate: in this step, ask the terminal called of authentication and calling terminal to belong to same ownership place;
Step 406: what caller visited place dispatch server was initiated called subscriber to caller visited place schedule register adds calling authorization request temporarily.Caller visited place schedule register passes through dialed field schedule register by authentication request; Illustrate: in this step, ask the terminal called of authentication and calling terminal not to belong to same ownership place, belong to another ownership place;
Step 407: calling terminal access calling, pages reply to the dispatch server loopback of caller visited place;
Step 408: master home ground schedule register is received temporarily adding after calling authorization request of called subscriber, to the called authentication of carrying out, and by authentication responses loopback to caller visited place schedule register, in authentication responses, carry called user information; Caller visited place schedule register passes through caller visited place dispatch server by authentication responses message;
Step 409: caller visited place dispatch server records called party information, sends paging request to caller visited place terminal called; Illustrate: in this step, terminal called and calling terminal are positioned at same visited place;
Step 410: dialed field schedule register is received temporarily adding after calling authorization request of called subscriber, to the called authentication of carrying out, and by authentication responses loopback to caller visited place schedule register, in authentication responses, carry called user information; Caller visited place schedule register passes through caller visited place dispatch server by authentication responses message;
Step 411: caller visited place dispatch server records called party information, sends call setup indication to called visited place dispatch server; Illustrate: in this step, terminal called and calling terminal are not positioned at same visited place;
Step 412: caller visited place terminal called access calling, pages reply to the dispatch server loopback of caller visited place;
Step 413: caller visited place dispatch server is received paging reply after message of calling and called, according to call setup condition (except caller, must have a called access calling), judge this and called out successfully foundation, to calling terminal, authorize right of speech;
Step 414: calling terminal is to the dispatch server loopback authorization response of caller visited place;
Step 415: caller visited place dispatch server receives after the authorization response message of calling terminal, the caller visited place terminal called having accessed in giving self-built group sends right of speech prompting;
Step 416: called visited place dispatch server has been set up this and called out after related resource, gives caller visited place dispatch server loopback call setup acknowledge message;
Step 417: caller visited place dispatch server is received after the call setup acknowledge message of called visited place dispatch server, sends paging request to called visited place dispatch server; Called visited place dispatch server is received after paging request, to terminal called, sends paging request;
Step 418: called visited place terminal called returns to page response to called visited place dispatch server, called visited place dispatch server by page-response message loopback to caller visited place dispatch server;
Step 419: caller visited place dispatch server sends right of speech prompting to called visited place dispatch server; Called visited place dispatch server sends right of speech prompting message to terminal called;
Step 420: caller visited place dispatch server is judged in self-built group after all called authentications, the terminal called transmission message registration of successfully access to caller visited place arranges the first retransmission timer simultaneously; In message registration, carry the list of numbers (being all member's numbers in interim group number and this calling) of this call; List of numbers starts with spcial character, and between each number with this spcial character interval, and finish (generally, first number is interim group number) with another kind of spcial character; Illustrate: in all called authentications, finish the caller visited place terminal called that accesses after this time point, ownership place dispatch server can send message registration to separately this terminal called, the message registration of calling terminal is preserved by terminal oneself, without caller visited place dispatch server, sends to terminal;
Step 421: caller visited place dispatch server is judged in self-built group after all called authentications, caller visited place dispatch server sends message registration to called visited place dispatch server, and the second retransmission timer is set, called visited place dispatch server passes through by message registration the terminal called that success accesses; Illustrate: the called visited place terminal called accessing after all called authentications finish this time point, ownership place dispatch server can send message registration again to called visited place dispatch server, by called visited place dispatch server, message registration is passed through to this terminal;
Step 422: caller visited place terminal called is replied to caller visited place dispatch server loopback message registration.
Illustrate: if heavy first timer then after, caller visited place dispatch server does not receive that the message registration of terminal called replys, and can continue to perform step 420;
Step 423: called visited place terminal called is replied to called visited place dispatch server loopback message registration, and called visited place dispatch server is replied that message registration pass through caller visited place dispatch server.
Illustrate: if retransmit second timer then after, caller visited place dispatch server does not receive that the message registration of called visited place dispatch server replys, and can continue to perform step 421.
Step 424: information about firms upgrade timer then after, the calling and called terminal that caller visited place dispatch server has accessed to caller visited place sends information about firms updating message, comprising in number of members, member's number, member Name, member condition.
Illustrate: if sent after information about firms updating message, have member condition to change, to caller visited place, all online terminals send information about firms updating message to the continuation of caller visited place dispatch server again.
Step 425: information about firms upgrade timer then after, caller visited place dispatch server sends information about firms updating message to called visited place dispatch server, comprising at number of members, member's number, member Name, member condition, called visited place dispatch server passes through all terminal calleds that accessed in called visited place by information about firms updating message, illustrate: if sent after information about firms updating message, there is member condition to change, caller visited place dispatch server continues again to send information about firms updating message to called visited place dispatch server, by called visited place dispatch server, pass through online terminal called.
In sum, the present invention proposes the implementation method of self grouping of terminal group in a kind of group system.This method is not only given the authority of free terminal marshalling; And in self-built group after terminal called off-grid, terminal still can by message registration lag join original self-built group calling in; By the controlling mechanism of scheduler subsystem, realize the interconnection between the group system of various places simultaneously, reached the object that self-built group of function the whole network covers.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.