Summary of the invention
Embodiments of the invention provide a kind of sending method and device of message file, are used to realize the breakpoint transmission of message-oriented middleware.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of sending method of message file comprises:
Obtain the recorded information of the unit data bag that message file sent;
According to the recorded information of the described unit data bag that has sent, determine the unit data bag that described message file does not send;
Send the described unit data bag that does not send to transferring device, described unit data bag carries the unit data bag sum information that described message file splits;
The unit data package informatin that has sent is recorded in the described recorded information.
A kind of dispensing device of message file comprises:
Information acquisition unit is used to obtain the recorded information of the unit data bag that message file sent;
Do not send determining unit, be used for recorded information, determine the unit data bag that described message file does not send according to the described unit data bag that has sent;
Transmitting element is used for sending the described unit data bag that does not send to transferring device, and described unit data bag carries the unit data bag sum information that described message file splits;
Send record cell, the unit data package informatin that is used for having sent is recorded in described recorded information.
Embodiments of the invention provide a kind of middle shifting method and transferring device of message file, are used to realize the breakpoint transmission of message-oriented middleware.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of middle shifting method of message file comprises:
Receive and store the unit data bag of the message file fractionation of dispensing device transmission;
Set up the routing table of transmitting described unit data bag;
According to the routing iinformation of receiving system correspondence in the described routing table, described unit data bag is transmitted at least one receiving system;
Deletion has received the routing iinformation of the receiving system correspondence of described unit data bag from described routing table.
A kind of transferring device of message file comprises:
Receive memory cell, be used to receive and store the unit data bag that message file that dispensing device sends splits;
Route is set up the unit, is used to set up the routing iinformation of transmitting described unit data bag;
Retransmission unit is used for the routing iinformation according to described routing table receiving system correspondence, and described unit data bag is transmitted at least one receiving system;
The route delete cells is used for having received from the deletion of described routing table the routing iinformation of the receiving system correspondence of described unit data bag.
Embodiments of the invention provide a kind of method of reseptance and device of message file, are used to realize the breakpoint transmission of message-oriented middleware.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of method of reseptance of message file comprises:
Receive and store the unit data bag of the message file fractionation of transferring device forwarding, described unit data bag carries the unit data bag sum information that described message file splits;
The unit data package informatin that has received is stored in the recorded information;
The unit data bag sum information that the described message file that carries according to the recorded information of the unit data bag that has received and described unit data bag splits judges whether all unit data bags of described message file all receive;
If all receive all unit data bags of described message file, then assemble all unit data bags of described message file.
A kind of receiving system of message file comprises:
Receive memory cell, be used to receive and store the unit data bag that message file that transferring device transmits splits, described unit data bag carries the unit data bag sum information that described message file splits;
The receiving record unit, the unit data package informatin that is used for having received is stored in recorded information;
Receive judging unit, be used for the unit data bag sum information that described message file that recorded information and described unit data bag according to the unit data bag that has received carry splits, judge whether all unit data bags of described message file all receive;
Module units is used for then assembling described unit data bag if all receive all unit data bags of message file.
Embodiments of the invention provide a kind of transmission system of message file, are used to realize the breakpoint transmission of message-oriented middleware.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of transmission system of message file comprises message file dispensing device and message file transferring device and message file receiving system;
Wherein said message file dispensing device, be used to obtain the recorded information of the unit data bag that message file sent, recorded information according to the described unit data bag that has sent, determine the unit data bag that described message file does not send, send the described unit data bag that does not send to the message file transferring device, described unit data bag carries the unit data bag sum information that described message file splits, and the unit data package informatin that has sent is recorded in the described recorded information;
Described message file transferring device, be used to receive and store the unit data bag that message file that described message file dispensing device sends splits, set up the routing table of transmitting described unit data bag, routing iinformation according to receiving system correspondence in the described routing table, described unit data bag is transmitted at least one message file receiving system, and deletion has received the routing iinformation of the message file receiving system correspondence of described unit data bag from described routing table;
Described message file receiving system, be used to receive the unit data bag of the message file fractionation of also storing message file transferring device forwarding, described unit data bag carries the unit data bag sum information that described message file splits, the unit data package informatin that has received is stored in the recorded information, the unit data bag sum information that the described message file that carries according to the recorded information of the unit data bag that has received and described unit data bag splits, whether all unit data bags of judging described message file all receive, if all receive all unit data bags of described message file, then assemble all unit data bags of described message file.
The sending method of the message file that the embodiment of the invention provides and device, by the recorded information of dispensing device according to the described unit data bag that has sent, send the unit data bag that does not send, and the unit data package informatin that sent of record, realized of the breakpoint transmission of the dispensing device in message-oriented middleware field to message file, thus, when having avoided transmission to run into accident midway and go offline, need restart transmission and cause data transmission period to prolong, problems such as network traffics waste, thereby improved reliability of data transmission and data transmission performance between the enterprise application system, saved network bandwidth resources.
The middle shifting method and the device of the message file that the embodiment of the invention provides, behind the unit data bag that transferring device receives and the storing message file splits, set up corresponding routing table, transmit the unit data bag according to the routing iinformation in the described routing table, and delete the routing iinformation of the receiving system correspondence of recruiting unit's packet, realized of the breakpoint forwarding of the message file transferring device in message-oriented middleware field to message file, thus, when having avoided transmission to run into accident midway and go offline, need restart transmission and cause data transmission period to prolong, problems such as network traffics waste, thereby improved reliability of data transmission and data transmission performance between the enterprise application system, saved network bandwidth resources.
The method of reseptance of the message file that the embodiment of the invention provides and device, by the unit data bag that receiving system receives and the storing message file splits, when judging all unit data Bao Junyi receptions that whole message file splits, described unit data package is dressed up message file, realized of the breakpoint reception of the receiving system in message-oriented middleware field to message file, thus, when having avoided transmission to run into accident midway and go offline, need restart transmission and cause data transmission period to prolong, problems such as network traffics waste, thereby improved reliability of data transmission and data transmission performance between the enterprise application system, saved network bandwidth resources.
The transmission system of the message file that the embodiment of the invention provides, send the unit data bag that does not send by the message file dispensing device to the message file transferring device according to the recorded information of the described unit data bag that has sent, the message file transferring device receives and stores described unit data bag, set up corresponding routing table, transmit the unit data bag according to described routing table, the message file receiving system receives and stores described unit data bag, when judging all unit data Bao Junyi receptions that whole message file splits, described unit data package is dressed up message file.Realized the breakpoint transmission to message file in the message-oriented middleware field, thus, when having avoided transmission to run into accident midway and go offline, need restart transmission and cause problems such as data transmission period prolongation, network traffics waste, thereby improved reliability of data transmission and data transmission performance between the enterprise application system, saved network bandwidth resources.
Embodiment
The embodiment of the invention provides a kind of transmission, transfer of message file, method, device and the transmission system of reception, is used to realize the breakpoint transmission in message-oriented middleware field.Below in conjunction with accompanying drawing the embodiment of the invention is described in detail.
Embodiment one
In order to realize the breakpoint transmission of message-oriented middleware, the embodiment of the invention provides a kind of transmission system of message file, as shown in Figure 1, the transmission system of embodiment of the invention message file comprises message file dispensing device 101 and message file transferring device 102 and message file receiving system 103;
Wherein said message file dispensing device 101, be used to obtain the recorded information of the unit data bag that message file sent, recorded information according to the described unit data bag that has sent, determine the unit data bag that described message file does not send, send the described unit data bag that does not send to message file transferring device 102, described unit data bag carries the unit data bag sum information that described message file splits, and the unit data package informatin that has sent is recorded in the described recorded information;
Described message file transferring device 102, be used to receive and store the unit data bag that message file that described message file dispensing device 101 sends splits, set up the routing table of transmitting described unit data bag, routing iinformation according to receiving system correspondence in the described routing table, described unit data bag is transmitted at least one message file receiving system, and deletion has received the routing iinformation of message file receiving system 103 correspondences of described unit data bag from described routing table;
Described message file receiving system 103, be used to receive the also unit data bag of the message file fractionation of storing message file transferring device 102 forwardings, described unit data bag carries the unit data bag sum information that described message file splits, the unit data package informatin that has received is stored in the recorded information, the unit data bag sum information that the described message file that carries according to the recorded information of the unit data bag that has received and described unit data bag splits, whether all unit data bags of judging described message file all receive, if all receive all unit data bags of described message file, then assemble all unit data bags of described message file.
The transmission system of the message file that the embodiment of the invention one provides, send the unit data bag that does not send by the message file dispensing device to the message file transferring device according to the recorded information of the described unit data bag that has sent, the message file transferring device receives and stores described unit data bag, set up corresponding routing table, transmit the unit data bag according to described routing table, the message file receiving system receives and stores the unit data bag of described forwarding, when judging all unit data Bao Junyi receptions that whole message file splits, described unit data package is dressed up message file.Realized the breakpoint transmission to message file in the message-oriented middleware field, thus, when having avoided transmission to run into accident midway and go offline, need restart transmission and cause problems such as data transmission period prolongation, network traffics waste, thereby improved reliability of data transmission and data transmission performance between the enterprise application system, saved network bandwidth resources.
Embodiment two
With embodiment one correspondingly, the embodiment of the invention provides a kind of sending method of message file, as shown in Figure 2, the sending method of embodiment of the invention message file comprises:
201, dispensing device obtains the recorded information of the unit data bag that message file sent;
Be specifically as follows: dispensing device is behind transferring device (data exchange service device) in the connection, if the existing part of the message file that sends is sent out, obtain the recorded information that sends the unit data bag of message file so, promptly knowing has the unit data of which described message file bag to be sent out success.
202, dispensing device is determined the unit data bag that described message file does not send according to the recorded information of the described unit data bag that has sent;
Be specifically as follows: according to the recorded information of this unit data bag that has sent, the numbering that can determine to have sent the sum of unit data bag and send the unit data bag, the unit data bag sum that the sum of the unit data bag that has sent more and this message file split, if both are not simultaneously, determine the unit data bag that this message file of existence does not send, the numbering of the unit data bag that numbering and this message file by the unit data bag that sent more splits is determined the unit data bag that this message file does not send.
203, dispensing device sends the described unit data bag that does not send to transferring device, and described unit data bag carries the unit data bag sum information that described message file splits.
The unit data package informatin that 204, will send is recorded in the described recorded information.
For example, the numbering of the unit data bag that record has sent in described recorded information.
In addition, before the recorded information of obtaining the described unit data bag that has sent, if message file is greater than the size of specifying the unit data bag, described message file is split at least two unit data bags that do not send, in described unit data bag, add the unit data bag sum information that described message file splits.Be specifically as follows: do not exist the message file correspondence send the recorded information of unit data bag the time, according to the size of this message file and the big or small unit of account packet sum M of the unit data bag of being scheduled to, this message file is split into M unit data bag according to the size of predetermined unit data bag, for these unit data packet numbers and according to numbering name unit data bag, in each unit data bag, add the unit data bag sum information that splits.Send first unit data bag to transferring device, and the unit data package informatin that will send is recorded in the described recorded information.
In addition, when determining not have the unit data bag that does not send, delete the recorded information of the unit data bag that described message file sent according to the described recorded information that has sent the unit data bag.
The sending method of the message file that the embodiment of the invention two provides, by the recorded information of dispensing device according to the described unit data bag that has sent, send the unit data bag that does not send, and the unit data package informatin that sent of record, realized of the breakpoint transmission of the dispensing device in message-oriented middleware field to message file, thus, when having avoided transmission to run into accident midway and go offline, need restart transmission and cause data transmission period to prolong, problems such as network traffics waste, thereby improved reliability of data transmission and data transmission performance between the enterprise application system, saved network bandwidth resources.
Embodiment three
The embodiment of the invention also provides a kind of middle shifting method of message file, and as shown in Figure 3, the middle shifting method of embodiment of the invention message file comprises:
The unit data bag of the message file fractionation that 301, transferring device receives and the storage dispensing device sends.
Be specifically as follows: transferring device (data exchange service device) is stored in this unit data bag in the local disk of transferring device after receiving the unit data bag of dispensing device transmission.
302, transferring device is set up the routing table of transmitting described unit data bag;
Be specifically as follows: after transferring device (data exchange service device) receives this unit data bag, according to routing rule, set up the routing table of transmitting described unit data bag, it also can be a plurality of that the receiving system that receives described unit data bag can be one, therefore, described routing table comprises the routing iinformation of the described unit data bag of the pairing forwarding of all receiving systems that receive described unit data bag.
303, transferring device is transmitted at least one receiving system according to the routing iinformation of receiving system correspondence in the described routing table with described unit data bag;
Be specifically as follows: after transferring device (data exchange service device) is set up described routing table, from described routing table, obtain the receiving system information of described unit data bag, judge whether to be connected with these receiving systems, if oneself is connected with described receiving system, then, described unit data bag is transmitted to described receiving system according to the routing iinformation of described receiving system correspondence.If there is the receiving system that does not connect this moment, wait until that then described receiving system connects when going up transferring device, judge whether to exist the unit data bag that is transmitted to described receiving system according to the routing iinformation in the routing table, if have the unit data bag that is transmitted to described receiving system, then described unit data bag be transmitted to described receiving system.
304, transferring device is deleted the routing iinformation of the receiving system correspondence that has received described unit data bag from described routing table.
Received the routing iinformation of the receiving system correspondence of described unit data bag by deletion, make the transferring device can be by the routing iinformation of storing in the routing table, definite receiving system that described unit data is not forwarded to, when being connected, described unit data bag is transmitted to described receiving system with the described receiving system of not transmitting.
In addition, when can also there be the routing iinformation of the receiving system correspondence that receives described unit data bag in transferring device in described routing table, when the receiving system that promptly needs to receive described unit data bag has all received described unit data bag, delete described routing table and described unit data bag.
The middle shifting method of the message file that the embodiment of the invention three provides, behind the unit data bag that transferring device receives and the storing message file splits, set up corresponding routing table, transmit the unit data bag according to the routing iinformation in the described routing table, and delete the routing iinformation of the receiving system correspondence of recruiting unit's packet, realized of the breakpoint forwarding of the transferring device in message-oriented middleware field to message file, thus, when having avoided transmission to run into accident midway and go offline, need restart transmission and cause data transmission period to prolong, problems such as network traffics waste, thereby improved reliability of data transmission and data transmission performance between the enterprise application system, saved network bandwidth resources.
Embodiment four
The embodiment of the invention also provides a kind of method of reseptance of message file, and as shown in Figure 4, the method for reseptance of embodiment of the invention message file comprises:
401, receive and store the unit data bag of the message file fractionation of transferring device forwarding, described unit data bag carries the unit data bag sum information that described message file splits;
Be specifically as follows: receiving system is stored in this unit data bag on the local disk of receiving system after receiving the unit data bag of message file fractionation.
The unit data package informatin that 402, will receive is stored in the recorded information.
Be specifically as follows the numbering that receiving system writes down the unit data bag that has received.
403, the unit data bag sum information that splits of the described message file that carries according to the recorded information and the described unit data bag of the unit data bag that received judges whether all unit data bags of described message file all receive;
Be specifically as follows: receiving system is according to the recorded information of the unit data bag that has received, the sum of definite unit data bag that has received, the sum of the unit data bag that the sum of the unit data bag that has received more and described message file split, if both equate that then all unit data bags of described message file all receive.
404, if all receive all unit data bags of described message file, then assemble all unit data bags of described message file.
Be specifically as follows: if receiving system has received all unit data bags of described message file, then receiving system is assembled all unit data bags of described message file according to the numbering of the unit data bag of described message file.In addition, can also when having received all unit data bags of described message file, receiving system delete the unit data bag recorded information that described message file has received.
The method of reseptance of the message file that the embodiment of the invention four provides, by the unit data bag that receiving system receives and the storing message file splits, when judging all unit data Bao Junyi receptions that whole message file splits, described unit data package is dressed up message file, realized of the breakpoint reception of the receiving system in message-oriented middleware field to message file, thus, when having avoided transmission to run into accident midway and go offline, need restart transmission and cause data transmission period to prolong, problems such as network traffics waste, thereby improved reliability of data transmission and data transmission performance between the enterprise application system, saved network bandwidth resources.
Below in conjunction with embodiment two, three, four, the transmission method of message file is explained in further detail.
Embodiment five
The embodiment of the invention also provides a kind of transmission method of message file, and the transmission method of embodiment of the invention message file comprises:
501, according to message file size that will send and unit data bag size unit of account packet sum, and be these unit data packet numbers, in each unit data bag, add the unit data bag sum information that splits.
For example, the file of the message file that send is called ML23KUS9000036.txt, and size is 2M, and each unit data bag size is set to 64K, and then this message file always is divided into 2*1024*1024/ (64*1024)=32 bag transmission.The filename that bag name that can described unit data bag is set to send adds numbering, then is followed successively by ML23KUS90000360001 ..., ML23KUS90000360032, and described unit data bag carries unit data bag sum information (32).
502, dispensing device sends described unit data bag successively according to the unit data packet number, and the current breakpoint information of record behind unit data bag of every transmission success promptly writes down the unit data package informatin that has sent.And, according to the breakpoint information of record, judge whether also to exist the unit data bag that does not send, if also there is the unit data bag that does not send, then continue to send the unit data bag that does not send.
For example, send described unit data bag successively from numbering 0001 beginning, when sending successfully the 5th unit data bag, just writing down breakpoint information is 5, according to the breakpoint information (5) of this moment, the unit data bag sum information (32) that splits, determine also to exist the unit data bag that does not send, continue to send the 6th unit data bag.
503, if dispensing device network when sending described unit data bag goes offline.Then dispensing device next time with after transferring device is connected, according to the breakpoint information of record, determine the unit data bag that do not send to continue the not unit data bag of transmission of transmission.
For example, if dispensing device is when sending the 6th unit data bag, network goes offline.Then dispensing device is after networking next time and login transferring device (data exchange service device) success, unit data package informatin (32) according to breakpoint information (5) that writes down this moment and fractionation, determine also to exist the unit data bag that does not send, begin to send from next unit data bag (i.e. the 6th unit data bag).In addition, if network normally sends remaining 27 bags, send the breakpoint information of the described unit data bag of all right deletion record of back dispensing device.
504, the unit data bag that transferring device receives and the storing message file splits.
For example, after transferring device (data exchange service device) receives the unit data bag of dispensing device transmission, the unit data bag is kept at transferring device local disk file, each unit data bag is preserved a file, file designation is that message file ID back adds 4 bit sequence number, saves as ML23KUS90000360001.txt to the ML23KUS90000360032.txt file after sending to transferring device as above-mentioned message file.
505, transferring device is set up the routing table of transmitting described unit data bag, routing iinformation according to receiving system correspondence in the described routing table, described unit data bag is transmitted at least one receiving system, and deletion has received the routing iinformation of the receiving system correspondence of described unit data bag from described routing table.
For example, transferring device (data exchange service device) obtains the message routing table of described unit data bag and deposits the routing table file in according to routing rule, transferring device obtains the receiving system tabulation from routing table and is two receiving systems of app1, app2, if this moment, app1 was online, app2 is not online, then described unit data bag is transmitted to app1, and from this routing table, the routing iinformation of app1 correspondence is deleted.When app2 networking login transferring device, transferring device determines to exist the unit data bag that is transmitted to app2 according to the routing iinformation that has the app2 correspondence in this routing table, then transmits the unit data bag according to corresponding routing iinformation in this routing table to app2.In addition, when transferring device when receiving system has been transmitted 18 unit data bags, app1 goes offline, then transferring device stops forwarding.Lay equal stress on after the new login Deng app1 networking, transferring device continues remaining 14 unit data bags are transmitted to app1 according to the routing table information of correspondence, the realization breakpoint transmission.
506, the unit data bag that receiving system receives and the storing message file splits, the unit data package informatin that record has received.
For example, receiving system is after receiving the unit data bag that transferring device forwards, the unit data bag is write relevant position in the local disk file in random-access mode, folder name is with the filename (not containing extension name) of message file, be file called after ML23KUS9000036, write down breakpoint information simultaneously, promptly write down the information of the unit data bag that has received.
507, receiving system splits information according to the described message file that the unit data bag recorded information that received and described unit data bag carry, and judges whether all unit data bags of described message file all receive.If receiving system has received all unit data bags of described message file, then assemble all unit data bags of described message file.
For example, according to the breakpoint information of record and the total information of the unit data bag of fractionation, judge whether to receive all unit data bags of described message file, all receive if judge all unit data bags of this message file, then described unit data package is dressed up complete message file.In addition, the breakpoint information that also needs deletion record.
The transmission method of the message file that the embodiment of the invention five provides, by the recorded information of dispensing device according to the described unit data bag that has sent, send the unit data bag that does not send to transferring device, and the unit data package informatin that sent of record, transferring device receives and stores described unit data bag, set up corresponding routing table, transmit the unit data bag according to described routing table, receiving system receives and stores the unit data bag of described forwarding, when judging all unit data Bao Junyi receptions that whole message file splits, described unit data package is dressed up message file.Realized the breakpoint transmission to message file in the message-oriented middleware field, thus, when having avoided transmission to run into accident midway and go offline, need restart transmission and cause problems such as data transmission period prolongation, network traffics waste, thereby improved reliability of data transmission and data transmission performance between the enterprise application system, saved network bandwidth resources.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Embodiment six
The embodiment of the invention also provides a kind of dispensing device of message file, and as shown in Figure 5, the dispensing device of embodiment of the invention message file comprises:
Information acquisition unit 601 is used to obtain the recorded information of the unit data bag that message file sent;
Do not send determining unit 602, be used for recorded information, determine the unit data bag that described message file does not send according to the described unit data bag that has sent;
Transmitting element 603 is used for sending the described unit data bag that does not send to transferring device, and described unit data bag carries the unit data bag sum information that described message file splits;
Send record cell 604, the unit data package informatin that is used for having sent is recorded in described recorded information.
Described dispensing device also comprises split cells 605, is used for described message file is split at least two unit data bags that do not send, and adds the unit data bag sum information that described message file splits in described unit data bag.
In addition, in order to save the memory space of dispensing device, can also in described dispensing device, add and send record deletion unit 606, described transmission record deletion unit 606, be used for when determining not have the unit data bag that does not send, delete the recorded information of the unit data bag that described message file sent according to the described recorded information that has sent the unit data bag.
The dispensing device of the message file that the embodiment of the invention six provides, by recorded information according to the described unit data bag that has sent, send the unit data bag that does not send to transferring device, and the unit data package informatin that sent of record, realized of the breakpoint transmission of the dispensing device in message-oriented middleware field to message file, thus, when having avoided transmission to run into accident midway and go offline, need restart transmission and cause data transmission period to prolong, problems such as network traffics waste, thereby improved reliability of data transmission and data transmission performance between the enterprise application system, saved network bandwidth resources.
Embodiment seven
The embodiment of the invention also provides a kind of transferring device of message file, and as shown in Figure 6, the transferring device of embodiment of the invention message file comprises:
Receive memory cell 701, be used to receive and store the unit data bag that message file that dispensing device sends splits;
Route is set up unit 702, is used to set up the routing iinformation of transmitting described unit data bag;
Retransmission unit 703 is used for the routing iinformation according to described routing table receiving system correspondence, and described unit data bag is transmitted at least one receiving system;
Route delete cells 704 is used for having received from the deletion of described routing table the routing iinformation of the receiving system correspondence of described unit data bag.
In addition, memory space for the transferring device of saving message file, can also in described transferring device, add data delete unit 705, described data delete unit 705, be used for when there is not the routing iinformation of the receiving system correspondence that receives described unit data bag in described routing table, delete described routing table and described unit data bag.
The transferring device of the message file that the embodiment of the invention seven provides, after receiving the unit data bag that also the storing message file splits, set up corresponding routing table, transmit the unit data bag according to the routing iinformation in the described routing table, and delete the routing iinformation of the receiving system correspondence of recruiting unit's packet, realized of the breakpoint forwarding of the transferring device in message-oriented middleware field to message file, thus, when having avoided transmission to run into accident midway and go offline, need restart transmission and cause data transmission period to prolong, problems such as network traffics waste, thereby improved reliability of data transmission and data transmission performance between the enterprise application system, saved network bandwidth resources.
Embodiment eight
The embodiment of the invention also provides a kind of receiving system of message file, and as shown in Figure 7, the receiving system of embodiment of the invention message file comprises:
Receive memory cell 801, be used to receive and store the unit data bag that message file that transferring device transmits splits, described unit data bag carries the unit data bag sum information that described message file splits;
Receiving record unit 802, the unit data package informatin that is used for having received is stored in recorded information;
Receive judging unit 803, be used for the unit data bag sum information that described message file that recorded information and described unit data bag according to the unit data bag that has received carry splits, judge whether all unit data bags of described message file all receive;
Module units 804 is used for then assembling described unit data bag if all receive all unit data bags of message file.
In addition, in order to save the memory space of receiving system, can also in receiving system, add receiving record delete cells 805, described receiving record delete cells 805, be used for if all receive all unit data bags of described message file, the recorded information of then deleting the unit data bag of described message file.
The receiving system of the message file that the embodiment of the invention eight provides, the unit data bag that the message file of transmitting by reception and storage transferring device splits, when judging all unit data Bao Junyi receptions that whole message file splits, described unit data package is dressed up message file, realized of the breakpoint reception of the receiving system in message-oriented middleware field to message file, thus, when having avoided transmission to run into accident midway and go offline, need restart transmission and cause data transmission period to prolong, problems such as network traffics waste, thereby improved reliability of data transmission and data transmission performance between the enterprise application system, saved network bandwidth resources.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.