CN102710749A - Message queue control method and server - Google Patents

Message queue control method and server Download PDF

Info

Publication number
CN102710749A
CN102710749A CN2012101334689A CN201210133468A CN102710749A CN 102710749 A CN102710749 A CN 102710749A CN 2012101334689 A CN2012101334689 A CN 2012101334689A CN 201210133468 A CN201210133468 A CN 201210133468A CN 102710749 A CN102710749 A CN 102710749A
Authority
CN
China
Prior art keywords
control messages
message queue
message
control
annexable
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.)
Granted
Application number
CN2012101334689A
Other languages
Chinese (zh)
Other versions
CN102710749B (en
Inventor
曾相宗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vtron Group Co Ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201210133468.9A priority Critical patent/CN102710749B/en
Publication of CN102710749A publication Critical patent/CN102710749A/en
Application granted granted Critical
Publication of CN102710749B publication Critical patent/CN102710749B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention discloses a message queue control method and a server. The method comprises the following steps of: receiving control messages, and adding the control messages into a message queue; determining whether the control messages meet a preset queue optimization condition, and determining whether the control messages within a set range in the message queue belong to combinable control messages; if the control messages meet the preset queue optimization condition, combining the control messages which is determined to be combinable to obtain combined control messages, and replacing the combinable control messages in the message queue by the combined control messages. By virtue of the scheme, the control messages in the control message queue can be reduced, so that the length of the message queue can be reduced, and therefore, the efficiency of processing the control messages of the server can be improved.

Description

A kind of message queue control method, and server
Technical field
The present invention relates to communication technical field, particularly a kind of message queue control method, and server.
Background technology
In cybertimes now, Long-distance Control is closely bound up with life, and people can be through network remote control various device.This tele-control system is commonly referred to as cloud platform control system.This tele-control system comprises at least one client and at least one server and several controlled equipment usually.Structure can be as shown in Figure 1, and shown in Figure 1 have 3 clients (client 1~client 3), 1 server and 3 controlled plants (controlled plant 1~controlled plant 3).Need to prove that client, server and the combination of controlled plant number have a lot, the qualification that should not be construed as the embodiment of the invention shown in Figure 1.
In existing cloud platform control system; When a plurality of clients need simultaneously same controlled plant to be initiated control; After the control messages of the initiation of each client is transferred to server; Server adds message queue with control messages, and the server control messages of from message queue, taking out according to the order of sequence in the message queue sends to controlled plant then, and controlled plant is carried out the corresponding instruction of this control messages.
The inventor finds in the process that realizes the embodiment of the invention: because under current network condition; Can run into a plurality of clients and simultaneously certain controlled plant initiated control or certain client are initiated more control within a short period of time to a certain controlled plant situation; The control messages formation that causes accumulating in the message queue in the server is long, and then causes the low problem of server process control messages treatment effeciency.
Summary of the invention
The embodiment of the invention provides a kind of message queue control method, and server, is used to reduce message queue length, promotes the treatment effeciency of server process control messages.
A kind of message queue control method comprises:
Receiving control message, and add said control messages to message queue;
Determine whether to satisfy predetermined formation optimal conditions, confirm whether the control messages in the setting range belongs to annexable control messages in the said message queue;
If satisfy predetermined formation optimal conditions,, and annexable control messages in the said message queue replaced with the control messages after the merging then to confirming that annexable control messages merges the control messages after obtaining merging.
A kind of server comprises:
The message sink unit is used for receiving control message;
Message storage is used for adding said control messages to message queue;
Condition is confirmed the unit, is used to determine whether to satisfy predetermined formation optimal conditions;
Merge and confirm the unit, be used for confirming whether the control messages in the said message queue setting range belongs to annexable control messages;
The formation control unit is used for if satisfy predetermined formation optimal conditions, then to confirming that annexable control messages merges the control messages after obtaining merging, and annexable control messages in the said message queue is replaced with the control messages after the merging.
Can find out that from above technical scheme the embodiment of the invention has the following advantages: can the control messages in the control messages formation be simplified, reducing the length of message queue, thereby can promote the treatment effeciency of server process control messages.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention; The accompanying drawing of required use is briefly introduced in will describing embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skill in the art; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a prior art The Cloud Terrace system configuration sketch map;
Fig. 2 is an embodiment of the invention method flow sketch map;
Fig. 3 is another method schematic flow sheet of the embodiment of the invention;
Fig. 4 is another method schematic flow sheet of the embodiment of the invention;
Fig. 5 is embodiment of the invention server architecture figure;
Fig. 6 is another server architecture of embodiment of the invention figure.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that the present invention is done to describe in detail further below, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making all other embodiment that obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of message queue control method, and is as shown in Figure 2, comprising:
201: receiving control message, and add above-mentioned control messages to message queue;
202: determine whether to satisfy predetermined formation optimal conditions, confirm whether the control messages in the setting range belongs to annexable control messages in the above-mentioned message queue;
Formation optimal conditions predetermined in above-mentioned 202 can have a lot; This condition is to be used for the condition that the Control and Optimization method starts; This condition can be set according to concrete environment, and the mode of setting is a lot, below be one for example: above-mentionedly determine whether to satisfy predetermined formation optimal conditions and comprise: whether the state of confirming server is in busy condition; If then confirm to satisfy predetermined formation optimal conditions.Need to prove the above-mentioned unique qualification that should not be construed as for example the embodiment of the invention.
Above-mentioned annexable control messages has a lot of situation and causes control messages to merge; Below provided two kinds of concrete giving an example: whether the control messages in above-mentioned definite above-mentioned message queue in the setting range belongs to annexable control messages comprises: confirm whether belong to inverse operation between the control messages in the setting range in the above-mentioned message queue; If belong to inverse operation, then confirm to belong to annexable control messages; Perhaps; Above-mentionedly confirm whether the control messages in the setting range belongs to annexable control messages in the above-mentioned message queue and comprises: confirm in the above-mentioned message queue whether at least two control messages have equivalent control message in the control messages in the setting range, then confirm to belong to annexable controlled message if exist.Need to prove, more than two be not for example annexable control messages whole maybe, therefore application documents can't carry out exhaustive to this, should not be construed as the unique qualification to the embodiment of the invention for example more than.
Above-mentioned setting range is the scope that is used for confirming that message queue is optimized; This scope can be that whole message queues also can be a part wherein, below provided scope that two kinds of definite message queues optimize for example: the control messages in the above-mentioned setting range comprises: the time of advent of setting in the above-mentioned message queue control messages in the section; Perhaps, in the above-mentioned message queue with the control messages of the setting bar number of setting original position.Need to prove that confirm that the mode of the scope of message queue optimization can also have a lot, the embodiment of the invention will not limit this.
Further; Said method also comprises: whether the arrival frequency of confirming control messages is higher than predetermined value; If not; Control messages in the setting range that then confirm to use is: the time of advent of setting in the above-mentioned message queue control messages in the section, if the control messages in the setting range of then confirming to use is: in the above-mentioned message queue with the control messages of the setting bar number of setting original position.Present embodiment has provided the realization of the scope of preferred definite message queue optimization and has given an example, and need to prove that launching other modes confirms that optimization range does not influence the realization of the embodiment of the invention.
203:,, and annexable control messages in the above-mentioned message queue replaced with the control messages after the merging then to confirming that annexable control messages merges the control messages after obtaining merging if satisfy predetermined formation optimal conditions.
Based on above about cause that control messages can merge for example; It is following that the embodiment of the invention has also provided processing scheme accordingly: above-mentioned to confirming that annexable control messages merges the control messages after obtaining merging, and the control messages that annexable control messages in the above-mentioned message queue is replaced with after the merging comprises: delete the control messages of inverse operation each other; Perhaps; Above-mentioned to confirming that annexable control messages merges the control messages after obtaining merging; And the control messages that annexable control messages in the above-mentioned message queue is replaced with after the merging comprises: deletion has above-mentioned at least two control messages of equivalent control message, and adds above-mentioned equivalent control message to above-mentioned message queue.
Adopt above scheme, can the control messages in the control messages formation be simplified, reducing the length of message queue, thereby can promote the treatment effeciency of server process control messages.
For the effect of the vivider explanation embodiment of the invention, provide for example following:
At cloud platform control system, the operation execution is not hoped in the operation before the user need cancel sometimes, and in order to cancel one and undesired operation, server need be handled twice operation: need the operation of cancellation and cancellation to operate (inverse operation each other).In addition for example as: the user has sent a plurality of control messages through client, even these control messages can be by the equivalence execution of control messages institute, according to the execution of one one of present Technology Need.More than two kinds of situation when adopting embodiment of the invention scheme, control messages all can be shortened, particularly: preceding a kind ofly directly deleted, a kind of then many control messages in back have been merged into a control messages.Therefore adopt the embodiment of the invention can reduce the length of message queue, and can promote the treatment effeciency of server process control messages.
The thinking of the embodiment of the invention may be summarized to be: to can merged control messages merging in the message queue, to reduce the length of the control messages in the message queue.More more specifically can be: when server is in busy condition, at first deposit the control messages that newly arrives in buffer memory, in buffer memory, untreated control messages in the message queue is optimized and simplifies, reduce the number of the control messages in the message queue.Subsequent step is then according to set flow performing: the application program of server is taken out a control messages that is positioned at message queue row head at every turn and is handled from the message queue of buffer memory.Because the embodiment of the invention is simplified message queue, can reduce the treating capacity of server,, improve the treatment effeciency of control messages to satisfy the demand of timely processing messages.
Below the realization of the embodiment of the invention is illustrated:
If operation (in message queue, being presented as the instruction of the control messages) set that controlled plant and the client of definition The Cloud Terrace are supported by the cradle head control agreement for E (as in the The Cloud Terrace camera is controlled, the operation of support has left, to the right, upwards, downwards, open operation such as aperture).Can claim that then E is the own operation of controlled plant.Own operation among the E has the different forms of expression, and that adopt like client and server is form A, and that server and controlled plant employing is form B.(A is the operation that client and server communications protocol are supported, B is that server and controlled plant carry out the operation that communications protocol is supported)
Yet only use this operational set, have following shortcoming.When supposing that server is had much to do, the user has carried out the operation that is moved to the left a unit to camera, and the user thinks this operation of cancellation (camera being initiated the operation of the unit that moves right) at once after a while.Because server is in busy condition, above-mentioned two message all are arranged in the pending message queue of server.After then waiting for certain hour, server can carry out communication with controlled plant and carry out above-mentioned two orders.Yet therefore the not concrete states that change camera of in fact above-mentioned two operations are equivalent to invalid operation, have carried out twice operation but camera is actual.These two operations are inverse operation each other each other.
To above-mentioned shortcoming, it is following that the embodiment of the invention can at first define optimizable situation:
Can define a kind of special operational set F.Every message among the F is corresponding one by one with the message among the E, and every message all can be cancelled the corresponding a piece of news among the E among the F.And the message among the F is only used at client and server.Therefore the operation among the F can not increase the data traffic between server and the controlled plant.
The embodiment of the invention then can only relate to the operational set G between server and the client, and this operational set is the union of E and F.At first can define annexable operation, annexable operation comprises: but but inverse operation and binding operation.
Inverse operation: if operation O1 and operation O2 are arranged among the G in the operational set.If carry out O1, the state of controlled plant did not change before the state of controlled plant was operated with execution O1 and O2 behind the O2.Claim that then these two are operated inverse operation each other; Then show as specific to control messages: two control messages are inverse operation each other.
But binding operation: if operation O1, O2, O3...On in the operational set.Being equivalent to carry out single operation O state afterwards as if the state of once carrying out this n operation back controlled plant equates.Think that then but this n is operated O1, O2, the individual binding operation that is operating as of O3...On.And but operation O also is equivalent operation for the equivalence operation of this n binding operation; Specific to control messages then is equivalent control message.
To above-mentioned shortcoming, the embodiment of the invention also need confirm control messages in the message queue optimization range the rule as follows:
The main starting point of this rule: when some control messages arrive rapidly continually, can think the user and be indifferent in the middle of the concrete execution result of certain bar control messages, only be concerned about the final result that a series of message are performed.Therefore rule can have following two kinds of forms:
1, the interior control messages of setting in the message queue of the section time of advent.For example set a threshold time T; If the time that first control messages arrives in the message queue is T1; Then with first control messages to the time of advent less than all control messages of T+T1 as subqueue, the control messages in this child queues is the scope that can simplify.
2, in the message queue with the control messages of the setting bar number of setting original position.For example set a threshold value Q, with first control messages to Q control messages as subqueue, the control messages in this child queues is the scope that can simplify.
Based on above setting, the embodiment of the invention has provided the mode that message queue optimization is simplified: as shown in Figure 3.
301: take out in the message queue to be listed as the longest optimizable message subqueue Q that head is row head.
The scheme of getting control messages can be with reference to the rule of the optimization range of control messages in aforementioned definite message queue.
302: Q is optimized simplifies.The mode of simplifying is: traversal Q, but confirm binding operation set among the Q, but but with the above-mentioned binding operation set of the equivalence operation replacement of binding operation set.Traversal Q, but confirm the control messages of inverse operation each other, but the control messages of the inverse operation each other among the Q is deleted.
In the present embodiment, two message queues of server maintenance: a message queue is used for the buffered message formation and simplifies operation so that carry out the optimization of message queue.Claim the buffered message formation at this.Operations such as the interpolation of control messages, deletion, replacement, renewal, ordering can define voluntarily in the buffered message formation.Generally can adopt the array form, so the operation of buffered message formation is corresponding to the operation of array.As add operation and be equivalent in array to add a control messages.Another message queue such as is used for depositing between server and the controlled plant at pending message queue.Claim the application messages formation at this.Program message formation support joins the tail of the queue of message queue from message queue taking-up row head with a control messages.The program message formation can use form (windows) system function to operate.As cancel that breath (GetMessage) function can take out a control messages from message queue and this control messages of deletion from message queue.Information issue (PostMessage) function can join a control messages end of program message formation.
Message queue simplify finish after; The executive mode of control messages: then can be according to set flow performing: server takes out a control messages from message queue, adopts corresponding cradle head control agreement and controlled controlled plant to carry out communication to this control messages then and accomplishes the corresponding operation of this control messages.The embodiment of the invention also changes the execution flow process of control messages, has compatible preferably.
Below be exemplified as the application example of several embodiment of the invention, as shown in Figure 4:
Step S101: server receives the control messages of client, also can be called: operation requests information gets into step S102.
Step S102: server judges whether self is in idle condition, if, then directly control messages is joined the application messages formation, get into S106, if not, get into S103;
Step S103: add control messages to the buffered message formation, get into S104;
Step S104: buffered message formation message call optimal module is optimized simplifies, the message buffering formation after obtaining upgrading, concrete optimization sees also previous embodiment, gets into step S105;
Step S105: from the buffer memory message queue, take out a control messages and add application messages formation tail of the queue to, get into S106.
Step S106: server takes out from the application messages formation and is positioned at the first control messages of row, gets into S107.
Step S107: server and controlled plant adopt the cradle head control agreement to carry out signal corps and carry out this control messages.
The embodiment of the invention gives the applicating example in The Cloud Terrace camera control system:
But the example of inverse operation:
Certain operation E in the cradle head control, there is inverse operation UE in it.Carry out the UE operation again after promptly carrying out E, system is not had any impact.Such as move up a unit with move down a unit, operate inverse operation each other for these two.
But binding operation:
Certain operates E1, be operating as E2 combinative with it, E3, E4...En.Be that E1 operates with any execution that puts in order to En.To not influence of final result, all be equivalent to carry out operation E.
Such as 1 lattice and 1 lattice that move right of moving up.The combination of these two operations all is equivalent to along the upper right side to mobile catercorner length.Such as a unit and the unit that moves up of moving up, its final 2 units that are equivalent to move up of operating.
Whole system:
Suppose to have two clients need initiate the request of control controlled plant D, be designated as first customer end A, second customer end B respectively to server s.Sometime, server is in busy condition, has accumulated E1 in the server in the message queue, E2, E3, E4, five control messages of E5..
If E0~E4 that A sends almost arrives simultaneously,, mainly be in order to confirm that the user only is concerned about the final result of final many command execution, and be indifferent to the concrete outcome of every command execution here to the restriction of time.The scheme that then provides according to the embodiment of the invention, processing sequence is following: at first handle E0, confirm that simultaneously E1 and E4 are inverse operation; E2 and E3 can combine.Then after executing E0, directly from message queue, delete E1 and E4 and return this two order by the message of correct execution.Carry out the binding operation E of E2 and E3 then, E is to the upper left diagonal length that moves.Need to carry out two control messages.
If the E0 that B sends arrives earlier, E1~E3 almost arrives subsequently simultaneously, and E4 arrives at last.Then adopt the execution sequence of the embodiment of the invention to be: E0, then carry out E1, then carry out E (E2, the equivalence order of E3 combination).Carry out E4 at last.Need to carry out four control messages.
If do not take any optimization: then execution sequence is E0, E1, E2, E3, E4.Need to carry out five control messages.Therefore adopt embodiment of the invention scheme can reduce the execution of control messages, promote the treatment effeciency of server process control messages.
The embodiment of the invention also provides a kind of server, and is as shown in Figure 5, comprising:
Message sink unit 501 is used for receiving control message;
Message storage 502 is used for adding above-mentioned control messages to message queue;
Condition is confirmed unit 503, is used to determine whether to satisfy predetermined formation optimal conditions;
Merge and confirm unit 504, be used for confirming whether the control messages in the above-mentioned message queue setting range belongs to annexable control messages;
Formation control unit 505 is used for if satisfy predetermined formation optimal conditions, then to confirming that annexable control messages merges the control messages after obtaining merging, and annexable control messages in the above-mentioned message queue is replaced with the control messages after the merging.
Adopt above scheme, can the control messages in the control messages formation be simplified, reducing the length of message queue, thereby can promote the treatment effeciency of server process control messages.
Alternatively, predetermined formation optimal conditions can have a lot, and this condition is to be used for the condition that the Control and Optimization method starts; This condition can be set according to concrete environment; The mode of setting is a lot, and below be one and give an example: above-mentioned condition is confirmed unit 503, is used for specifically confirming whether the state of server is in busy condition; If then confirm to satisfy predetermined formation optimal conditions.
Alternatively; Above-mentioned annexable control messages has a lot of situation and causes control messages to merge; Two kinds of concrete giving an example have below been provided: merge and confirm unit 504; Specifically be used for confirming whether belong to inverse operation between the control messages in the above-mentioned message queue setting range,, then confirm to belong to annexable control messages if belong to inverse operation; Perhaps, be used for specifically confirming whether at least two control messages have equivalent control message in the control messages in the above-mentioned message queue setting range, then confirm to belong to annexable controlled message if exist;
Above-mentioned formation control unit 505 specifically is used for then removing the control messages of inverse operation each other if satisfy predetermined formation optimal conditions; Perhaps, deletion has above-mentioned at least two control messages of equivalent control message, and adds above-mentioned equivalent control message to above-mentioned message queue.
Alternatively; Above-mentioned setting range is the scope that is used for confirming that message queue is optimized; This scope can be that whole message queues also can be a part wherein, below provided scope that two kinds of definite message queues optimize for example: the control messages in the setting range that above-mentioned merging is confirmed to use unit 504 comprises: the time of advent of setting in the above-mentioned message queue control messages in the section; Perhaps, in the above-mentioned message queue with the control messages of the setting bar number of setting original position.
Further, as shown in Figure 6, above-mentioned server also comprises:
Selected cell 601; Be used for confirming whether the arrival frequency of control messages is higher than predetermined value; If not; Control messages in the setting range that then confirm to use is: the time of advent of setting in the above-mentioned message queue control messages in the section, if the control messages in the setting range of then confirming to use is: in the above-mentioned message queue with the control messages of the setting bar number of setting original position.Present embodiment has provided the realization of the scope of preferred definite message queue optimization and has given an example, and need to prove that launching other modes confirms that optimization range does not influence the realization of the embodiment of the invention.
It should be noted that in the above-mentioned server implementation example that each included unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize function corresponding; In addition, the concrete title of each functional unit also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition; One of ordinary skill in the art will appreciate that all or part of step that realizes among above-mentioned each method embodiment is to instruct relevant hardware to accomplish through program; Corresponding program can be stored in a kind of computer-readable recording medium; The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
More than be merely the preferable embodiment of the present invention; But protection scope of the present invention is not limited thereto; Any technical staff who is familiar with the present technique field is in the technical scope that the embodiment of the invention discloses, and the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (10)

1. a message queue control method is characterized in that, comprising:
Receiving control message, and add said control messages to message queue;
Determine whether to satisfy predetermined formation optimal conditions, confirm whether the control messages in the setting range belongs to annexable control messages in the said message queue;
If satisfy predetermined formation optimal conditions,, and annexable control messages in the said message queue replaced with the control messages after the merging then to confirming that annexable control messages merges the control messages after obtaining merging.
2. according to the said method of claim 1, it is characterized in that, saidly determine whether to satisfy predetermined formation optimal conditions and comprise: whether the state of confirming server is in busy condition, if then confirm to satisfy predetermined formation optimal conditions.
3. according to the said method of claim 1; It is characterized in that; Whether the control messages in said definite said message queue in the setting range belongs to annexable control messages comprises: confirm whether belong to inverse operation between the control messages in the setting range in the said message queue; If belong to inverse operation, then confirm to belong to annexable control messages; Said to confirming that annexable control messages merges the control messages after obtaining merging, and the control messages that annexable control messages in the said message queue is replaced with after the merging comprises: delete the control messages of inverse operation each other; Perhaps,
Saidly confirm whether the control messages in the setting range belongs to annexable control messages in the said message queue and comprises: confirm in the said message queue whether at least two control messages have equivalent control message in the control messages in the setting range, then confirm to belong to annexable controlled message if exist; Said to confirming that annexable control messages merges the control messages after obtaining merging; And the control messages that annexable control messages in the said message queue is replaced with after the merging comprises: deletion has said at least two control messages of equivalent control message, and adds said equivalent control message to said message queue.
4. according to any said method of claim 1 to 3, it is characterized in that the control messages in the said setting range comprises:
The interior control messages of setting in the said message queue of the section time of advent; Perhaps, in the said message queue with the control messages of the setting bar number of setting original position.
5. according to the said method of claim 4, it is characterized in that, also comprise:
Whether the arrival frequency of confirming control messages is higher than predetermined value; If not; Control messages in the setting range of then confirming to use is: the interior control messages of setting in the said message queue of the section time of advent; If the control messages in the setting range that then confirm to use is: in the said message queue with the control messages of the setting bar number of setting original position.
6. a server is characterized in that, comprising:
The message sink unit is used for receiving control message;
Message storage is used for adding said control messages to message queue;
Condition is confirmed the unit, is used to determine whether to satisfy predetermined formation optimal conditions;
Merge and confirm the unit, be used for confirming whether the control messages in the said message queue setting range belongs to annexable control messages;
The formation control unit is used for if satisfy predetermined formation optimal conditions, then to confirming that annexable control messages merges the control messages after obtaining merging, and annexable control messages in the said message queue is replaced with the control messages after the merging.
7. according to the said server of claim 6, it is characterized in that,
Said condition is confirmed the unit, is used for specifically confirming whether the state of server is in busy condition, if then confirm to satisfy predetermined formation optimal conditions.
8. according to the said server of claim 6, it is characterized in that,
Merge and confirm the unit, specifically be used for confirming whether belong to inverse operation between the control messages in the said message queue setting range,, then confirm to belong to annexable control messages if belong to inverse operation; Perhaps, be used for specifically confirming whether at least two control messages have equivalent control message in the control messages in the said message queue setting range, then confirm to belong to annexable controlled message if exist;
Said formation control unit specifically is used for then removing the control messages of inverse operation each other if satisfy predetermined formation optimal conditions; Perhaps, deletion has said at least two control messages of equivalent control message, and adds said equivalent control message to said message queue.
9. according to any said server of claim 6 to 8, it is characterized in that,
Control messages in the setting range that said merging is confirmed to use the unit comprises: the interior control messages of setting in the said message queue of the section time of advent; Perhaps, in the said message queue with the control messages of the setting bar number of setting original position.
10. according to the said server of claim 9, it is characterized in that, also comprise:
Selected cell; Be used for confirming whether the arrival frequency of control messages is higher than predetermined value; If not; Control messages in the setting range that then confirm to use is: the time of advent of setting in the said message queue control messages in the section, if the control messages in the setting range of then confirming to use is: in the said message queue with the control messages of the setting bar number of setting original position.
CN201210133468.9A 2012-04-28 2012-04-28 Message queue control method and server Expired - Fee Related CN102710749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210133468.9A CN102710749B (en) 2012-04-28 2012-04-28 Message queue control method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210133468.9A CN102710749B (en) 2012-04-28 2012-04-28 Message queue control method and server

Publications (2)

Publication Number Publication Date
CN102710749A true CN102710749A (en) 2012-10-03
CN102710749B CN102710749B (en) 2015-04-08

Family

ID=46903295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210133468.9A Expired - Fee Related CN102710749B (en) 2012-04-28 2012-04-28 Message queue control method and server

Country Status (1)

Country Link
CN (1) CN102710749B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793280A (en) * 2014-01-17 2014-05-14 深圳市东微智能科技有限公司 Audio buffering processing method
CN105491012A (en) * 2015-11-20 2016-04-13 北京奇虎科技有限公司 Message storage method and device
CN107592556A (en) * 2017-08-08 2018-01-16 福建星网视易信息系统有限公司 Control information synthetic method and controlled terminal and mobile terminal based on mobile terminal
CN112015569A (en) * 2020-08-11 2020-12-01 支付宝(杭州)信息技术有限公司 Message reminding processing method and device
CN112040133A (en) * 2020-09-09 2020-12-04 浙江大华技术股份有限公司 Device control method, device, storage medium, and electronic apparatus
US10979514B2 (en) 2018-12-03 2021-04-13 International Business Machines Corporation Flexible message transformation and delivery

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291324A (en) * 2011-06-28 2011-12-21 北京神州泰岳软件股份有限公司 Highly concurrent service request processing method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291324A (en) * 2011-06-28 2011-12-21 北京神州泰岳软件股份有限公司 Highly concurrent service request processing method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793280A (en) * 2014-01-17 2014-05-14 深圳市东微智能科技有限公司 Audio buffering processing method
CN105491012A (en) * 2015-11-20 2016-04-13 北京奇虎科技有限公司 Message storage method and device
CN105491012B (en) * 2015-11-20 2019-12-24 北京奇虎科技有限公司 Message storage method and device
CN107592556A (en) * 2017-08-08 2018-01-16 福建星网视易信息系统有限公司 Control information synthetic method and controlled terminal and mobile terminal based on mobile terminal
CN107592556B (en) * 2017-08-08 2020-02-04 福建星网视易信息系统有限公司 Control information synthesis method based on mobile terminal, controlled terminal and mobile terminal
US10979514B2 (en) 2018-12-03 2021-04-13 International Business Machines Corporation Flexible message transformation and delivery
CN112015569A (en) * 2020-08-11 2020-12-01 支付宝(杭州)信息技术有限公司 Message reminding processing method and device
CN112015569B (en) * 2020-08-11 2024-01-30 支付宝(杭州)信息技术有限公司 Message reminding processing method and device
CN112040133A (en) * 2020-09-09 2020-12-04 浙江大华技术股份有限公司 Device control method, device, storage medium, and electronic apparatus
CN112040133B (en) * 2020-09-09 2022-06-14 浙江大华技术股份有限公司 Device control method, device, storage medium, and electronic apparatus

Also Published As

Publication number Publication date
CN102710749B (en) 2015-04-08

Similar Documents

Publication Publication Date Title
CN102710749A (en) Message queue control method and server
CN102035884B (en) Cloud storage system and data deployment method thereof
KR102326521B1 (en) Multi-access or mobile edge computing platform, digital twin service system having the same and operating method thereof
CN102647323B (en) Flow control method and device as well as clustering system
CN106899503B (en) A kind of route selection method and network manager of data center network
CN102622303A (en) Memory overload control method and device
CN101834786A (en) Queue scheduling method and device
CN113015216B (en) Burst task unloading and scheduling method facing edge service network
CN101841557B (en) P2P streaming media downloading method and system based on orthogonal list
CN113825152A (en) Capacity control method, network management device, management arrangement device, system and medium
CN104217109A (en) Method for realizing hybrid and active scheduling on quick satellites
CN105337899A (en) Optical network energy-saving routing method capable of flexibly adjusting reserved-type service transmission bandwidth
RU2645594C2 (en) Method and device for traffic management
CN102185726A (en) Method for improving business resource management capability in information grid system
CN105282349A (en) Automatic outbound centralized control framework and control method thereof
Feng et al. Joint provisioning of lightpaths and storage in store-and-transfer wavelength-division multiplexing networks
CN109190938B (en) Relay satellite single-address antenna dynamic scheduling method for temporary task arrival
CN102833158A (en) Network data sending method and device and network data system
CN106293960B (en) A kind of method and system for realizing data conversion based on strom and memory grid
CN112887347B (en) Dynamic migration method and device for edge calculation in industrial internet
CN105591776B (en) The active/standby link switchover method and apparatus of SDN network equipment
CN113852406A (en) Multi-beam relay satellite task scheduling method and device
Wang et al. OPTAS: Optimal data placement in MapReduce
CN101651614A (en) Method and device for scheduling multiport queues
JP2010193264A (en) Network system and transmission apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670

Patentee after: VTRON GROUP Co.,Ltd.

Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No.

Patentee before: VTRON TECHNOLOGIES Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150408

CF01 Termination of patent right due to non-payment of annual fee