CN104486215A - Message transmitting method and equipment - Google Patents

Message transmitting method and equipment Download PDF

Info

Publication number
CN104486215A
CN104486215A CN201410706724.8A CN201410706724A CN104486215A CN 104486215 A CN104486215 A CN 104486215A CN 201410706724 A CN201410706724 A CN 201410706724A CN 104486215 A CN104486215 A CN 104486215A
Authority
CN
China
Prior art keywords
backup messages
messages
module
virtual queue
priority
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
CN201410706724.8A
Other languages
Chinese (zh)
Other versions
CN104486215B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410706724.8A priority Critical patent/CN104486215B/en
Publication of CN104486215A publication Critical patent/CN104486215A/en
Application granted granted Critical
Publication of CN104486215B publication Critical patent/CN104486215B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a message transmitting method, comprising the steps of receiving a first backup message by a first VSRP (virtual switch redundancy protocol) module, wherein the first backup message is carried with a priority and a conversation label corresponding to the first backup message; determining a virtual array corresponding to the conversation label; when the virtual array corresponding to the conversation label includes a second backup message with the priority same as the priority of the first backup message, eliminating the second backup message, and adding the first backup message into the virtual array corresponding to the conversation label; or, when the virtual array corresponding to the conversation label excludes a second backup message with the priority same as the priority of the first backup message, adding the first backup message into the virtual array corresponding to the conversation label; transmitting the backup message with the highest priority in each virtual array in a polling mode by the first VSRP module.

Description

