Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Please refer to Fig. 1, it shows the method flow diagram of the channel creation method that one embodiment of the invention provides, and this channel creation method can be applied to and trigger in the starting client that creates interim channel.This channel creation method, comprising:
Step 101, obtains the client identification that triggers the starting client that creates interim channel, and interim channel is used between the client belonging in different channel and/or sub-channel communication port is provided;
In the present embodiment, the interim channel that can create starting client when starting client triggers the interim channel of establishment detects, and forbid that according to testing result starting client is not to meeting the establishment behavior of interim channel of establishment condition, to avoid any one starting client can create interim channel, make the interim channel creating take the problem of the ample resources of server when more.
Before the interim channel creating at detection starting client, need to determine starting client.Therefore, can obtain the client identification of starting client, such as, the UID(User Identification of starting client, user ID) etc.
Step 102, whether the interim channel that detects the indicated starting client triggering establishment of client identification meets default establishment condition;
Before detecting the interim channel that creates of starting client, also need to set in advance establishment condition, and detect the interim channel that the indicated starting client of client identification creates and whether meet this establishment condition.If the interim channel that starting client creates meets establishment condition, allow starting client to create interim channel; If the interim channel that starting client creates does not meet establishment condition, forbid that starting client creates interim channel, flow process finishes.
Step 103, meets establishment condition if testing result is the interim channel that starting client triggering creates, and to server, sends the channel creation request for creating interim channel, so that server creates interim channel after receiving channel creation request.
Starting client is that this establishment behavior arranges an establishment sign GUID(Globally Unique Identifier, global unique identification symbol), and this establishment sign and client identification are carried in channel creation request and send to server, server creates interim channel, and be the channel identication of the interim channel of this interim channel allocation, according to creating sign, to starting client, feed back this channel identication, starting client adds the indicated interim channel of this channel identication.Starting client again by advance invite be invited to client be invited to client identification and channel identication sends to server, by server, to being invited to the indicated client that is invited to of client identification, broadcast this channel identication, to be invited to client, add this interim channel, now, interim channel has been set up, starting client can be invited to communicate by letter between client.
In sum, the channel creation method that the embodiment of the present invention provides, whether the interim channel that triggers establishment by detecting the indicated starting client of client identification meets default establishment condition, if being the interim channel that starting client triggering creates, testing result meets establishment condition, to server, send the channel creation request for creating interim channel, so that server creates interim channel after receiving channel creation request, can forbid that starting client is not to meeting the establishment behavior of interim channel of establishment condition, solve any one starting client and can create interim channel, make the interim channel creating take the problem of the ample resources of server when more, reached the effect of saving server resource.
Please refer to Fig. 2, it shows the method flow diagram of the channel creation method that one embodiment of the invention provides, and this channel creation method can be applied in server.This channel creation method, comprising:
Step 201, receive starting client send for creating the channel creation request of interim channel; The client identification of starting client is obtained in channel creation request by the starting client that triggers the interim channel of establishment, whether the interim channel that detects the indicated starting client triggering establishment of client identification meets default establishment condition, the interim channel that is starting client triggering establishment in testing result sends while meeting establishment condition, and interim channel is used between the client belonging in different channel and/or sub-channel communication port is provided;
Server can receive that any one starting client sends for creating the channel creation request of interim channel, but, when the channel creation request receiving is more, the interim channel that server will create is more, can take the ample resources of server, therefore, server can only receive starting client and at the interim channel that detects establishment, meets the channel creation request sending after establishment condition.
Step 202, according to channel creation, request creates interim channel.
Server can read in channel creation request, carry be used for identifying the establishment sign of establishment behavior and the client identification of starting client, server creates interim channel, and be this interim channel allocation channel identication, according to creating sign, to starting client, feed back this interim channel, starting client adds the indicated interim channel of this channel identication.Starting client again by advance invite be invited to client be invited to client identification and channel identication sends to server, server is broadcasted this channel identication to being invited to the indicated client that is invited to of client identification, to be invited to client, add this interim channel, now, interim channel has been set up, starting client can be invited to communicate by letter between client.
In sum, the channel creation method that the embodiment of the present invention provides, by receive starting client send for creating the channel creation request of interim channel, the client identification of starting client is obtained in channel creation request by the starting client that triggers the interim channel of establishment, whether the interim channel that detects the indicated starting client triggering establishment of client identification meets default establishment condition, the interim channel that is starting client triggering establishment in testing result sends while meeting establishment condition, can forbid that starting client is not to meeting the establishment behavior of interim channel of establishment condition, solve any one starting client and can create interim channel, make the interim channel creating take the problem of the ample resources of server when more, reached the effect of saving server resource.
Please refer to Fig. 3, it shows the method flow diagram of the channel creation method that another embodiment of the present invention provides.This channel creation method, comprising:
Step 301, starting client obtains the client identification that triggers the starting client that creates interim channel, and interim channel is used between the client belonging in different channel and/or sub-channel communication port is provided;
Owing to just can communicating by letter between the client only belonging in same channel or sub-channel, therefore, if starting client need to be communicated by letter with belonging between other clients of other channels or sub-channel, can in the situation that not exiting original channel, create interim channel, and communicate by letter with adding between these other clients of interim channel.
In the present embodiment, the interim channel that can create starting client when starting client triggers the interim channel of establishment detects, and forbid that according to testing result starting client is not to meeting the establishment behavior of interim channel of establishment condition, to avoid any one starting client can create interim channel, make the interim channel creating take the problem of the ample resources of server when more.
Before the interim channel creating at detection starting client, need to determine starting client.Therefore, can obtain the client identification of starting client, such as, the UID of starting client etc.
Step 302, whether the interim channel that starting client detects the indicated starting client triggering establishment of client identification meets default establishment condition;
Before detecting the interim channel that creates of starting client, also need to set in advance establishment condition, and detect the interim channel that the indicated starting client of client identification creates and whether meet this establishment condition.If the interim channel that starting client creates meets establishment condition, allow starting client to create interim channel; If the interim channel that starting client creates does not meet establishment condition, forbid that starting client creates interim channel, flow process finishes.
Particularly, whether the interim channel that detects the indicated starting client triggering establishment of client identification meets default establishment condition, comprising:
A) detect the indicated starting client of client identification and whether there is the authority that creates interim channel;
If b) testing result is that starting client has the authority that creates interim channel, detect each that be initiated that client invites and be invited to client and whether have the authority that adds interim channel, being invited to client is that starting client is invited the client that adds interim channel;
If c) testing result is that each is invited to exist at least one to be invited to client in client and has the authority that adds interim channel, determine that starting client triggers the interim channel creating and meets establishment condition.
In the present embodiment, can be in advance for client be authorized the authority that creates interim channel, make the client with authority can create interim channel, detecting after starting client has the authority of interim channel of establishment, can determine that starting client triggers the interim channel creating and meets establishment condition, execution step 303.Wherein, according to the use scenes of interim channel, the client of authorizing the authority that creates interim channel can be set.Such as, if the keeper of each channel or sub-channel need to hold the managerial meeting about problem of management, can authorize each Administrator Client and create the authority of interim channel.
Because starting client can be invited the client that is invited to that adds interim channel triggering to create during interim channel, therefore, the present embodiment can also further to starting client, invite each be invited to client and detect.Particularly, the present embodiment is in advance for client is authorized the authority that adds interim channel, starting client can detect each and is invited to client and whether has the authority that adds interim channel in the invite list setting in advance, if this is invited to client, there is the authority that adds interim channel, continue to detect the next one and be invited to client; If this is invited to client, do not there is the authority that adds interim channel, this invitation client is eliminated to invite list, continue to detect the next one and be invited to client, until detected all clients that are invited in invite list.Still the managerial meeting that is applied to keeper take interim channel, as example, can be authorized the authority that each Administrator Client adds interim client.
If included each of invite list is invited to exist at least one to be invited to client in client and has the authority that adds interim channel, can determine that starting client triggers the interim channel creating and meets establishment condition, execution step 303; If included each of invite list is invited to not exist any one to be invited to client in client and has the authority that adds interim channel, can determine that starting client triggers the interim channel creating and do not meet establishment condition, flow process finishes.
For the ease of understanding, the managerial meeting that this enforcement is still applied to keeper take interim channel describes as example, role's value of Administrator Client can when creating channel or sub-channel, Administrator Client be set, starting client can obtain role's value of starting client, and detects this role's value and whether equal role's value of Administrator Client.If role's value of starting client equals role's value of Administrator Client, determine that starting client is Administrator Client, has the authority that creates interim channel; If the role of starting client is not equal to role's value of Administrator Client, determine that starting client is not Administrator Client, does not have the authority that creates interim channel.In like manner, can detect and be invited to client and whether there is the authority that adds interim channel.Or, the client with the authority that creates interim channel can also be set in the role-security table of storage, starting client can determine whether starting client has the authority that creates interim channel according to this role-security table.Wherein, role-security table is by Servers installed and send to client, can record and add the authority that in the affiliated original channel of starting client, each client has.In like manner, can be invited to client according to the detection of role-security table and whether there is the authority that adds interim channel.
Step 303, meets establishment condition if testing result is the interim channel that starting client triggering creates, and starting client sends the channel creation request for creating interim channel to server;
Starting client is that this establishment behavior arranges one and creates sign GUID, and this establishment sign and client identification are carried in channel creation request and send to server, so that server creates interim channel after receiving channel creation request.
Step 304, server receive starting client send for creating the channel creation request of interim channel;
Server can receive that any one starting client sends for creating the channel creation request of interim channel, but, when the channel creation request receiving is more, the interim channel that server will create is more, can take the ample resources of server, therefore, server can only receive starting client and at the interim channel that detects establishment, meets the channel creation request sending after establishment condition.Wherein, the client identification of starting client is obtained in this channel creation request by the starting client that triggers the interim channel of establishment, whether the interim channel that detects the indicated starting client triggering establishment of client identification meets default establishment condition, the interim channel that is starting client triggering establishment in testing result sends while meeting establishment condition, and interim channel is used between the client belonging in different channel and/or sub-channel communication port is provided.
Step 305, according to channel creation, request creates interim channel to server.
Server can read in channel creation request, carry be used for identifying the establishment sign of establishment behavior and the client identification of starting client, server creates interim channel, and be this interim channel allocation channel identication, according to creating sign, to starting client, feed back this interim channel, starting client adds the indicated interim channel of this channel identication.Starting client again by advance invite be invited to client be invited to client identification and channel identication sends to server, server is broadcasted this channel identication to being invited to the indicated client that is invited to of client identification, to be invited to client, add this interim channel, now, interim channel has been set up, starting client can be invited to communicate by letter between client.
After starting client has created interim channel, also need interim channel to arrange, specific as follows:
The first, to server, send for after creating the channel creation request of interim channel, also comprise:
A) receive the trigger action that sends communication information for triggering interim channel, trigger action comprises at least one in shortcut operation and the input operation in predetermined inputting interface;
B) received communication message, and trigger interim channel transmission communication information according to trigger action.
Starting client can be used interim channel to send communication information, such as, together with the channel identication of communication information and interim channel, send to server.Wherein, communication information comprises at least one in audio message, video messaging, word message and image information.The present embodiment can send according to the interim channel of type of message setup and use the trigger action of communication information.
1), when communication information is word message and/or image information, the input operation in can predetermined inputting interface is set to trigger action.Wherein, predetermined inputting interface refers to the interface of the original inputting interface that is different from the original channel under starting client, can be the window etc. that is superimposed on original inputting interface, and the present embodiment is not construed as limiting.
If user need to use interim channel to send word message and/or image information, input characters message and/or image information in the input frame that can provide at predetermined inputting interface, when starting client receives word message and/or image information in predetermined inputting interface, see, use interim channel to send this word message and/or image information.If user need to use original channel to send word message and/or image information, input characters message and/or image information in the input frame that can provide at original inputting interface, when starting client receives word message and/or image information in original inputting interface, see, use original channel to send this word message and/or image information.
2), when communication information is audio message or video messaging, can be trigger action by shortcut operation setting.Such as, F3 key is configured such that to the shortcut that sends audio message with interim channel, when starting client receives the push button signalling of pressing F3 key, calls microphone and gather audio message, when receiving the cut-off signal that unclamps F3 button, use interim channel to send the audio message collecting.Again such as, F4 key is configured such that to the shortcut that sends video messaging with interim channel, when starting client receives the push button signalling of pressing F4 key, call camera collection audio message, when receiving the cut-off signal that unclamps F4 button, use interim channel to send the video messaging collecting.
When trigger action is shortcut operation, the original channel being invited under client due to the original channel under starting client and each is also provided with the shortcut that triggers original channel transmission communication information, therefore, optionally, before receiving the trigger action that sends communication information for triggering interim channel, also comprise:
If a) trigger action is shortcut operation, receive the configuration information for shortcut is set;
B) whether identically judge that the indicated shortcut of configuration information and starting client and each are invited to the shortcut that the original channel of client under separately arrange, original channel is channel or the sub-channel that client added before interim channel;
If c) judged result is the indicated shortcut of configuration information and to be invited to each in shortcut that the original channel of client under separately arrange different for starting client and each, determine that shortcut arranges successfully;
If d) judged result is the indicated shortcut of configuration information and to be invited to any one in shortcut that the original channel of client under separately arrange identical for starting client and each, show for pointing out the information that resets shortcut.
Whether the shortcut that starting client can detect interim channel fix is identical with the shortcut that original channel arranges, when the shortcut of interim channel fix is different with the shortcut of original channel setting, starting client determines that this shortcut arranges effectively, the shortcut information arranging is shown, to be invited to client, can clearly use interim channel to send the mode of communication information.Such as, can in interface, show " by F3, speaking ".When the shortcut of interim channel fix is identical with the shortcut of original channel setting, it is invalid that starting client determines that this shortcut arranges, and shows for pointing out the information that resets shortcut.Such as, can in interface, show " tongue that can not be identical with channel fix ".
The second, to server, send for after creating the channel creation request of interim channel, also comprise:
A) obtain respectively starting client and be invited to the personal information in the original channel of client under separately with each, personal information comprises at least one in grade, head portrait, user name, and original channel is channel or the sub-channel that client added before interim channel;
B) in interim channel, show personal information.
The starting client comprising for clear and definite interim channel and be invited to client, can also show in interface that client in interim channel and each are invited to the personal information of client.Such as, starting client can obtain client and each is invited to the personal information in the original channel of client under separately, and show personal information in interim channel, make the personal information put on display in interim channel identical with the personal information of putting on display in original channel, be convenient to recognize client.
The 3rd, to server, send for after creating the channel creation request of interim channel, also comprise:
If receive, derive from the first audio message of interim channel and receive the second audio message that derives from original channel, with the first volume, play the first audio message, with the second volume, play the second audio message, the first volume is greater than the second volume, and original channel is channel or the sub-channel that client added before interim channel.
While receiving at the same time the communication information that derives from interim channel and original channel, can weaken the communication information that derives from original channel, with the outstanding communication information that comes from interim channel, be convenient to obtaining of communication information to deriving from interim channel, improve message and obtained accuracy.
Particularly, if communication information is word message and/or image information, can overstriking or increase display text or display background be set or in interface central authorities, show etc.If communication information is audio message or video messaging, can play the first audio message that derives from interim channel with the first volume, with the second volume, derive from broadcasting second audio message of original channel, and the first volume is greater than the second volume.Such as, starting client can obtain the volume of the second audio message, and this volume is weakened to processing etc.
It should be added that, starting client can create at least two interim channels simultaneously.When there is at least two interim channels, can be identical to the trigger action of each interim channel fix, also can be different, the present embodiment is not construed as limiting.
In sum, the channel creation method that the embodiment of the present invention provides, whether the interim channel that triggers establishment by detecting the indicated starting client of client identification meets default establishment condition, if being the interim channel that starting client triggering creates, testing result meets establishment condition, to server, send the channel creation request for creating interim channel, so that server creates interim channel after receiving channel creation request, can forbid that starting client is not to meeting the establishment behavior of interim channel of establishment condition, solve any one starting client and can create interim channel, make the interim channel creating take the problem of the ample resources of server when more, reached the effect of saving server resource.In addition, by playing the first audio message with the first volume, with the second volume, play the second audio message, the first volume is greater than the second volume, can weaken the volume of the second audio message of playing in original channel, reach the effect of the volume of outstanding the first audio message.
Please refer to Fig. 4, it shows the structural framing figure of the channel creation device that one embodiment of the invention provides.This channel creation device, comprising:
The first acquisition module 401, for obtaining the client identification that triggers the starting client that creates interim channel, interim channel is used between the client belonging in different channel and/or sub-channel communication port is provided;
Condition detection module 402, the indicated starting client of client identification getting for detection of the first acquisition module 401 triggers the interim channel creating and whether meets default establishment condition;
Request sending module 403, when the interim channel that is starting client triggering establishment for the result detecting at condition detection module 402 meets establishment condition, to server, send the channel creation request for creating interim channel, so that server creates interim channel after receiving channel creation request.
In sum, the channel creation device that the embodiment of the present invention provides, whether the interim channel that triggers establishment by detecting the indicated starting client of client identification meets default establishment condition, if being the interim channel that starting client triggering creates, testing result meets establishment condition, to server, send the channel creation request for creating interim channel, so that server creates interim channel after receiving channel creation request, can forbid that starting client is not to meeting the establishment behavior of interim channel of establishment condition, solve any one starting client and can create interim channel, make the interim channel creating take the problem of the ample resources of server when more, reached the effect of saving server resource.
Please refer to Fig. 5, it shows the structural framing figure of the channel creation device that yet another embodiment of the invention provides.This channel creation device, comprising: the first acquisition module 401, condition detection module 402 and request sending module 403.
The first acquisition module 401, for obtaining the client identification that triggers the starting client that creates interim channel, interim channel is used between the client belonging in different channel and/or sub-channel communication port is provided;
Condition detection module 402, the indicated starting client of client identification getting for detection of the first acquisition module 401 triggers the interim channel creating and whether meets default establishment condition;
Request sending module 403, when the interim channel that is starting client triggering establishment for the result detecting at condition detection module 402 meets establishment condition, to server, send the channel creation request for creating interim channel, so that server creates interim channel after receiving channel creation request.
Optionally, condition detection module 402, comprising:
Whether the first detecting unit 4021, have the authority that creates interim channel for detection of the indicated starting client of client identification;
The second detecting unit 4022, for the result that detects at the first detecting unit 4021, be that starting client is while having the authority that creates interim channel, detection be initiated that client invites each be invited to client and whether there is the authority that adds interim channel, being invited to client is that starting client is invited the client that adds interim channel;
Condition determining unit 4023, for the result that detects at the second detecting unit 4022 be each when being invited to client and existing at least one to be invited to client and to there is the authority that adds interim channel, determine that starting client triggers the interim channel creating and meets establishment condition.
Optionally, device also comprises:
The first receiver module 404, for request sending module 403, to server, send for after creating the channel creation request of interim channel, receive the trigger action that sends communication information for triggering interim channel, trigger action comprises at least one in shortcut operation and the input operation in predetermined inputting interface;
Message transmission module 405, for received communication message, and the trigger action receiving according to the first receiver module 404 triggers interim channel transmission communication information.
Optionally, device also comprises:
The second receiver module 406, before receiving the trigger action that sends communication information for triggering interim channel, if trigger action is shortcut operation, receives the configuration information for shortcut is set for the first receiver module 404;
Button judge module 407, whether identical for judging that the indicated shortcut of configuration information that the second receiver module 406 receives and starting client and each are invited to the shortcut that the original channel of client under separately arrange, original channel channel or sub-channel that to be client added before channel temporarily;
Button determination module 408, to be the indicated shortcut of configuration information be invited to each of shortcut of the original channel setting of client under separately when different with starting client and each to the result judging for button judge module 407, determines that shortcut arranges successfully;
Information indicating module 409, to be the indicated shortcut of configuration information be invited to any one of shortcut that the original channel of client under separately arrange when identical with starting client and each to the result judging for button judge module 407, shows and be used for pointing out the information that resets shortcut.
Optionally, device also comprises:
The second acquisition module 410, for request sending module 403, to server, send for after creating the channel creation request of interim channel, obtain respectively starting client and be invited to the personal information in the original channel of client under separately with each, personal information comprises at least one in grade, head portrait, user name, and original channel is channel or the sub-channel that client added before interim channel;
Information display module 411, for showing at interim channel the personal information that the second acquisition module 410 gets.
Optionally, device also comprises:
Message playback module 412, for request sending module 403, to server, send for after creating the channel creation request of interim channel, if receive, derive from the first audio message of interim channel and receive the second audio message that derives from original channel, with the first volume, play the first audio message, with the second volume, play the second audio message, the first volume is greater than the second volume, and original channel is channel or the sub-channel that client added before interim channel.
In sum, the channel creation device that the embodiment of the present invention provides, whether the interim channel that triggers establishment by detecting the indicated starting client of client identification meets default establishment condition, if being the interim channel that starting client triggering creates, testing result meets establishment condition, to server, send the channel creation request for creating interim channel, so that server creates interim channel after receiving channel creation request, can forbid that starting client is not to meeting the establishment behavior of interim channel of establishment condition, solve any one starting client and can create interim channel, make the interim channel creating take the problem of the ample resources of server when more, reached the effect of saving server resource.In addition, by playing the first audio message with the first volume, with the second volume, play the second audio message, the first volume is greater than the second volume, can weaken the volume of the second audio message of playing in original channel, reach the effect of the volume of outstanding the first audio message.
Please refer to Fig. 6, it shows the structural framing figure of the channel creation device that one embodiment of the invention provides.This channel creation device, comprising:
Request receiving module 601, for receive starting client send for creating the channel creation request of interim channel; The client identification of starting client is obtained in channel creation request by the starting client that triggers the interim channel of establishment, whether the interim channel that detects the indicated starting client triggering establishment of client identification meets default establishment condition, the interim channel that is starting client triggering establishment in testing result sends while meeting establishment condition, and interim channel is used between the client belonging in different channel and/or sub-channel communication port is provided;
Channel creation module 602, creates interim channel for the channel creation request receiving according to request receiving module 601.
In sum, the channel creation device that the embodiment of the present invention provides, by receive starting client send for creating the channel creation request of interim channel, the client identification of starting client is obtained in channel creation request by the starting client that triggers the interim channel of establishment, whether the interim channel that detects the indicated starting client triggering establishment of client identification meets default establishment condition, the interim channel that is starting client triggering establishment in testing result sends while meeting establishment condition, can forbid that starting client is not to meeting the establishment behavior of interim channel of establishment condition, solve any one starting client and can create interim channel, make the interim channel creating take the problem of the ample resources of server when more, reached the effect of saving server resource.
Please refer to Fig. 7, it shows the structural representation of the server that one embodiment of the invention provides.Described server 700 comprises CPU (CPU) 701, comprises the system storage 704 of random-access memory (ram) 702 and read-only memory (ROM) 703, and the system bus 705 of connected system memory 704 and CPU 701.Described server 700 also comprises the basic input/output (I/O system) 706 of transmission information between each device helping in computer, and for the mass-memory unit 707 of storage operation system 713, application program 714 and other program modules 715.
Described basic input/output 706 includes display 708 for showing information and the input equipment such as mouse, keyboard 709 for user's input information.Wherein said display 708 and input equipment 709 are all connected to CPU 701 by the IOC 710 that is connected to system bus 705.Described basic input/output 706 can also comprise that IOC 710 is for receiving and process the input from multiple other equipment such as keyboard, mouse or electronic touch pens.Similarly, IOC 710 also provides the output equipment that outputs to display screen, printer or other types.
Described mass-memory unit 707 is connected to CPU 701 by the bulk memory controller (not shown) that is connected to system bus 705.Described mass-memory unit 707 and the computer-readable medium that is associated thereof provide non-volatile memories for server 700.That is to say, described mass-memory unit 707 can comprise the computer-readable medium (not shown) such as hard disk or CD-ROM drive.
Without loss of generality, described computer-readable medium can comprise computer-readable storage medium and communication media.Computer-readable storage medium comprises volatibility and non-volatile, the removable and irremovable medium for any method of storage information such as computer-readable instruction, data structure, program module or other data or technology, realized.Computer-readable storage medium comprises RAM, ROM, EPROM, EEPROM, flash memory or its technology of other solid-state storage, CD-ROM, DVD or other optical storage, cassette, tape, disk storage or other magnetic storage apparatus.Certainly, the known described computer-readable storage medium of those skilled in the art is not limited to above-mentioned several.Above-mentioned system storage 704 and mass-memory unit 707 can be referred to as memory.
According to various embodiments of the present invention, described server 700 can also be connected to the remote computer operation on network by the network such as such as internet.Also be that server 700 can be connected to network 712 by the network interface unit 711 being connected on described system bus 705, in other words, also can be connected to by network interface unit 711 network or the remote computer system (not shown) of other types.
Described memory also comprises one or more than one program, and described more than one or one program is stored in memory, and is configured to be carried out by more than one or one CPU 701.Above-mentioned one or more program has following function:
Receive starting client send for creating the channel creation request of interim channel; The client identification of starting client is obtained in channel creation request by the starting client that triggers the interim channel of establishment, whether the interim channel that detects the indicated starting client triggering establishment of client identification meets default establishment condition, the interim channel that is starting client triggering establishment in testing result sends while meeting establishment condition, and interim channel is used between the client belonging in different channel and/or sub-channel communication port is provided;
According to channel creation, request creates interim channel.
Please refer to Fig. 8, it shows the structural framing figure of the channel creation system that one embodiment of the invention provides.This channel creation system, comprising: client 801 and server 802;
Client 801 can be the client as described in Fig. 4 or Fig. 5, and server 802 can be the server as described in Fig. 6 or Fig. 7.
In sum, the channel creation system that the embodiment of the present invention provides, whether the interim channel that triggers establishment by detecting the indicated starting client of client identification meets default establishment condition, if being the interim channel that starting client triggering creates, testing result meets establishment condition, to server, send the channel creation request for creating interim channel, so that server creates interim channel after receiving channel creation request, can forbid that starting client is not to meeting the establishment behavior of interim channel of establishment condition, solve any one starting client and can create interim channel, make the interim channel creating take the problem of the ample resources of server when more, reached the effect of saving server resource.In addition, by playing the first audio message with the first volume, with the second volume, play the second audio message, the first volume is greater than the second volume, can weaken the volume of the second audio message of playing in original channel, reach the effect of the volume of outstanding the first audio message.
It should be noted that: the channel creation device that above-described embodiment provides is when carrying out channel creation, only with the division of above-mentioned each functional module, be illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to channel creation device is divided into different functional modules, to complete all or part of function described above.In addition, channel creation device and channel creation embodiment of the method that above-described embodiment provides belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.