CN102710517A - Information scheduling control method and system - Google Patents

Information scheduling control method and system Download PDF

Info

Publication number
CN102710517A
CN102710517A CN2012101754685A CN201210175468A CN102710517A CN 102710517 A CN102710517 A CN 102710517A CN 2012101754685 A CN2012101754685 A CN 2012101754685A CN 201210175468 A CN201210175468 A CN 201210175468A CN 102710517 A CN102710517 A CN 102710517A
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
Application number
CN2012101754685A
Other languages
Chinese (zh)
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.)
Suzhou Codyy Network Technology Co Ltd
Original Assignee
Suzhou Codyy Network Technology 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 Suzhou Codyy Network Technology Co Ltd filed Critical Suzhou Codyy Network Technology Co Ltd
Priority to CN2012101754685A priority Critical patent/CN102710517A/en
Publication of CN102710517A publication Critical patent/CN102710517A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides an information scheduling control method and an information scheduling control system. The method comprises the following steps: receiving information sent by a client end in a netmeeting by a server, judging the type of the information according to the type information carried by the received information, putting the information into corresponding information receiving queues according to the type of the information, and transmitting information number messages of the information receiving queues to a controller; and scheduling the information in different information receiving queues to a corresponding resolver by a scheduler of the server according to the time scheduling strategy, and analyzing and processing the information by the resolver, wherein the controller dynamically regulates and controls the number of the scheduler by a regulating and controlling strategy according to the information number messages of the information receiving queues.

Description