A kind of message method and equipment
Technical field
The present invention relates to communication technical field, particularly a kind of message method.The present invention also relates to a kind of message transmitting apparatus simultaneously.
Background technology
VSRP (Virtual Service Redundancy Protocol, virtual service redundancy protocol) is the technology that a kind of reliability by improving network improves the stability of customer service.VSRP is when network failure, and stand-by equipment can rapid pipe connecting customer service, makes user awareness less than the fault of network, continues to use Internet resources.In current multi-computer back-up group, be generally provided with two equipment, one is called host apparatus, and another is called stand-by equipment.Host apparatus is that business provides support, forwarding service flow, and can reach sometime or send service backup information to stand-by equipment after certain flow threshold; Stand-by equipment is except the service backup information receiving host apparatus, and after host apparatus breaks down, stand-by equipment can convert host apparatus to, continues forwarding service flow, business can not be interrupted.
In the equipment of above application VSRP, be provided with VSRP module and business module, wherein the business module of host apparatus is responsible for the VSRP module transmission backup messages of the principle of first in first out to host apparatus, the VSRP module of host apparatus is equally with the VSRP module transmission backup messages of the principle of first in first out to stand-by equipment, the VSRP module of stand-by equipment again with the business module transmission backup messages of the principle of first in first out to stand-by equipment, thus makes stand-by equipment synchronous with host apparatus.
But, host apparatus needs to send a large amount of backup messages to stand-by equipment, therefore the VSRP backup path load between host apparatus and stand-by equipment is very large, especially when a large number of users explosion type more new data time, VSRP backup path will get congestion, the backup messages that host apparatus sends cannot arrive stand-by equipment in time, makes host apparatus and stand-by equipment cannot real-time synchronization.
Summary of the invention
The invention provides a kind of message method, to ensure that host apparatus and stand-by equipment can real-time synchronizations, described method is applied to the first virtual service redundancy protocol VSRP module of local device, comprising:
A described VSRP module receives the first backup messages, and described first backup messages carries priority and conversation tag corresponding to described first backup messages;
A described VSRP module determines the virtual queue that described conversation tag is corresponding;
When the virtual queue that described conversation tag is corresponding comprises second backup messages identical with the priority of described first backup messages, a described VSRP module deletes described second backup messages, described first backup messages is added in virtual queue corresponding to described conversation tag; Or when the virtual queue that described conversation tag is corresponding does not comprise second backup messages identical with the priority of described first backup messages, described first backup messages is added in virtual queue corresponding to described conversation tag by a described VSRP module;
A described VSRP module polls sends the highest backup messages of each virtual queue medium priority.
Correspondingly, the invention allows for a kind of message transmitting apparatus, comprise a VSRP module, a described VSRP module comprises:
Receive submodule, for receiving the first backup messages, described first backup messages carries priority and conversation tag corresponding to described first backup messages;
Determine submodule, for determining the virtual queue that described conversation tag is corresponding;
Process submodule, delete described second backup messages during for comprising the second backup messages identical with the priority of described first backup messages at the virtual queue corresponding when described conversation tag, described first backup messages is added in virtual queue corresponding to described conversation tag; Or when the virtual queue corresponding when described conversation tag does not comprise second backup messages identical with the priority of described first backup messages, described first backup messages is added in virtual queue corresponding to described conversation tag;
Send submodule, send the highest backup messages of each virtual queue medium priority for poll.
As can be seen here, by applying technical scheme of the present invention, after receiving first backup messages of carrying priority and corresponding conversation tag in a VSRP module, determine the virtual queue that described conversation tag is corresponding, and whether comprise second backup messages identical from the priority of described first backup messages according to virtual queue and carry out different process, last poll sends the highest backup messages of each virtual queue medium priority.Therefore, effectively can reduce the quantity that VSRP module needs the backup messages sent, and backup messages can be sent according to certain hour interval (time difference of each virtual queue of poll), thus reduce the load of the VSRP backup path between host apparatus and stand-by equipment, reduce the possibility that VSRP backup path gets congestion, make host apparatus and stand-by equipment can real-time synchronization.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of message method that the present invention proposes;
Fig. 2 is a kind of process schematic diagram merging message in the specific embodiment of the invention;
Fig. 3 is the another kind of process schematic diagram merging message in the specific embodiment of the invention;
Fig. 4 is the another kind of process schematic diagram merging message in the specific embodiment of the invention;
Fig. 5 is the structural representation of a kind of message transmitting apparatus that the present invention proposes.
Embodiment
In order to be optimized existing backup messages transmit mechanism, thus guarantee real-time synchronization, the present invention proposes a kind of message method, the method is applied to the first virtual service redundancy protocol VSRP module of local device, schematic flow sheet as shown in Figure 1, comprises the following steps:
S101, a VSRP module receives the first backup messages, and this first backup messages carries the priority conversation tag corresponding with this first backup messages.
In order to realize the quick response to message, the present invention, by distinguishing the mode of backup messages priority, makes important information first transmit, transmits after secondary message.In type of message division, the first backup messages in the present invention is divided into on-line message, upgrades authorization messages, upgrades traffic messages or these the four kinds of type of messages of message that roll off the production line.Wherein, the message that rolls off the production line has limit priority, and on-line message has secondary high priority, the priority upgrading authorization messages lower than on-line message priority and higher than upgrading the priority of traffic messages.
In concrete application scenarios, because flow not timing can be reported radius server clearing by equipment, be backed up so the renewal traffic messages relevant to the flow that session uses generally just can trigger when flow reaches a certain threshold value, the priority therefore upgrading traffic messages is lower, is designated as 3.Upgrade authorization messages and control user right, the priority therefore upgrading authorization messages is higher, is designated as 2.On the message that rolls off the production line concern session and whether exist, therefore priority is respectively time high and the highest, the priority of on-line message is designated as 1, the priority of the message that rolls off the production line is designated as 0.
It should be noted that; it is divide based on existing conventional type of message that above priority divides, follow-up there is the message of other type time, can according to the above principle divided; flexibly according to type of message prioritization, this all belongs within protection scope of the present invention.
S102, a described VSRP module determines the virtual queue that described conversation tag is corresponding.
S103, when described virtual queue comprises second backup messages identical with the priority of described first backup messages, a described VSRP module deletes described second backup messages, described first backup messages is added in virtual queue corresponding to described conversation tag; Or when described virtual queue does not comprise second backup messages identical with the priority of described first backup messages, described first backup messages is added in virtual queue corresponding to described conversation tag by a described VSRP module.
Particularly, after a VSRP module receives the first backup messages, the priority of carrying according to the first backup messages can determine the type of this first backup messages, namely the first backup messages that priority is the highest is for rolling off the production line message, priority time the first high backup messages is on-line message, first backup messages of other priority is for upgrading traffic messages or upgrading authorization messages, and then a VSRP module carries out following process respectively to different type of messages:
(1) first backup messages is the message that rolls off the production line
One VSRP module empties the virtual queue that session identification is corresponding before the first backup messages being added in virtual queue corresponding to described conversation tag.Further, after a VSRP module sends the message that rolls off the production line in virtual queue corresponding to conversation tag, a VSRP module also will remove virtual queue corresponding to conversation tag.
(2) first backup messages are on-line message
One VSRP module is before determining the virtual queue that described conversation tag is corresponding, and a VSRP module creates virtual queue corresponding to described conversation tag according to described conversation tag, then this on-line message is added in virtual queue corresponding to this conversation tag.
(3) first backup messages are other backup messages except on-line message and the message that rolls off the production line
First one VSRP module judges whether comprise second backup messages identical with the first backup messages priority in the virtual queue that this conversation tag is corresponding before the first backup messages being added in virtual queue corresponding to described conversation tag.When the virtual queue that this conversation tag is corresponding comprises second backup messages identical with the priority of the first backup messages, a VSRP module deletes the second backup messages, then the first backup messages is added in virtual queue corresponding to this conversation tag; When the virtual queue that this conversation tag is corresponding does not comprise second backup messages identical with the priority of the first backup messages, the first backup messages is directly added in virtual queue corresponding to conversation tag by a VSRP module.When the first backup messages is added in virtual queue corresponding to conversation tag by a VSRP module, before the backup messages the first backup messages being inserted into more low priority, if without the backup messages of more low priority, be then inserted into tail of the queue.
S104, a described VSRP module polls sends the highest backup messages of each virtual queue medium priority.
One VSRP module polls sends the highest backup messages of each virtual queue medium priority, to ensure that the backup messages that the priority of corresponding each session is high preferentially sends.
Based on the difference of the source device of backup messages, there is different process when sending backup messages, specific as follows:
(1) if the backup messages that in this virtual queue, current priority is the highest comes from the first business module of described local device, then backup messages the highest for current priority in this virtual queue is sent to the 2nd VSRP module of opposite equip. by a described VSRP module.
(2) if the backup messages that in this virtual queue, current priority is the highest comes from the 2nd VSRP module of described opposite equip., backup messages the highest for current priority in this virtual queue is sent to the first business module of described local device by a described VSRP module.Wherein, from the beginning in the backup messages of the 2nd VSRP module of opposite equip. be send to the 2nd VSRP module by the second business module of this opposite equip..
It should be noted that, above-mentioned renewal authorization messages and renewal traffic messages need for overall updating message, to ensure the integrality of more fresh content.Therefore, before the message method that the VSRP module application embodiment of the present invention provides, need to inform the business module with this VSRP module relation, need to send overall updating message sending updating message (as upgraded authorization messages, upgrading traffic messages etc.) time to VSRP module.
Further, when needing the business module of backup to be greater than one, and when being all access module, such as the IPOE session that DHCP mode accesses, require that DHCP lease information and IPOE session information all back up to stand-by equipment.And in existing realization, the backup messages of each business module oneself sends to VSRP module to back up by each business module.Backup messages is disorderly and unsystematic, and then just cause the business module of stand-by equipment when message recovery, occur distributing address as DHCP in stand-by equipment, but IPOE session accordingly such as not yet to set up at the invalid backup instances, for avoiding this problem, the embodiment of the present invention will carry out following process:
First, be mutually related business module when configuring, need consult the master slave relation needing to carry out the business module backed up, master slave relation is determined by practical application scene.For example in above-mentioned scene, DHCP is only IPOE session allocation address, helps out, then negotiation result can be main business module for IPOE business module, it needs backup session information, DHCP business module be IPOE business module from business module, it needs backup lease information.
After determining principal and subordinate's business module, then when requiring that session is reached the standard grade, produce the main business module of conversation tag and conversation tag is informed to from business module.From business module when reaching the standard grade, changing authorization message or roll off the production line, main business module also correspondingly can produce information-change, thus generate with from backup messages corresponding to business module, to the information notification of backup be needed to main business module from business module, by main business module by need from business module back up backup information be bonded at the backup messages of main business CMOS macro cell after, send to VSRP module together as adhesion message.
Therefore, the first backup messages can have adhesion message.Accordingly, in step s 103, when the second backup messages that deletion virtual queue medium priority is identical, need consider whether the second backup messages in virtual queue has adhesion message equally.If the second backup messages is with adhesion message, and the first backup messages is not with by the adhesion message generated from business module generating this adhesion message, be then transplanted in the first backup messages by adhesion message, then delete the second backup messages.If the second backup messages is with adhesion message, and the first backup messages is with by the adhesion message generated from business module generating this adhesion message, then directly delete the second backup information.If the second backup messages is without adhesion message, then directly delete the second backup messages.
Such as, a VSRP module receives IPOE and upgrades authorization messages, and this IPOE upgrades authorization messages and generated by IPOE business module.
As shown in Figure 2, if IPOE that this receives upgrades in virtual queue corresponding to the conversation tag of authorization messages and there is IPOE and upgrade authorization messages (namely priority and the IPOE received upgrade the identical backup messages of authorization messages) and the IPOE existed in this virtual queue upgrades adhesion message that authorization messages generates with the DHCP business module being subordinated to IPOE business module (as DHCP renews the lease message), the IPOE that this receives upgrades authorization messages not with the adhesion message that this DHCP business module generates, then the VSRP module message that renewed the lease by DHCP is transplanted to after the IPOE that receives upgrades authorization messages, the adhesion message of authorization messages is upgraded as this IPOE received, then delete the IPOE existed in this virtual queue and upgrade authorization messages, again the IPOE of transplanted adhesion message being upgraded authorization messages adds in queue, integrally because the IPOE that receives upgrades adhesion message that authorization messages has with it, therefore while adding this IPOE renewal authorization messages to virtual queue, its adhesion message had also can be added in virtual queue in the lump.Accordingly, when sending this IPOE and upgrading authorization messages, its adhesion message had also can be sent in the lump.
As shown in Figure 3, if IPOE that this receives upgrades in virtual queue corresponding to the conversation tag of authorization messages and there is IPOE and upgrade authorization messages (namely priority and the IPOE received upgrade the identical backup messages of authorization messages) and the IPOE existed in this virtual queue upgrades adhesion message that authorization messages generates with the DHCP business module being subordinated to IPOE business module (as DHCP renews the lease message), and this IPOE received upgrades the adhesion message that authorization messages generates with this DHCP business module, then directly delete the IPOE existed in this virtual queue and upgrade authorization messages, integrally because the IPOE that exists in this virtual queue upgrades adhesion message that authorization messages has with it, therefore while deleting this IPOE renewal authorization messages, its adhesion message had also can be deleted in the lump, and then the IPOE received renewal authorization messages is added in this virtual queue, integrally because the IPOE that receives upgrades adhesion message that authorization messages has with it, therefore while adding this IPOE renewal authorization messages to virtual queue, its adhesion message had also can be added in virtual queue in the lump.Accordingly, when sending this IPOE and upgrading authorization messages, its adhesion message had also can be sent in the lump.
As shown in Figure 4, if IPOE that this receives upgrades in virtual queue corresponding to the conversation tag of authorization messages and there is IPOE and upgrade authorization messages (namely priority and the IPOE received upgrade the identical backup messages of authorization messages) and the IPOE existed in this virtual queue upgrades authorization messages does not have adhesion message and this IPOE received upgrades adhesion message that authorization messages generates with the DHCP business module being subordinated to IPOE business module (as DHCP renews the lease message), then directly delete the IPOE existed in this virtual queue and upgrade authorization messages, then the IPOE received being upgraded authorization messages adds in this virtual queue, integrally because the IPOE that receives upgrades adhesion message that authorization messages has with it, therefore while adding this IPOE renewal authorization messages to virtual queue, its adhesion message had also can be added in virtual queue in the lump.Accordingly, when sending this IPOE and upgrading authorization messages, its adhesion message had also can be sent in the lump.
For reaching above technical purpose, the invention allows for a kind of message transmitting apparatus, as shown in Figure 5, comprising a VSRP module 510, a described VSRP module comprises:
Receive submodule 511, for receiving the first backup messages, described first backup messages carries the priority conversation tag corresponding with this backup messages.
Determine submodule 512, for determining the virtual queue that described conversation tag is corresponding.
Process submodule 513, for deleting described second backup messages when comprising the second backup messages identical with the priority of described first backup messages when described virtual queue, adds to described first backup messages in virtual queue corresponding to described conversation tag; Or when not comprising second backup messages identical with the priority of described first backup messages when described virtual queue, described first backup messages is added in virtual queue corresponding to described conversation tag.
Send submodule 514, send the highest backup messages of each virtual queue medium priority for poll.
In concrete application scenarios, described first backup messages is specially: on-line message, upgrade authorization messages, upgrade traffic messages or the message that rolls off the production line;
Wherein, described in the message that rolls off the production line there is limit priority, described on-line message has secondary high priority, the priority of described renewal authorization messages lower than described on-line message priority and higher than the priority of described renewal traffic messages.
In concrete application scenarios, a described VSRP module 510 also comprises:
Create submodule, for described determine that submodule determines the virtual queue that described conversation tag is corresponding before, create virtual queue corresponding to described conversation tag according to described conversation tag; Wherein, described first backup messages is on-line message, and described on-line message has secondary high priority.
In concrete application scenarios, a described VSRP module 510 also comprises:
Empty submodule, before adding in virtual queue corresponding to described conversation tag at described process submodule by described first backup messages, empty the virtual queue that described session identification is corresponding;
Remove submodule, after sending the highest backup messages of each virtual queue medium priority at described transmission submodule poll, remove the virtual queue that described conversation tag is corresponding;
Wherein, described first backup messages is the message that rolls off the production line, described in the message that rolls off the production line there is limit priority.
In concrete application scenarios, a described VSRP module 510 also comprises:
Transplant submodule, for comprise second backup messages identical with the priority of described first backup messages when described virtual queue and described second backup messages with adhesion message and described first backup messages with by when generating the adhesion message generated from business module of described adhesion message, before described second backup messages of described process submodule deletion, the adhesion message that described second backup messages has is transplanted to described first backup messages; Wherein, describedly the business module generating described second backup messages is subordinated to from business module.
In concrete application scenarios, described transmission submodule specifically for:
For each virtual queue in each virtual machine queue, if the backup messages that in this virtual queue, current priority is the highest comes from the first business module of local device, then backup messages the highest for current priority in this virtual queue is sent to the 2nd VSRP module of opposite equip.; If the backup messages that in this virtual queue, current priority is the highest comes from the 2nd VSRP module of described opposite equip., backup messages the highest for current priority in this virtual queue is sent to the first business module of local device.
By applying technical scheme of the present invention, after receiving first backup messages of carrying priority and corresponding conversation tag in a VSRP module, determine the virtual queue that described conversation tag is corresponding, and whether comprise second backup messages identical from the priority of described first backup messages according to virtual queue and carry out different process, last poll sends the highest backup messages of each virtual queue medium priority.Therefore, effectively can reduce the quantity that VSRP module needs the backup messages sent, and backup messages can be sent according to certain hour interval (time difference of each virtual queue of poll), thus reduce the load of the VSRP backup path between host apparatus and stand-by equipment, reduce the possibility that VSRP backup path gets congestion, make host apparatus and stand-by equipment can real-time synchronization.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention can by hardware implementing, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions and perform each method implementing described in scene of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram preferably implementing scene, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device implemented in scene can carry out being distributed in the device of enforcement scene according to implementing scene description, also can carry out respective change and being arranged in the one or more devices being different from this enforcement scene.The module of above-mentioned enforcement scene can merge into a module, also can split into multiple submodule further.
The invention described above sequence number, just to describing, does not represent the quality implementing scene.
Be only several concrete enforcement scene of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (12)

