CN106713170A - Message fragmentation method and device for VSM channel - Google Patents

Message fragmentation method and device for VSM channel Download PDF

Info

Publication number
CN106713170A
CN106713170A CN201611260427.0A CN201611260427A CN106713170A CN 106713170 A CN106713170 A CN 106713170A CN 201611260427 A CN201611260427 A CN 201611260427A CN 106713170 A CN106713170 A CN 106713170A
Authority
CN
China
Prior art keywords
vsm
message
module
member devices
data
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
CN201611260427.0A
Other languages
Chinese (zh)
Other versions
CN106713170B (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 DPtech Information Technology Co Ltd
Original Assignee
Hangzhou DPTech 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 DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201611260427.0A priority Critical patent/CN106713170B/en
Publication of CN106713170A publication Critical patent/CN106713170A/en
Application granted granted Critical
Publication of CN106713170B publication Critical patent/CN106713170B/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
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9057Arrangements for supporting packet reassembly or resequencing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9063Intermediate storage in different physical parts of a node or terminal

Abstract

The invention provides a message fragmentation method and a message fragmentation device for a VSM channel. The message fragmentation method comprises the steps that: buffering target data which is uploaded by a local target service module and needs to be transmitted to opposite-end VSM member equipment in a message buffering region corresponding to the VSM channel by means of local-end VSM member equipment; judging whether the target data needs to be fragmented based on preconfigured MTU; if so, fragmenting the target data and transmitting the fragmented message to the opposite-end VSM member equipment via the VSM channel; and assembling the received fragmented message corresponding to the target data by means of the opposite-end VSM member equipment, and uploading the target data obtained through assembly to a local service module corresponding to the target service module. The message fragmentation method and the message fragmentation device solve the problem that a communication mechanism of independent service modules is not conducive to the stability of the whole VSM system.

Description

A kind of message fragmenting method and device of VSM passages
Technical field
The application is related to communication technical field, the more particularly to a kind of message fragmenting method and device of VSM passages.
Background technology
VSM (Virtual Switch Matrix, virtual switch matrix) is that many network equipments are invented one by one kind The new network device virtualization technology of the network equipment.In VSM environment, there are many member devices, between member device Network link is referred to as VSM passages, and data message and protocol massages can be transmitted by VSM passages between member device.Respectively Member device is again multiple business modules according to function distinguishing, and the same class business module of each member device can be in communication with each other, when When data volume is larger, each business module can be split its data, then be sent.
In the prior art, each business module carries out burst treatment according to self mechanism to interactive information, each business Module increased the block code for burst treatment, increased the probability of software faults, be unfavorable for the stabilization of whole VSM systems Property.
The content of the invention
In view of this, the application provides a kind of message fragmenting method and device of VSM passages, for solving prior art In, the communication mechanism of each business module independence increases the probability of software faults, is unfavorable for the stability of whole VSM systems Problem.
Specifically, the application is achieved by the following technical solution:
A kind of message fragmenting method of VSM passages, is applied to local terminal VSM member devices;Wherein, the local terminal VSM member Each business module of equipment and opposite end VSM member devices, sets in the local terminal VSM member devices with opposite end VSM member in advance The corresponding passage processing module of VSM passages between standby completes registration, including:
The target data of the opposite end VSM member devices is transferred to the need for being sent in local target service module, Message buffer corresponding with the VSM passages is cached;
Judge whether the target data needs burst based on pre-configured MTU;
If the target data needs burst, burst is carried out for the target data, and fragment message is passed through into institute VSM passages are stated to send to the opposite end VSM member devices;Wherein, the fragment message carries the mark of the target service module Know, with by opposite end VSM member devices it is determined that the target service module in advance the VSM passages complete register when, for The fragment message corresponding to the target data for receiving is assembled, and is delivered to assembling in the target data for obtaining Its local business module corresponding with the target service module.
In the message fragmenting method of the VSM passages, also include:
When the local terminal VSM member devices start, receive what local each business module was submitted to after initialization is completed Registration request;
Based on each business module submit to registration request, by each business module local terminal VSM member devices Yu opposite end VSM The corresponding passage processing module of VSM passages between member device completes registration.
In the message fragmenting method of the VSM passages, also include:
Receive the data message that opposite end VSM member devices send;
Determine whether the business module completes to register in the passage processing module;
If the business module completes to register in the passage processing module, determine whether the data message is burst Message, if it is, the fragment message that will be received is cached in message buffer corresponding with the VSM passages, and is directed to The fragment message of caching is assembled, and local service mould corresponding with the business module is delivered in the data that will be obtained after assembling Block;
If the data message is not fragment message, will be delivered in the data of the data message and the business module Corresponding local service module.
In the message fragmenting method of the VSM passages, also include:
If the business module does not complete to register in the passage processing module, the datagram that discarding is received Text.
In the message fragmenting method of the VSM passages, also include:
If the target data does not need burst, after carrying out message encapsulation to the target data, by the VSM Passage is sent to the opposite end member VSM equipment, and it will be delivered in the target data with by the opposite end VSM member devices The business module corresponding with the target service module on ground.
A kind of message fragment device of VSM passages, is applied to local terminal VSM member devices;Wherein, the local terminal VSM member Each business module of equipment and opposite end VSM member devices, sets in the local terminal VSM member devices with opposite end VSM member in advance The corresponding passage processing module of VSM passages between standby completes registration, including:
Buffer unit, for will be sent in local target service module the need for be transferred to the opposite end VSM member devices Target data, cached in message buffer corresponding with the VSM passages;
Judging unit, for judging whether the target data needs burst based on pre-configured MTU;
Transmitting element, if needing burst for the target data, carries out burst, and will divide for the target data Piece message is sent to the opposite end VSM member devices by the VSM passages;Wherein, the fragment message carries the target The mark of business module, with by opposite end VSM member devices it is determined that the target service module in advance the VSM passages complete During registration, assembled for the fragment message corresponding to the target data for receiving, and the mesh for obtaining will be assembled Its local business module corresponding with the target service module is delivered in mark data.
In the message fragment device of the VSM passages, also include:
First receiving unit, for when the local terminal VSM member devices start, receiving local each business module complete The registration request submitted to after into initialization;
Registering unit, for the registration request submitted to based on each business module, each business module is set in local terminal VSM member The corresponding passage processing module of the standby and VSM passages between the VSM member devices of opposite end completes registration.
In the message fragment device of the VSM passages, also include:
Second receiving unit, for receiving the data message that opposite end VSM member devices send;
Determining unit, for determining whether the business module completes to register in the passage processing module;
On send unit, if for the business module the passage processing module complete register, determine the data Whether message is fragment message, if it is, the fragment message that will be received enters in message buffer corresponding with the VSM passages Row caching, and assembled for the fragment message for caching, delivered in the data that will be obtained after assembling and the business module pair The local service module answered;If the data message is not fragment message, by the data of the data message it is above-mentioned to institute State the corresponding local service module of business module.
In the message fragment device of the VSM passages, also include:
Discarding unit, if not completing to register in the passage processing module for the business module, discarding is received The data message.
In the message fragment device of the VSM passages, also include:
The transmitting element, if being further used for the target data does not need burst, enters to the target data After the encapsulation of row message, sent to the opposite end VSM member devices by the VSM passages, with by the opposite end VSM member devices Its local business module corresponding with the target service module will be delivered in the target data.
In the embodiment of the present application, local terminal VSM member devices are transferred to the need for being sent in local target service module The target data of opposite end VSM member devices, the VSM passages pair between local VSM member devices and opposite end VSM member devices The message buffer answered is cached;It is then based on pre-configured MTU and judges whether the target data needs burst;If It is to carry out burst for the target data, and fragment message is sent to the opposite end VSM member by the VSM passages Equipment;Wherein, the fragment message carries the mark of the target service module, with by opposite end VSM member devices it is determined that institute Target service module is stated in advance when the VSM passages complete to register, for the dividing corresponding to the target data for receiving Piece message is assembled, and will assemble that its is delivered in the target data that obtains is local corresponding with the target service module Business module.Because the application will be unified to complete to the burst of message by the corresponding passage processing module of VSM passages, and it is each Individual business module no longer need it is independent carry out message fragment treatment, therefore the maintenance difficulties and dimension of each business module can be reduced Shield cost, is conducive to the stability of whole VSM systems.
Brief description of the drawings
Fig. 1 is a kind of message fragmenting method of the VSM passages shown in the application;
Fig. 2 is a kind of flow chart that target data is sent based on VSM passages shown in the application;
Fig. 3 is a kind of schematic diagram of the VSM message formats shown in the application;
Fig. 4 is a kind of flow chart based on VSM channel reception target datas shown in the application;
Fig. 5 is a kind of frame construction drawing of the message fragment device of the VSM passages shown in the application;
Fig. 6 is a kind of hardware structure diagram of the message fragment device of the VSM passages shown in the application.
Specific embodiment
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present invention, and make of the invention real Applying the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to prior art and the present invention Technical scheme in embodiment is described in further detail.
In VSM environment, there are many member devices, the network link between each member device is referred to as VSM passages;It is each into Member's equipment passes through the mutual data message transmission of VSM passages and protocol massages.It is multiple to be divided by function again on each member device Business module, can communicate between the identical services module of each member device, if data volume is larger, business module can be by certainly Body data are split, by the data assembling after fractionation into sending after fragment message.
In the prior art, each business module can carry out burst treatment according to self mechanism to interactive information, increased The block code of each module.Because the treatment mechanism of each business module is different, block code is also different so that each business mould The code of block is complicated, and be increased software and the probability of BUG is occurred, and then influences the stability of whole VSM systems.
To solve the above problems, the technical scheme of the embodiment of the present application corresponds to each business module, there is provided unified VSM communication mechanisms so that the fragment message of each business module is processed by the passage processing module that equipment is specified, and is effectively simplified The code of business module, reduces the probability of software errors, is conducive to the stability of whole system.
It is a kind of flow chart of the message fragmenting method of VSM passages shown in the application, the execution of the method referring to Fig. 1 Main body is local terminal VSM member devices;Wherein, each business mould of the local terminal VSM member devices and opposite end VSM member devices Block, the in advance corresponding passage of the VSM passages between the local terminal VSM member devices and opposite end VSM member devices treatment Module completes registration;The described method comprises the following steps:
Step 101:The target of the opposite end VSM member devices is transferred to the need for being sent in local target service module Data, are cached in message buffer corresponding with the VSM passages.
Step 102:Judge whether the target data needs burst based on pre-configured MTU.
Step 103:If the target data needs burst, burst is carried out for the target data, and by burst report Text is sent to the opposite end VSM member devices by the VSM passages;Wherein, the fragment message carries the target service The mark of module, with by opposite end VSM member devices it is determined that the target service module in advance the VSM passages complete register When, assembled for the fragment message corresponding to the target data for receiving, and the number of targets for obtaining will be assembled According to above delivering to its local business module corresponding with the target service module.
Above-mentioned business module, can include the logic module realized based on software carried on VSM member devices;For example, The software module of a certain function on VSM member devices can be corresponded to.
Above-mentioned passage processing module, including local each business module is processed on VSM member devices set with opposite end VSM member The software module of the data of standby each business module interaction, for needing the data for sending to be united local each business module One burst is simultaneously sent, and each business module treatment is transferred to after the fragment message assembling that will be received.
In the embodiment of the present application, in order to reduce the maintenance difficulties and maintenance cost of each business module, each business module will Message fragment is no longer participate in, but registration is completed in the corresponding passage processing module of VSM passages by being unified in, when needs are to right When corresponding business module transmission needs the business datum of inter-process on the VSM member devices of end, the industry for sending can will be needed Business data unique caching is carried out unifying burst treatment to the message buffer of VSM passages by the passage processing module of VSM passages, It is then forwarded to corresponding business module on the VSM member devices of opposite end.
In an initial condition, when each VSM member devices start, what its local each business module can be synchronous carries out mould Initialization block, and actively submit registration request to equipment when module initialization is carried out, initiate to register to passage processing module.
And each VSM member devices are receiving the registration request that its local each business module is submitted to when initialization is completed Afterwards, the registration request that each business module is submitted to can be based on, by each business module local terminal VSM member devices and opposite end VSM into VSM passages corresponding passage processing module between member's equipment is registered, and will be pre-configured with corresponding to each business module Mark, is bound with above-mentioned passage processing module.
Wherein, the mark of the business module on each VSM member devices corresponding to same class business is generally all identical.
After above-mentioned registration is completed, if target service module in local terminal VSM member devices, it is necessary to opposite end VSM into When corresponding business module sends and needs to carry out the target data of inter-process on member, then the target data can be unified to submit to To above-mentioned passage processing module, burst treatment is carried out by above-mentioned passage processing module.
It is a kind of flow chart that target data is sent based on VSM passages shown in the application referring to Fig. 2.
As shown in Fig. 2 after target service module completes registration, can be to corresponding business mould on the VSM member devices of opposite end Block sends data.The target data for needing to send can be committed to above-mentioned passage processing module by target service module, by above-mentioned Passage processing module carries out burst treatment.
In the embodiment of the present application, local terminal VSM member devices can for locally with the VSM passages between the VSM equipment of opposite end A pre-configured message buffer, the message buffer is used to cache each business module needs transmission to opposite end VSM member devices Data, and caching opposite end VSM member devices each business module send to the message of local terminal VSM member devices.
Above-mentioned passage processing module receives and is transferred to opposite end VSM member the need for being sent in local target service module and sets After standby target data, the target data can be buffered in above-mentioned message buffer, and in caching to above-mentioned message buffer Afterwards, can now start pre-configured message to give out a contract for a project flow, the target data to caching is further processed.
After above-mentioned message gives out a contract for a project flow startup, the pre-configured MTU (Maximum of above-mentioned VSM passages can be based upon first Transmission Unit, MTU) determine whether the target data needs burst.
It is a kind of schematic diagram of the VSM message formats shown in the application referring to Fig. 3;
As shown in figure 3, VSM message formats include purpose MAC, source MAC, protocol type, the peculiar information headers of VSM, mould Block type, fragment message mark, fragment message number, check code and each module data section.
Wherein, purpose MAC, source MAC and protocol type field are ether network packet criteria field, and here is omitted;
The peculiar information headers of VSM can carry the information related to VSM passages, for example, the mark of VSM member devices;
Module type can carry the mark of business module, and mark of the VSM member devices in the message for receiving will Corresponding business module is sent to process in the data of message;
Fragment message identifies order of the data in initial data for recording the fragment message;If for example, this point The data of piece message are located at the 5th position in initial data, then fragment message is designated 5;
Fragment message number is split the message number for separating for recording initial data;
Fragment message length is used to record the data segment, length of the fragment message;
Whether the data that check code is used to verify each fragment message are obtained by the fractionation of same initial data, same original The check code that data split each fragment message for obtaining is identical;
Each module data section is for carrying the data that each business module is interacted.
Due to purpose MAC, source MAC, protocol type, the peculiar information headers of VSM, module type, fragment message mark, burst The length of the fields such as message number, fragment message length and check code is fixed, so, pre-configured MTU subtracts above-mentioned field Length just obtains the maximum length of each module data section.
In the embodiment of the present application, if above-mentioned passage processing module determines that the size of the target data is less than or equal to The maximum length of above-mentioned each module data section, then the target data need not split, directly the target data can be reported After text encapsulation, sent to opposite end VSM member devices by above-mentioned VSM passages.The module type record of the message after encapsulation The mark of above-mentioned target service module;Because the target data is without fractionation, therefore, the fragment message of the message after encapsulation The message number of digital segment record is 1.
If above-mentioned passage processing module determines size most the greatly enhancing more than above-mentioned each module data section of the target data Degree, then can carry out burst by the target data, and be fragment message by the data assembling after burst, by above-mentioned VSM passages Send successively to opposite end VSM member devices.After the target data is sent completely, transmission flow terminates.
Because each business module is after above-mentioned VSM passages complete registration, it would be desirable to which the data of transmission transfer to local terminal VSM member The above-mentioned passage processing module of equipment, will be sent with unified Message processing mechanism by the passage processing module after data processing.
It is a kind of flow chart based on VSM channel reception target datas shown in the application, still from local terminal VSM referring to Fig. 4 The angle of member device is described to receiving flow.
In the embodiment of the present application, when local terminal VSM member devices are set by above-mentioned VSM channel receptions to opposite end VSM member During the data message that preparation is sent, can judge whether the data message carrys out comfortable opposite end VSM by above-mentioned passage processing module first The business module that the passage processing module registration of member device is completed.
In a kind of implementation method for showing, above-mentioned passage processing module can read the module class type-word of the data message Section, if the field is sky, illustrates to send the business module of the data message and do not complete registration, at this point it is possible to abandon the number According to message.
If module type field have recorded the mark of above-mentioned business module, illustrate to send the business mould of the data message Block has completed registration, and in this case, above-mentioned passage processing module needs to process the data message;Can be somebody's turn to do by reading The fragment message digital section of data message, further determines that whether the data message is fragment message.
On the one hand, when the fragment message number of fragment message number field record is 1, it may be determined that the data message is not Fragment message, at this point it is possible to by the data of the data message it is direct on deliver to local service corresponding with above-mentioned business module Module.
On the other hand, when the fragment message number of fragment message number field record is not 1, it may be determined that the datagram Text is fragment message, and in this case, above-mentioned passage processing module searches this point in pre-configured above-mentioned message buffer Original message node where piece message.Wherein, the original message node has reserved the space of target data.
In a kind of implementation method for showing, above-mentioned passage processing module can be searched according to the check code of the fragment message Corresponding original message node.
On the one hand, if cannot find to should fragment message check code original message node, illustrate before this Not yet receive other fragment messages of the corresponding target data of the fragment message;In this case, above-mentioned passage treatment mould Then the data of the fragment message can be stored in the original message by block in the newly-built original message node of message buffer In the middle of node, follow-up fragment message is waited.
On the other hand, if finding the original message node of the check code corresponding to the fragment message, illustrate before this Have been received by other fragment messages of the corresponding target data of the fragment message;In this case, above-mentioned passage treatment mould Block can take out the data segment of the fragment message, and assembly is carried out with the message data in original message node.After the completion of assembly, can With the fragment message digital section according to the fragment message, determine whether target data has collected, if fragment message is not received Together, then follow-up fragment message can be waited.
When the fragment message corresponding to target data is collected, after the target data assembly completely in original message node, can With the mark in module type field, local service mould corresponding with above-mentioned business module will be delivered in the target data Block.At this point it is possible to the above-mentioned original message node in message buffer is deleted, to discharge the space resources of its occupancy.
After above-mentioned passage processing module will deliver to local service module in the assembled target data for completing, message receives flow Terminate.
It is visible by above example, the target service module of local terminal VSM member devices after the completion of VSM channel registrations, To can need to be transferred to send local terminal VSM member devices in the target data of opposite end VSM member devices, by local terminal, VSM member sets Standby passage processing module is uniformly processed;The passage processing module caches target data in pre-configured message buffer, so Judge whether the target data needs burst based on pre-configured MTU afterwards, if the target data needs burst, can be right The target data carries out burst, and is assembled into fragment message and sends to opposite end VSM member devices.
On the one hand, because each business module on local terminal VSM member devices is completed in above-mentioned passage processing module in advance Registration, and the fragment message carries the mark of above-mentioned target service module, thus opposite end VSM member devices can be according to the mark Know to determine whether above-mentioned target service module is registered to above-mentioned passage processing module, and it is determined that above-mentioned target service module When being registered to above-mentioned passage processing module, assembled for the fragment message corresponding to above-mentioned target data for receiving, so To assemble in the complete above-mentioned target data for obtaining afterwards and deliver to its locally business module corresponding with above-mentioned target service module.
On the other hand, because each business module needs to be transferred to the business datum of opposite end VSM member devices, will transfer to above-mentioned Passage processing module carries out unifying burst treatment, and each business module on local terminal VSM member devices is no longer participate in message fragment, The configuration function code related to burst thus can will be no longer needed in each business module, such that it is able to significantly reduce each industry The size of code and BUG probability of happening of module of being engaged in, while advantageously reducing the maintenance difficulties and maintenance cost of each business module.
Embodiment with the message fragmenting method of above-mentioned VSM passages is corresponding, present invention also provides above-mentioned for performing The embodiment of the device of embodiment of the method.
It is a kind of frame construction drawing of the message fragment device of VSM passages shown in the application referring to Fig. 5:
As shown in figure 5, the message fragment device 50 of the VSM passages includes:
Buffer unit 510, for will be sent in local target service module the need for be transferred to the opposite end VSM member and set Standby target data, is cached in message buffer corresponding with the VSM passages.
Judging unit 520, for judging whether the target data needs burst based on pre-configured MTU.
Transmitting element 530, if needing burst for the target data, burst is carried out for the target data, and Fragment message is sent to the opposite end VSM member devices by the VSM passages;Wherein, the fragment message carries described The mark of target service module, with by opposite end VSM member devices it is determined that the target service module in advance in the VSM passages When completing registration, assembled for the fragment message corresponding to the target data for receiving, and the institute for obtaining will be assembled State and its local business module corresponding with the target service module is delivered in target data.
In this example, described device also includes:
First receiving unit 540, for when the local terminal VSM member devices start, receiving local each business module The registration request submitted to after initialization is completed.
Registering unit 550, for the registration request submitted to based on each business module, by each business module local terminal VSM into The corresponding passage processing module of VSM passages between member's equipment and the VSM member devices of opposite end completes registration.
In this example, described device also includes:
Second receiving unit 560, for receiving the data message that opposite end VSM member devices send.
Determining unit 570, for determining whether the business module completes to register in the passage processing module.
On send unit 580, if for the business module the passage processing module complete register, determine the number Whether it is fragment message according to message, if it is, the fragment message that will be received is in message buffer corresponding with the VSM passages Cached, and assembled for the fragment message for caching, delivered in the data that will be obtained after assembling and the business module Corresponding local service module;If the data message is not fragment message, by the data of the data message it is above-mentioned to The corresponding local service module of the business module.
In this example, described device also includes:
Discarding unit 590, if not completing to register in the passage processing module for the business module, abandons and receives The data message for arriving.
In this example, the transmitting element 530, if being further used for the target data does not need burst, to institute After stating target data and carrying out message encapsulation, sent to the opposite end VSM member devices, with by described right by the VSM passages End VSM member devices will deliver to its local business module corresponding with the target service module in the target data.
The embodiment of the message fragment device of the application VSM passages can be applied on local terminal VSM member devices.Device reality Applying example can be realized by software, it is also possible to be realized by way of hardware or software and hardware combining.As a example by implemented in software, make It is the device on a logical meaning, is the processor by local terminal VSM member devices where it by nonvolatile memory Corresponding computer program instructions run what is formed in reading internal memory.From for hardware view, as shown in fig. 6, being the application A kind of hardware structure diagram of local terminal VSM member devices where the message fragment device of VSM passages, except the processor shown in Fig. 6, Outside internal memory, network interface and nonvolatile memory, the local terminal usual root of VSM member devices in embodiment where device According to the actual functional capability of the message fragment device of the VSM passages, other hardware can also be included, this is repeated no more.
The function of unit and the implementation process of effect correspond to step in specifically referring to the above method in said apparatus Implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.Device embodiment described above is only schematical, wherein described as separating component The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Selection some or all of module therein is needed to realize the purpose of application scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, is not used to limit the application, all essences in the application Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.

Claims (10)

1. a kind of message fragmenting method of VSM passages, is applied to local terminal VSM member devices;Wherein, the local terminal VSM member sets Each business module of standby and opposite end VSM member devices, in advance in the local terminal VSM member devices and opposite end VSM member devices Between the corresponding passage processing module of VSM passages complete registration, it is characterised in that including:
The target data of the opposite end VSM member devices is transferred to the need for being sent in local target service module, with institute The corresponding message buffer of VSM passages is stated to be cached;
Judge whether the target data needs burst based on pre-configured MTU;
If the target data needs burst, burst is carried out for the target data, and fragment message is passed through into the VSM Passage is sent to the opposite end VSM member devices;Wherein, the fragment message carries the mark of the target service module, with By opposite end VSM member devices when it is determined that the target service module completes to register in the VSM passages in advance, for receiving The fragment message corresponding to the target data assembled, and will to assemble that deliver to its in the target data that obtains local Business module corresponding with the target service module.
2. method according to claim 1, it is characterised in that methods described also includes:
When the local terminal VSM member devices start, the registration that local each business module is submitted to after initialization is completed is received Request;
Based on each business module submit to registration request, by each business module local terminal VSM member devices Yu opposite end VSM member The corresponding passage processing module of VSM passages between equipment completes registration.
3. method according to claim 2, it is characterised in that methods described also includes:
Receive the data message that opposite end VSM member devices send;
Determine whether the business module completes to register in the passage processing module;
If the business module completes to register in the passage processing module, determine whether the data message is burst report Text, if it is, the fragment message that will be received is cached in message buffer corresponding with the VSM passages, and for slow The fragment message deposited is assembled, and local service mould corresponding with the business module is delivered in the data that will be obtained after assembling Block;
It is corresponding with the business module by being delivered in the data of the data message if the data message is not fragment message Local service module.
4. method according to claim 3, it is characterised in that methods described also includes:
If the business module does not complete to register in the passage processing module, the data message that discarding is received.
5. method according to claim 1, it is characterised in that methods described also includes:
If the target data does not need burst, after carrying out message encapsulation to the target data, by the VSM passages Send to the opposite end member VSM equipment, it is local so that by the opposite end VSM member devices its will be delivered in the target data Business module corresponding with the target service module.
6. a kind of message fragment device of VSM passages, is applied to local terminal VSM member devices;Wherein, the local terminal VSM member sets Each business module of standby and opposite end VSM member devices, in advance in the local terminal VSM member devices and opposite end VSM member devices Between the corresponding passage processing module of VSM passages complete registration, it is characterised in that including:
Buffer unit, for will be sent in local target service module the need for be transferred to the mesh of the opposite end VSM member devices Mark data, are cached in message buffer corresponding with the VSM passages;
Judging unit, for judging whether the target data needs burst based on pre-configured MTU;
Transmitting element, if needing burst for the target data, burst is carried out for the target data, and by burst report Text is sent to the opposite end VSM member devices by the VSM passages;Wherein, the fragment message carries the target service The mark of module, with by opposite end VSM member devices it is determined that the target service module in advance the VSM passages complete register When, assembled for the fragment message corresponding to the target data for receiving, and the number of targets for obtaining will be assembled According to above delivering to its local business module corresponding with the target service module.
7. device according to claim 6, it is characterised in that described device also includes:
First receiving unit, completes just for when the local terminal VSM member devices start, receiving local each business module The registration request submitted to after beginningization;
Registering unit, for the registration request submitted to based on each business module, by each business module local terminal VSM member devices with The corresponding passage processing module of VSM passages between the VSM member devices of opposite end completes registration.
8. device according to claim 7, it is characterised in that described device also includes:
Second receiving unit, for receiving the data message that opposite end VSM member devices send;
Determining unit, for determining whether the business module completes to register in the passage processing module;
On send unit, if for the business module the passage processing module complete register, determine the data message Whether it is fragment message, if it is, the fragment message that will be received is delayed in message buffer corresponding with the VSM passages Deposit, and assembled for the fragment message for caching, delivered in the data that will be obtained after assembling corresponding with the business module Local service module;If the data message is not fragment message, by the data of the data message it is above-mentioned to the industry The corresponding local service module of business module.
9. device according to claim 8, it is characterised in that described device also includes:
Discarding unit, if not completing to register in the passage processing module for the business module, the institute that discarding is received State data message.
10. device according to claim 6, it is characterised in that described device also includes:
The transmitting element, if being further used for the target data does not need burst, reports to the target data After text encapsulation, sent to the opposite end VSM member devices by the VSM passages, with by the opposite end VSM member devices by institute State and its local business module corresponding with the target service module is delivered in target data.
CN201611260427.0A 2016-12-30 2016-12-30 A kind of message fragmenting method and device in the channel VSM Active CN106713170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611260427.0A CN106713170B (en) 2016-12-30 2016-12-30 A kind of message fragmenting method and device in the channel VSM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611260427.0A CN106713170B (en) 2016-12-30 2016-12-30 A kind of message fragmenting method and device in the channel VSM

Publications (2)

Publication Number Publication Date
CN106713170A true CN106713170A (en) 2017-05-24
CN106713170B CN106713170B (en) 2019-09-06

Family

ID=58905678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611260427.0A Active CN106713170B (en) 2016-12-30 2016-12-30 A kind of message fragmenting method and device in the channel VSM

Country Status (1)

Country Link
CN (1) CN106713170B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822646A (en) * 2021-04-19 2021-05-18 中兴通讯股份有限公司 Message processing method and device, electronic equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863165A (en) * 2006-01-24 2006-11-15 华为技术有限公司 Method for reducing data IP fragmentation quantity in PS network
CN101217540A (en) * 2008-01-04 2008-07-09 杭州华三通信技术有限公司 A self-adapting regulation method, device and system of message tunnel slicing
US7844056B1 (en) * 2003-10-01 2010-11-30 Cisco Technology, Inc. Method and apparatus for encapsulating long messages over limited fibre channel extended link service
CN102118356A (en) * 2009-12-30 2011-07-06 华为技术有限公司 Message transmission method and transmission device
CN104270255A (en) * 2014-09-05 2015-01-07 烽火通信科技股份有限公司 A module and method for communication between nodes based on LINX progress
CN105933232A (en) * 2016-03-29 2016-09-07 东北大学 Multi-path transmission control terminal and method for supporting multi-service data transmission

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7844056B1 (en) * 2003-10-01 2010-11-30 Cisco Technology, Inc. Method and apparatus for encapsulating long messages over limited fibre channel extended link service
CN1863165A (en) * 2006-01-24 2006-11-15 华为技术有限公司 Method for reducing data IP fragmentation quantity in PS network
CN101217540A (en) * 2008-01-04 2008-07-09 杭州华三通信技术有限公司 A self-adapting regulation method, device and system of message tunnel slicing
CN102118356A (en) * 2009-12-30 2011-07-06 华为技术有限公司 Message transmission method and transmission device
CN104270255A (en) * 2014-09-05 2015-01-07 烽火通信科技股份有限公司 A module and method for communication between nodes based on LINX progress
CN105933232A (en) * 2016-03-29 2016-09-07 东北大学 Multi-path transmission control terminal and method for supporting multi-service data transmission

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822646A (en) * 2021-04-19 2021-05-18 中兴通讯股份有限公司 Message processing method and device, electronic equipment and computer readable storage medium
CN112822646B (en) * 2021-04-19 2021-08-13 中兴通讯股份有限公司 Message processing method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN106713170B (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CA2509404C (en) Using direct memory access for performing database operations between two or more machines
US7577707B2 (en) Method, system, and program for executing data transfer requests
WO2020236274A1 (en) System and method for facilitating efficient event notification management for a network interface controller (nic)
US7831745B1 (en) Scalable direct memory access using validation of host and scatter gather engine (SGE) generation indications
EP1841162B1 (en) Method and system for an os virtualization-aware network interface card
US10686872B2 (en) Network interface device
US7103888B1 (en) Split model driver using a push-push messaging protocol over a channel based network
US9003053B2 (en) Message acceleration
US7760741B2 (en) Network acceleration architecture
US20100150174A1 (en) Stateless Fibre Channel Sequence Acceleration for Fibre Channel Traffic Over Ethernet
US9240899B2 (en) Method for implementing virtual network port and embedded device for implementing virtual network port
US10686731B2 (en) Network interface device
US6760304B2 (en) Apparatus and method for receive transport protocol termination
CN111064680B (en) Communication device and data processing method
US20200236026A1 (en) Systems and methods for processing network traffic using dynamic memory
US8539089B2 (en) System and method for vertical perimeter protection
US20070171927A1 (en) Multicast traffic forwarding in system supporting point-to-point (PPP) multi-link
US20050091390A1 (en) Speculative method and system for rapid data communications
US20070291779A1 (en) Techniques to process network protocol units
US9871666B2 (en) Intermediate unicast network and method for multicast data networks
KR20020052064A (en) Method for operating reliable protocol of transmit data between transmission unit
CN106713170A (en) Message fragmentation method and device for VSM channel
CN114138707A (en) Data transmission system based on FPGA
US8892767B1 (en) Method and apparatus for communication of a target over point-to-point interface with a host managing wireless LAN services and target resources
AU2003300885B2 (en) Using direct memory access for performing database operations between two or more machines

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210621

Address after: 310051 05, room A, 11 floor, Chung Cai mansion, 68 Tong Xing Road, Binjiang District, Hangzhou, Zhejiang.

Patentee after: Hangzhou Dip Information Technology Co.,Ltd.

Address before: 6 / F, Zhongcai building, 68 Tonghe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou DPtech Technologies Co.,Ltd.

TR01 Transfer of patent right