CN104486215B - A kind of message method and equipment - Google Patents

A kind of message method and equipment Download PDF

Info

Publication number
CN104486215B
CN104486215B CN201410706724.8A CN201410706724A CN104486215B CN 104486215 B CN104486215 B CN 104486215B CN 201410706724 A CN201410706724 A CN 201410706724A CN 104486215 B CN104486215 B CN 104486215B
Authority
CN
China
Prior art keywords
backup messages
virtual queue
messages
message
backup
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410706724.8A
Other languages
Chinese (zh)
Other versions
CN104486215A (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.)
New H3C Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New 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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of message method, the first VSRP modules receive the first backup messages, and first backup messages carry conversation tag corresponding to priority and first backup messages;Determine virtual queue corresponding to the conversation tag;When virtual queue corresponding to the conversation tag includes priority the second backup messages of identical with first backup messages, second backup messages are deleted, first backup messages are added in virtual queue corresponding to the conversation tag;Or, when virtual queue corresponding to the conversation tag does not include priority the second backup messages of identical with first backup messages, first backup messages are added in virtual queue corresponding to the conversation tag;The first VSRP module polls send the backup messages of highest priority in each virtual queue.

Description

A kind of message method and equipment
Technical field
The present invention relates to communication technical field, more particularly to a kind of message method.The present invention also relates to one kind Message sends equipment.
Background technology
VSRP (Virtual Service Redundancy Protocol, virtual service redundancy protocol) is that one kind passes through The reliability for improving network improves the technology of the stability of customer service.VSRP is standby in the case of network failure Equipment being capable of rapid pipe connecting customer service so that user perceives the failure less than network, is continuing with Internet resources.Current In multi-computer back-up group, two equipment are typically provided with, one is called host apparatus, and another is called stand-by equipment.Host apparatus Support, forwarding service flow are provided for business, and can reach sometime or sent out after certain flow threshold to stand-by equipment Send service backup information;Stand-by equipment is standby after host apparatus breaks down except the service backup information for receiving host apparatus Equipment can be converted into host apparatus, continue forwarding service flow, business is not interrupted.
In use above VSRP equipment, the business mould provided with VSRP modules and business module, wherein host apparatus Block is responsible for sending backup messages to the VSRP modules of host apparatus with the principle of first in first out, and the VSRP modules of host apparatus are same Backup messages are sent to the VSRP modules of stand-by equipment with the principle of first in first out, the VSRP modules of stand-by equipment are again with advanced elder generation The principle gone out sends backup messages to the business module of stand-by equipment, so that stand-by equipment is synchronous with host apparatus.
However, host apparatus needs to send substantial amounts of backup messages, therefore host apparatus and stand-by equipment to stand-by equipment Between VSRP backup path loads it is very big, especially when a large number of users explosion type updates the data, VSRP backup paths will It can get congestion, the backup messages that host apparatus is sent can not reach stand-by equipment in time so that host apparatus and stand-by equipment Can not real-time synchronization.
The content of the invention
The invention provides a kind of message method, with ensure host apparatus and stand-by equipment can real-time synchronization, institute The first virtual service redundancy protocol VSRP modules that method is applied to local device are stated, including:
The first VSRP modules receive the first backup messages, and first backup messages carry priority and described first Conversation tag corresponding to backup messages;
The first VSRP modules determine virtual queue corresponding to the conversation tag;
When virtual queue corresponding to the conversation tag includes the priority identical second with first backup messages During backup messages, the first VSRP modules delete second backup messages, first backup messages are added to described In virtual queue corresponding to conversation tag;Or, when virtual queue corresponding to the conversation tag does not include and the described first backup During priority the second backup messages of identical of message, first backup messages are added to described by the first VSRP modules In virtual queue corresponding to conversation tag;
The first VSRP module polls send the backup messages of highest priority in each virtual queue.
Correspondingly, the invention also provides a kind of message sends equipment, including the first VSRP modules, the first VSRP moulds Block includes:
Receiving submodule, for receiving the first backup messages, first backup messages carry priority and described first Conversation tag corresponding to backup messages;
Determination sub-module, for determining virtual queue corresponding to the conversation tag;
Submodule is handled, for including and first backup messages when virtual queue corresponding to the conversation tag Second backup messages are deleted during priority the second backup messages of identical, first backup messages are added to the meeting Talk about in virtual queue corresponding to label;Or do not include disappearing with the described first backup when virtual queue corresponding to the conversation tag First backup messages are added to corresponding to the conversation tag virtually during priority the second backup messages of identical of breath In queue;
Sending submodule, the backup messages of highest priority in each virtual queue are sent for poll.
As can be seen here, by applying the technical scheme of the present invention, received in the first VSRP modules and carry priority and right After first backup messages of the conversation tag answered, virtual queue corresponding to the conversation tag is determined, and be according to virtual queue It is no to be sent including the processing different from the backup messages of priority identical second progress of first backup messages, last poll The backup messages of highest priority in each virtual queue.Therefore, the backup messages that VSRP modules need to send can effectively be reduced Quantity, and can according to intervals (time difference of each virtual queue of poll) send backup messages, so as to subtract The load of VSRP backup paths between small host apparatus and stand-by equipment, reduce the possibility that VSRP backup paths get congestion Property so that host apparatus and stand-by equipment being capable of real-time synchronizations.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of message method proposed by the present invention;
Fig. 2 is a kind of processing schematic diagram of merging message in the specific embodiment of the invention;
Fig. 3 is another processing schematic diagram for merging message in the specific embodiment of the invention;
Fig. 4 is another processing schematic diagram for merging message in the specific embodiment of the invention;
Fig. 5 is the structural representation that a kind of message proposed by the present invention sends equipment.
Embodiment
Optimized to send mechanism to existing backup messages, so as to guarantee real-time synchronization, the present invention proposes A kind of message method, this method are applied to the first virtual service redundancy protocol VSRP modules of local device, and flow is shown It is intended to as shown in figure 1, comprising the following steps:
S101, the first VSRP modules receive the first backup messages, and first backup messages carry priority and this is first standby Conversation tag corresponding to part message.
In order to realize the quick response to message, the present invention makes weight by way of distinguishing backup messages priority Want information first to transmit, transmitted after secondary message.In terms of type of message division, the first backup messages in the present invention, which are divided into, reaches the standard grade Message, renewal authorization messages, renewal traffic messages or offline message these four type of messages.Wherein, offline message has highest Priority, on-line message have time high priority, and the priority for updating authorization messages is less than the priority of on-line message and is higher than Update the priority of traffic messages.
In specific application scenarios, settled accounts because flow is reported radius server by equipment meeting not timing, so To session used in the related renewal traffic messages of flow typically can just trigger and be backed up when flow reaches a certain threshold value, because The priority of this renewal traffic messages is relatively low, is designated as 3.Authorization messages control user right is updated, therefore updates authorization messages Priority is higher, is designated as 2.Upper offline message concerns session presence or absence, therefore priority is respectively time high and highest, will be upper The priority of line message is designated as 1, and the priority of offline message is designated as into 0.
It should be noted that the division of above priority is based on existing conventional type of message division, subsequently occurring , can be according to the principle of division above during the message of other types, flexibly according to type of message prioritization, this is belonged to Within protection scope of the present invention.
S102, the first VSRP modules determine virtual queue corresponding to the conversation tag.
S103, when the virtual queue includes the backup messages of priority identical second with first backup messages When, the first VSRP modules delete second backup messages, and first backup messages are added into the conversation tag In corresponding virtual queue;Or, when the virtual queue does not include the priority identical second with first backup messages During backup messages, first backup messages are added to virtual queue corresponding to the conversation tag by the first VSRP modules In.
Specifically, after the first VSRP modules receive the first backup messages, according to the priority of the first backup messages carrying The type of first backup messages can be determined, i.e. the first backup messages of highest priority are offline message, and preferential level is high The first backup messages be on-line message, the first backup messages of other priority disappear for renewal traffic messages or renewal mandate Breath, then the first VSRP modules carry out following handle respectively to different type of messages:
(1) first backup messages are offline message
Before first backup messages are added in virtual queue corresponding to the conversation tag by the first VSRP modules, empty Virtual queue corresponding to session identification.It is also, offline in the first VSRP modules send virtual queue corresponding to conversation tag After message, the first VSRP modules will also remove virtual queue corresponding to conversation tag.
(2) first backup messages are on-line message
First VSRP modules are it is determined that before virtual queue corresponding to the conversation tag, and the first VSRP modules are according to The on-line message, is then added to corresponding to the conversation tag by virtual queue corresponding to the conversation tag establishment conversation tag In virtual queue.
(3) first backup messages are other backup messages in addition to on-line message and offline message
Before first backup messages are added in virtual queue corresponding to the conversation tag by the first VSRP modules, first Judge whether include and first backup messages priority the second backup messages of identical in virtual queue corresponding to the conversation tag. When virtual queue corresponding to the conversation tag includes priority the second backup messages of identical with the first backup messages, first VSRP modules delete the second backup messages, then the first backup messages are added in virtual queue corresponding to the conversation tag;When When virtual queue corresponding to the conversation tag does not include priority the second backup messages of identical with the first backup messages, first First backup messages are directly added in virtual queue corresponding to conversation tag by VSRP modules.In the first VSRP modules by first When backup messages are added in virtual queue corresponding to conversation tag, the first backup messages are being inserted into the standby of more low priority Before part message, if the backup messages without more low priority, are inserted into tail of the queue.
S104, the first VSRP module polls send the backup messages of highest priority in each virtual queue.
First VSRP module polls send the backup messages of highest priority in each virtual queue, to ensure corresponding each session The high backup messages of priority preferentially send.
The difference of source device based on backup messages, there is different processing when sending backup messages, it is specific as follows:
(1) if current priority highest backup messages come from the first business of the local device in the virtual queue Module, then the first VSRP modules current priority highest backup messages in the virtual queue are sent to opposite equip. 2nd VSRP modules.
(2) if current priority highest backup messages come from the 2nd VSRP of the opposite equip. in the virtual queue Module, the first VSRP modules send current priority highest backup messages in the virtual queue to the local device The first business module.Wherein, originally in the backup messages of the 2nd VSRP modules of opposite equip. be by the of the opposite equip. Two business modules are sent to the 2nd VSRP modules.
It should be noted that above-mentioned renewal authorization messages and renewal traffic messages are needed for global new information, to ensure The integrality of more new content.Therefore, it is necessary to accuse before VSRP module applications message method provided in an embodiment of the present invention Know the business module with the VSRP module relations, new information is being sent (such as renewal authorization messages, renewal flow to VSRP modules Message etc.) when need to send global new information.
Further, when needing the business module that backs up to be more than one, and when being all AM access module, for example DHCP modes connect The IPOE sessions entered, it is desirable to which DHCP leases information and IPOE session informations back up to stand-by equipment.And in existing realization, each industry The backup messages of business module oneself are sent to VSRP modules by each business module and backed up.Backup messages are disorderly and unsystematic, and then The business module of stand-by equipment is resulted in when recovering message, is occurred as DHCP has distributed address, but phase in stand-by equipment The IPOE sessions answered such as not yet establish at the invalid backup instances, and to avoid the problem, the embodiment of the present invention will carry out following handle:
First, business module is mutually related in configuration, and the principal and subordinate for the business module that need to consult to need to be backed up is closed System, master slave relation are determined by practical application scene.For example in above-mentioned scene, DHCP is only IPOE sessions distribution address, is risen auxiliary Effect is helped, then negotiation result can be that IPOE business modules are main business module, and it needs backup session information, DHCP business moulds Block is IPOE business modules from business module, and it needs backup lease information.
It is determined that after principal and subordinate's business module, then when requiring that session is reached the standard grade, the main business module of conversation tag is produced by session Label is informed to from business module.From business module reach the standard grade, change authorization message or it is offline when, main business module also can phase Should ground produce information change, so as to generate with from the corresponding backup messages of business module, the letter for backing up needs from business module Breath, which is informed, gives main business module, and the backup information for needing to back up from business module is bonded at into the life of main business module by main business module Into backup messages after, send jointly to VSRP modules as adhesion message.
Therefore, the first backup messages can have adhesion message.Accordingly, in step s 103, virtual queue is being deleted During middle the second backup messages of priority identical, it need to equally consider whether the second backup messages in virtual queue disappear with adhesion Breath.If the second backup messages have adhesion message, and the first backup messages do not have by generate the adhesion message from business mould Adhesion message, then be transplanted in the first backup messages by the adhesion message that block is generated, then deletes the second backup messages.If second Backup messages have adhesion message, and the first backup messages have by generating being glued from what business module was generated for the adhesion message Even message, then directly delete the second backup information.If the second backup messages are directly deleted the second backup and disappeared without adhesion message Breath.
For example, the first VSRP modules receive IPOE renewal authorization messages, the IPOE updates authorization messages by IPOE business moulds Block generates.
If as shown in Fig. 2 exist in virtual queue corresponding to the conversation tag of the IPOE renewal authorization messages received IPOE renewals authorization messages (i.e. priority and the IPOE renewal authorization messages identicals backup messages received) and the virtual team IPOE present in row updates the adhesion message that authorization messages have the DHCP business modules generation for being subordinated to IPOE business modules (such as DHCP renew the lease message), the IPOE received renewals authorization messages are with the adhesion of DHCP business modules generation Message, then the first VSRP modules by DHCP renew the lease message be transplanted to receive IPOE renewal authorization messages after, be used as this The adhesion message of the IPOE renewal authorization messages received, then delete the renewal mandates of IPOE present in the virtual queue and disappear Breath, then the IPOE for being transplanted adhesion message renewal authorization messages are added in queue, authorized because the IPOE received updates The adhesion message that message has is integral with it, thus by the IPOE renewal authorization messages be added to virtual queue while, Its adhesion message having can be also added in virtual queue in the lump.Accordingly, IPOE renewal authorization messages are being sent When, its adhesion message having can also be sent in the lump.
If as shown in figure 3, exist in virtual queue corresponding to the conversation tag of the IPOE renewal authorization messages received IPOE renewals authorization messages (i.e. priority and the IPOE renewal authorization messages identicals backup messages received) and the virtual team IPOE present in row updates the adhesion message that authorization messages have the DHCP business modules generation for being subordinated to IPOE business modules (such as DHCP renew the lease message), and IPOE renewal authorization messages received have the adhesion of DHCP business modules generation Message, then directly delete IPOE present in the virtual queue and update authorization messages, due to IPOE present in the virtual queue The adhesion message had of renewal authorization messages is integral with it, therefore while delete the IPOE and update authorization messages, its is attached Some adhesion message can also be deleted in the lump, and the IPOE received renewal authorization messages then are added into the virtual queue again In, because the adhesion message had of IPOE renewal authorization messages that receives with it is integral, therefore the IPOE is updated and awarded While power message is added to virtual queue, its adhesion message having can be also added in virtual queue in the lump.Accordingly , when sending IPOE renewal authorization messages, its adhesion message having can also be sent in the lump.
If as shown in figure 4, exist in virtual queue corresponding to the conversation tag of the IPOE renewal authorization messages received IPOE renewals authorization messages (i.e. priority and the IPOE renewal authorization messages identicals backup messages received) and the virtual team IPOE present in row updates authorization messages and does not have subordinate with adhesion message and the IPOE received the renewal authorization messages In the adhesion message (such as DHCP renew the lease message) that the DHCP business modules of IPOE business modules generate, then the void is directly deleted Intend the renewal authorization messages of IPOE present in queue, the IPOE received renewal authorization messages are then added to the virtual queue In, because the adhesion message had of IPOE renewal authorization messages that receives with it is integral, therefore the IPOE is updated and awarded While power message is added to virtual queue, its adhesion message having can be also added in virtual queue in the lump.Accordingly , when sending IPOE renewal authorization messages, its adhesion message having can also be sent in the lump.
To reach above technical purpose, the invention also provides a kind of message transmission equipment, as shown in figure 5, including first VSRP modules 510, the first VSRP modules include:
Receiving submodule 511, for receiving the first backup messages, first backup messages carry priority and the backup Conversation tag corresponding to message.
Determination sub-module 512, for determining virtual queue corresponding to the conversation tag.
Submodule 513 is handled, for when the virtual queue is including identical with the priority of first backup messages The second backup messages when delete second backup messages, it is corresponding that first backup messages are added into the conversation tag Virtual queue in;Or do not include backing up with the priority identical second of first backup messages when the virtual queue First backup messages are added in virtual queue corresponding to the conversation tag during message.
Sending submodule 514, the backup messages of highest priority in each virtual queue are sent for poll.
In specific application scenarios, first backup messages are specially:On-line message, renewal authorization messages, renewal Traffic messages or offline message;
Wherein, the offline message has limit priority, and the on-line message has time high priority, and the renewal is awarded The priority for weighing message is less than the priority of the on-line message and higher than the priority of the renewal traffic messages.
In specific application scenarios, the first VSRP modules 510 also include:
Create submodule, for before the determination sub-module determines virtual queue corresponding to the conversation tag, root Virtual queue corresponding to the conversation tag is created according to the conversation tag;Wherein, first backup messages are on-line message, The on-line message has time high priority.
In specific application scenarios, the first VSRP modules 510 also include:
Submodule is emptied, for first backup messages to be added into the conversation tag pair in the processing submodule Before in the virtual queue answered, virtual queue corresponding to the session identification is emptied;
Submodule is removed, the backup for sending highest priority in each virtual queue in the sending submodule poll disappears After breath, virtual queue corresponding to the conversation tag is removed;
Wherein, first backup messages are offline message, and the offline message has limit priority.
In specific application scenarios, the first VSRP modules 510 also include:
Submodule is transplanted, for including the priority identical second with first backup messages when the virtual queue Backup messages and second backup messages have adhesion message and first backup messages do not have by generating the adhesion , will before the processing submodule deletes second backup messages during adhesion message generated from business module of message The adhesion message that second backup messages have is transplanted to first backup messages;Wherein, it is described from business module subordinate In the business module for generating second backup messages.
In specific application scenarios, the sending submodule is specifically used for:
For each virtual queue in each virtual machine queue, if current priority highest backs up in the virtual queue Message comes from the first business module of local device, then sends current priority highest backup messages in the virtual queue To the 2nd VSRP modules of opposite equip.;If current priority highest backup messages come from the opposite end in the virtual queue 2nd VSRP modules of equipment, current priority highest backup messages in the virtual queue are sent to the first of local device Business module.
By applying the technical scheme of the present invention, received in the first VSRP modules and carry priority and corresponding session mark After first backup messages of label, virtual queue corresponding to the conversation tag is determined, and whether include and institute according to virtual queue The backup messages of priority identical second for stating the first backup messages carry out different processing, and last poll sends each virtual queue The backup messages of middle highest priority.Therefore, the quantity for the backup messages that VSRP modules needs are sent can be effectively reduced, and Can according to intervals (time difference of each virtual queue of poll) send backup messages, so as to reduce host apparatus and The load of VSRP backup paths between stand-by equipment, reduce the possibility that VSRP backup paths get congestion so that primary to set Standby and stand-by equipment being capable of real-time synchronization.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to Hardware realization is crossed, the mode of necessary general hardware platform can also be added by software to realize.Based on such understanding, this hair Bright technical scheme can be embodied in the form of software product, and the software product can be stored in a non-volatile memories In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are causing a computer equipment (can be Personal computer, server, or network equipment etc.) perform method described in each implement scene of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram for being preferable to carry out scene, module in accompanying drawing or Flow is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in implement scene can be described according to implement scene into Row is distributed in the device of implement scene, can also carry out one or more dresses that respective change is disposed other than this implement scene In putting.The module of above-mentioned implement scene can be merged into a module, can also be further split into multiple submodule.
The invention described above sequence number is for illustration only, does not represent the quality of implement scene.
Disclosed above is only several specific implementation scenes of the present invention, and still, the present invention is not limited to this, Ren Heben What the technical staff in field can think change should all fall into protection scope of the present invention.