1. a backup messages sending method, is characterized in that, described method is applied to the first virtual service redundancy protocol VSRP module of local device, comprising:
A described VSRP module receives the first backup messages, and described first backup messages carries priority and conversation tag corresponding to described first backup messages;
A described VSRP module determines the virtual queue that described conversation tag is corresponding;
When the virtual queue that described conversation tag is corresponding comprises second backup messages identical with the priority of described first backup messages, a described VSRP module deletes described second backup messages, described first backup messages is added in virtual queue corresponding to described conversation tag; Or when the virtual queue that described conversation tag is corresponding does not comprise second backup messages identical with the priority of described first backup messages, described first backup messages is added in virtual queue corresponding to described conversation tag by a described VSRP module;
A described VSRP module polls sends the highest backup messages of each virtual queue medium priority.
2. the method for claim 1, is characterized in that, described first backup messages is specially: on-line message, upgrade authorization messages, upgrade traffic messages or the message that rolls off the production line;
Wherein, described in the message that rolls off the production line there is limit priority, described on-line message has secondary high priority, the priority of described renewal authorization messages lower than described on-line message priority and higher than the priority of described renewal traffic messages.
3. the method for claim 1, is characterized in that, described first backup messages is on-line message, and described on-line message has secondary high priority, and a described VSRP module is before determining the virtual queue that described conversation tag is corresponding, and described method also comprises:
A described VSRP module creates virtual queue corresponding to described conversation tag according to described conversation tag.
4. the method for claim 1, it is characterized in that, described first backup messages is the message that rolls off the production line, the described message that rolls off the production line has limit priority, before described first backup messages is added in virtual queue corresponding to described conversation tag by a described VSRP module, described method also comprises:
A described VSRP module empties virtual queue corresponding to described session identification;
After the message that rolls off the production line described in a described VSRP module sends in virtual queue corresponding to described conversation tag, described method also comprises:
A described VSRP module removes virtual queue corresponding to described conversation tag.
5. the method for claim 1, it is characterized in that, when the virtual queue that described conversation tag is corresponding comprise second backup messages identical with the priority of described first backup messages and described second backup messages with adhesion message and described first backup messages with by when generating the adhesion message generated from business module of described adhesion message, a described VSRP module is before described second backup messages of deletion, and described method also comprises:
The adhesion message that described second backup messages has is transplanted to described first backup messages by a described VSRP module;
Wherein, describedly the business module generating described second backup messages is subordinated to from business module.
6. the method for claim 1, is characterized in that, a described VSRP module polls sends the highest backup messages of each virtual queue medium priority, is specially:
For each virtual queue in each virtual machine queue, if the backup messages that in this virtual queue, current priority is the highest comes from the first business module of described local device, then backup messages the highest for current priority in this virtual queue is sent to the 2nd VSRP module of opposite equip. by a described VSRP module; If the backup messages that in this virtual queue, current priority is the highest comes from the 2nd VSRP module of described opposite equip., backup messages the highest for current priority in this virtual queue is sent to the first business module of described local device by a described VSRP module.
7. a message transmitting apparatus, is characterized in that, comprises a VSRP module, and a described VSRP module comprises:
Receive submodule, for receiving the first backup messages, described first backup messages carries priority and conversation tag corresponding to described first backup messages;
Determine submodule, for determining the virtual queue that described conversation tag is corresponding;
Process submodule, delete described second backup messages during for comprising the second backup messages identical with the priority of described first backup messages at the virtual queue corresponding when described conversation tag, described first backup messages is added in virtual queue corresponding to described conversation tag; Or when the virtual queue corresponding when described conversation tag does not comprise second backup messages identical with the priority of described first backup messages, described first backup messages is added in virtual queue corresponding to described conversation tag;
Send submodule, send the highest backup messages of each virtual queue medium priority for poll.
8. equipment as claimed in claim 7, it is characterized in that, described first backup messages is specially: on-line message, upgrade authorization messages, upgrade traffic messages or the message that rolls off the production line;
Wherein, described in the message that rolls off the production line there is limit priority, described on-line message has secondary high priority, the priority of described renewal authorization messages lower than described on-line message priority and higher than the priority of described renewal traffic messages.
9. equipment as claimed in claim 7, it is characterized in that, a described VSRP module also comprises:
Create submodule, for described determine that submodule determines the virtual queue that described conversation tag is corresponding before, create virtual queue corresponding to described conversation tag according to described conversation tag; Wherein, described first backup messages is on-line message, and described on-line message has secondary high priority.
10. equipment as claimed in claim 7, it is characterized in that, a described VSRP module also comprises:
Empty submodule, before adding in virtual queue corresponding to described conversation tag at described process submodule by described first backup messages, empty the virtual queue that described session identification is corresponding;
Remove submodule, after sending the highest backup messages of each virtual queue medium priority at described transmission submodule poll, remove the virtual queue that described conversation tag is corresponding;
Wherein, described first backup messages is the message that rolls off the production line, described in the message that rolls off the production line there is limit priority.
11. equipment as claimed in claim 7, is characterized in that, a described VSRP module also comprises:
Transplant submodule, comprise second backup messages identical with the priority of described first backup messages for the virtual queue corresponding when described conversation tag and described second backup messages with adhesion message and described first backup messages with by when generating the adhesion message generated from business module of described adhesion message, before described second backup messages of described process submodule deletion, the adhesion message that described second backup messages has is transplanted to described first backup messages; Wherein, describedly the business module generating described second backup messages is subordinated to from business module.
12. equipment as claimed in claim 7, is characterized in that, described transmission submodule specifically for:
For each virtual queue in each virtual machine queue, if the backup messages that in this virtual queue, current priority is the highest comes from the first business module of local device, then backup messages the highest for current priority in this virtual queue is sent to the 2nd VSRP module of opposite equip.; If the backup messages that in this virtual queue, current priority is the highest comes from the 2nd VSRP module of described opposite equip., backup messages the highest for current priority in this virtual queue is sent to the first business module of local device.
CN201410706724.8A 2014-11-27 2014-11-27 A kind of message method and equipment Active CN104486215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410706724.8A CN104486215B (en) 2014-11-27 2014-11-27 A kind of message method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410706724.8A CN104486215B (en) 2014-11-27 2014-11-27 A kind of message method and equipment

