CN108306824A - File transmitting method and device - Google Patents

File transmitting method and device Download PDF

Info

Publication number
CN108306824A
CN108306824A CN201810074120.4A CN201810074120A CN108306824A CN 108306824 A CN108306824 A CN 108306824A CN 201810074120 A CN201810074120 A CN 201810074120A CN 108306824 A CN108306824 A CN 108306824A
Authority
CN
China
Prior art keywords
port
message
combination
member port
current ink
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
CN201810074120.4A
Other languages
Chinese (zh)
Other versions
CN108306824B (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.)
Suzhou Centec Communications Co Ltd
Original Assignee
Centec Networks Suzhou 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 Centec Networks Suzhou Co Ltd filed Critical Centec Networks Suzhou Co Ltd
Priority to CN201810074120.4A priority Critical patent/CN108306824B/en
Publication of CN108306824A publication Critical patent/CN108306824A/en
Application granted granted Critical
Publication of CN108306824B publication Critical patent/CN108306824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • H04L45/7453Address table lookup; Address filtering using hashing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of file transmitting method and devices.Wherein, this method includes:Obtain message to be sent;Judge in current ink aggregation group with the presence or absence of local member port;When judging result indicates to have local member port, determine that the outlet for sending message indexes;And send message by exporting the indicated local member port of index.The technical issues of present invention solves in pile system, and flow is wasted and consumed to broadband as caused by being sent remote equipment from the message of local device entrance.

Description