Claims (12)

1. a kind of backup messages sending method, it is characterised in that the first virtual service that methods described is applied to local device is superfluous Remaining agreement VSRP modules, including:
The first VSRP modules receive the first backup messages, and first backup messages carry priority and first backup Conversation tag corresponding to message;
The first VSRP modules determine virtual queue corresponding to the conversation tag;
When virtual queue corresponding to the conversation tag includes backing up with the priority identical second of first backup messages During message, the first VSRP modules delete second backup messages, and first backup messages are added into the session In virtual queue corresponding to label;Or, when virtual queue corresponding to the conversation tag does not include and first backup messages Priority the second backup messages of identical when, first backup messages are added to the session by the first VSRP modules In virtual queue corresponding to label;
The first VSRP module polls send the backup messages of highest priority in each virtual queue.
2. the method as described in claim 1, it is characterised in that first backup messages are specially:On-line message, renewal are awarded Weigh message, renewal traffic messages or offline message;
Wherein, the offline message has limit priority, and the on-line message has time high priority, and the renewal mandate disappears The priority of breath is less than the priority of the on-line message and higher than the priority of the renewal traffic messages.
3. the method as described in claim 1, it is characterised in that first backup messages are on-line message, and described reach the standard grade disappears Breath has a time high priority, and the first VSRP modules are it is determined that before virtual queue corresponding to the conversation tag, the side Method also includes:
First VSRP modules virtual queue according to corresponding to the conversation tag creates the conversation tag.
4. the method as described in claim 1, it is characterised in that first backup messages are offline message, described offline to disappear Breath has limit priority, and first backup messages are added to corresponding to the conversation tag in the first VSRP modules Before in virtual queue, methods described also includes:
The first VSRP modules empty virtual queue corresponding to the session identification;
It is described after the offline message during the first VSRP modules send virtual queue corresponding to the conversation tag Method also includes:
The first VSRP modules remove virtual queue corresponding to the conversation tag.
5. the method as described in claim 1, it is characterised in that when virtual queue corresponding to the conversation tag include with it is described The backup messages of priority identical second of first backup messages and second backup messages are with adhesion message and described the When one backup messages do not have the adhesion message generated from business module by generating the adhesion message, the first VSRP Before second backup messages are deleted, methods described also includes module:
The adhesion message that second backup messages have is transplanted to first backup messages by the first VSRP modules;
Wherein, it is described that the business module for generating second backup messages is subordinated to from business module.
6. the method as described in claim 1, it is characterised in that the first VSRP module polls send excellent in each virtual queue First level highest backup messages, it is specially:
For each virtual queue in each virtual machine queue, if current priority highest backup messages in the virtual queue Come from the first business module of the local device, then the first VSRP modules by current priority in the virtual queue most High backup messages are sent to the 2nd VSRP modules of opposite equip.;If the backup of current priority highest disappears in the virtual queue Breath comes from the 2nd VSRP modules of the opposite equip., the first VSRP modules by current priority in the virtual queue most High backup messages are sent to the first business module of the local device.
7. a kind of message sends equipment, it is characterised in that including the first VSRP modules, the first VSRP modules include:
Receiving submodule, for receiving the first backup messages, first backup messages carry priority and first backup Conversation tag corresponding to message;
Determination sub-module, for determining virtual queue corresponding to the conversation tag;
Submodule is handled, for when virtual queue corresponding to the conversation tag is including preferential with first backup messages Second backup messages are deleted during level the second backup messages of identical, first backup messages are added to the session mark In virtual queue corresponding to label;Or do not include and first backup messages when virtual queue corresponding to the conversation tag During priority the second backup messages of identical, first backup messages are added to virtual queue corresponding to the conversation tag In;
Sending submodule, the backup messages of highest priority in each virtual queue are sent for poll.
8. equipment as claimed in claim 7, it is characterised in that first backup messages are specially:On-line message, renewal are awarded Weigh message, renewal traffic messages or offline message;
Wherein, the offline message has limit priority, and the on-line message has time high priority, and the renewal mandate disappears The priority of breath is less than the priority of the on-line message and higher than the priority of the renewal traffic messages.
9. equipment as claimed in claim 7, it is characterised in that the first VSRP modules also include:
Submodule is created, for before the determination sub-module determines virtual queue corresponding to the conversation tag, according to institute State conversation tag and create virtual queue corresponding to the conversation tag;Wherein, first backup messages are on-line message, described On-line message has time high priority.
10. equipment as claimed in claim 7, it is characterised in that the first VSRP modules also include:
Submodule is emptied, for first backup messages to be added to corresponding to the conversation tag in the processing submodule Before in virtual queue, virtual queue corresponding to the session identification is emptied;
Remove submodule, for sent in the sending submodule poll highest priority in each virtual queue backup messages it Afterwards, virtual queue corresponding to the conversation tag is removed;
Wherein, first backup messages are offline message, and the offline message has limit priority.
11. equipment as claimed in claim 7, it is characterised in that the first VSRP modules also include:
Submodule is transplanted, for including the priority with first backup messages when virtual queue corresponding to the conversation tag The backup messages of identical second and second backup messages have adhesion message and first backup messages do not have by giving birth to Into the adhesion message the adhesion message generated from business module when, it is described processing submodule delete it is described second backup The adhesion message that second backup messages have is transplanted to first backup messages before message;Wherein, the working Business module is subordinated to the business module for generating second backup messages.
12. equipment as claimed in claim 7, it is characterised in that the sending submodule is specifically used for:
For each virtual queue in each virtual machine queue, if current priority highest backup messages in the virtual queue Come from the first business module of local device, then send current priority highest backup messages in the virtual queue to right 2nd VSRP modules of end equipment;If current priority highest backup messages come from the opposite equip. in the virtual queue The 2nd VSRP modules, current priority highest backup messages in the virtual queue are sent to the first business of local device Module.
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 CN104486215A (en) 2015-04-01
CN104486215B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

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

