CN104717193B - Multi-party interactive sessions in multi-party interactive application start method and system - Google Patents

Multi-party interactive sessions in multi-party interactive application start method and system Download PDF

Info

Publication number
CN104717193B
CN104717193B CN201310694804.1A CN201310694804A CN104717193B CN 104717193 B CN104717193 B CN 104717193B CN 201310694804 A CN201310694804 A CN 201310694804A CN 104717193 B CN104717193 B CN 104717193B
Authority
CN
China
Prior art keywords
client
application
application server
party interactive
interactive sessions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310694804.1A
Other languages
Chinese (zh)
Other versions
CN104717193A (en
Inventor
张�林
祁舟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Burson Marsteller Network Game Development (shenzhen) Co Ltd
Original Assignee
Burson Marsteller Network Game Development (shenzhen) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Burson Marsteller Network Game Development (shenzhen) Co Ltd filed Critical Burson Marsteller Network Game Development (shenzhen) Co Ltd
Priority to CN201310694804.1A priority Critical patent/CN104717193B/en
Publication of CN104717193A publication Critical patent/CN104717193A/en
Application granted granted Critical
Publication of CN104717193B publication Critical patent/CN104717193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

A kind of multi-party interactive sessions in multi-party interactive application start method, comprise the following steps:Server is controlled to receive the client application connection request that multiple application servers are sent;Client application connection request corresponding to same application server is grouped by control server according to default startup quantity, and grouping information is sent into corresponding application server;Control server that synthesis group information according to default startup quantity synthesis group, is sent the client application connection request that each application server after packet is not grouped to corresponding one of application server to;Each application server opens the multi-party interactive sessions between corresponding client according to the grouping information or synthesis group information that receive.The above method can shorten application server and wait sufficient amount of client to participate in multi-party interactive sessions to start the time of multi-party interactive sessions.In addition, also provide the multi-party interactive sessions activation system in a kind of multi-party interactive application.

Description

Multi-party interactive sessions in multi-party interactive application start method and system
【Technical field】
The present invention relates to network, field of computer technology, the multi-party interaction in more particularly to a kind of multi-party interactive application Session initiation method and system.
【Background technology】
With the development of network technology and the upgrading of network bandwidth, various multi-party interactive applications are more and more in depth oozed Thoroughly into daily life and work.Conventional multi-party interactive, which is applied, includes video conference, long-distance education and online trip Play etc..For multi-party interactive application, by initiating multi-party interactive sessions between a plurality of users, it may be such that to participate in this more Real-time, interactive is carried out between user in square interactive sessions.
The use range of multi-party interactive application is more extensive, then the server of multi-party interactive application needs what is maintained simultaneously Multi-party interactive sessions are also more.Usually, meet that multi-party interactive sessions maintain quantity to increase by increasing the quantity of server The demand added.Some multi-party interactives are applied has fixed limitation to the number of users for participating in multi-party interactive sessions, for example, participating in The number of users of multi-party interactive sessions reaches preset value, and multi-party interactive session can be just activated.Usually, server can only be Be connected between the user of itself and maintain multi-party interactive sessions, be attached to the user of different servers can not participate in it is same In multi-party interactive sessions.Therefore, when multiple servers be present, it is possible to problems be present:A certain moment, request participate in more The quantity of the user of square interactive sessions reaches preset value, these user distributions on a different server, now, although request The number of users for participating in multi-party interactive sessions has reached the condition of the multi-party interactive sessions of startup, but can not be among which users Start multi-party interactive sessions, so as to extend the stand-by period of user, while also extend server and wait enough user's ginsengs Time with starting multi-party interactive sessions into multi-party interactive sessions, so that wasting server resource.
【The content of the invention】
Based on this, it is necessary to which the multi-party interactive sessions startup stand-by period can be shortened in multi-party interactive application by providing one kind Multi-party interactive application in multi-party interactive sessions start method.
A kind of multi-party interactive sessions in multi-party interactive application start method, comprise the following steps:
Server is controlled to receive the client application connection request that multiple application servers are sent;
Control server enters client application connection request corresponding to same application server according to default startup quantity Row packet, corresponding application server is sent to by grouping information;
Control server opens the client application connection request that each application server after packet is not grouped according to default Dynamic quantity synthesis group, synthesis group information is sent to corresponding one of application server;
Each application server is according to multi-party between the grouping information or the corresponding client of synthesis group information unlatching received Interactive sessions.
In one of the embodiments, it is described to send synthesis group information to the step of corresponding one of application server Suddenly include:
Obtain the multi-party interactive sessions being currently up corresponding to synthesis group in application server be not up to preset upper limit and The most application server of corresponding client application connection request quantity in the synthesis group;
Synthesis group information is sent to the application server of the acquisition.
In one of the embodiments, the multi-party interactive sessions being currently up in application server corresponding to synthesis group are obtained Not up to preset upper limit and in the synthesis group the most application server of corresponding client application connection request quantity step Suddenly include:
Obtain the multi-party interactive sessions being currently up in application server corresponding to the synthesis group and be not up to preset upper limit Application server, and obtain the most application service of corresponding client application connection request quantity wherein in the synthesis group Device;
If the application server of all not up to preset upper limits corresponding client application connection in the synthesis group Number of requests is all identical, then obtains the minimum application server of the multi-party interactive sessions being wherein currently up.
In one of the embodiments, methods described also includes step:
Whether the client that application server monitoring participates in multi-party interactive sessions is offline;
When participating in the client off-line of multi-party interactive sessions, offline client is replaced to join according to default rules of interaction With multi-party interactive sessions.
In one of the embodiments, methods described also includes step:
Application server monitors former participation session in multi-party interactive sessions and whether offline client exists again Line, participated in again in multi-party interactive sessions if so, then connecting the client.
It can shorten the multi-party interactive sessions startup stand-by period in multi-party interactive application in addition, there is a need to and provide one kind Multi-party interactive application in multi-party interactive sessions activation system.
A kind of multi-party interactive sessions activation system in multi-party interactive application, including application server and control service Device, the application server include session control module, and the control server includes receiving module, sending module and packet mould Block, wherein:
Receiving module is used for the client application connection request for receiving multiple application servers;
Grouping module is used for client application connection request corresponding to same application server according to default startup quantity It is grouped;
Sending module is used to grouping information being sent to corresponding application server;
The grouping module is additionally operable to the client application connection request for not being grouped each application server after packet According to default startup quantity synthesis group;
The sending module is additionally operable to send synthesis group information to corresponding one of application server,
Session control module is used for according between the grouping information or the corresponding client of synthesis group information unlatching received Multi-party interactive sessions.
In one of the embodiments, the control server also includes:
Selecting module, it is not up to for obtaining the multi-party interactive sessions being currently up in application server corresponding to synthesis group Preset upper limit and the most application server of corresponding client application connection request quantity in the synthesis group;
The sending module is used for the application server that synthesis group information is sent to the acquisition.
In one of the embodiments, the selecting module is used to obtain in application server corresponding to synthesis group currently to open Dynamic multi-party interactive sessions are not up to the application server of preset upper limit, and obtain the corresponding client wherein in the synthesis group Using the most application server of connection request quantity;
If the application server that the selecting module is additionally operable to all not up to preset upper limits is right in the synthesis group The client application connection request quantity answered is all identical, then obtains the minimum application clothes of the multi-party interactive sessions being wherein currently up Business device.
In one of the embodiments, the application server also includes monitoring modular, and multi-party interaction is participated in for monitoring Whether the client of session is offline;
The session control module is additionally operable to when participating in the client off-line of multi-party interactive sessions, according to default interaction Rule replaces offline client to participate in multi-party interactive sessions.
In one of the embodiments, the monitoring modular be additionally operable to monitor in multi-party interactive sessions it is former participate in session and Whether offline client is again online;
If the session control module is additionally operable to former participation session and offline client is again online, connection should Client participates in multi-party interactive sessions again.
Multi-party interactive sessions in above-mentioned multi-party interactive application start method and system, and control server receives multiple answer The client application connection request sent with server, control server are managed collectively the client that multiple application servers receive Connection request is applied at end, and the client application connection request received is grouped, belongs to the startup of same application server Quantity client application connection request is divided into one group, and grouping information is sent into corresponding application server, and will packet The remaining startup quantity client application connection request for belonging to different application server synthesizes one group afterwards, and by synthesis group Information is sent to one of application server of application server corresponding to synthesis group, receives grouping information or synthesis group letter The application server of breath starts multi-party interactive sessions between client corresponding to same group.The above method and system, preferentially exist Request carries out multi-party interactive sessions between being connected to the startup quantity client of same application server, and some is applied Server when the client terminal quantity deficiency for participating in session starts quantity, then its treating with other application server is participated in into meeting The client synthesis of words possesses start quantity one group, and by the application connection request United Dispatching of this group of client corresponding to On one of application server, the application server starts multi-party interactive sessions between the client of the group, so as to contract Short client waits the time for participating in multi-party interactive sessions, while also shortens application server and wait sufficient amount of client Participate in start the time of multi-party interactive sessions in multi-party interactive sessions, so as to further improve client and application service The resource utilization ratio and application service ability of device.
【Brief description of the drawings】
Fig. 1 is the flow signal of the multi-party interactive sessions startup method in the multi-party interactive application in one embodiment Figure;
Fig. 2 is that the multi-party interactive sessions being currently up in application server corresponding to synthesis group are obtained in one embodiment not Reach preset upper limit and in the synthesis group the step of corresponding client application connection request quantity most application server Schematic flow sheet;
Fig. 3 is the structural representation of the multi-party interactive sessions activation system in the multi-party interactive application in one embodiment Figure;
Fig. 4 is the structural representation of the control server in one embodiment;
Fig. 5 is the structural representation of the application server in one embodiment.
【Embodiment】
As shown in figure 1, the multi-party interactive sessions in a kind of multi-party interactive application start method, comprise the following steps:
Step S102, control server receive the client application connection request that multiple application servers are sent.
Specifically, user logs in the client of a certain application service, client is connected to the application server specified.User The order of trigger request application service, client can generate the client application for including the information such as client identification and request mark Connection request, and the client application connection request is sent to the application server being attached thereto.
Further, application server can send the client application connection request received to communicating connection Control server.In the present embodiment, a control server is connected with multiple application server communications.
In one embodiment, control server can extract the client identification that is included in client application connection request and Request mark, record client identification, request are identified and sent between the application server identifier of client application connection request Corresponding relation.
Step S104, control server open client application connection request corresponding to same application server according to default Dynamic quantity is grouped, and grouping information is sent into corresponding application server.
Server is controlled to obtain the client application connection request of same application server according to above-mentioned corresponding relation, The client application connection request of same application server is grouped, each group starts quantity client comprising default Application clothes are sent to using connection request, and by the grouping information of the client application connection request of some application server Business device.In grouping information can include each group mark and corresponding client identification, i.e., with identical group of mark corresponding to client Hold and be identified as client identification corresponding to the client application connection request for being divided into same group.
In one embodiment, control server will take same application according to the sequencing of client request time The client application connection request of business device is grouped.The client request time is client starting client application connection request Time.Specifically, control server can be by the client application connection request of same application server according to client request Time by being ranked up after arriving first, divides sorted client application connection request further according to one group of quantity is started Group.
Step S106, control server by the client application connection request that each application server after packet is not grouped by According to default startup quantity synthesis group, synthesis group information is sent to corresponding one of application server.
Control server is divided the client application connection request of same application server according to default startup quantity Group, then application server may also have deficiency start quantity client application connection request be not assigned to it is any group of.Control The startup quantity client that control server can will belong to different application server and not be grouped according to above-mentioned corresponding relation One group is synthesized using connection request, and selects an application server in the different application server, by synthesis group information hair It is sent in the application server of selection.Synthesize client mark corresponding to the client application connection request comprising the group in group information Know.
In one embodiment, control server will will respectively be applied according to the sequencing of client request time after packet The client application connection request that server is not grouped is according to default startup quantity synthesis group.Specifically, control server can The client application connection request that each application server after packet is not grouped is laggard by arriving first according to the client request time Row sequence, further according to sequencing by often startup quantity client adjacent in sorted client application connection request End synthesizes one group using connection request.
Control server opens the client application connection request that each application server after packet is not grouped according to default After dynamic quantity synthesis group, there may be the insufficient client application connection request for starting quantity not to be synthesized to any group of, then Control server may wait for receiving the client application connection request of application server transmission next time, and this is not synthesized to Any group of client application connection request is together with the client application connection request received next time according to default startup Quantity is grouped or synthesis group.
Step S108, each application server according to the grouping information that receives or synthesis group information open corresponding client it Between multi-party interactive sessions.
Specifically, which client of grouping information and synthesis group message identification is assigned to same group.Application server Multi-party interaction meeting can be started between the client according to corresponding to the client identification of grouping information or synthesis group information at same group Words.
The grouping information for the client application connection request that the grouping information that application server receives receives for itself, because This, client of the client identification included in the grouping information that application server receives all to be connected with self communication Mark.Application server can be established by socket agreements between each client and communicated to connect.Application server according to The process that the grouping information received opens the multi-party interactive sessions between corresponding client includes:Application server is by same group In the client identification that includes be sent to all clients corresponding to the group.Further, when a certain client need with it is another When client interacts, the client sends the client identification comprising another client that need to be interacted to server Message.Application server transmits the message to another client, more between the multiple client in same group so as to realize Side's interaction.
In the client identification that the synthesis group packet that application server receives contains, not only there is what is be connected with self communication The mark of client, and have the mark for the client being connected with other application server communication.Server is controlled by synthesis group Information is sent to one of application server corresponding to synthesis group, and the other application server also into synthesis group is sent Message, the message for being sent to a certain other application server represent that the other application server is needed with being communicated in synthesis group The client of connection disconnects and notifies client is connected to will to open the application server of multi-party interactive sessions.Application service The process that device opens the multi-party interactive sessions between corresponding client according to the synthesis group information received includes:Application server Communicated to connect with not communicating also to establish by socket agreements between the client being connected in synthesis group, and by synthesis group Comprising client identification be sent to all clients corresponding to the group.Further, as described above, client in synthesis group Between can be by application server transfer message, so as to realize multi-party interactive sessions.In one embodiment, it is above-mentioned by synthesis group Information, which was sent to the step of corresponding one of application server, to be included:Obtain current in application server corresponding to synthesis group The multi-party interactive sessions started are not up to preset upper limit and corresponding client application connection request quantity is most in the synthesis group More application servers;Synthesis group information is sent to the application server of acquisition.
For example, default startup quantity is 3, application server A 2 client application connection requests and application server B 1 client application connection request is synthesized one group, and the multi-party interactive sessions that application server A is currently up are not up to Preset upper limit, then the synthesis group information can be sent to application server A, 3 as corresponding to application server A starts synthesis group Multi-party interactive sessions between client.
A certain application server corresponding client application connection request quantity in synthesis group is most, illustrates that the application takes The quantity that device client corresponding with synthesis group connects of being engaged in is most.In the present embodiment, by client corresponding with synthesis group The most application server of quantity is connected to start the multi-party interactive sessions between client corresponding to synthesis group, can be tried one's best few The reconnect between application server and client is reduced, saves system and Internet resources, improves resource utilization and application Service ability.
As shown in Fig. 2 in one embodiment, obtain the multi-party friendship being currently up in application server corresponding to synthesis group Mutual session is not up to preset upper limit and the most application service of corresponding client application connection request quantity in the synthesis group The step of device, includes:
Step S202, it is not up to pre- to obtain the multi-party interactive sessions being currently up in application server corresponding to the synthesis group If the application server of the upper limit.
Step S204, obtain the most application clothes of the corresponding client application connection request quantity wherein in the synthesis group Business device.
Step S206, if the application server of all not up to preset upper limits corresponding client application in the synthesis group Connection request quantity is all identical, then obtains the minimum application server of the multi-party interactive sessions being wherein currently up.
For example, default startup quantity is 3, application server A 1 client application connection request, application server B 1 client application connection request and application server C 1 client application connection request be synthesized one group, using clothes The multi-party interactive sessions that business device A, application server B and application server C are currently up all are not up to preset upper limit, and application clothes The multi-party interactive sessions that business device A is currently up are minimum, then between 3 clients as corresponding to application server A starts synthesis group Multi-party interactive sessions.
In the present embodiment, the multi-party interactive sessions being currently up are not up to preset upper limit, the corresponding client in synthesis group End starts multi-party interaction using the minimum application server of the multi-party interactive sessions that connection request quantity is most and is currently up Session, the load of the very big application server of the multi-party interactive sessions quantity for aggravating startup can be avoided, so as to improve application The overall utilization rate of server resource, accelerate the speed of service of application service.
In one embodiment, the multi-party interactive sessions in above-mentioned multi-party interactive application, which start method, also includes step: Whether the client that application server monitoring participates in multi-party interactive sessions is offline;When the client off-line for participating in multi-party interactive sessions When, replace offline client to participate in multi-party interactive sessions according to default rules of interaction.
In the present embodiment, when the client off-line of a certain multi-party interactive sessions of participation, application server can start trustship Pattern, offline client is replaced to participate in multi-party interactive sessions according to default rules of interaction.Can be avoided in the present embodiment due to One client offline and cause the prolonged etc. of other clients for participating in multi-party interactive sessions and application server Treat, so as to improve the resource utilization of client and application server.
In one embodiment, the multi-party interactive sessions in above-mentioned multi-party interactive application, which start method, also includes step: Application server monitors former participation session in multi-party interactive sessions and whether offline client is again online, if so, The client is then connected to participate in again in multi-party interactive sessions.
When the multi-party interactive sessions that the present embodiment may be such that do not terminate that just offline client is again online also, it can participate in again Into multi-party interactive sessions, it is not necessary to which the client request is participated in other new multi-party interactive sessions, and is connected to The multi-party interactive sessions that original participates in so that it carries out multi-party interactive sessions using the resource of original application, so as to improve resource Utilization rate.
In one embodiment, application server is believed from the client application connection request that client receives comprising user Breath, the multi-party interactive sessions in above-mentioned multi-party interactive application, which start method, also includes step:Application server extracts client Using the user profile in connection request, judge whether the user profile meets default session qualification, if so, then passing through qualification Checking, if it is not, then terminating.
The present embodiment first judges whether user profile meets default session qualification before multi-party interactive sessions are started, Multi-party interactive sessions can be avoided to terminate halfway because certain customers do not possess session qualification after starting, so as to avoid wasting client End and the system resource of application server.
In one embodiment, the multi-party interactive sessions in above-mentioned multi-party interactive application, which start method, also includes step: The progress for the multi-party interactive sessions that application server has been turned on according to the Row control of configuration.
In the present embodiment, the flow of various multi-party interactive sessions can be configured as desired in advance, then application server The progress for the multi-party interactive sessions that Row control according to configuration has been turned on, so as to improve in above-mentioned multi-party interactive application Multi-party interactive sessions start the portability of method.
In one embodiment, the multi-party interactive sessions in above-mentioned multi-party interactive application, which start method, also includes step: Application server records the session results of multi-party interactive sessions, it will words result is reported to control server, control server system The session results of meter and more each multi-party interactive sessions, therefrom obtain the object information related to user, and the result is believed Breath returns to corresponding client by the application server being attached thereto.Application server can also be according to object information decision pair Whether the client answered can be continued to participate in follow-up multi-party interactive sessions.
As shown in figure 3, the multi-party interactive sessions activation system in a kind of multi-party interactive application, including application server 320 communicate to connect with control server 340, a control server 340 with multiple application servers 320, application server 320 Including session control module 322, control server 340 includes receiving module 342, grouping module 344 and sending module 346, its In:
Receiving module 342 is used to receive the client application connection request that multiple application servers are sent.
Specifically, user logs in the client of a certain application service, client is connected to the application server 320 specified. The order of user's trigger request application service, client can generate the client for including the information such as client identification and request mark Using connection request, and the client application connection request is sent to the application server 320 being attached thereto.
Further, application server 320 the client application connection request received can be sent to communication connection Control server 340.
In one embodiment, control server 340 also includes corresponding relation logging modle(Not shown in figure), for can The client identification that includes and request identify in extraction client application connection request, record client identification, request mark and Send the corresponding relation between the application server identifier of client application connection request.
Grouping module 344 is used to open client application connection request corresponding to same application server 320 according to default Dynamic quantity is grouped.
Sending module 346 is used to grouping information being sent to corresponding application server 320.
The client application connection that grouping module 344 can obtain same application server according to above-mentioned corresponding relation please Ask, the client application connection request of same application server is grouped, each group starts quantity visitor comprising default Connection request is applied at family end, and the grouping information of the client application connection request of some application server is sent into this and answered Use server.In grouping information can include each group mark and corresponding client identification, i.e., with identical group of mark corresponding to Client identification is to be divided into client identification corresponding to same group of client application connection request.
In one embodiment, grouping module 344 will can answer according to the sequencing of client request time by same It is grouped with the client application connection request of server.The client request time is the application connection of client starting client The time of request.Specifically, grouping module 344 can be by the client application connection request of same application server according to client Request time after arriving first by being ranked up, further according to starting quantity one group by sorted client application connection request Packet.
Grouping module 344 be additionally operable to by the client application connection request that each application server after packet is not grouped according to It is default to start quantity synthesis group.
Sending module 346 is additionally operable to send synthesis group information to corresponding one of application server.
Grouping module 344 is divided the client application connection request of same application server according to default startup quantity Group, then application server may also have deficiency start quantity client application connection request be not assigned to it is any group of.Point The startup quantity client that group module 344 can will belong to different application server and not be grouped according to above-mentioned corresponding relation One group is synthesized using connection request.Synthesis group information can be sent to one in the different application server by sending module 346 In application server.Synthesize client identification corresponding to the client application connection request comprising the group in group information.
In one embodiment, grouping module 344 is each after being grouped according to the sequencing of client request time The client application connection request that application server is not grouped is according to default startup quantity synthesis group.Specifically, grouping module 344 can by the client application connection request that each application server after packet is not grouped according to the client request time by arriving first After be ranked up, further according to sequencing by adjacent often startup quantity in sorted client application connection request Client application connection request synthesizes one group.
Grouping module 344 is by each application server 320 is not grouped after packet client application connection request according to pre- If after starting quantity synthesis group, there may be deficiency to start the client application connection request of quantity and not be synthesized to any one Group, then grouping module 344 may wait for next secondary control server 340 and receive the client application that application server 320 is sent connecting Request is connect, the client application that this is not synthesized to any group of client application connection request and received next time connects Request is connect to be grouped or synthesis group according to default startup quantity together.
Session control module 322 is used for according between the grouping information or the corresponding client of synthesis group information unlatching received Multi-party interactive sessions.
Specifically, which client of grouping information and synthesis group message identification is assigned to same group.Receive synthesis Session control module 322 in the application server 320 of group information can be according to grouping information or synthesis group information at same group Start multi-party interactive sessions between client corresponding to client identification.
The packet letter for the client application connection request that the grouping information that application server 320 receives receives for itself Breath, therefore, the client identification included in the grouping information that application server 320 receives are all to be connected with self communication Client mark.Application server 320 can be established by socket agreements between each client and communicated to connect.Session The client identification included in same group can be sent to all clients corresponding to the group by control module 322.Further, when When a certain client needs to interact with another client, the client sends to include to session control module 322 and needed therewith The message of the client identification of interactive another client.Session control module 322 transmits the message to another client, from And realize the multi-party interaction between the multiple client in same group.
In the client identification that the synthesis group packet that application server receives contains, not only there is what is be connected with self communication The mark of client, and have the mark for the client being connected with other application server communication.Server 340 is controlled to synthesize Group information is sent to one of application server 320 corresponding to synthesis group, the other application service also into synthesis group Device 320 send message, be sent to a certain other application server 320 message represent the other application server 320 need with The client that connection is communicated in synthesis group disconnects and notifies client is connected to will to open answering for multi-party interactive sessions With server 320.Do not communicate also in session control module 322 and synthesis group and assisted by socket between the client of connection View establishes communication connection, and the client identification included in synthesis group is sent into all clients corresponding to the group.Further , as described above, can be by the transfer message of session control module 322, so as to realize multi-party friendship between client in synthesis group Mutual session.As shown in figure 4, in one embodiment, the control server 340 also includes selecting module 348:Closed for obtaining The multi-party interactive sessions being currently up in groups in corresponding application server are not up to preset upper limit and corresponded in the synthesis group The most application server 320 of client application connection request quantity;Sending module 346 is additionally operable to send synthesis group information Application server 320 to acquisition.
For example, default startup quantity is 3, application server A 2 client application connection requests and application server B 1 client application connection request is synthesized one group, and the multi-party interactive sessions that application server A is currently up are not up to Preset upper limit, then sending module 346 the synthesis group information can be sent to application server A, by application server A session control Molding block 322 starts the multi-party interactive sessions between 3 clients corresponding to synthesis group.
A certain application server corresponding client application connection request quantity in synthesis group is most, illustrates that the application takes The quantity that device client corresponding with synthesis group connects of being engaged in is most.In the present embodiment, by client corresponding with synthesis group The most application server of quantity is connected to start the multi-party interactive sessions between client corresponding to synthesis group, can be tried one's best few The reconnect between application server and client is reduced, saves system and Internet resources, improves resource utilization and application Service ability.
In one embodiment, selecting module 348 is used to obtain to be currently up in application server corresponding to the synthesis group Multi-party interactive sessions be not up to the application server of preset upper limit, and obtain the corresponding client wherein in the synthesis group should With the most application server of connection request quantity;If selecting module 348 is additionally operable to the application clothes of all not up to preset upper limits Device corresponding client application connection request quantity in the synthesis group of being engaged in is all identical, then obtains the multi-party friendship being wherein currently up The minimum application server of mutual session.
For example, default startup quantity is 3, application server A 1 client application connection request, application server B 1 client application connection request and application server C 1 client application connection request be synthesized one group, using clothes The multi-party interactive sessions that business device A, application server B and application server C are currently up all are not up to preset upper limit, and application clothes The multi-party interactive sessions that business device A is currently up are minimum, then application server A may be selected in selecting module 348, by application server A Start the multi-party interactive sessions between 3 clients corresponding to synthesis group.
In the present embodiment, the multi-party interactive sessions being currently up are not up to preset upper limit, the corresponding client in synthesis group End starts multi-party interaction using the minimum application server of the multi-party interactive sessions that connection request quantity is most and is currently up Session, the load of the very big application server of the multi-party interactive sessions quantity for aggravating startup can be avoided, so as to improve application The overall utilization rate of server resource, accelerate the speed of service of application service.
As shown in figure 5, application server 320 also includes monitoring modular 324, the visitor of multi-party interactive sessions is participated in for monitoring Whether family end is offline;Session control module 322 is additionally operable to when participating in the client off-line of multi-party interactive sessions, according to default Rules of interaction replaces offline client to participate in multi-party interactive sessions.
In the present embodiment, when the client off-line of a certain multi-party interactive sessions of participation, session control module 322 can start Entrusted management model, offline client is replaced to participate in multi-party interactive sessions according to default rules of interaction.It can be avoided in the present embodiment Due to the long-time that is offline and causing other clients and application server for participating in multi-party interactive sessions of a client Wait, so as to improve the resource utilization of client and application server.
In one embodiment, monitoring modular 324 be additionally operable to monitor in multi-party interactive sessions it is former participate in session and Whether offline client is again online;If session control module 322 is additionally operable to former participation session and offline application is objective Family end is again online, then connects the client and participate in again in multi-party interactive sessions.
When the multi-party interactive sessions that the present embodiment may be such that do not terminate that just offline client is again online also, it can participate in again Into multi-party interactive sessions, it is not necessary to which the client request is participated in other new multi-party interactive sessions, and is connected to The multi-party interactive sessions that original participates in so that it carries out multi-party interactive sessions using the resource of original application, so as to improve resource Utilization rate.
In one embodiment, the client application connection request that application server 320 receives from client includes user Information, application server 320 also include qualification judge module(Not shown in figure), for before multi-party interactive sessions are opened, The user profile in client application connection request is extracted, judges whether the user profile meets default session qualification, if so, Then by qualification testing, if it is not, then terminating.
The present embodiment first judges whether user profile meets default session qualification before multi-party interactive sessions are started, Multi-party interactive sessions can be avoided to terminate halfway because certain customers do not possess session qualification after starting, so as to avoid wasting client End and the system resource of application server.
In one embodiment, session control module 322 is additionally operable to the multi-party friendship being had been turned on according to the Row control of configuration The progress of mutual session.
In the present embodiment, the flow of various multi-party interactive sessions can be configured as desired in advance, then session control module 322 Can be according to the progress for the multi-party interactive sessions that the Row control of configuration has been turned on, so as to improve above-mentioned multi-party interactive application In multi-party interactive sessions activation system portability.
In one embodiment, application server 322 also includes session results logging modle and communication module(Do not show in figure Go out), session results of the session results logging modle for recording multi-party interactive sessions;Communication module is used to report session results To control server 340.Control server 340 also includes result statistical module(Not shown in figure), for counting and relatively respectively The session results of individual multi-party interactive sessions, therefrom obtain the object information related to user;Sending module 346 is additionally operable to tie this Fruit information returns to corresponding client by application server 320.Session control module 322 is additionally operable to be determined according to object information Whether client corresponding to fixed can be continued to participate in follow-up multi-party interactive sessions.
Multi-party interactive sessions in above-mentioned multi-party interactive application start method and system, and control server receives multiple answer The client application connection request sent with server, control server are managed collectively the client that multiple application servers receive Connection request is applied at end, and the client application connection request received is grouped, belongs to the startup of same application server Quantity client application connection request is divided into one group, and grouping information is sent into corresponding application server, and will packet The remaining startup quantity client application connection request for belonging to different application server synthesizes one group afterwards, and by synthesis group Information is sent to one of application server of application server corresponding to synthesis group, receives grouping information or synthesis group letter The application server of breath starts multi-party interactive sessions between client corresponding to same group.The above method and system, preferentially exist Request carries out multi-party interactive sessions between being connected to the startup quantity client of same application server, and some is applied Server when the client terminal quantity deficiency for participating in session starts quantity, then its treating with other application server is participated in into meeting The client synthesis of words possesses start quantity one group, and by the application connection request United Dispatching of this group of client corresponding to On one of application server, the application server starts multi-party interactive sessions between the client of the group, so as to contract Short client waits the time for participating in multi-party interactive sessions, while also shortens application server and wait sufficient amount of client Participate in start the time of multi-party interactive sessions in multi-party interactive sessions, so as to further improve client and application service The resource utilization ratio and application service ability of device.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with By the related hardware of computer program control come what is completed, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (8)

1. the multi-party interactive sessions in a kind of multi-party interactive application start method, comprise the following steps:
Server is controlled to receive the client application connection request that multiple application servers are sent;
Control server is divided client application connection request corresponding to same application server according to default startup quantity Group, grouping information is sent to corresponding application server;
Control server by the client application connection request that each application server after packet is not grouped according to default startup number Synthesis group is measured, synthesis group information is sent to corresponding one of application server, obtains application service corresponding to synthesis group The multi-party interactive sessions being currently up in device are not up to preset upper limit and corresponding client application connection please in the synthesis group The application server that quantity is most is sought, synthesis group information is sent to the application server of the acquisition;
Each application server opens the multi-party interaction between corresponding client according to the grouping information or synthesis group information that receive Session.
2. the multi-party interactive sessions in multi-party interactive application according to claim 1 start method, it is characterised in that obtain The multi-party interactive sessions being currently up in application server corresponding to synthesis group are taken to be not up to preset upper limit and in the synthesis group The step of corresponding client application connection request quantity most application server, includes:
Obtain the application that the multi-party interactive sessions being currently up in application server corresponding to the synthesis group are not up to preset upper limit Server, and obtain the most application server of corresponding client application connection request quantity wherein in the synthesis group;
If the application server of all not up to preset upper limits is corresponding in the synthesis group to apply connection request quantity all It is identical, then obtain the minimum application server of the multi-party interactive sessions being wherein currently up.
3. the multi-party interactive sessions in multi-party interactive application according to claim 1 start method, it is characterised in that institute Stating method also includes step:
Whether the client that application server monitoring participates in multi-party interactive sessions is offline;
When participating in the client off-line of multi-party interactive sessions, offline client is replaced to participate according to default rules of interaction more Square interactive sessions.
4. the multi-party interactive sessions in multi-party interactive application according to claim 3 start method, it is characterised in that institute Stating method also includes step:
Application server monitors former participation session in multi-party interactive sessions and whether offline client is again online, if It is then to connect the client to participate in again in multi-party interactive sessions.
5. the multi-party interactive sessions activation system in a kind of application of multi-party interactive, it is characterised in that including application server and Server is controlled, the application server includes session control module, and the control server includes receiving module, sending module And grouping module, wherein:
Receiving module is used for the client application connection request for receiving multiple application servers;
Grouping module is used to carry out client application connection request corresponding to same application server according to default startup quantity Packet;
Sending module is used to grouping information being sent to corresponding application server;
The grouping module be additionally operable to by the client application connection request that each application server after packet is not grouped according to It is default to start quantity synthesis group;
Selecting module is not up to default for obtaining the multi-party interactive sessions being currently up in application server corresponding to synthesis group The upper limit and the most application server of corresponding client application connection request quantity in the synthesis group;The sending module It is additionally operable to send synthesis group information to corresponding one of application server, synthesis group information is sent to the acquisition Application server;
Session control module is used for according to multi-party between the grouping information or the corresponding client of synthesis group information unlatching received Interactive sessions.
6. system according to claim 5, it is characterised in that the selecting module, which is used to obtain corresponding to synthesis group, to be applied The multi-party interactive sessions being currently up in server are not up to the application server of preset upper limit, and obtain wherein in the synthesis group In the most application server of corresponding client application connection request quantity;
If the selecting module is additionally operable to the application server of all not up to preset upper limits corresponding in the synthesis group Client application connection request quantity is all identical, then obtains the minimum application service of the multi-party interactive sessions being wherein currently up Device.
7. system according to claim 5, it is characterised in that the application server also includes monitoring modular, for supervising Whether the client for surveying the multi-party interactive sessions of participation is offline;
The session control module is additionally operable to when participating in the client off-line of multi-party interactive sessions, according to default rules of interaction Multi-party interactive sessions are participated in instead of offline client.
8. system according to claim 7, it is characterised in that the monitoring modular is additionally operable to supervise in multi-party interactive sessions Survey original participates in session and whether offline client is again online;
If the session control module is additionally operable to former participation session and offline client is again online, the client is connected End participates in multi-party interactive sessions again.
CN201310694804.1A 2013-12-16 2013-12-16 Multi-party interactive sessions in multi-party interactive application start method and system Active CN104717193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310694804.1A CN104717193B (en) 2013-12-16 2013-12-16 Multi-party interactive sessions in multi-party interactive application start method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310694804.1A CN104717193B (en) 2013-12-16 2013-12-16 Multi-party interactive sessions in multi-party interactive application start method and system

Publications (2)

Publication Number Publication Date
CN104717193A CN104717193A (en) 2015-06-17
CN104717193B true CN104717193B (en) 2018-01-19

Family

ID=53416162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310694804.1A Active CN104717193B (en) 2013-12-16 2013-12-16 Multi-party interactive sessions in multi-party interactive application start method and system

Country Status (1)

Country Link
CN (1) CN104717193B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491715B (en) * 2018-11-06 2021-10-22 深圳市风云实业有限公司 Application management method, device and terminal based on Windows NT

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068180A (en) * 2007-06-15 2007-11-07 腾讯科技(深圳)有限公司 Network game main controlling system, management system and managing method
CN101934144A (en) * 2009-06-26 2011-01-05 科乐美数码娱乐株式会社 Game system and game continuance status setting method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068194B (en) * 2007-06-15 2010-12-01 腾讯科技(深圳)有限公司 Method and system for realizing on-line game invitation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068180A (en) * 2007-06-15 2007-11-07 腾讯科技(深圳)有限公司 Network game main controlling system, management system and managing method
CN101934144A (en) * 2009-06-26 2011-01-05 科乐美数码娱乐株式会社 Game system and game continuance status setting method

Also Published As

Publication number Publication date
CN104717193A (en) 2015-06-17

Similar Documents

Publication Publication Date Title
CN104427296B (en) The transmission method and device of Media Stream in video conference
CN108881783B (en) Method and device for realizing multi-person conversation, computer equipment and storage medium
CN104113458B (en) The method and device that a kind of mobile terminal is interconnected with intelligent appliance equipment
CN102281364B (en) Call center system and method for accessing call center system
CN106060593B (en) The method and system of true barrage scenario simulation feedback are realized in P2P live streaming
CN101079884B (en) A method, system and device for client login to service server
CN104363407B (en) A kind of video conferencing system means of communication and related device
CN105635180A (en) Message pushing method and device
CN102801770A (en) Web video conference method capable of realizing separate transmission of audio and video
CN104363472A (en) HLS-based (http live streaming based) capacity control method, HLS-based capacity control service system and SLB (server load balancing) server
CN105991707B (en) Multimedia interaction method, server and system
CN107846457A (en) Load-balancing method, device, storage medium and the system of server cluster
CN108668178A (en) A kind of method of realizing group broadcasting and related network device
CN109889454A (en) A kind of the message driving means and method of micro services framework
CN103297858B (en) A kind of intelligent television User Status shows system and method
CN108924609A (en) Method, electronic equipment, device and the storage medium of transmission of flow media data
CN102208988B (en) Message processing method, system and equipment thereof
CN104184656B (en) A kind of method for information display and application server
CN104219090B (en) System and method for media multipath relay transmission business quality-of-experience collaborative evaluation
Huang et al. Modeling system performance in MMORPG
CN104580520A (en) Interactive business operating method and device
CN104717193B (en) Multi-party interactive sessions in multi-party interactive application start method and system
CN111773661B (en) System, method and device for team formation game based on live broadcast interface
CN101420336A (en) Method for recognizing network telephone flow quantity in network and system thereof
CN104883460B (en) Access the processing method and processing device of IP-based videoconference

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant