CN101510893A - Method, device and transmission system for sending, transferring and receiving message document - Google Patents

Method, device and transmission system for sending, transferring and receiving message document Download PDF

Info

Publication number
CN101510893A
CN101510893A CNA2008102465667A CN200810246566A CN101510893A CN 101510893 A CN101510893 A CN 101510893A CN A2008102465667 A CNA2008102465667 A CN A2008102465667A CN 200810246566 A CN200810246566 A CN 200810246566A CN 101510893 A CN101510893 A CN 101510893A
Authority
CN
China
Prior art keywords
unit data
message file
data bag
receiving system
recorded information
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.)
Pending
Application number
CNA2008102465667A
Other languages
Chinese (zh)
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.)
Peking University
Founder International Beijing Co Ltd
Peking University Founder Group Co Ltd
Original Assignee
BEIJING FANGZHENG AODE COMPUTER SYSTEM Co Ltd
Beijing Founder Netcom Information Technology Co Ltd
Peking University
Peking University Founder Group 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 BEIJING FANGZHENG AODE COMPUTER SYSTEM Co Ltd, Beijing Founder Netcom Information Technology Co Ltd, Peking University, Peking University Founder Group Co Ltd filed Critical BEIJING FANGZHENG AODE COMPUTER SYSTEM Co Ltd
Priority to CNA2008102465667A priority Critical patent/CN101510893A/en
Publication of CN101510893A publication Critical patent/CN101510893A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a message file sending, transferring and receiving method, a device and a transmission system thereof, which pertain to the field of communication. A sending device sends unit data packets which are not sent to a transferring device according to the record information of unit data packets which are sent already; a transferring device receives and stores the unit data packets, establishes a corresponding routing table and transfers the unit data packets according to the routing table; a receiving device receives and stores the unit data packets; and when all unit data packets separated by the whole message file are determined to be received, the unit data packets are assembled into the message file. The method, the device and the transmission system realize the transmission resuming at break-points to the message file in the message middleware field and are applicable to the middleware field.

Description

The transmission of message file, transfer, method of reseptance, device and transmission system
Technical field
The present invention relates to the communications field, relate in particular to a kind of transmission, transfer, method of reseptance, device and transmission system of message file.
Background technology
Along with the continuous development of The present computer technology and network communications technology is popularized, utilize the Internet to carry out exchanges data and resource-sharing is very general.So-called breakpoint transmission, exactly when transmission runs into accident midway and goes offline, next time can be automatically in the past a breakpoint begin to continue transmission, thereby avoid causing wastes such as network traffics expense and time because of the network interruption.Released (Hypertext TransferProtocol at present based on HTTP, HTML (Hypertext Markup Language)) and FTP (File Transfer Protocol, file transfer protocol (FTP)) breakpoint transmission technology, and based on the breakpoint transmission technology of mail and instant messaging, these technological services are in the personal user, improve the personal user and downloaded data or the efficient by the immediate communication tool transfer files from the Internet, saved the network bandwidth.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: in the message-oriented middleware field of enterprise-level exchanges data and resource-sharing, the transmission mode of message file, requirement of data safe requirement, swap data amount etc. is all had any different in the personal user, the breakpoint transmission technology of serving personal user's transfer of data can't be applied in the message-oriented middleware field of enterprise-level exchanges data and resource-sharing, need be implemented in the scheme of the breakpoint transmission in message-oriented middleware field.
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.
Description of drawings
Fig. 1 is the formation schematic diagram of the transmission system of embodiment of the invention message file;
Fig. 2 is the schematic flow sheet of the sending method of embodiment of the invention message file;
Fig. 3 is the schematic flow sheet of the middle shifting method of embodiment of the invention message file;
Fig. 4 is the schematic flow sheet of the method for reseptance of embodiment of the invention message file;
Fig. 5 is the formation schematic diagram of the dispensing device of embodiment of the invention message file;
Fig. 6 is the formation schematic diagram of the transferring device of embodiment of the invention message file;
Fig. 7 is the formation schematic diagram of the receiving system of embodiment of the invention message file.
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.

Claims (17)

1, a kind of sending method of message file is characterized in that, comprising:
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.
2, the sending method of message file according to claim 1 is characterized in that, comprises before the step of the described recorded information of obtaining the unit data bag that message file sent:
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.
3, the sending method of message file according to claim 1 and 2 is characterized in that, also comprises:
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.
4, a kind of middle shifting method of message file is characterized in that, comprising:
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.
5, the middle shifting method of message file according to claim 4 is characterized in that, according to the routing iinformation of receiving system correspondence in the described routing table, the step that described unit data bag is transmitted at least one receiving system comprises:
Judge whether to be connected with described receiving system;
If be connected, then described unit data bag is transmitted to described receiving system with described receiving system.
6, the middle shifting method of message file according to claim 5 is characterized in that, the step that described unit data bag is transmitted to described receiving system comprises before:
Judge whether to exist the unit data bag that is transmitted to described receiving system.
7, the middle shifting method of message file according to claim 4 is characterized in that, also comprises:
When in described routing table, not having the routing iinformation of the receiving system correspondence that receives described unit data bag, delete described routing table and described unit data bag.
8, a kind of method of reseptance of message file is characterized in that, comprising:
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.
9, the method for reseptance of message file according to claim 8 is characterized in that, also comprises:
If all receive all unit data bags of described message file, then delete the unit data bag recorded information that described message file has received.
10, a kind of dispensing device of message file is characterized in that, comprising:
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.
11, the dispensing device of message file according to claim 10 is characterized in that, also comprises:
Split cells 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.
12, according to the dispensing device of claim 10 or 11 described message files, it is characterized in that, also comprise:
Send the record deletion unit, 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.
13, a kind of transferring device of message file is characterized in that, comprising:
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.
14, the transferring device of message file according to claim 13 is characterized in that, also comprises:
Data delete unit is used for when there is not the routing iinformation of the receiving system correspondence that receives described unit data bag in described routing table, deletes described routing table and described unit data bag.
15, a kind of receiving system of message file is characterized in that, comprising:
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.
16, the receiving system of message file according to claim 15 is characterized in that, also comprises:
The receiving record delete cells is 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.
17, a kind of transmission system of message file is characterized in that, 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.
CNA2008102465667A 2008-12-25 2008-12-25 Method, device and transmission system for sending, transferring and receiving message document Pending CN101510893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102465667A CN101510893A (en) 2008-12-25 2008-12-25 Method, device and transmission system for sending, transferring and receiving message document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102465667A CN101510893A (en) 2008-12-25 2008-12-25 Method, device and transmission system for sending, transferring and receiving message document

Publications (1)

Publication Number Publication Date
CN101510893A true CN101510893A (en) 2009-08-19

Family

ID=41003156

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102465667A Pending CN101510893A (en) 2008-12-25 2008-12-25 Method, device and transmission system for sending, transferring and receiving message document

Country Status (1)