A kind of message dispatch control method and system
Technical field
The invention belongs to field of network communication, relate in particular to a kind of message dispatch control method and system.
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.In addition, when the communication server carries out Message Processing,, then under high-pressure situations, can cause the part of V IP user to can not get timely response, thereby influence user experience if all users adopt same scheduling strategy.And the communication server can not carry out personalisation process to different classes of message, 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 dispatch control method and system, to address the above problem.
The present invention provides a kind of message dispatch control method.Said method may further comprise the steps: server receives the message that client is sent in the Web conference; The type information that carries according to the said message that receives is judged the type of said message; And according to the type under the said message said message is put into corresponding message sink formation, and with the message number message transmission of said message sink formation to controller; The scheduler of server receives the resolver of message to the correspondence in the formation according to time scheduling strategy scheduling different messages; Resolver resolves is handled said message; Wherein, controller passes through the number of the tactful dynamic regulation scheduler of regulation and control according to the message number information of message sink formation.
The present invention also provides a kind of message Dispatching Control System, comprises client, server and controller.Server comprises receiver, scheduler and resolver.Client Connection Service device, server connects controller, and receiver connects scheduler, and scheduler connects resolver.Receiver; Be used for receiving the message that the Web conference client is sent; The type information that carries according to the said message that receives is judged the type of said message; And according to the type under the said message said message is put into corresponding message sink formation, and with the message number message transmission of said message sink formation to controller.Controller is used for according to the message number information of the said message sink formation number through the tactful dynamic regulation scheduler of regulation and control.Scheduler, the message that is used for receiving formation according to time scheduling strategy scheduling different messages is to corresponding said resolver.Resolver is used for the said message of dissection process.
Compared to prior art,, after server receives the message of client transmission, judge the type of said message, and said message is put into corresponding message sink formation according to the type of message according to message dispatch control method provided by the invention and system.So, realize classification processing, thereby improve the treatment effeciency of critical message message.And scheduler is dispatched to resolver according to the time scheduling strategy respectively with the message that different messages receives in the formation, so, has realized the personalization scheduling of message, thereby improves the performance of server.In addition, controller is according to the number of the tactful dynamic regulation scheduler of regulation and control, so, when the pressure of server is big, through increasing the number of scheduler, help in the short time with message all scheduling finish, thereby improve the performance of server.In addition, when the pressure of server hour, reduce the number of 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 dispatch control method that provides for preferred embodiment according to the present invention shown in Figure 1;
The sketch map of the message Dispatching Control System 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 dispatch control method that provides for preferred embodiment according to the present invention shown in Figure 1.As shown in Figure 1, the message dispatch control method that preferred embodiment of the present invention provides comprises step 101 ~ 102.
In step 101; Server receives the message that client is sent in the Web conference; The type information that carries according to the said message that receives is judged the type of said message; And according to the type under the said message said message is put into corresponding message sink formation, and with the message number message transmission of said message sink formation to controller.
In present embodiment; Before user end to server sends said message; Client is confirmed the classification under the enterprise customer of the said message of current transmission through the inquiring enterprise user message table, and confirms the message format that said enterprise customer sends according to said enterprise customer's classification.Wherein, if server stores enterprise customer information table, then client is sent Query Information to server, and server is according to Query Information inquiring enterprise user message table, and the enterprise customer's that inquiry is obtained classification information is back to client.Yet the present invention does not limit the memory location of said enterprise customer's information table.In other embodiment, said enterprise customer's information table also can be stored on client or the third party's storage device.
In present embodiment, the type of message for example comprises general message and critical message.Wherein, the form of general message for example is:<root message body/>The form of critical message for example is:<key-policy><key-message message body/></key-policy>Yet the present invention is not limited thereto.In practical application, the form of general message and critical message can be set as required.
With server stores enterprise customer information table is the example explanation, and at first, the client at the browser of enterprise customer A place can be sent Query Information to server.Wherein, Query Information comprises enterprise's numbering of enterprise customer A.After server receives Query Information, inquire about enterprise customer's information table of its storage, and the classification of definite enterprise customer A (for example, VIP enterprise customer).Wherein, enterprise customer's information table for example comprises all enterprise customers' enterprise's numbering and classification information.Then, the classification information (that is VIP enterprise customer) of server enterprise customer A that inquiry is obtained is back to client.Client confirms that enterprise customer A is the VIP enterprise customer after receiving the information that said server returns.In this, client is confirmed the message with the form transmission enterprise customer A of critical message.In addition, if enterprise customer's classification is the general user, then client is transmitted said enterprise customer's message with the form of general message.Wherein, the corresponding relation of enterprise customer's classification and type of message for example is provided with in client in advance.The present invention does not limit this.
In addition, in present embodiment, after server received the message of client transmission, the type information that at first carries according to the message that receives was judged the type of said message, afterwards, according to the type under the said message said message was put into corresponding message sink formation.In this, be example with general message and critical message, server is for example put into message sink formation a with general message, and critical message is put into message sink formation b.In this, server also in real time with the message number message transmission of message sink formation a and message sink formation b to controller.Yet the present invention is not limited thereto.In other embodiment, server also can be regularly with the message number message transmission of message sink formation a and message sink formation b to controller.
In step 102, the scheduler of said server receives the extremely corresponding resolver of message in the formation according to time scheduling strategy scheduling different messages, and said resolver resolves is handled said message.Wherein, after scheduler is dispatched to resolver with the message in the message sink formation, the data of each message of resolver resolves, and said message is done corresponding processing according to the data that parsing obtains.
Particularly, 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 scheduler is the worker thread created of different message sink formation.In addition; 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 scheduler continues scheduling through worker thread; If the message in the said message sink formation has been scheduled finish, then scheduler is correspondingly dispatched the message in other message sink formations.
In present embodiment; Said time scheduling strategy is: the priority of the message sink formation that preset different messages type 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, be that example describes with general message and critical message.In each duration, the priority of the message sink formation that above-mentioned both type of messages are corresponding and preset scheduling duration are for example shown in the following table dispatching cycle.
Type of message The message sink formation The priority of message sink formation Preset scheduling duration
General message Message sink formation a Second grade 100 milliseconds
Critical message Message sink formation b The first estate 300 milliseconds
Table 1
Wherein, message sink queue priority order from high to low is: message sink formation b, message sink formation a.Wherein, the priority of message sink formation can be confirmed according to the importance of its corresponding type of message.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 400 milliseconds be example, in each duration, scheduler is dispatched the message sink formation b of the first estate, the message sink formation a of second grade successively dispatching cycle.And the duration of message is 300 milliseconds among the scheduler schedules message sink formation b, and the duration that scheduling message receives message among the formation a is 100 milliseconds.If scheduler can't receive the message among formation a ~ b by scheduling message in a dispatching cycle duration, then scheduler continues next dispatching cycle duration and carries out the message of message scheduling in message sink formation a ~ b and all be scheduled to corresponding resolver.
In another preferred embodiment; Said time scheduling strategy is: preset priority, the preset scheduling duration of the corresponding message sink formation of different messages type 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, be that example describes still with general message and critical message.In each duration, the priority of the message sink formation that above-mentioned two kinds of type of messages are corresponding and preset scheduling duration are for example shown in the following table dispatching cycle.
Figure BDA00001708160500041
Table 2
Wherein, message sink queue priority order from high to low still is: message sink formation b, message sink formation a.Be pursuant to this described time scheduling strategy, with dispatching cycle duration to be 400 milliseconds be example, in each duration, scheduler is dispatched the message sink formation b of the first estate, the message sink formation a of second grade successively dispatching cycle.And the duration of message is 300 milliseconds among the scheduler schedules message sink formation b, and the duration that scheduling message receives message among the formation a is 100 milliseconds.In addition, in a dispatching cycle duration, if the message among the message sink formation b of the first estate in 300 milliseconds scheduling do not finish, then the scheduler duration used (promptly 50 milliseconds) that can use the message sink formation a of second grade continues to dispatch.If scheduler only needs the 10 milliseconds of message scheduling that can accomplish message sink formation b, then only use 10 milliseconds to message sink formation a; If scheduler is used the message scheduling that still can't accomplish message sink formation b after 50 milliseconds to message sink formation a, then continue to carry out next dispatching cycle the message scheduling.
Perhaps; In another preferred embodiment; Said time scheduling strategy is: the priority of the message sink formation that preset different messages type 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 b, message sink formation a.Be pursuant to this described time scheduling strategy, with dispatching cycle duration to be 400 milliseconds be example, in each duration, scheduler is dispatched the message sink formation b of the first estate, the message sink formation a of second grade successively dispatching cycle.Wherein, If the required duration of message among the scheduler actual schedule message sink formation b is 250 milliseconds (less than 300 milliseconds of message sink formation b corresponding preset scheduling durations), then scheduler can be dispatched the message sink formation a of second grade in unnecessary duration (50 milliseconds).In other words, at this moment, the total activation duration that message sink formation a is corresponding is 150 milliseconds.In addition, if scheduler can't receive the message among formation a ~ b by scheduling message in a dispatching cycle duration, then scheduler continues next dispatching cycle duration and carries out the message of message scheduling in message sink formation a~b and all be scheduled to corresponding resolver.
In present embodiment, to corresponding resolver, can resolve said message and belong to which enterprise, and said message is put into the message queue of its owned enterprise according to analysis result by resolver through scheduler schedules for the message in the message sink formation of general message.Afterwards, the lot size scheduling device can be with the message lot size scheduling in the enterprise message formation to message distributor.Message distributor can send to corresponding message the service logic control device of corresponding enterprise.After the service logic control device receives message, resolve this message, and judge that this message belongs to main interface and still belongs to the meeting interface, if belong to main interface then this message is sent to main interface business logic processing device; If belong to the meeting interface, then this message is sent to the meeting interface processor unit.
In addition, to corresponding resolver, can resolve said message and belong to which enterprise, and said message is sent to distributor by resolver through scheduler schedules for the message in the message sink formation of critical message.Distributor is sent to said message according to the company information under the said message service logic control device of corresponding enterprise.After the service logic control device receives message, resolve this message, and judge that this message belongs to main interface and still belongs to the meeting interface, if belong to main interface then this message is sent to main interface business logic processing device; If belong to the meeting interface, then this message is sent to the meeting interface processor unit.Yet the present invention is not limited thereto.In other embodiment, the message process mode in the message sink formation of critical message also can be consistent with the message process mode in the message sink formation of general message.
In present embodiment, controller passes through the number of the tactful dynamic regulation scheduler of regulation and control according to the message number information of message sink formation.In this, controller is regularly according to the number of regulating and control tactful dynamic regulation scheduler.Yet the present invention is not limited thereto.In practical application, controller also can be in real time according to the number of regulating and control tactful dynamic regulation scheduler.
In addition; 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 increase the number of said scheduler when said message dispatch the message in the message sink formation of correspondence in the longest scheduling time; If current number purpose scheduler can reduce the number of said scheduler when the minor of said message is spent the message in the corresponding message sink formation of scheduling in the time.In addition, the maximum number and the minimal amount of the preset said scheduler of controller, the number of said scheduler is no more than said maximum number and is not less than said minimal amount in regulation process.
Particularly, the maximum number of the preset scheduler of controller for example is 10, and minimal amount for example is 2.In view of the above, in the process of controller dynamic regulation scheduler number, the number of scheduler should be no more than 10 and be not less than 2.In addition, controller setup 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 the said scheduler of current number purpose 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 scheduler; If the said scheduler of current number purpose can then reduce the number of said scheduler in the message in the corresponding message sink formation of the minor of the said message scheduling of spending the time in (that is, 0.5 second).Specific as follows said about the increase of 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 scheduler can be dispatched in 1 second is made as d, and current scheduler number is made as e.In view of the above, the size of c and d*e*2 relatively, if c greater than d*e*2, then explain current scheduler number can not be in 2 seconds (that is, message the longest scheduling time) with the message in the message sink formation all scheduling finish, at this moment, need to increase the number of 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 the scheduler that then increases is 10-e, if m+e≤10, the 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 scheduling device can be in 0.5 second (that is, the minor of message be spent the time) with the message in the message sink formation all scheduling finish, at this moment, need to reduce the number of scheduler.Particularly, if the number of current scheduling device only is left 2 (that is, e=2); Then do not reduce the number of scheduler, if e>2, the fixed number of the scheduler that then reduces is 1; Promptly only reduce by a scheduler at every turn, so, prevent once to reduce a plurality of schedulers and cause decreased performance.
In another preferred embodiment; Said regulation and control strategy is: if the message sum that the message sum that is not scheduled in the corresponding 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 controller, the number of said scheduler is no more than said maximum number and is not less than said minimal amount in regulation process.
For example, the maximum number of the preset scheduler of controller for example is 10, and minimal amount for example is 2.In the process of controller dynamic regulation scheduler number, the number of scheduler should be no more than maximum number (that is, 10) and be not less than minimal amount (that is, 2).In addition, the message sum that is not scheduled as yet in the message sink formation is made as c, and the message count that can dispatch in each scheduler preset time t is made as d, and 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 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 the scheduler that then increases is 10-e, if m+e≤10, the scheduler number that then increases is m.
In addition, if d*e*t greater than c, then need reduce the number of scheduler.Particularly, if only being left 2, the number of current scheduling device (that is, e=2), then do not reduce the number of 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 the scheduler that then reduces is e-2, if e-n>2, then the number of the scheduler of minimizing is n.
In a preferred embodiment again; Said regulation and control strategy is: the maximum scheduling message number of configuration scheduling device; If can't dispatch all message in the corresponding message sink formation when the said scheduler of current number purpose carries out the message scheduling with maximum scheduling message number; The said scheduler of current number purpose increases the number of said scheduler, if can then reduce the number of said scheduler with the message in the corresponding message sink formation of maximum scheduling message number scheduling.In addition, the maximum number and the minimal amount of the preset said scheduler of controller, the number of said scheduler is no more than said maximum number and is not less than said minimal amount in regulation process.
For example, the maximum number of the preset scheduler of controller for example is 10, and minimal amount for example is 2.In view of the above, in the process of controller dynamic regulation scheduler number, the number of scheduler should be no more than maximum number (that is, 10) and be not less than minimal amount (that is, 2).In addition, controller is set the maximum scheduling message number p of each scheduler, and the message that is not scheduled as yet in the current message sink formation adds up to c; The number of current scheduling device is e, at this moment, if c>p*e; Calculate (c-p*e)/p, and the result that will obtain rounds up and then representes with s.If s+e>10, the number of the scheduler that then increases is 10-e, if s+e≤10, the number of the 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 the scheduler that then reduces is e-2, if e-r>2, then the number of the scheduler of minimizing is r.
The sketch map of the message Dispatching Control System that provides for preferred embodiment according to the present invention shown in Figure 2.As shown in Figure 2, the message Dispatching Control System that preferred embodiment of the present invention provides comprises client 20, server 22 and controller 24.Server 22 comprises receiver 220, scheduler 224 and resolver 226.Client 20 Connection Service devices 22, server 22 connects controller 24, and receiver 220 connects scheduler 224, and scheduler 224 connects resolver 226.Receiver 220; Be used for receiving the message that Web conference client 20 is sent; The type information that carries according to the said message that receives is judged the type of said message; And said message is put into corresponding message sink formation, and with message number message transmission to the controller 24 of said message sink formation according to the type under the said message.Controller 24 is used for according to the message number information of the message sink formation number through the tactful dynamic regulation scheduler 224 of regulation and control.Scheduler 224 is used for message to the resolver 226 according to time scheduling strategy scheduling different messages reception formation.Resolver 226 is used for the said message of dissection process.
In present embodiment; Said time scheduling strategy is: the priority of the message sink formation that preset different messages type 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 messages type 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 messages type 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 the said scheduler of current number purpose can't be when said message be dispatched the message in the corresponding message sink 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 the message in the corresponding message sink formation of scheduling in the time.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 corresponding 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 setting said scheduler; If can't dispatch all message in the corresponding message sink formation 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 corresponding 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, preferred embodiment provides according to the present invention message dispatch control method and system after server receives the message of client transmission, judge the type of said message, and according to the type of message said message are put into corresponding message sink formation.So, realize classification processing, thereby improve the treatment effeciency of critical message message.And scheduler is dispatched to resolver according to the time scheduling strategy respectively with the message that different messages receives in the formation, so, has realized the personalization scheduling of message, thereby improves the performance of server.In addition, controller is according to the number of the tactful dynamic regulation scheduler of regulation and control, so, when the pressure of server is big, through increasing the number of scheduler, help in the short time with message all scheduling finish, thereby improve the performance of server.In addition, when the pressure of server hour, reduce the number of 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. a message dispatch control method is characterized in that, may further comprise the steps:
Server receives the message that client is sent in the Web conference; The type information that carries according to the said message that receives is judged the type of said message; And according to the type under the said message said message is put into corresponding message sink formation, and with the message number message transmission of said message sink formation to controller;
The scheduler of said server receives the extremely corresponding resolver of message in the formation according to time scheduling strategy scheduling different messages, and said resolver resolves is handled said message,
Wherein, said controller passes through the number of the said scheduler of the tactful dynamic regulation of regulation and control according to the message number information of message sink formation.
2. method according to claim 1; It is characterized in that; In said client before said server sends said message; Said client is confirmed the classification under the enterprise customer of the said message of current transmission through the inquiring enterprise user message table, and confirms the message format that said enterprise customer sends according to said enterprise customer's classification.
3. method according to claim 2; It is characterized in that; If the said enterprise customer's information table of said server stores; Then said client is sent Query Information to said server, and said server is inquired about said enterprise customer's information table according to said Query Information, and the enterprise customer's that inquiry is obtained classification information is back to said client.
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 messages type 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.
5. 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 messages type 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.
6. 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 messages type 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.
7. 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 the said scheduler of current number purpose can't be when said message be dispatched the message in the corresponding message sink 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 the message in the corresponding message sink formation of scheduling in the time.
8. 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 corresponding 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.
9. method according to claim 1; It is characterized in that; Said regulation and control strategy is: set the maximum scheduling message number of said scheduler, if the said scheduler of current number purpose can't be dispatched all message in the corresponding message sink formation when carrying out the message scheduling with maximum scheduling message number, increase the number of said scheduler; If the said scheduler of current number purpose can then reduce the number of said scheduler with the message in the corresponding message sink formation of maximum scheduling message number scheduling.
10. a message Dispatching Control System is characterized in that, comprises client, server and controller; Said server comprises receiver, scheduler and resolver; Said client connects said server, and said server connects said controller, and said receiver connects said scheduler; Said scheduler connects said resolver
Said receiver; Be used for receiving the message that the Web conference client is sent; The type information that carries according to the said message that receives is judged the type of said message; And said message is put into corresponding message sink formation, and with message number message transmission to the said controller of said message sink formation according to the type under the said message
Said controller is used for according to the message number information of the said message sink formation number through the said scheduler of the tactful dynamic regulation of regulation and control,
Said scheduler is used for the said resolver according to message to the correspondence of time scheduling strategy scheduling different messages reception formation,
Said resolver is used for the said message of dissection process.
CN2012101754685A 2012-05-31 2012-05-31 Information scheduling control method and system Pending CN102710517A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101754685A CN102710517A (en) 2012-05-31 2012-05-31 Information scheduling control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101754685A CN102710517A (en) 2012-05-31 2012-05-31 Information scheduling control method and system