File transmitting method and device
Technical field
The present invention relates to messages to send field, in particular to a kind of file transmitting method and device.
Background technology
Link Aggregation (also referred to as link aggregation, abbreviation Linkagg), Linkagg is by multiple low strap wide ports The link for being bundled into a high bandwidth uses, and can increase bandwidth in this way can also realize the load balance of link, while can also Accomplish redundancy backup.
Due to the continuous improvement of network size, separate unit interchanger is difficult meet demand, Stack Technology then occurs.It stacks More switch devices are exactly used in combination by technology, are logically combined into the switching equipment of an entirety.If It is in pile system, existing local member port also has distal end member port in linkagg groups, and just having when sending message can It can select to send from the member port of remote equipment.When being sent from remote equipment member port, message needs first from local device It is forwarded to remote equipment, is then forwarded again from the outlet of remote equipment.
For above-mentioned problem, currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides a kind of file transmitting method and devices, at least to solve in pile system, from this The message that ground equipment enters the technical issues of flow is wasted and consumed to broadband as caused by being sent remote equipment.
One side according to the ... of the embodiment of the present invention provides a kind of file transmitting method, including:Obtain report to be sent Text;Judge in current ink aggregation group with the presence or absence of local member port;When judging result indicates to have local member port, Determine that the outlet for sending message indexes;And send message by exporting the indicated local member port of index.
Further, judge with the presence or absence of local member port in current ink aggregation group, including:Based on local member end Mouth list obtains the quantity of local member port in current ink aggregation group, wherein local member port list is exclusively used in storing Local member port information in current ink polymerization;When quantity is not zero, determines in current ink aggregation group and exist locally Member port.
Further, it is determined that the outlet index for sending message, including:Content according to message determines the first Hash Value;Complementation is carried out to the quantity of local member port in current ink aggregation group according to the first cryptographic Hash, obtains operation knot Fruit;Determine that stomochord draws in base address according to local member port in operation result and current ink aggregation group.
Further, in judging result instruction there is no when local member port, method further includes:It polymerize from current ink The port for sending message is determined in distal end member port in group.
Further, the port for sending message, packet are determined from the distal end member port in current ink aggregation group It includes:Content according to message determines the second cryptographic Hash;Distal end member in current ink aggregation group is determined based on distal end members list The quantity of port and base address, wherein distal end member port list is exclusively used in the distal end member end in storage current ink polymerization Message ceases;It determines in current ink aggregation group and uses based on the quantity and base address of the second cryptographic Hash and the distal end member port determined In the distal end member port for sending message.
Other side according to the ... of the embodiment of the present invention provides a kind of file transmitting method, including:It obtains to be sent Message;Judge the priority of first kind port combination and the combination of the second generic port in current ink aggregation group;According to judging result The port combination for sending message is determined from first kind port combination and the combination of the second generic port;From determining port combination Port of the middle selection for sending message.
Further, first kind port combination includes:Local member port;Second generic port combines:Distal end member Port.
Further, the priority of first kind port combination is higher than the priority of the second class combination.
Other side according to the ... of the embodiment of the present invention provides a kind of file transmitting method, including:It obtains to be sent Message;The port for sending message is determined from the first kind port combination of current ink aggregation group and the combination of the second generic port Combination;Port of the selection for sending message from determining port combination.
Other side according to the ... of the embodiment of the present invention provides a kind of packet transmission device, including:First obtains mould Block, for obtaining message to be sent;First judgment module, for judging in current ink aggregation group with the presence or absence of local member Port;First determining module, for when judging result indicates to have local member port, determining the outlet for sending message Index;And first sending module, for sending message by exporting the indicated local member port of index.
Other side according to the ... of the embodiment of the present invention provides a kind of packet transmission device, including:Second obtains mould Block, for obtaining message to be sent;Second judgment module, for judge in current ink aggregation group first kind port combination and The priority of second generic port combination;Second determining module is used for foundation judging result from first kind port combination and the second class The port combination for sending message is determined in port combination;Second selecting module, for being selected from determining port combination Port for sending message.
Other side according to the ... of the embodiment of the present invention provides a kind of packet transmission device, including:Third obtains mould Block, for obtaining message to be sent;Third determining module, for from the first kind port combination of current ink aggregation group and the The port combination for sending message is determined in the combination of two generic ports;Third selecting module, for from determining port combination Select the port for sending message.
Other side according to the ... of the embodiment of the present invention, provides a kind of storage medium, and storage medium includes the journey of storage Sequence, wherein equipment where controlling storage medium when program is run executes above-mentioned file transmitting method.
Other side according to the ... of the embodiment of the present invention provides a kind of processor, and processor is used to run program, In, program executes above-mentioned file transmitting method when running.
In embodiments of the present invention, by obtaining message to be sent;Judge in current ink aggregation group with the presence or absence of this Ground member port;When judging result indicates to have local member port, determine that the outlet for sending message indexes;And it is logical It crosses the indicated local member port of outlet index and sends message, reached in pile system, the report entered from local device The purpose that text is preferentially sent from local device reduces and disappears to stacking broadband to realize the flow between reducing striding equipment The technique effect of consumption, and then solve in pile system, the message entered from local device is as caused by being sent remote equipment The technical issues of flow is wasted and is consumed to broadband.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to a kind of file transmitting method of the embodiment of the present application;
Fig. 2 is the flow chart of generic link polymerization selection member port;
Fig. 3 is the flow chart for polymerizeing member port according to a kind of optional pile system link of the embodiment of the present application;
Fig. 4 is the flow chart according to another file transmitting method of the embodiment of the present application;
Fig. 5 is the flow chart according to another file transmitting method of the embodiment of the present application;
Fig. 6 is the structure chart according to a kind of packet transmission device of the embodiment of the present application;
Fig. 7 is the structure chart according to another packet transmission device of the embodiment of the present application;And
Fig. 8 is the structure chart according to another packet transmission device of the embodiment of the present application.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover It includes to be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment to cover non-exclusive Those of clearly list step or unit, but may include not listing clearly or for these processes, method, product Or the other steps or unit that equipment is intrinsic.
It should be noted that storage medium or memory involved in the embodiment of the present application, include not only that equipment is local Equipment for storing data, the memory node that can also be presented as in cloud network, but not limited to this.
According to embodiments of the present invention, a kind of embodiment of the method that message is sent is provided, it should be noted that in attached drawing The step of flow illustrates can execute in the computer system of such as a group of computer-executable instructions, although also, Logical order is shown in flow chart, but in some cases, it can be to execute shown different from sequence herein or retouch The step of stating.
Fig. 1 is file transmitting method according to the ... of the embodiment of the present invention, as shown in Figure 1, this method comprises the following steps:
Step S102 obtains message to be sent.
Step S104 judges in current ink aggregation group with the presence or absence of local member port.
In step S104, link aggregation refers to bundling multiple physical ports, becomes a logic port, with Realize that load burden of the in/out flow in each member port, interchanger are determined according to the port load-sharing strategy of user configuration Determine the interchanger that message is sent to opposite end from which member port.
Wherein, above-mentioned link aggregation group may include multiple local member ports and remote member port, judge current chain Whether there is local member port in the aggregation group of road, if it is judged that there is local member port, then controlling message from originally Ground member port is sent.It needs first to be forwarded to remote equipment from local device compared to message in the related technology, then again from remote The outlet of end equipment forwards, and the file transmitting method in the application reduces the stream transmitted between equipment in pile system Amount, alleviates the consumption to system broad.
In the embodiment of the present application, the method in current ink aggregation group with the presence or absence of local member port that judges includes but not It is limited to:The quantity of local member port in current ink aggregation group is obtained based on local member port list, wherein local member Port list is exclusively used in the local member port information in storage current ink polymerization, and when port number is not zero, determination is worked as There is local member port in preceding link aggregation group.
Optionally, step S104 is to judge have with the presence or absence of local member port, step S104 in current ink aggregation group Two kinds of judging results, when judging result indicates to have local member port, from the local member end in current ink aggregation group The port for sending message is determined in mouthful;In judging result instruction there is no when local member port, it polymerize from current ink The port for sending message is determined in distal end member port in group.
Specifically, determine that the port for sending message includes from the distal end member port in current ink aggregation group: Content according to message determines the second cryptographic Hash, and distal end member port in current ink aggregation group is determined based on distal end members list Quantity and base address, wherein distal end member port list is exclusively used in the distal end member port letter in storage current ink polymerization Breath is determined in current ink aggregation group based on the quantity and base address of the second cryptographic Hash and the distal end member port determined for sending out Deliver newspaper text distal end member port, wherein can be according to the second cryptographic Hash to distal end member port in current ink aggregation group Quantity carries out complementation, obtains the second operation result;According to distal end member in the second operation result and current ink aggregation group The base address of port determines that second outlet indexes, by exporting index to obtain the distal end member port for sending message. In one alternate embodiment, since the first cryptographic Hash and the second cryptographic Hash are all based on what identical message content determined, because This, above-mentioned first cryptographic Hash and the second cryptographic Hash can be identical cryptographic Hash.
Step S106 determines that the outlet for sending message indexes when judging result indicates to have local member port.
Optionally it is determined that the outlet index for sending message includes:Content according to message determines the first cryptographic Hash;According to Complementation is carried out to the quantity of local member port in current ink aggregation group according to the first cryptographic Hash, obtains operation result, according to Determine that stomochord draws according to the base address of local member port in operation result and current ink aggregation group.
Step S108 sends message by exporting the indicated local member port of index.
Optionally, the is obtained to the quantity remainder of local member port in current ink aggregation group by the cryptographic Hash of message One operation result determines that message will be forwarded from which local member port, according to the first operation result and currently The base address of local member port can obtain outlet index in link aggregation group, so as to obtain sending message it is local at Member port.
The application through the above steps, using by preserving local member port list and distal end member port list respectively Mode, can realize in pile system and preferentially to be forwarded from local member port, considerably reduce the stream between striding equipment Amount mitigates the consumption to stacking bandwidth.
The embodiment of the present application provides a kind of method of one member port of linkagg group selections in asic chip, but this Chip in application embodiment is not limited to ASIC (also known as application-specific integrated circuit) chip, can also be that (also known as scene can compile FPGA Journey gate array), NP (also known as network processing unit) etc., Fig. 2 is the flow chart of common linkagg selections member port, such as Fig. 2 institutes Show, this method includes:
S202:According to message content, cryptographic Hash is calculated;
After cryptographic Hash is calculated, step S208 is executed.
S204:Search forwarding table and determine member port in linkagg groups, asic chip can using the ID of linkagg groups as Index, obtains member port quantity in linkagg groups;
S206:The base address of member port quantity and member port is obtained, index is used as by linkagg groups ID, is removed Member port quantity can be obtained, can also obtain the base address of member port in linkagg groups;
S208:Member port base address+cryptographic Hash % member port quantity;
According to the calculated cryptographic Hash of the content of message to member port quantity remainder, that is, it is determined that message is a from which Member port forwards, and it is which member port is reported that the base address of the member port in linkagg groups, which is added, The final address of literary sending port, and execute step S210, wherein the calculating data of step S208 can by step S206 and It is obtained in step S202.
S210:Obtain linkagg outlet, calculate the index of outlet, with this come determine linkagg export.
And Fig. 3 is the flow chart of linkagg member ports in a kind of optional pile system according to the ... of the embodiment of the present invention, As shown in figure 3, this method includes:
S302:According to message content, cryptographic Hash is calculated;
The cryptographic Hash of local member port or distal end member port is calculated, after cryptographic Hash is calculated, Step S310 is executed, or executes step S312;
S304:It searches forwarding table and determines member port in linkagg groups;
S306:Obtain local member port base address, local member port quantity, distal end member port base address, distal end Member port quantity;
S308:Judge whether local member port quantity is 0;
Local member port is judged whether there is according to the quantity of local member port, if it is judged that being yes, is then held Row step S310;If it is judged that being no, S312 is thened follow the steps.
S310:The distal end member port base address+distal ends cryptographic Hash % member port quantity;
If there is local member port, by cryptographic Hash to local member port quantity remainder, and and local member port Base address is added, the index exported, executes step S314.
S312:The local member port base address+locals cryptographic Hash % member port quantity;
If the not member of local device, by cryptographic Hash to distal end member port quantity remainder, and with distal end member The base address of port is added, and obtains the index of remote equipment outlet, executes step S314.
S314:Obtain the outlets linkagg;
It goes to take other one table for preserving outlet with the index of outlet, obtains the outlet of final linkagg.
In the above process, in pile system, by preserving the base address of the outlet in local chip, port number respectively And the base address of distal end chip outlet, it realizes message prior and is sent from the port of local device, reached in pile system In, the purpose sent from the message prior of local device entrance from local device, to realize the stream between reducing striding equipment Amount, reduces the technique effect of the consumption to stacking broadband, and then solves in pile system, the message entered from local device The technical issues of flow is wasted and is consumed to broadband as caused by being sent remote equipment.
The embodiment of the present application provides another file transmitting method, and Fig. 4 is another message according to the embodiment of the present application The flow chart of sending method, as shown in figure 4, the file transmitting method includes:
Step S402 obtains message to be sent;
Step S404 judges the priority of first kind port combination and the combination of the second generic port in current ink aggregation group;
Optionally, the first kind port combination in step S404 includes:Local member port, the second generic port combination packet It includes:Distal end member port, wherein the priority of first kind port combination is higher than the priority of the second class combination.
Step S406 is determined from first kind port combination and the combination of the second generic port for sending report according to judging result The port combination of text;
Step S408, port of the selection for sending message from determining port combination.
Optionally, if the priority of first kind port combination is higher than the priority of the second generic port combination, from first Generic port combination sends message, i.e., sends message from local member port;If the priority of the second generic port combination is higher than the The priority of a kind of port combination can then combine from the second generic port and send message, i.e., send message from distal end member port.
The embodiment of the present application provides a kind of file transmitting method, and Fig. 5 is sent out according to another message of the embodiment of the present application The flow chart of delivery method, as shown in figure 5, the file transmitting method includes:
Step S502 obtains message to be sent;
Step S504 is determined from the first kind port combination of current ink aggregation group and the combination of the second generic port for sending out Deliver newspaper text port combination;
Step S506, port of the selection for sending message from determining port combination.
Optionally, first kind port combination and the combination of the second generic port can be local member port combination and distal end respectively Member port combines, wherein above-mentioned port combination can be made of one or more corresponding member ports, be determined for sending The method of the port combination of message includes but not limited to following two methods:1) by judging that current ink aggregation group whether there is First kind port combination, i.e. current ink aggregation group whether there is local member port, for example, if current ink aggregation group is deposited In first kind port combination, then local member port sends message one of from first kind port combination;2) can lead to Cross the mode for judging first kind port combination and the second generic port combination priority grade, in the higher port combination of use priority really Surely message is sent, for example, if it is judged that the priority of first kind port combination is combined higher than the second generic port, then from the first kind Port combination sends message.
The embodiment of the present application provides a kind of packet transmission device, and Fig. 6 is sent according to a kind of message of the embodiment of the present application The structure chart of device, as shown in fig. 6, the packet transmission device includes:
First acquisition module 60, for obtaining message to be sent;First judgment module 62, for judging that current ink is poly- With the presence or absence of local member port in being combined;First determining module 64, for indicating there is local member port in judging result When, determine that the outlet for sending message indexes;First sending module 66, for the local member indicated by exporting index Port sends message.
The embodiment of the present application provides a kind of packet transmission device, and Fig. 7 is sent out according to another message of the embodiment of the present application The structure chart of device is sent, as shown in fig. 7, the packet transmission device includes:
Second acquisition module 70, for obtaining message to be sent;Second judgment module 72, for judging that current ink is poly- It is combined the priority of middle first kind port combination and the combination of the second generic port;Second determining module 74, for according to judging result The port combination for sending message is determined from first kind port combination and the combination of the second generic port;Second selecting module 76, For port of the selection for sending message from determining port combination.
The embodiment of the present application provides a kind of packet transmission device, and Fig. 8 is sent out according to another message of the embodiment of the present application The structure chart of device is sent, as shown in figure 8, the packet transmission device includes:
Third acquisition module 80, for obtaining message to be sent;Third determining module 82, for polymerizeing from current ink The port combination for sending message is determined in the first kind port combination of group and the combination of the second generic port;Third selecting module 84, for port of the selection for sending message from determining port combination.
The embodiment of the present application provides a kind of storage medium, and storage medium includes the program of storage, wherein when program is run Equipment executes above-mentioned file transmitting method where controlling storage medium.
The embodiment of the present application provides a kind of processor, and processor is for running program, wherein program executes above-mentioned when running File transmitting method.
Herein it should be noted that above-mentioned apparatus module corresponds to embodiment of the method, above-mentioned module and corresponding step institute The example of realization is identical with application scenarios, but is not limited to the above embodiments 1 disclosure of that.It should be noted that above-mentioned mould Block can be executed as a part of of device in the computer system of such as a group of computer-executable instructions.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, for example, the unit division, Ke Yiwei A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple On unit.Some or all of unit therein can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (14)

1. a kind of file transmitting method, which is characterized in that including:
Obtain message to be sent;
Judge in current ink aggregation group with the presence or absence of local member port;
When judging result indicates to have local member port, determine that the outlet for sending the message indexes;And
The message is sent by the indicated local member port of the outlet index.
2. according to the method described in claim 1, it is characterized in that, judging in current ink aggregation group with the presence or absence of local member Port, including:
The quantity of local member port in the current ink aggregation group is obtained based on local member port list, wherein described Local member port list is exclusively used in storing the local member port information in the current ink polymerization;It is not in the quantity When zero, determine in the current ink aggregation group there is local member port.
3. according to the method described in claim 1, it is characterized in that, determine for send the message outlet index, including:
Content according to the message determines the first cryptographic Hash;According to first cryptographic Hash in the current ink aggregation group The quantity of local member port carries out complementation, obtains operation result;It is poly- according to the operation result and the current ink The base address for being combined middle local member port determines the outlet index.
4. according to the method described in claim 1, it is characterized in that, in judging result instruction there is no when local member port, The method further includes:
The port for sending the message is determined from the distal end member port in the current ink aggregation group.
5. according to the method described in claim 4, it is characterized in that, from the distal end member port in the current ink aggregation group Middle determination is used to send the port of the message, including:
Content according to the message determines the second cryptographic Hash;
The quantity of distal end member port and base address in current ink aggregation group are determined based on distal end members list, wherein described Distal end member port list is exclusively used in storing the distal end member port information in the current ink polymerization;
The current ink polymerization is determined based on the quantity and base address of second cryptographic Hash and the distal end member port determined Distal end member port in group for sending the message.
6. a kind of file transmitting method, which is characterized in that including:
Obtain message to be sent;
Judge the priority of first kind port combination and the combination of the second generic port in current ink aggregation group;
It is determined from the first kind port combination and the combination of the second generic port for sending the message according to judging result Port combination;
Port of the selection for sending the message from determining port combination.
7. according to the method described in claim 6, it is characterized in that, the first kind port combination includes:Local member port; Second generic port combines:Distal end member port.
8. the method according to the description of claim 7 is characterized in that the priority of the first kind port combination is higher than described the The priority of two classes combination.
9. a kind of file transmitting method, which is characterized in that including:
Obtain message to be sent;
It is determined from the first kind port combination of current ink aggregation group and the combination of the second generic port for sending the message Port combination;
Port of the selection for sending the message from determining port combination.
10. a kind of packet transmission device, which is characterized in that including:
First acquisition module, for obtaining message to be sent;
First judgment module, for judging in current ink aggregation group with the presence or absence of local member port;
First determining module, for when judging result indicates to have local member port, determining for sending the message Outlet index;And
First sending module, for sending the message by the indicated local member port of the outlet index.
11. a kind of packet transmission device, which is characterized in that including:
Second acquisition module, for obtaining message to be sent;
Second judgment module, for judging that first kind port combination and the second generic port combine preferential in current ink aggregation group Grade;
Second determining module is used for being determined from the first kind port combination and the combination of the second generic port according to judging result In the port combination for sending the message;
Second selecting module, for port of the selection for sending the message from determining port combination.
12. a kind of packet transmission device, which is characterized in that including:
Third acquisition module, for obtaining message to be sent;
Third determining module is used for being determined from the first kind port combination of current ink aggregation group and the combination of the second generic port In the port combination for sending the message;
Third selecting module, for port of the selection for sending the message from determining port combination.
13. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the storage medium where equipment perform claim require file transmitting method described in any one of 1 to 5;Alternatively, Perform claim requires the file transmitting method described in any one of 6 to 8;Alternatively, perform claim requires the message described in 9 to send Method.
14. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Profit requires the file transmitting method described in any one of 1 to 5;Alternatively, perform claim requires described in any one of 6 to 8 File transmitting method;Alternatively, perform claim requires the file transmitting method described in 9.
CN201810074120.4A 2018-01-25 2018-01-25 Message sending method and device Active CN108306824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810074120.4A CN108306824B (en) 2018-01-25 2018-01-25 Message sending method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810074120.4A CN108306824B (en) 2018-01-25 2018-01-25 Message sending method and device