Also Published As

Publication number Publication date
CN104486215A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
US10298457B2 (en) Synchronization of configuration file of virtual application distribution chassis
CN109949111B (en) Electronic bill identification distribution method, electronic bill generation method, device and system
CN108023953B (en) High-availability implementation method and device for FTP service
CN105812235B (en) Message processing method, device and system
CN101150439A (en) A method, system and device for realizing master/slave switching
WO2019237594A1 (en) Session persistence method and apparatus, and computer device and storage medium
WO2020253634A1 (en) Data processing method, system and device
CN104243205A (en) Message processing method and device used during virtual switch fault
CN103051534A (en) Message processing method and device
US20130346513A1 (en) Migrating a chat message service provided by a chat server to a new chat server
CN101895472A (en) Traffic flow load sharing method and processing method and corresponding device and system
CN105119997A (en) Data processing method of cloud computing system
WO2017076278A1 (en) Method and device for flexibly processing link between network elements
CN104486215B (en) A kind of message method and equipment
CN104243473B (en) A kind of method and device of data transmission
US9998807B2 (en) Method and apparatus for establishing trail network
CN103795810A (en) Data distribution system and method and central server of data distribution system
CN105591776B (en) The active/standby link switchover method and apparatus of SDN network equipment
JP2014230234A (en) Network management device and network management method
CN109962962B (en) Socket connection method and device
CN106506247B (en) Virtual network creating method and device
CN106471771A (en) A kind of method of congestion control and network element device
CN105430095A (en) Network service providing method, equipment and system for distributed system
CN113765783B (en) Communication method and device
CN113448755B (en) Transaction routing method and device for switching between new and old systems

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