Publications (2)

Publication Number Publication Date
CN104486215A true CN104486215A (en) 2015-04-01
CN104486215B CN104486215B (en) 2018-04-06

Family

ID=52760721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410706724.8A Active CN104486215B (en) 2014-11-27 2014-11-27 A kind of message method and equipment

Country Status (1)

Country Link
CN (1) CN104486215B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105591810A (en) * 2015-10-22 2016-05-18 杭州华三通信技术有限公司 Backup information sending method and device
CN107979543A (en) * 2017-11-23 2018-05-01 中国银行股份有限公司 Message flux control method and system
CN113076462A (en) * 2021-03-25 2021-07-06 恒安嘉新(北京)科技股份公司 Network session data query method, device, equipment and medium
CN113076462B (en) * 2021-03-25 2024-04-30 恒安嘉新(北京)科技股份公司 Network session data query method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185198B1 (en) * 1996-03-20 2001-02-06 Aeris Communications, Inc. Time division multiple access downlink personal communications system voice and data debit billing method
CN103326942A (en) * 2013-06-19 2013-09-25 华南理工大学 Reliable routing protocol used for vehicle-mounted Ad Hoc network
CN104092563A (en) * 2014-06-13 2014-10-08 杭州华三通信技术有限公司 Method and device for transmitting service configuration information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185198B1 (en) * 1996-03-20 2001-02-06 Aeris Communications, Inc. Time division multiple access downlink personal communications system voice and data debit billing method
CN103326942A (en) * 2013-06-19 2013-09-25 华南理工大学 Reliable routing protocol used for vehicle-mounted Ad Hoc network
CN104092563A (en) * 2014-06-13 2014-10-08 杭州华三通信技术有限公司 Method and device for transmitting service configuration information

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105591810A (en) * 2015-10-22 2016-05-18 杭州华三通信技术有限公司 Backup information sending method and device
CN105591810B (en) * 2015-10-22 2019-04-12 新华三技术有限公司 Backup messages sending method and equipment
CN107979543A (en) * 2017-11-23 2018-05-01 中国银行股份有限公司 Message flux control method and system
CN113076462A (en) * 2021-03-25 2021-07-06 恒安嘉新(北京)科技股份公司 Network session data query method, device, equipment and medium
CN113076462B (en) * 2021-03-25 2024-04-30 恒安嘉新(北京)科技股份公司 Network session data query method, device, equipment and medium