Publications (1)

Publication Number Publication Date
CN102710517A true CN102710517A (en) 2012-10-03

Family

ID=46903086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101754685A Pending CN102710517A (en) 2012-05-31 2012-05-31 Information scheduling control method and system

Country Status (1)

Country Link
CN (1) CN102710517A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739781A (en) * 2012-06-13 2012-10-17 苏州阔地网络科技有限公司 Batch scheduling method and system of messages
CN102739564A (en) * 2012-06-13 2012-10-17 苏州阔地网络科技有限公司 Information batch scheduling control method and system
CN102739412A (en) * 2012-06-13 2012-10-17 苏州阔地网络科技有限公司 Batch scheduling control method and system of information
CN102739782A (en) * 2012-06-13 2012-10-17 苏州阔地网络科技有限公司 Message batch scheduling method and system
CN105072016A (en) * 2015-07-03 2015-11-18 北京京东尚科信息技术有限公司 Method and device for classification of information
CN108370346A (en) * 2015-10-09 2018-08-03 萨托里环球有限责任公司 System and method for storing and transmitting message data
CN112527527A (en) * 2020-12-16 2021-03-19 深圳市分期乐网络科技有限公司 Consumption speed control method and device of message queue, electronic equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070206620A1 (en) * 2006-03-01 2007-09-06 Mauricio Cortes System and method for prioritizing session initiation protocol messages
CN101753416A (en) * 2008-12-03 2010-06-23 中兴通讯股份有限公司 Message sending method and device
CN102217256A (en) * 2011-05-26 2011-10-12 华为技术有限公司 Queue scheduling method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070206620A1 (en) * 2006-03-01 2007-09-06 Mauricio Cortes System and method for prioritizing session initiation protocol messages
CN101753416A (en) * 2008-12-03 2010-06-23 中兴通讯股份有限公司 Message sending method and device
CN102217256A (en) * 2011-05-26 2011-10-12 华为技术有限公司 Queue scheduling method and apparatus

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739781A (en) * 2012-06-13 2012-10-17 苏州阔地网络科技有限公司 Batch scheduling method and system of messages
CN102739564A (en) * 2012-06-13 2012-10-17 苏州阔地网络科技有限公司 Information batch scheduling control method and system
CN102739412A (en) * 2012-06-13 2012-10-17 苏州阔地网络科技有限公司 Batch scheduling control method and system of information
CN102739782A (en) * 2012-06-13 2012-10-17 苏州阔地网络科技有限公司 Message batch scheduling method and system
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
CN108370346A (en) * 2015-10-09 2018-08-03 萨托里环球有限责任公司 System and method for storing and transmitting message data
CN112527527A (en) * 2020-12-16 2021-03-19 深圳市分期乐网络科技有限公司 Consumption speed control method and device of message queue, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN102710517A (en) Information scheduling control method and system
CN102739781A (en) Batch scheduling method and system of messages
CN102307230B (en) Service transmission method and device
CN109241359A (en) Block chain node device, block catenary system, block data processing system and method
CN102685250A (en) Message scheduling process method and system
CN105208585A (en) Scheduling information configuration method, configuration parameter processing method, scheduling information configuration device and configuration parameter processing device
US20180145842A1 (en) Systems and methods for providing adaptive flow control in a notification architecture
CN105337837A (en) Message transmitting method and device
CN102739412A (en) Batch scheduling control method and system of information
CN102685235A (en) Message dispatching method and system
CN102685032A (en) Method and system for processing information of net meeting
CN114501351A (en) Flow control method, flow control equipment and storage medium
CN102685130A (en) Dispatching control method and system for cloud conference
CN102685227A (en) Message scheduling method and message scheduling system for cloud conference
CN102685236A (en) Message processing method and system
CN109801425B (en) Queue polling prompting method, device, equipment and storage medium in surface tag service
CN104683473A (en) Service quality monitoring method, server side, client and system
Tahir et al. Event-and priority-driven coordination in next-generation grid
CN104994588B (en) A kind of GMR-1 3G terminal RLC/MAC data dispatching method
CN104092627A (en) Bandwidth adjusting method and device
CN102685253A (en) Message scheduling method and system of web conference
CN104243483A (en) Message processing method and message processing equipment
CN102739564A (en) Information batch scheduling control method and system
CN103530929B (en) A kind of method of dispatching deciphering machine
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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121003