Summary of the invention
The embodiment of the present invention provides a kind of PTT PTT method for processing business, in order to simplify user's operation and client, realizes, and the method comprises:
Ptt server receives the request that logs in of first user;
Ptt server sends the information of the affiliated group of first user, triggers, according to the sign of default groups in group under first user in described information, first user is added to the first group, and described the first group is described default groups;
The method also comprises:
Ptt server receives the request of default groups in the affiliated group of change first user, carries the sign of the default groups after change in described request;
Ptt server is changed the default groups in group under described first user according to the sign of the default groups after described change;
Wherein, if first user is the user that authority is convened in session that has who adds at first in the first group, the method one of also comprises the steps or combination in any:
Triggering switches to the first group by the second user, and group comprises the first group and the second group under described the second user, and described the second user added the second group, and the priority of described the second group is lower than the first group;
Notice adds the first group by the 3rd user, under described the 3rd user group comprise that the first group and described the 3rd user do not log in or described the 3rd user under group comprise that the first group and San group and described the 3rd user have added San group, the priority of described San group is not less than the first group;
Triggering adds the first group by four-function family, and under described four-function family, group comprises the first group, and described four-function family has logged in but do not added arbitrary group.
The embodiment of the present invention also provides a kind of PTT PTT method for processing business, in order to simplify user's operation and client, realizes, and the method comprises:
PTT client sends the request that logs in of first user to ptt server;
The information of group under the first user that described in PTT client, PPT server returns, described information comprises the sign of default groups in the affiliated group of first user;
PTT client adds the first group according to described sign by first user, and described the first group is described default groups;
Described method also comprises:
PTT client sends the request of default groups in group under change first user to PPT server, carries the sign of the default groups after change in described request;
Wherein, if first user is the user that authority is convened in session that has who adds at first in the first group, the method one of also comprises the steps or combination in any:
Ptt server triggers the second user is switched to the first group, and under described the second user, group comprises the first group and the second group, and described the second user added the second group, and the priority of described the second group is lower than the first group;
Ptt server notice adds the first group by the 3rd user, under described the 3rd user group comprise that the first group and described the 3rd user do not log in or described the 3rd user under group comprise that the first group and San group and described the 3rd user have added San group, the priority of described San group is not less than the first group;
Ptt server triggers four-function family is added to the first group, and under described four-function family, group comprises the first group, and described four-function family has logged in but do not added arbitrary group.
The embodiment of the present invention also provides a kind of PTT ptt server, in order to simplify user's operation and client, realizes, and this ptt server comprises:
Receiver module, for receiving the request that logs in of first user;
Group management module, for sending the information of group under first user, triggers, according to the sign of default groups in group under first user in described information, first user is added to the first group, and described the first group is described default groups;
Described receiver module also for: receive the request of group's default groups under change first user, in described request, carry the sign of the default groups after change;
Described group management module is also for the default groups of changing group under described first user according to the sign of the default groups after described change;
Described ptt server is also for managing the user of group according to the priority of group.
The embodiment of the present invention also provides a kind of PTT PTT client, in order to simplify user's operation and client, realizes, and this PTT client comprises:
Sending module, for sending the request that logs in of first user to ptt server;
Receiver module, for receiving the information of group under the first user that described PPT server returns, described information comprises under first user the sign of default groups in group;
Add module, for according to described sign, first user being added to the first group, described the first group is described default groups;
Described PTT client is also for sending the request of group's default groups under change first user to PPT server, in described request, carry the sign of the default groups after change, wherein, described ptt server manages the user in group according to the priority of group.
The embodiment of the present invention also provides a kind of PTT PTT transaction processing system, in order to simplify user's operation and client, realizes, and this system comprises:
Ptt server and PTT client; Wherein, described ptt server comprises: receiver module, for receiving the request that logs in of first user; Group management module, for sending the information of group under first user, triggers, according to the sign of default groups in group under first user in described information, first user is added to the first group, and described the first group is described default groups; Described receiver module also for: receive the request of group's default groups under change first user, in described request, carry the sign of the default groups after change; Described group management module is also for the default groups of changing group under described first user according to the sign of the default groups after described change; Described PTT client comprises: sending module, for send the request that logs in of first user to ptt server; Receiver module, for receiving the information of group under the first user that described PPT server returns, described information comprises under first user the sign of default groups in group; Add module, for according to described sign, first user being added to the first group, described the first group is described default groups; Described PTT client, also for the request of group's default groups under PPT server transmission change first user, is carried the sign of the default groups after change in described request;
Wherein, described ptt server, also comprises as one of lower module or combination in any:
Trigger handover module, for at first user, be the first group add at first there is session and convene the user of authority time, triggering switches to the first group by the second user, under described the second user, group comprises the first group and the second group, and described the second user has added the second group, and the priority of described the second group is lower than the first group;
Notification module, for at first user, be the first group add at first there is session and convene the user of authority time, notice adds the first group by the 3rd user, under described the 3rd user group comprise that the first group and described the 3rd user do not log in or described the 3rd user under group comprise that the first group and San group and described the 3rd user have added San group, the priority of described San group is not less than the first group;
Triggering adds module, for at first user, be the first group add at first there is session and convene the user of authority time, triggering adds the first group by four-function family, and under described four-function family, group comprises the first group, and described four-function family has logged in but do not added arbitrary group.
In the embodiment of the present invention, receiving the logging in after request of first user, can send the information of the affiliated group of first user, triggering adds the first group according to the sign of default groups in group under first user in this information by first user, described the first group is described default groups, thereby realize and provide PTT business to first user in the situation that intervening management and group operation without first user, for the management and group operation of user's complexity in prior art, greatly simplify user's operation and client and realized, reduced client cost.
In the embodiment of the present invention, to ptt server, sending logging in after request of first user, can receive the information of group under the first user that ptt server returns, described information comprises the sign of default groups in the affiliated group of first user, and then according to described sign, first user is added to the first group, described the first group is described default groups, thereby in the situation that intervening management and group operation without first user, realization provides PTT business to first user, for the management and group operation of user's complexity in prior art, greatly having simplified user's operation and client realizes, reduced client cost.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing, the embodiment of the present invention is described in further details.At this, schematic description and description of the present invention is used for explaining the present invention, but not as a limitation of the invention.
As shown in Figure 1, in the embodiment of the present invention, the flow process of PTT method for processing business can comprise:
The request that logs in of step 101, reception first user;
Under step 102, transmission first user, the information of group, triggers, according to the sign of default groups in group under first user in described information, first user is added to the first group, and described the first group is described default groups.
Flow process can be learnt as shown in Figure 1, in the embodiment of the present invention, user is predetermined group in advance, also needn't specify which group as main group, more without the state of monitoring a plurality of groups, group information under user arranges and record without user, but when implementing flow process shown in Fig. 1, receiving the logging in after request of first user, can log in the information that request sends group under first user according to this, triggering adds the first group according to the sign of default groups in group under first user in this information by first user, described the first group is described default groups, thereby realize and provide PTT business to first user in the situation that intervening management and group operation without first user, for the management and group operation of user's complexity in prior art, greatly having simplified user's operation and client realizes, reduced client cost, especially be adapted to the more professional enterprise's management and group and the user's operation requirements that is simple and easy to use of PTT business of specialty and Industry Version Oriented.
Flow process shown in Fig. 1 can be implemented by the equipment that can realize its function, such as ptt server etc.The turnkey console that can log in ptt server by pc client by enterprise administrator or system manager during concrete enforcement is carried out the information of group under maintenance and management user, thereby receiving the logging in after request of first user, the information of group under first user can be provided.For example, the turnkey console that enterprise administrator or system manager can log in ptt server by pc client is carried out the information of group under maintenance customer, such as: newly-built, to revise or delete group under user information.
Wherein, under the user that ptt server is safeguarded, the information of group can comprise: whether the sign of default groups in group under user, and numbering or the title of Zhong Ge group of the affiliated group of user, have session in user Ge group and convene authority.Under the first user that ptt server sends in step 102, in the information of group, can comprise under first user the sign of default groups in group, thereby trigger according to the sign of default groups in group under first user in this information, first user is added to default groups.The sign that can only comprise default groups in the affiliated group of first user under the first user that ptt server sends in the information of group, can certainly comprise some other information, as the numbering of the Zhong Ge of group group under first user or title etc.
In this example, under user, the information of group is to safeguard by keeper is unified at ptt server, does not need user to operate, thereby has simplified the complexity of user's operation and client realization.
As shown in Figure 2, also provide a kind of PTT method for processing business in the embodiment of the present invention, its handling process can comprise:
Step 201, to PPT server, send the request that logs in of first user;
Step 202, receive the information of group under the first user that described PPT server returns, described information comprises under first user the sign of default groups in group;
Step 203, according to described sign, first user is added to the first group, described the first group is described default groups.
Flow process can be learnt as shown in Figure 2, in the embodiment of the present invention, user is predetermined group in advance, also needn't specify which group as main group, more without the state of monitoring a plurality of groups, group information under user arranges and record without user, but when implementing flow process shown in Fig. 2, to ptt server, sending logging in after request of first user, can receive the information of group under the first user that described PPT server returns, and then according to the sign of default groups in group under first user in described information, first user is added to the first group, described the first group is described default groups.Thereby in the situation that intervening management and group operation without first user, realization provides PTT business to first user, for the management and group operation of user's complexity in prior art, greatly having simplified user's operation and client realizes, reduce client cost, be especially adapted to the more professional enterprise's management and group and the user's operation requirements that is simple and easy to use of PTT business of specialty and Industry Version Oriented.
Flow process shown in Fig. 2 can be implemented by the equipment that can realize its function, such as PTT client etc.During concrete enforcement, user logs in after PTT business, PTT client can get from ptt server the information of group under user, this information comprises the sign of default groups in the affiliated group of user, can also comprise some other information, these information can provide with the form of list, in PTT client, show group information list, can facilitate user to confirm own affiliated group and work at present group etc.
In an embodiment, under first user, the information of group can also comprise: numbering or the title of Zhong Ge group of group under first user, therefore PTT client can also be according to the numbering of each group or title, by first user designated group group under default groups switches to it; That is, in enforcement, can also comprise: the designated group by the first group updating for first user being switched to from described default groups according to described numbering or title.Like this, when simplifying user's operation and client realization, reducing client cost, can also need to carry out group's handover operation to user according to user, improve user's experience, increase the flexibility that PTT business provides.In implementation process, user exits original default groups and adds selected new group, to guarantee belonging to Yi Ge group user of the same moment, or not any group (user does not log in or has logged in but do not add arbitrary group), client, also without supporting sound mixing function, has been simplified client realization like this.In addition, PTT client can also be to the request of default groups in group under PPT server transmission change first user, in described request, carry the sign of the default groups after change, so that ptt server is after receiving this request, according to the sign of the default groups after change described in this request, change the default groups in group under described first user.Certainly, ptt server can also be according to the group information under user's request change user.
During concrete enforcement, under the user that aforementioned ptt server is safeguarded, the information of group can also comprise: the information such as the size of Zhong Ge group of the affiliated group of user, priority, group's description.Take group's priority as example, ptt server can arrange: a user belongs to a plurality of groups, each group has priority separately, and what this priority can be set to as required, and the embodiment of the present invention be take priority and described as high priority, normal priority two-stage as example.
In an embodiment, can to the user in group, manage by the priority of group.Under the user who safeguards due to ptt server, the information of group can also comprise: whether user has session in a certain group is convened authority, if the first user in flow process shown in Fig. 1, Fig. 2 is the user that authority is convened in session that has who adds at first in the first group, at first user, add after the first group, ptt server can trigger and will add the second user of the second group to switch to the first group, under described the second user, group comprises the first group and the second group, and the priority of described the second group is lower than the first group.
For example, the first group is high priority, and the second group is normal priority, and the default groups of first user is the first group, the second user's default groups is the second group, and the default groups that the second user adds the second user after logging in i.e. the second group participate in session.Now, there is session and convene i.e. the first group of default groups that the first user of authority adds first user, ptt server can trigger the second user is moved in the session of the first group from the session of the second group of participating in, trigger the second user place PTT client and discharge the second user in original low priority group---Session Resources in the second group, adds current high priority group by the second user---session of the first group.During concrete enforcement, the second user may have a plurality of, and a plurality of the second users are switched to the first group can be operated simultaneously, also can operate in certain sequence.
In an embodiment, if first user is the user that authority is convened in session that has who adds at first in the first group, at first user, add after the first group, ptt server can also be notified the 3rd user is added to the first group, under described the 3rd user group comprise that the first group and described the 3rd user do not log in or described the 3rd user under group comprise that the first group and San group and described the 3rd user have added San group, the priority of described San group is not less than the first group.
That is, during enforcement, ptt server sends notice can be automatically to other user place PTT clients that login user or place group priority are not less than the first group, as note, reminds it that this user is added to the first group.
In an embodiment, if first user is the user that authority is convened in session that has who adds at first in the first group, at first user, add after the first group, ptt server can also trigger four-function family is added to the first group, under described four-function family, group comprises the first group, and described four-function family has logged in but do not added arbitrary group.That is, during enforcement, ptt server can be convened after the first cluster conversation at first user, triggers and will log in but not add the user of arbitrary group to move in the session of the first group.
Fig. 3 is the concrete networking schematic diagram of PTT method for processing business, and this networking flow process is described as follows:
In Fig. 3 example, enterprise administrator logs in the information of group under the turnkey console maintenance customer of ptt server by enterprise console.Ptt server can send information to group member by Short Message Service Gateway, and notice is reached the standard grade and added cluster conversation.User place PTT client is by PLMN (Public Land Mobile Network, PLMN) network and IP (Internet Protocol, Internet protocol)/IMS (IP Media Sub-system, IP media subsystem) core net access PTT system.
The information of group under ptt server configure user, the sign that comprises default groups in the affiliated group of user, and under user, the numbering of group Zhong Ge group or title, size, priority, group are described, and whether have session and convene the information such as authority in user Ge group.
Suppose that user A logs in ptt server, its place PTT client can be obtained from ptt server the information of group under user A, for example affiliated group is the X of group, Y and Z, and wherein default groups is X, and under described user, the information of group can provide by tabular form; User A place PTT client adds user A in default groups X according to these information.User A place PTT client also can select user A to be switched to other groups in affiliated group, exits original default groups X, adds selected new group.The group of supposing the current participation session of user A is the X of group, and the X of group is normal priority.
User B logs in after PTT business, and its place PTT client adds the Y of group by user B, supposes that user B is for first user that authority is convened in session that has who adds the Y of group, and the Y of group is high priority group.Ptt server, by belonging to the Y of group and participating in the user of normal priority cluster conversation, as user A etc., is moved in the session of current high priority group Y.In addition, other users that ptt server also can be given not at the current Y of group, for example, send note to the user who belongs to the Y of group and do not log in and remind and add the session of the Y of group, or belong to the Y of group and just adding its priority and be not less than the user of other group of the Y of group; These users, after receiving that note is reminded, can select to add the session of the Y of group having carried out.
When ptt server is moved user A in the session of current high priority group Y, first trigger the session of user A place PTT client releasing user A in the original normal priority X of group, then user A is added to the session of current high priority group Y.On the client end interface of user A, show that current work group is the Y of group, the speech in now can only the Y of uppick group.
It should be noted that, the user who has participated in current cluster conversation can not be interrupted by the cluster conversation of other equal priority, even if this user also belongs to the member of the group setting up afterwards.But this user place client can be received to remind and add the note of group afterwards, adopts the mode of switching group to select to add.
Lift an example as shown in Figure 4, the Signalling exchange flow process of PTT method for processing business in the embodiment of the present invention is described.In this example, suppose:
The X of group is normal priority, and the Y of group is high priority, and the Z of group is high priority;
User A belongs to the X of group, Y, Z; Place client is customer end A;
User B belongs to the X of group, Y, and default groups is the Y of group, has session convene authority at the Y of group; Place client is customer end B;
User C belongs to the X of group; Place client is client C;
User D belongs to the Y of group; Place client is client D;
User E belongs to the X of group; Place client is client E;
User A, C, E have added the X of group;
User D does not log in PTT business;
User B does not log in PTT business.
In this example, Signalling exchange flow process can comprise:
The customer end B at step 401, user B place logs in ptt server by HTTP mode, and through authentication with after authorizing, ptt server returns to the group information under user B to customer end B, is the sign of the Y of group comprising default groups;
Step 402, customer end B are selected user B to add the Y of group according to the sign of the Y of group in the information receiving, and to ptt server, initiate user B to add the request of the Y of group by the Invite message of Session Initiation Protocol;
Step 403, ptt server receive after the request of customer end B, according to the attribute of the Y of group and user B, judge, find that user B is first user who adds the Y of group session, and there is session to convene authority, inquire about other Member Users, find the Y of Zhong Junyou group of affiliated group of user A, user D, and user A participating in the session of the X of group, and the X of group is normal priority;
Step 404, ptt server trigger the session of customer end A releasing user A in the X of group, send out BYE message, the Session Resources of releasing user A in the X of group to customer end A; User A is exited from the X of group session;
Step 405, ptt server are sent out Invite message trigger customer end A to customer end A again and are added the Y of group, customer end A to return to 200OK response user A request, user A are added in the session of the Y of group;
Step 406, ptt server return to 200OK to customer end B and confirm successfully user B to be added to the Y of group;
In step 407, the ptt server judgement Y of group, have not login user D, also have other users just in high priority group session, ptt server sends SMS notification request to Short Message Service Gateway, carries these users' information, as number information etc.;
Step 408, Short Message Service Gateway send SMS notification to user D place client D, and other temporarily cannot add the user place client of the Y of group session automatically;
Step 409, client D receive after SMS notification, select to log in PTT service, and user D are added to the session of the Y of group.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, described program can be stored in a computer read/write memory medium, this program is when carrying out, can comprise all or part of step in above-described embodiment method, described storage medium can comprise: ROM, RAM, disk, CD etc.
A kind of ptt server, PTT client and PTT transaction processing system in the embodiment of the present invention, are also provided, as described in the following examples.Because the principle that these equipment, system are dealt with problems is similar to PTT method for processing business, so the enforcement of these equipment, system can, referring to the enforcement of method, repeat part and repeat no more.
The embodiment of the present invention provides a kind of ptt server, and as shown in Figure 5, this ptt server can comprise its structure:
Receiver module 501, for receiving the request that logs in of first user;
Group management module 502, for sending the information of group under first user, triggers, according to the sign of default groups in group under first user in described information, first user is added to the first group, and described the first group is described default groups.
As shown in Figure 6, in an embodiment, the ptt server shown in Fig. 5 can also comprise as one of lower module or combination in any:
Trigger handover module 601, for at first user, be the first group add at first there is session and convene the user of authority time, triggering switches to the first group by the second user, under described the second user, group comprises the first group and the second group, and described the second user has added the second group, and the priority of described the second group is lower than the first group;
Notification module 602, for at first user, be the first group add at first there is session and convene the user of authority time, notice adds the first group by the 3rd user, under described the 3rd user group comprise that the first group and described the 3rd user do not log in or described the 3rd user under group comprise that the first group and San group and described the 3rd user have added San group, the priority of described San group is not less than the first group;
Triggering adds module 603, for at first user, be the first group add at first there is session and convene the user of authority time, triggering adds the first group by four-function family, and under described four-function family, group comprises the first group, and described four-function family has logged in but do not added arbitrary group.
In an embodiment, receiver module 501 can also be for: receive the request of group's default groups under change first user, carry the sign of the default groups after change in described request;
Group management module 502 can also be for: the default groups of changing group under described first user according to the sign of the default groups after described change.
The embodiment of the present invention also provides a kind of PTT client, and as shown in Figure 7, this PTT client can comprise its structure:
Sending module 701, for sending the request that logs in of first user to ptt server;
Receiver module 702, for receiving the information of group under the first user that described PPT server returns, described information comprises under first user the sign of default groups in group;
Add module 703, for according to described sign, first user being added to the first group, described the first group is described default groups.
In an embodiment, described information also comprises: numbering or the title of Zhong Ge group of group under first user; As shown in Figure 8, the PTT client shown in Fig. 7 can also comprise:
Update module 801, for the designated group for first user being switched to from described default groups according to described numbering or title by the first group updating.
The embodiment of the present invention also provides a kind of PTT transaction processing system, and as shown in Figure 9, this PTT transaction processing system can comprise its structure:
Ptt server 901, for receiving the request that logs in of first user; Send the information of the affiliated group of first user, trigger, according to the sign of default groups in group under first user in described information, first user is added to the first group, described the first group is described default groups;
PTT client 902, for sending the request that logs in of first user to ptt server 901; Receive the described information that ptt server 901 returns; According to the sign of default groups in group under first user in described information, first user is added to the first group.
In sum, in the embodiment of the present invention, user is predetermined group in advance, also needn't specify which group as main group, more without the state of monitoring a plurality of groups, group information under user arranges and record without user, but at ptt server: receive logging in after request of first user, can log in the information that request sends group under first user according to this, triggering adds the first group according to the sign of default groups in group under first user in this information by first user, and described the first group is described default groups; In PTT client: send logging in after request of first user to ptt server, can receive the information of group under the first user that ptt server returns, and then according to the sign of default groups in group under first user in described information, first user be added to the first group; Thereby realize and provide PTT business to first user in the situation that intervening management and group operation without first user, for the management and group operation of user's complexity in prior art, greatly having simplified user's operation and client realizes, reduce client cost, be especially adapted to the more professional enterprise's management and group and the user's operation requirements that is simple and easy to use of PTT business of specialty and Industry Version Oriented.
Under the user that in the embodiment of the present invention, PTT client can also provide according to ptt server, the numbering of the information Zhong Ge group of group or title are by user's designated group group under default groups switches to, improve user's experience, increase the flexibility that PTT business provides, in the same moment, a user belongs to Yi Ge group, or not any group (if user does not log in or logged in but do not added arbitrary group), client, also without supporting sound mixing function, has been simplified client realization like this.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only specific embodiments of the invention; the protection range being not intended to limit the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.