Also Published As

Publication number Publication date
CN104486215B (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN109949111B (en) Electronic bill identification distribution method, electronic bill generation method, device and system
CN107360234B (en) Computer readable storage medium
CN105338078B (en) Date storage method and device for storage system
CN102668516B (en) Method and apparatus for realizing message passing amid cloud information service
US20200319983A1 (en) Redundancy Method, Device, and System
CN103207841A (en) Method and device for data reading and writing on basis of key-value buffer
CN104301142A (en) Backup method and device for configuration files
CN101150439A (en) A method, system and device for realizing master/slave switching
CN104468521A (en) Online migration method, device and system
CN105095317A (en) Distributive database service management system
CN102143194A (en) Data synchronization method and system, immediate data node and terminal data node
WO2016177231A1 (en) Dual-control-based active-backup switching method and device
CN103152390A (en) Method and device and nodes and system for node configuration of distributed storage system
CN109491832A (en) Data disaster tolerance method and website
CN102497288A (en) Dual-server backup method and dual system implementation device
CN103281356A (en) File distribution method and system
CN103986771A (en) High-availability cluster management method independent of shared storage
CN104486215A (en) Message transmitting method and equipment
CN110233791B (en) Data deduplication method and device
CN101621526A (en) iSCSI method and apparatus for preventing useless connection from occupying system resources
CN109542841B (en) Method for creating data snapshot in cluster and terminal equipment
CN109257403B (en) Data storage method and device and distributed storage system
CN102694677A (en) New method for disaster recovery data center construction based on remote IP analysis
CN103795810A (en) Data distribution system and method and central server of data distribution system
WO2021057150A1 (en) Port sharing method and apparatus, storage medium and electronic apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant