CN102685032A - Method and system for processing information of net meeting - Google Patents
Method and system for processing information of net meeting Download PDFInfo
- Publication number
- CN102685032A CN102685032A CN2012101743553A CN201210174355A CN102685032A CN 102685032 A CN102685032 A CN 102685032A CN 2012101743553 A CN2012101743553 A CN 2012101743553A CN 201210174355 A CN201210174355 A CN 201210174355A CN 102685032 A CN102685032 A CN 102685032A
- Authority
- CN
- China
- Prior art keywords
- message
- scheduler
- scheduling
- sink formation
- duration
- 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.)
- Pending
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention provides a method and a system for processing information of a net meeting. The method includes the following steps: a server receives information sent by a client side in the net meeting; first schedulers of the server schedule the received information to first resolvers of the server; the first resolvers resolve the service type of each information and place the information into a corresponding information receiving array according to the service types of the information; second schedulers of the server schedule the information in the information receiving array corresponding to different service types to second resolvers of the server respectively according to a time scheduling strategy; and the second resolvers resolve and process the information, wherein the server dynamically regulates and controls the number of the first schedulers and the second schedulers according to a regulating and controlling strategy.
Description
Technical field
The invention belongs to field of network communication, relate in particular to a kind of message treatment method and system of Web conference.
Background technology
At present, in the cloud meeting, all users are connected on the same communication server, cause the communication server will handle great deal of information.If the communication server can not be disposed these magnanimity informations at short notice, then can cause the user to can not get response for a long time, thereby influence user experience, even can cause video conference logical mistake, system crash; And the communication server can not be directed against different classes of message, carries out personalisation process, causes important messages to can not get timely scheduling, thereby influences user experience.
Summary of the invention
The present invention provides a kind of message treatment method and system of Web conference, to address the above problem.
The present invention provides a kind of message treatment method of Web conference.Said method may further comprise the steps: server receives the message that client is sent in the Web conference; First scheduler of server is dispatched to the message that receives first resolver of server; The type of service of first each message of resolver resolves, and said message is put into corresponding message sink formation according to the type of service of said message; Second scheduler of server is dispatched to second resolver of server respectively according to the message in the message sink formation that different service types is corresponding of time scheduling strategy; Second resolver resolves is handled said message, and wherein, server is according to the number of tactful dynamic regulation first scheduler of regulation and control and second scheduler.
The present invention also provides a kind of message handling system of Web conference, comprises client and server.Client Connection Service device.Server comprises receiver, first scheduler, first resolver, second scheduler, second resolver and controller.Receiver connects first scheduler, and first scheduler connects first resolver, and second scheduler connects first resolver and second resolver, and controller connects receiver, first scheduler and second scheduler.Receiver is used for receiving the message that the Web conference client is sent.First scheduler is used for the message that receives is dispatched to first resolver.First resolver is used to resolve the type of service of each message, and according to the type of service of said message said message is put into corresponding message sink formation.Second scheduler is used for being dispatched to second resolver respectively according to the message of the time scheduling strategy message sink formation that different service types is corresponding.Second resolver is used for the said message of dissection process.Controller is used for the number according to tactful dynamic regulation first scheduler of regulation and control and second scheduler.
Compared to prior art; Message treatment method and system according to Web conference provided by the invention; Server is dispatched and dissection process after through first scheduler and first resolver message being classified according to type of service again, so, improves the treatment effeciency of server to message.And second scheduler is dispatched to second resolver respectively according to the message in the message sink formation that different service types is corresponding of time scheduling strategy, so, has realized the personalization scheduling of message, thereby improves the performance of server.Simultaneously, server is according to the number of tactful dynamic regulation first scheduler of regulation and control and second scheduler, so; When the pressure of server is big; Through increasing the number of first scheduler or second scheduler, help in the short time the whole scheduling of message being finished, thereby improve the performance of server.In addition, when the pressure of server hour, reduce the number of first scheduler or second scheduler, free system resources through regulation and control.So, not only improve user experience, and improve the stability of a system.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
The flow chart of the message treatment method of the Web conference that provides for preferred embodiment according to the present invention shown in Figure 1;
The sketch map of the message handling system of the Web conference that provides for preferred embodiment according to the present invention shown in Figure 2.
Embodiment
Hereinafter will and combine embodiment to specify the present invention with reference to accompanying drawing.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
The flow chart of the message treatment method of the Web conference that provides for preferred embodiment according to the present invention shown in Figure 1.As shown in Figure 1, the message treatment method of the Web conference that preferred embodiment of the present invention provides comprises step 101 ~ 105.
In step 101, server receives the message that client is sent in the Web conference.Particularly; The user passes through main interface or the meeting interface that client signs in to Web conference, and when beginning chat or video conference, user's browser (promptly; The client at user place) can be connected to the server of Web conference, and send message to server.
In step 102, first scheduler of said server is dispatched to the message that receives first resolver of said server.In this, the present invention does not limit the number of first scheduler and first resolver.Wherein, the number of first scheduler can be corresponding consistent with the number of first resolver.Yet the present invention is not limited thereto.
In step 103, the type of service of said first each message of resolver resolves, and said message is put into corresponding message sink formation according to the type of service of said message.In this, be that example describes to initiate meeting, login meeting and three kinds of types of service of group message.Particularly, after first resolver received the message of first scheduler transmission, the relevant information of carrying according to each message was confirmed the type of service of said message.In this, every kind of corresponding message sink formation of type of service.First resolver is put into corresponding message sink formation according to the type of service of each message with message.For example, the type of service of message a is for initiating meeting, and the type of service of message b is the login meeting, and the type of service of message c is a group message; Initiate the corresponding message sink formation of the type of service A of meeting, the corresponding message sink formation of the type of service B of login meeting, the corresponding message sink formation of the type of service of group message C.So, first resolver is put into message sink formation A through the parsing meeting with message a, and message b is put into message sink formation B, and message c is put into message sink formation C.
In step 104, second scheduler of said server is dispatched to second resolver of said server respectively according to the message in the message sink formation that different service types is corresponding of time scheduling strategy.Wherein, the second scheduler building work thread is accomplished the scheduling that different messages receives message in the formation.Wherein, the present invention does not limit the number that second scheduler is the worker thread created of different message sink formation.In addition; Second scheduler is after each scheduling message receives the message in the formation; Judging whether message in the said message sink formation is scheduled finishes, if the message in the said message sink formation is scheduled does not finish, and then second scheduler continues scheduling through worker thread; If the message in the said message sink formation has been scheduled finish, then second scheduler is correspondingly dispatched the message in other message sink formations.
In this; Said time scheduling strategy is: the priority of the message sink formation that preset different service types is corresponding and preset scheduling duration; In each duration dispatching cycle; Dispatch from height to low priority orders according to the message sink formation, and the scheduling duration of each message sink formation is preset scheduling duration.
In this, (Login, Text Loginout) are the example explanation with three kinds of types of service.In each duration, the priority of the message sink formation that above-mentioned three kinds of types of service are corresponding and preset scheduling duration are for example shown in the following table dispatching cycle.
The type of service of message | The message sink formation | The priority of message sink formation | Preset scheduling duration |
Login | Message sink formation L1 | The first estate | 300 milliseconds |
Text | Message sink formation L3 | The tertiary gradient | 100 milliseconds |
Loginout | Message sink formation L2 | Second grade | 200 milliseconds |
Table 1
Wherein, message sink queue priority order from high to low is: message sink formation L1, message sink formation L2, message sink formation L3.Wherein, the priority of message sink formation can be confirmed according to the importance or the message number of its corresponding service type.Yet the present invention does not limit the Determination of priority mode of message sink formation.
In this; Be pursuant to this described time scheduling strategy, with dispatching cycle duration to be 600 milliseconds be example, in each duration dispatching cycle; Second scheduler is dispatched the message sink formation L1 of the first estate, the message sink formation L2 of second grade, the message sink formation L3 of the tertiary gradient successively.And the duration of message is 300 milliseconds among the second scheduler schedules message sink formation L1, and the duration that scheduling message receives message among the formation L2 is 200 milliseconds, and the duration that scheduling message receives message among the formation L3 is 100 milliseconds.If second scheduler can't receive the message among formation L1 ~ L3 by scheduling message in a dispatching cycle duration, then second scheduler continues next dispatching cycle duration and carries out the message of message scheduling in message sink formation L1 ~ L3 and all be scheduled to second resolver.
In another preferred embodiment; Said time scheduling strategy is: preset priority, the preset scheduling duration of the corresponding message sink formation of different service types and can use duration; In each duration dispatching cycle; Dispatch to low priority orders from height according to the message sink formation, if the message in the higher message sink formation of priority in corresponding preset scheduling duration scheduling finish, the duration used of then using the message sink formation of next priority continues scheduling.
In this, still (Login, Text Loginout) are the example explanation with three kinds of types of service.In each duration, the priority of the message sink formation that above-mentioned three kinds of types of service are corresponding and preset scheduling duration are for example shown in the following table dispatching cycle.
Table 2
Wherein, message sink queue priority order from high to low still is: message sink formation L1, message sink formation L2, message sink formation L3.Be pursuant to this described time scheduling strategy; With dispatching cycle duration to be 600 milliseconds be example; In each duration, second scheduler is dispatched the message sink formation L1 of the first estate, the message sink formation L2 of second grade, the message sink formation L3 of the tertiary gradient successively dispatching cycle.And the duration of message is 300 milliseconds among the second scheduler schedules message sink formation L1, and the duration that scheduling message receives message among the formation L2 is 200 milliseconds, and the duration that scheduling message receives message among the formation L3 is 100 milliseconds.In addition, in a dispatching cycle duration, if the message among the message sink formation L1 of the first estate in 300 milliseconds scheduling do not finish, then second scheduler duration used (promptly 30 milliseconds) that can use the message sink formation L2 of second grade continues to dispatch.If second scheduler only needs the 10 milliseconds of message scheduling that can accomplish message sink formation L1, then only use 10 milliseconds to message sink formation L2; If second scheduler is used the message scheduling that still can't accomplish message sink formation L1 after 30 milliseconds to message sink formation L2, then continue to carry out next dispatching cycle the message scheduling.In like manner, the message sink formation L2 of second grade can use the scheduling duration to the message sink formation L3 of the tertiary gradient.
Perhaps; In another preferred embodiment; Said time scheduling strategy is: the priority of the message sink formation that preset different service types is corresponding and preset scheduling duration, in each duration, dispatch from height to low priority orders according to the message sink formation dispatching cycle; Duration as if the message dispatching office in the higher message sink formation of priority needs is dispatched duration less than corresponding preset, and then said unnecessary duration is distributed to the message sink formation of next priority.
With reference to the information in the table 1, message sink queue priority order from high to low is: message sink formation L1, message sink formation L2, message sink formation L3.Be pursuant to this described time scheduling strategy; With dispatching cycle duration to be 600 milliseconds be example; In each duration, second scheduler is dispatched the message sink formation L1 of the first estate, the message sink formation L2 of second grade, the message sink formation L3 of the tertiary gradient successively dispatching cycle.Wherein, If the required duration of message among the second scheduler actual schedule message sink formation L1 is 250 milliseconds (less than 300 milliseconds of message sink formation L1 corresponding preset scheduling durations), then second scheduler can be dispatched the message sink formation L2 of second grade in unnecessary duration (50 milliseconds).In other words, at this moment, the total activation duration that message sink formation L2 is corresponding is 250 milliseconds, if the actual required scheduling duration of message sink formation L2 is 150 milliseconds, then unnecessary duration (100 milliseconds) is distributed to the message sink formation L3 of the tertiary gradient.In addition; If second scheduler can't receive the message among formation L1 ~ L3 by scheduling message in a dispatching cycle duration, then second scheduler continues next dispatching cycle duration and carries out the message of message scheduling in message sink formation L1 ~ L3 and all be scheduled to second resolver.
In step 105, said second resolver resolves is handled said message.Particularly, after said second resolver receives said message, resolve the company information of said message, and transmit said message according to the company information classification of said message.Particularly, second resolver confirms earlier which enterprise is said message belong to, and afterwards, said message is sent to the message queue of corresponding enterprise.For example, message a is < root type=' login ' from=' 1 ' gid=' 111 ' enterpriseId=' 1 ' serverType=' 0 ' license=' K8Z49RV3uFepFyNABSGdNELJnMcfctt27w2SFhNtUAyq55TnAIPl32a1 kzKSHZDH ' cipher=' XXvnn2W '/>.So, the enterpriseId field of the second resolver resolves message a obtains " 1 ", confirms that then it is 1 messages sent by users that this message a belongs to the ID of enterprise.Therefore, message a is put into the corresponding ID of enterprise is 1 message queue to second resolver.
In present embodiment, the corresponding lot size scheduling device of the message queue of each enterprise.The said lot size scheduling device of server can be from the enterprise message formation lot size scheduling message, and these message are sent to message distributor.Wherein, the present invention does not limit the number of the each scheduling message of lot size scheduling device.At last, message distributor sends to these message the service logic control device of corresponding enterprise.For example; Corresponding ID is after the service logic control device of 1 enterprise receives message a; Resolve the serverType field of message a, in this, the serverType field is 0; The description messages a message that to be the user send from the meeting interface then then is transmitted to the meeting interface business logic processing device that ID is 1 enterprise with message a.Afterwards, ID is after the meeting interface business logic processing device of 1 enterprise receives message a, accomplishes the business logic processing of message a.In addition, if the serverType field is 1, explain that then said message is the message that the user sends from main interface, then the service logic control device can send to the main interface business logic processing apparatus processes that ID is 1 enterprise with said message.Afterwards, ID is after the main interface business logic processing device of 1 enterprise receives said message, accomplishes the business logic processing of said message.
In addition, in present embodiment, server is according to the number of regulation and control said first scheduler of tactful dynamic regulation and second scheduler.Wherein, said server is regularly according to the number of regulating and control said first scheduler of tactful dynamic regulation and second scheduler.Yet the present invention is not limited thereto.In practical application, server also can be in real time according to the number of regulating and control tactful dynamic regulation first scheduler and second scheduler.
In present embodiment; Said regulation and control strategy is: the minor of the longest scheduling time of setup message and message is spent the time; If current number purpose scheduler can't be in said message when scheduling message receives the message in the formation in the longest scheduling time; The said scheduler of current number purpose increases the number of said scheduler, if can reduce the number of said scheduler when the minor of said message is spent in the time message in the said message sink formation of scheduling.In addition, the maximum number and the minimal amount of the preset said scheduler of server, the number of said scheduler is no more than said maximum number and is not less than said minimal amount in regulation process.
With first scheduler is that example specifies, and the maximum number of preset first scheduler of server for example is 10, and minimal amount for example is 2.In view of the above, in the process of the server dynamic regulation first scheduler number, the number of first scheduler should be no more than 10 and be not less than 2.In addition, server sets message the longest scheduling time for example is 2 seconds, and it for example is 0.5 second that the minor of message is spent the time.So, if current number purpose first scheduler can't be dispatched the message in the corresponding message sink formation in said message the longest scheduling time (that is, 2 seconds), then increase the number of first scheduler; If current number purpose first scheduler can then reduce the number of first scheduler in the minor of the said message message in the corresponding message sink formation of scheduling in (that is, 0.5 second) of spending the time.Specific as follows said about the increase of the first scheduler number and the process that reduces.
For example, the message sum that is not scheduled as yet in the message sink formation is made as c, and the message count that each first scheduler can be dispatched in 1 second is made as d, and the first current scheduler number is made as e.In view of the above, compare the size of c and d*e*2, if c is greater than d*e*2; Explain that then the first current scheduler number can not be at 2 seconds (promptly; Message the longest scheduling time) in the message in the message sink formation all scheduling finish, at this moment, need to increase the number of first scheduler.Particularly, calculate the size of (c-d*e*2)/d*2, and the result that will obtain rounds up and then representes that with m wherein, m is taken as integer.If m+e>10, the number of first scheduler that then increases is 10-e, if m+e≤10, the first scheduler number that then increases is m.
In addition, the size of d*e/2 and c relatively, if d*e/2 greater than c, then explain the number of current first scheduler can will receive in (that is, the minor of message is spent the time) at 0.5 second in the formation message all scheduling finish, at this moment, need the number of minimizing first scheduler.Particularly, if the number of current first scheduler only is left 2 (that is, e=2); Then do not reduce the number of first scheduler; If e>2, the fixed number of first scheduler that then reduces is 1, promptly only reduces by one first scheduler at every turn; So, prevent once to reduce a plurality of first schedulers and cause decreased performance.In addition, identical processing procedure is arranged, so repeat no more in this about second scheduler.
In another preferred embodiment; Said regulation and control strategy is: if the message sum that the message sum that is not scheduled in the message sink formation can be dispatched greater than current number purpose scheduler in the Preset Time; Then obtain the total total difference of message that can dispatch with the interior current number purpose scheduler of Preset Time of the message that is not scheduled in the said message sink formation; And calculate the ratio of the message sum that is not scheduled in said difference and the said message sink formation; If said ratio is less than or equal to preset value; Then increase the number of said scheduler,, then reduce the number of said scheduler as if the message sum that the message sum that is not scheduled in the said message sink formation can be dispatched less than current number purpose scheduler in the Preset Time.In addition, the maximum number and the minimal amount of the preset said scheduler of server, the number of said scheduler is no more than said maximum number and is not less than said minimal amount in regulation process.
In this, be the example explanation with first scheduler, the maximum number (for example being 10) and the minimal amount (for example being 2) of preset first scheduler of server.In view of the above, in the process of the server dynamic regulation first scheduler number, the number of first scheduler should be no more than maximum number (that is, 10) and be not less than minimal amount (that is, 2).For example, the message sum that is not scheduled as yet in the message sink formation is made as c, and the message count that each first scheduler can be dispatched in preset time t is made as d, and the first current scheduler number is made as e.In view of the above, relatively the size of c and d*e*t if c greater than d*e*t, calculates the size of (c-d*e*t)/c, if said ratio is less than or equal to threshold value, then need increase the number of first scheduler.Particularly, calculate the size of (c-d*e*t)/d*t, and the result that will obtain rounds up and then representes that with m wherein, m is taken as integer.If m+e>10, the number of first scheduler that then increases is 10-e, if m+e≤10, the first scheduler number that then increases is m.
In addition, if d*e*t greater than c, then need reduce the number of first scheduler.Particularly, if only being left 2, the number of current first scheduler (that is, e=2), then do not reduce the number of first scheduler; If e>2, represent with n after the then size of calculating (d*e*t-c)/(d*t), and the result that will obtain rounds up that at this moment, if e-n≤2, the number of first scheduler that then reduces is e-2, if e-n>2, then the number of first scheduler of minimizing is n.In addition, identical processing procedure is arranged, so repeat no more in this about second scheduler.
In a preferred embodiment again; Said regulation and control strategy is: the maximum scheduling message number of configuration scheduling device; If can't receive all message in the formation by scheduling message when current number purpose scheduler carries out the message scheduling with maximum scheduling message number; Increase the number of said scheduler,, then reduce the number of said scheduler if the said scheduler of current number purpose can be dispatched the message in the said message sink formation with maximum scheduling message number.In addition, the maximum number and the minimal amount of the preset said scheduler of server, the number of said scheduler is no more than said maximum number and is not less than said minimal amount in regulation process.
With first scheduler is the example explanation, the maximum number (for example being 10) and the minimal amount (for example being 2) of preset first scheduler of server.In view of the above, in the process of the server dynamic regulation first scheduler number, the number of first scheduler should be no more than maximum number (that is, 10) and be not less than minimal amount (that is, 2).In addition, the maximum scheduling message number a of each first scheduler of server sets, the message that is not scheduled as yet in the current message sink formation adds up to c; The number of current first scheduler is e, at this moment, if c>a*e; Calculate (c-a*e)/a, and the result that will obtain rounds up and then representes with s.If s+e>10, the number of first scheduler that then increases is 10-e, if s+e≤10, the number of first scheduler that then increases is s.If a*e>c, calculate (a*e-c)/a, and the result that will the obtain back that rounds up representes that with r if e-r≤2, the number of first scheduler that then reduces is e-2, if e-r>2, then the number of first scheduler of minimizing is r.In addition, identical processing procedure is arranged, so repeat no more in this about second scheduler.
The sketch map of the message handling system of the Web conference that provides for preferred embodiment according to the present invention shown in Figure 2.As shown in Figure 2, the message handling system of the Web conference that preferred embodiment of the present invention provides comprises client 20 and server 22.Server 22 comprises receiver 220, controller 221, first scheduler 222, first resolver 223, second scheduler 224 and second resolver 225.Client 20 Connection Service devices 22; Receiver 220 connects first scheduler 222; First scheduler 222 connects first resolver 223; Second scheduler 224 connects first resolver 223 and second resolver 225, and controller 221 connects receiver 220, first scheduler 222 and second scheduler 224.Receiver 220 is used for receiving the message that Web conference client 20 is sent.First scheduler 222 is used for the message that receives is dispatched to first resolver 223.First resolver 223 is used to resolve the type of service of each message, and according to the type of service of said message said message is put into corresponding message sink formation.Second scheduler 224 is used for being dispatched to second resolver 225 respectively according to the message of the time scheduling strategy message sink formation that different service types is corresponding.Second resolver 225 is used for the said message of dissection process.Controller 221 is used for the number according to tactful dynamic regulation first scheduler 222 of regulation and control and second scheduler 224.
In present embodiment; Said time scheduling strategy is: the priority of the message sink formation that preset different service types is corresponding and preset scheduling duration; In each duration dispatching cycle; Dispatch from height to low priority orders according to the message sink formation, and the scheduling duration of each message sink formation is preset scheduling duration.Yet the present invention is not limited thereto.In other embodiment; Said time scheduling strategy is: preset priority, the preset scheduling duration of the corresponding message sink formation of different service types and can use duration; In each duration dispatching cycle; Dispatch to low priority orders from height according to the message sink formation, if the message in the higher message sink formation of priority in corresponding preset scheduling duration scheduling finish, the duration used of then using the message sink formation of next priority continues scheduling.Perhaps; Said time scheduling strategy is: the priority of the message sink formation that preset different service types is corresponding and preset scheduling duration; In each duration dispatching cycle; Dispatch from height to low priority orders according to the message sink formation, dispatch duration as if the duration that the message dispatching office in the higher message sink formation of priority needs less than corresponding preset, then said unnecessary duration is distributed to the message sink formation of next priority.
In present embodiment; Said regulation and control strategy is: the minor of the longest scheduling time of setup message and message is spent the time; If current number purpose scheduler can't be in said message when scheduling message receives the message in the formation in the longest scheduling time; The said scheduler of current number purpose increases the number of said scheduler, if can reduce the number of said scheduler when the minor of said message is spent in the time message in the said message sink formation of scheduling.Yet the present invention is not limited thereto.In other embodiment; Said regulation and control strategy can be: if the message sum that the message sum that is not scheduled in the message sink formation can be dispatched greater than current number purpose scheduler in the Preset Time; Then obtain the total total difference of message that can dispatch with the interior current number purpose scheduler of Preset Time of the message that is not scheduled in the said message sink formation; And calculate the ratio of the message sum that is not scheduled in said difference and the said message sink formation; If said ratio is less than or equal to preset value; Then increase the number of said scheduler,, then reduce the number of said scheduler as if the message sum that the message sum that is not scheduled in the said message sink formation can be dispatched less than current number purpose scheduler in the Preset Time.Perhaps; Said regulation and control strategy can be: the maximum scheduling message number of configuration scheduling device; If can't receive all message in the formation by scheduling message when the said scheduler of current number purpose carries out the message scheduling with maximum scheduling message number; Increase the number of said scheduler,, then reduce the number of said scheduler if the said scheduler of current number purpose can be dispatched the message in the said message sink formation.
In addition, said about the specific operation process of said system with above-mentioned method, so repeat no more in this.
In sum; The message treatment method of the Web conference that preferred embodiment provides according to the present invention and system; Server is dispatched and dissection process after through first scheduler and first resolver message being classified according to type of service again, so, improves the treatment effeciency of server to message.And second scheduler is dispatched to second resolver respectively according to the message in the message sink formation that different service types is corresponding of time scheduling strategy, so, has realized the personalization scheduling of message, thereby improves the performance of server.Simultaneously, server is according to the number of tactful dynamic regulation first scheduler of regulation and control and second scheduler, so; When the pressure of server is big; Through increasing the number of first scheduler or second scheduler, help in the short time the whole scheduling of message being finished, thereby improve the performance of server.In addition, when the pressure of server hour, reduce the number of first scheduler or second scheduler, free system resources through regulation and control.So, not only improve user experience, and improve the stability of a system.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the message treatment method of a Web conference is characterized in that, may further comprise the steps:
Server receives the message that client is sent in the Web conference;
First scheduler of said server is dispatched to the message that receives first resolver of said server;
The type of service of said first each message of resolver resolves, and said message is put into corresponding message sink formation according to the type of service of said message;
Second scheduler of said server is dispatched to second resolver of said server respectively according to the message in the message sink formation that different service types is corresponding of time scheduling strategy;
Said second resolver resolves is handled said message,
Wherein, said server is according to the number of regulation and control said first scheduler of tactful dynamic regulation and said second scheduler.
2. method according to claim 1; It is characterized in that; Said time scheduling strategy is: the priority of the message sink formation that preset different service types is corresponding and preset scheduling duration; In each duration, dispatch from height to low priority orders according to the message sink formation, and the scheduling duration of each message sink formation is preset scheduling duration dispatching cycle.
3. method according to claim 1; It is characterized in that; Said time scheduling strategy is: preset priority, the preset scheduling duration of the corresponding message sink formation of different service types and can use duration; In each duration dispatching cycle; Dispatch to low priority orders from height according to the message sink formation, if the message in the higher message sink formation of priority in corresponding preset scheduling duration scheduling finish, the duration used of then using the message sink formation of next priority continues scheduling.
4. method according to claim 1; It is characterized in that; Said time scheduling strategy is: the priority of the message sink formation that preset different service types is corresponding and preset scheduling duration, in each duration, dispatch from height to low priority orders according to the message sink formation dispatching cycle; Duration as if the message dispatching office in the higher message sink formation of priority needs is dispatched duration less than corresponding preset, and then said unnecessary duration is distributed to the message sink formation of next priority.
5. method according to claim 1; It is characterized in that; Said regulation and control strategy is: the minor of the longest scheduling time of setup message and message is spent the time, if current number purpose scheduler can't in said message when scheduling message receives the message in the formation in the longest scheduling time, increase the number of said scheduler; If the said scheduler of current number purpose can reduce the number of said scheduler when the minor of said message is spent in the time message in the said message sink formation of scheduling.
6. method according to claim 1; It is characterized in that; Said regulation and control strategy is: if the message sum that the message sum that is not scheduled in the message sink formation can be dispatched greater than current number purpose scheduler in the Preset Time; Then obtain the total total difference of message that can dispatch with the interior current number purpose scheduler of Preset Time of the message that is not scheduled in the said message sink formation; And calculate the total ratio of message that is not scheduled in said difference and the said message sink formation, if said ratio is less than or equal to preset value, then increase the number of said scheduler; If the message that the message sum that is not scheduled in the said message sink formation can be dispatched less than current number purpose scheduler in the Preset Time is total, then reduce the number of said scheduler.
7. method according to claim 1; It is characterized in that; Said regulation and control strategy is: the maximum scheduling message number of configuration scheduling device if current number purpose scheduler can't receive all message in the formation by scheduling message when carrying out the message scheduling with maximum scheduling message number, increases the number of said scheduler; If the said scheduler of current number purpose can be dispatched the message in the said message sink formation with maximum scheduling message number, then reduce the number of said scheduler.
8. according to claim 5,6 or 7 described methods, it is characterized in that, the maximum number and the minimal amount of the preset scheduler of said server, the number of said scheduler is no more than said maximum number and is not less than said minimal amount in regulation process.
9. method according to claim 1 is characterized in that, after said second resolver receives said message, resolves the company information of said message, and transmits said message according to the company information classification of said message.
10. the message handling system of a Web conference; It is characterized in that comprise client and server, said client connects said server; Said server comprises receiver, first scheduler, first resolver, second scheduler, second resolver and controller; Said receiver connects said first scheduler, and said first scheduler connects said first resolver, and said second scheduler connects said first resolver and said second resolver; Said controller connects said receiver, said first scheduler and said second scheduler
Said receiver is used to receive the message that client described in the Web conference is sent,
Said first scheduler is used for the message that receives is dispatched to said first resolver,
Said first resolver is used to resolve the type of service of each message, and according to the type of service of said message said message is put into corresponding message sink formation,
Said second scheduler is used for being dispatched to said second resolver respectively according to the message of the time scheduling strategy message sink formation that different service types is corresponding,
Said second resolver is used for the said message of dissection process,
Said controller is used for the number according to regulation and control said first scheduler of tactful dynamic regulation and said second scheduler.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101743553A CN102685032A (en) | 2012-05-31 | 2012-05-31 | Method and system for processing information of net meeting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101743553A CN102685032A (en) | 2012-05-31 | 2012-05-31 | Method and system for processing information of net meeting |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102685032A true CN102685032A (en) | 2012-09-19 |
Family
ID=46816415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012101743553A Pending CN102685032A (en) | 2012-05-31 | 2012-05-31 | Method and system for processing information of net meeting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102685032A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105072016A (en) * | 2015-07-03 | 2015-11-18 | 北京京东尚科信息技术有限公司 | Method and device for classification of information |
CN105306277A (en) * | 2015-11-19 | 2016-02-03 | 中国建设银行股份有限公司 | Message scheduling method and message scheduling device for message queues |
CN108809668A (en) * | 2018-05-29 | 2018-11-13 | 新华三技术有限公司 | A kind of authentication method, device and access device |
CN115348231A (en) * | 2022-08-17 | 2022-11-15 | 北京蔚领时代科技有限公司 | Message processing method, device, server and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1606301A (en) * | 2004-07-09 | 2005-04-13 | 清华大学 | A resource access shared scheduling and controlling method and apparatus |
CN101340390A (en) * | 2008-08-15 | 2009-01-07 | 中兴通讯股份有限公司 | Scheduling apparatus and method for real-time service |
CN102217256A (en) * | 2011-05-26 | 2011-10-12 | 华为技术有限公司 | Queue scheduling method and apparatus |
-
2012
- 2012-05-31 CN CN2012101743553A patent/CN102685032A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1606301A (en) * | 2004-07-09 | 2005-04-13 | 清华大学 | A resource access shared scheduling and controlling method and apparatus |
CN101340390A (en) * | 2008-08-15 | 2009-01-07 | 中兴通讯股份有限公司 | Scheduling apparatus and method for real-time service |
CN102217256A (en) * | 2011-05-26 | 2011-10-12 | 华为技术有限公司 | Queue scheduling method and apparatus |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105072016A (en) * | 2015-07-03 | 2015-11-18 | 北京京东尚科信息技术有限公司 | Method and device for classification of information |
CN105072016B (en) * | 2015-07-03 | 2019-07-02 | 北京京东尚科信息技术有限公司 | For carrying out the method and apparatus for sorting out processing to message |
CN105306277A (en) * | 2015-11-19 | 2016-02-03 | 中国建设银行股份有限公司 | Message scheduling method and message scheduling device for message queues |
CN108809668A (en) * | 2018-05-29 | 2018-11-13 | 新华三技术有限公司 | A kind of authentication method, device and access device |
CN108809668B (en) * | 2018-05-29 | 2021-09-21 | 新华三技术有限公司 | Authentication method, authentication device and access equipment |
CN115348231A (en) * | 2022-08-17 | 2022-11-15 | 北京蔚领时代科技有限公司 | Message processing method, device, server and storage medium |
CN115348231B (en) * | 2022-08-17 | 2023-12-12 | 北京蔚领时代科技有限公司 | Message processing method, device, server side and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102710517A (en) | Information scheduling control method and system | |
CN102739781A (en) | Batch scheduling method and system of messages | |
CN102685032A (en) | Method and system for processing information of net meeting | |
CN102340734B (en) | Position application management method and device | |
CN103139100A (en) | Business handling method and business handling system | |
Huang et al. | Delay-energy tradeoff in multicast scheduling for green cellular systems | |
CN102739412A (en) | Batch scheduling control method and system of information | |
CN102685227A (en) | Message scheduling method and message scheduling system for cloud conference | |
CN104734983A (en) | Scheduling system, method and device for service data request | |
CN102685250A (en) | Message scheduling process method and system | |
US5946602A (en) | Reduction of queuing delays by multiple subgroup assignments | |
CN102638457A (en) | Method and system for automatically allocating server resource | |
CN107295561A (en) | The application method and device of resource | |
CN102685130A (en) | Dispatching control method and system for cloud conference | |
CN102685235A (en) | Message dispatching method and system | |
CN104994588B (en) | A kind of GMR-1 3G terminal RLC/MAC data dispatching method | |
CN102685253A (en) | Message scheduling method and system of web conference | |
CN102739564A (en) | Information batch scheduling control method and system | |
CN108933675B (en) | Conference resource allocation method, device and storage medium | |
CN101594642A (en) | The resource allocation methods and the device that are used for communication network element equipment | |
CN102685251A (en) | Message scheduling control method and system of web conference | |
CN102685236A (en) | Message processing method and system | |
CN102752202B (en) | Queue scheduling method and system | |
CN106209676A (en) | The data processing method of cloud host computer systems based on many equipment and device | |
CN102685228A (en) | Message processing method and system for cloud conference |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120919 |