Country Link
CN (1) CN101510893A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794465A (en) * 2010-04-02 2010-08-04 中兴通讯股份有限公司 Method and device for sending attendance data
CN102088441A (en) * 2009-12-08 2011-06-08 北京大学 Data encryption transmission method and system for message-oriented middleware
CN102868564A (en) * 2012-10-10 2013-01-09 山东中创软件商用中间件股份有限公司 Information persistence method and system
CN102957609A (en) * 2011-08-26 2013-03-06 北京大学 Message routing method and message routing device
CN102970107A (en) * 2012-11-14 2013-03-13 北京经纬恒润科技有限公司 Method and device for breakpoint renewing in data package transmitting procedure
CN103036804A (en) * 2011-10-08 2013-04-10 腾讯科技(深圳)有限公司 Method and system for controlling network upload speed
CN103297449A (en) * 2012-02-24 2013-09-11 腾讯科技(深圳)有限公司 File transmission method and instant messaging terminal and system
CN104731888A (en) * 2015-03-12 2015-06-24 北京奇虎科技有限公司 Data migration method, device and system
CN104869056A (en) * 2014-02-20 2015-08-26 明博教育科技有限公司 Institution personnel data synchronization method based on relational data separation
CN105027498A (en) * 2013-06-11 2015-11-04 章寅生 A method, system and device for securely storing data files at a remote location by splitting and reassembling said files
CN110704207A (en) * 2019-09-11 2020-01-17 口碑(上海)信息技术有限公司 Data processing method and device of business application middleware and storage medium
CN110888790A (en) * 2019-11-29 2020-03-17 杭州迪普科技股份有限公司 Log management method and device, electronic equipment and storage medium

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088441A (en) * 2009-12-08 2011-06-08 北京大学 Data encryption transmission method and system for message-oriented middleware
CN101794465B (en) * 2010-04-02 2015-05-20 中兴通讯股份有限公司 Method and device for sending attendance data
CN101794465A (en) * 2010-04-02 2010-08-04 中兴通讯股份有限公司 Method and device for sending attendance data
CN102957609A (en) * 2011-08-26 2013-03-06 北京大学 Message routing method and message routing device
CN102957609B (en) * 2011-08-26 2016-01-20 北京大学 The method and apparatus of Message routing
CN103036804B (en) * 2011-10-08 2016-02-03 腾讯科技(深圳)有限公司 The method and system of net control uploading speed
CN103036804A (en) * 2011-10-08 2013-04-10 腾讯科技(深圳)有限公司 Method and system for controlling network upload speed
US10015119B2 (en) 2012-02-24 2018-07-03 Tencent Technology (Shenzhen) Company Limited Method and system for file transfer, instant messaging terminal, and computer storage medium
CN103297449A (en) * 2012-02-24 2013-09-11 腾讯科技(深圳)有限公司 File transmission method and instant messaging terminal and system
CN102868564A (en) * 2012-10-10 2013-01-09 山东中创软件商用中间件股份有限公司 Information persistence method and system
CN102970107B (en) * 2012-11-14 2015-08-19 北京经纬恒润科技有限公司 The method that the transmission of data packets point of interruption renews and device
CN102970107A (en) * 2012-11-14 2013-03-13 北京经纬恒润科技有限公司 Method and device for breakpoint renewing in data package transmitting procedure
CN105027498B (en) * 2013-06-11 2018-05-18 章寅生 A kind of method and its system and device by remotely separating and assembling data file realization secure storage
CN105027498A (en) * 2013-06-11 2015-11-04 章寅生 A method, system and device for securely storing data files at a remote location by splitting and reassembling said files
CN104869056A (en) * 2014-02-20 2015-08-26 明博教育科技有限公司 Institution personnel data synchronization method based on relational data separation
CN104869056B (en) * 2014-02-20 2019-12-24 明博教育科技有限公司 Organization-personnel data synchronization method based on relationship-data separation
CN104731888A (en) * 2015-03-12 2015-06-24 北京奇虎科技有限公司 Data migration method, device and system
CN104731888B (en) * 2015-03-12 2018-09-04 北京奇虎科技有限公司 A kind of methods, devices and systems of Data Migration
CN110704207A (en) * 2019-09-11 2020-01-17 口碑(上海)信息技术有限公司 Data processing method and device of business application middleware and storage medium
CN110888790A (en) * 2019-11-29 2020-03-17 杭州迪普科技股份有限公司 Log management method and device, electronic equipment and storage medium
CN110888790B (en) * 2019-11-29 2024-02-27 杭州迪普科技股份有限公司 Log management method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101510893A (en) Method, device and transmission system for sending, transferring and receiving message document
EP2088791B1 (en) Method, system and device for increasing multimedia messaging service system capacity
CN101488928B (en) Internet enterprise group communication device and internet enterprise group communication method
CN100452753C (en) Data transmission system and method
US6765889B1 (en) Communication method and system
CN101406008A (en) Method, apparatus and system for supporting transparent proxy by wireless access gateway
CN102164097B (en) Mail system and data storage server
CN102056333A (en) WAP (wireless application protocol) gateway, service processing method thereof and WAP proxy server
CN1909507B (en) Method and system for message transfer
US7631043B2 (en) Method and apparatus for efficiently managing “messages sent” file and resending of messages from mobile wireless communication device
CN103516612B (en) Distribution router generates method and the distribution router of route table items
CN103314552B (en) Use the method for multicasting based on group of non-unified receiver
CN102986174B (en) Mail transmission system and Mail Gateway
CN101427277A (en) Quality of service for transmission of digital content
Scott Disruption tolerant networking proxies for on-the-move tactical networks
EP1667388A1 (en) Method and apparatus for efficient resending of messages using message ID
CN1487706B (en) Method, system and control process for enterprise to communicate timely
CN101651620B (en) Method for reconstructing Overlay multicast tree, multicast tree node and multicast tree system
CN109951388B (en) Routing uninterrupted method and main control board
CN102594665A (en) Business data transmission method and device
CN102088394A (en) Method and device for transmission of message file
JP2009152995A (en) Communication system, transmission terminal used for communication system, relay terminal used for communication system, communication method in communication system and computer program used for communication system
CN102447724B (en) Method, server and system for controlling peer-to-peer (P2P) download
CN101754109A (en) Message sending and receiving method based on fusion business system and fusion business system
CN101674548B (en) Distributing method and system for delivering report

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BEIDA FANGZHENG GROUP CO. LTD. FOUNDER INTERNATION

Free format text: FORMER OWNER: BEIDA FANGZHENG GROUP CO. LTD. BEIJING FOUNDER NETCOM INFORMATION TECHNOLOGY CO., LTDBEIJING FANGZHENG AODE COMPUTER SYSTEM CO., LTD.

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20110601

Address after: 100871 Beijing the Summer Palace Road, Haidian District, No. 5

Applicant after: Peking University

Co-applicant after: Peking Founder Group Co., Ltd.

Co-applicant after: Founder international software (Beijing) Co., Ltd.

Address before: 100871 Beijing the Summer Palace Road, Haidian District, No. 5

Applicant before: Peking University

Co-applicant before: Peking Founder Group Co., Ltd.

Co-applicant before: Beijing Founder Netcom Information Technology Co., Ltd.

Co-applicant before: Beijing Fangzheng Aode Computer System Co., Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090819