Publications (2)

Publication Number Publication Date
CN108306824A true CN108306824A (en) 2018-07-20
CN108306824B CN108306824B (en) 2021-06-15

Family

ID=62866498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810074120.4A Active CN108306824B (en) 2018-01-25 2018-01-25 Message sending method and device

Country Status (1)

Country Link
CN (1) CN108306824B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347623A (en) * 2018-10-18 2019-02-15 盛科网络(苏州)有限公司 Conversate the method and device of holding in a kind of application of balancing link load
CN111245746A (en) * 2020-01-13 2020-06-05 杭州迪普科技股份有限公司 Message distribution method and device of VSM system
CN111654406A (en) * 2020-02-29 2020-09-11 新华三信息安全技术有限公司 Bidirectional forwarding detection method and device
CN114374659A (en) * 2022-01-18 2022-04-19 苏州盛科科技有限公司 Method, device and storage medium for realizing local priority forwarding in stacking system
CN114760245A (en) * 2022-03-28 2022-07-15 新华三技术有限公司合肥分公司 Stacking member equipment and method for forwarding broadcast message by stacking member equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118319A (en) * 2011-04-06 2011-07-06 杭州华三通信技术有限公司 Traffic load balancing method and device
CN102158398A (en) * 2011-02-25 2011-08-17 杭州华三通信技术有限公司 Method and device for forwarding messages
CN103780480A (en) * 2012-10-17 2014-05-07 杭州华三通信技术有限公司 Message forwarding method and message forwarding equipment
CN106330780A (en) * 2015-06-24 2017-01-11 联想企业解决方案(新加坡)有限公司 Switch, apparatus and method for forming aggregated link
US20170237689A1 (en) * 2012-08-20 2017-08-17 Cisco Technology, Inc. Two-Stage Port-Channel Resolution in a Multistage Fabric Switch

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158398A (en) * 2011-02-25 2011-08-17 杭州华三通信技术有限公司 Method and device for forwarding messages
CN102118319A (en) * 2011-04-06 2011-07-06 杭州华三通信技术有限公司 Traffic load balancing method and device
US20170237689A1 (en) * 2012-08-20 2017-08-17 Cisco Technology, Inc. Two-Stage Port-Channel Resolution in a Multistage Fabric Switch
CN103780480A (en) * 2012-10-17 2014-05-07 杭州华三通信技术有限公司 Message forwarding method and message forwarding equipment
CN106330780A (en) * 2015-06-24 2017-01-11 联想企业解决方案(新加坡)有限公司 Switch, apparatus and method for forming aggregated link

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347623A (en) * 2018-10-18 2019-02-15 盛科网络(苏州)有限公司 Conversate the method and device of holding in a kind of application of balancing link load
CN111245746A (en) * 2020-01-13 2020-06-05 杭州迪普科技股份有限公司 Message distribution method and device of VSM system
CN111654406A (en) * 2020-02-29 2020-09-11 新华三信息安全技术有限公司 Bidirectional forwarding detection method and device
CN111654406B (en) * 2020-02-29 2022-08-30 新华三信息安全技术有限公司 Bidirectional forwarding detection method and device
CN114374659A (en) * 2022-01-18 2022-04-19 苏州盛科科技有限公司 Method, device and storage medium for realizing local priority forwarding in stacking system
CN114760245A (en) * 2022-03-28 2022-07-15 新华三技术有限公司合肥分公司 Stacking member equipment and method for forwarding broadcast message by stacking member equipment
CN114760245B (en) * 2022-03-28 2024-02-09 新华三技术有限公司合肥分公司 Stacked member equipment and method for forwarding broadcast message thereof

Also Published As

Publication number Publication date
CN108306824B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN108306824A (en) File transmitting method and device
CN103634224B (en) The method and system of data transmission in network
CN105162724B (en) A kind of data are joined the team and go out group method and queue management unit
CN100479465C (en) Method of implementing link aggregation of network equipment
CN101019385B (en) Port aggregation across stack of devices
CN102857414B (en) A kind of forwarding table write-in, message forwarding method and device
CN102045253B (en) Method and device for sending video surveillance service messages in link aggregation network
CN107295036A (en) A kind of data transmission method for uplink and data merge equipment
CN103023804B (en) A kind of aggregated links adaptive flow load-balancing method, device and the network equipment
US20160036688A1 (en) Preventing a loop in a vertical stack network
CN109691037A (en) Method and system for data center's load balancing
CN101291276B (en) Tunnel protecting method and system based on services
CN102447638A (en) Load balancing method and forwarding apparatus
CN103595567B (en) Method and device for mapping ports in aggregation link
CN102098740A (en) Link aggregation routing method and device
CN103731376B (en) Method and system for selecting chain aggregation root ports on stacked equipment
CN106685826A (en) Interchanger stacking system, slave unit, switching chip and method for processing protocol message
CN104618253B (en) A kind of transmitting message treating method and apparatus of dynamic change
CN101388847A (en) Load balance circuit type packet switching construction and constructing method
CN109120732A (en) The hot insert method of business board, system and storage medium in distributed NAT system
CN106656760B (en) A kind of message delivery method and system based on message queue
CN107733809A (en) A kind of VSM system messages forwarding port method to set up and device
CN107749826A (en) A kind of data packet forwarding method and system
CN100596112C (en) Method and apparatus for generating and searching label transmitting table items
CN101453401B (en) Ethernet bridge equipment, MAC address learning method and data packet transmission method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Xinghan Street Industrial Park of Suzhou city in Jiangsu province 215021 B No. 5 Building 4 floor 13/16 unit

Patentee after: Suzhou Shengke Communication Co.,Ltd.

Address before: Xinghan Street Industrial Park of Suzhou city in Jiangsu province 215021 B No. 5 Building 4 floor 13/16 unit

Patentee before: CENTEC NETWORKS (SU ZHOU) Co.,Ltd.