CN105450365A - Message-sending device and method, message-receiving device and method, and message interaction system - Google Patents

Message-sending device and method, message-receiving device and method, and message interaction system Download PDF

Info

Publication number
CN105450365A
CN105450365A CN201410413075.2A CN201410413075A CN105450365A CN 105450365 A CN105450365 A CN 105450365A CN 201410413075 A CN201410413075 A CN 201410413075A CN 105450365 A CN105450365 A CN 105450365A
Authority
CN
China
Prior art keywords
message
numbering
transmission
send
receiving apparatus
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
CN201410413075.2A
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 Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201410413075.2A priority Critical patent/CN105450365A/en
Publication of CN105450365A publication Critical patent/CN105450365A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a message-sending device comprising a statistic unit, a number-allocating unit, and an interactive unit. The statistic unit counts multiple sent messages sent to a message-receiving device. The number-allocating unit allocates a corresponding sending number to each of the multiple sent messages according to a preset number-allocating sequence and a sending sequence of the multiple sent messages. The interactive unit, according to the sending sequence of the multiple sent messages, sends each sent message and the sending number corresponding to the sent message to the message-receiving device in order that the message-receiving device determines un-received sent messages according to the preset number-allocating sequence and the sending numbers of received sent messages. Correspondingly, the invention further provides a message-receiving device and method and a message-sending method. The message-sending device may improve transmission safety and reliability.

Description

Message sends and message receiving apparatus and method thereof and message exchange system
Technical field
The present invention relates to data interaction technology field, in particular to a kind of message dispensing device, a kind of message receiving apparatus, a kind of message method, a kind of message receival method and message exchange system.
Background technology
The link of a lot of transmission of messages is all insecure at present, insecure reason divides two kinds: one is that physical link is unreliable, likely occur that some destabilizing factors cause information drop-out, a kind of be the agreement adopted is not the agreement of transmitting, likely causes information drop-out yet.
Therefore, need a kind of new technical scheme, message can be made under unreliable link to carry out transmitting, thus guarantee the safety and reliability of transmission.
Summary of the invention
The present invention, just based on the problems referred to above, proposes a kind of new technical scheme, and message can be made under unreliable link to carry out transmitting, thus guarantees the safety and reliability of transmission.
In view of this, the present invention proposes a kind of message dispensing device, comprising: statistic unit, statistics is sent to multiple transmission message of same message receiving apparatus; Numbering allocation units, be connected to described statistic unit, according to the sending order of preset numbers allocation order and described multiple transmission message, for each transmission message in described multiple transmission message distributes corresponding transmission numbering, wherein, described each transmission message has unique transmission numbering, and the transmission numbering transmission corresponding with adjacent transmission message corresponding to described each transmission message is numbered continuously; Interactive unit, be connected to described numbering allocation units, according to the sending order of described multiple transmission message, described each transmission message and the transmission corresponding with described each transmission message are numbered and is sent to described message receiving apparatus, determine the transmission message do not received for the transmission numbering that described message receiving apparatus is corresponding according to described preset numbers allocation order and the transmission message received.
In this technical scheme, according to preset numbers order and be sent to same message receiving apparatus multiple transmission message in the sending order of each transmission message be that each transmission message is distributed one and sent numbering, and each transmission numbering is unique, and multiple transmission numbering continuously, such as, for 10 the transmission message being sent to a message receiving apparatus distribute the numeral number from 1 to 10 respectively, like this, according to the numbering of number order with the transmission message received, the transmission message do not received can be determined, such as receive and be numbered 1, 2, 3, the transmission message of 6, then now can determine that the transmission message being numbered 4 and 5 between numbering 3 and numbering 6 does not receive, thus again sent the message being numbered 4 and 5 to the request of message dispensing device by message receiving apparatus, thus realize the transmitting of unreliable link, ensure the transmission security of data.
Wherein, numbering refers to there is front and back continuous print relation between numbering continuously, can judge size, and can draw by wantonly one or two numbering the numbering that both are middle.
In technique scheme, preferably, also comprise: memory cell, be connected to described numbering allocation units, each transmission message in described multiple transmission message and the transmission corresponding with described each transmission message are numbered and carries out association store.
In this technical scheme, each transmission message and the transmission corresponding with it numbering can be carried out association store, thus the convenient transmission sent according to message receiving apparatus is numbered the transmission message that it determines correspondence, and again sends this message to message receiving apparatus.
In technique scheme, preferably, described interactive unit also for: receive described message receiving apparatus send arbitrary transmission numbering time, from all transmission numberings of described cell stores, find out and number the target of mating and send with described arbitrary transmission and number, and obtain to send with described target and number the target be associated and send message, and described target transmission to be numbered and described target transmission message is sent to described message receiving apparatus.
In this technical scheme, when message dispensing device receives the transmission numbering of message receiving apparatus transmission, the transmission message of this numbering correspondence is found out from the information stored, then again this transmission message is sent to message receiving apparatus, ensure that message receiving apparatus can receive all message of message dispensing device transmission.
In technique scheme, preferably, described interactive unit also for: receive described message receiving apparatus send up-to-date transmission numbering inquiry request, and according to described up-to-date transmission numbering inquiry request, inquire about the up-to-date up-to-date transmission numbering being sent to described message receiving apparatus of described message dispensing device, and described up-to-date transmission numbering is sent to described message receiving apparatus, determine whether there is according to described up-to-date transmission numbering the transmission message do not received for described message receiving apparatus.
In this technical scheme, if message receiving apparatus does not receive new information, once up-to-date transmission numbering inquiry request can be sent to message dispensing device according to prefixed time interval (as 5 seconds), thus facilitate message receiving apparatus to determine whether to receive all transmission message of message dispensing device transmission, whether there is the transmission message do not received.
In technique scheme, preferably, the described type sending numbering comprises numeral number and/or alpha code.
In this technical scheme, send numbering and include, but are not limited to numeral number and alpha code, wherein, each transmission is numbered serial number, serial number refers to the combination of the code of front and back serial relation, can judge size, and can draw the numbering in the middle of both by any two numberings.When to send numbering be numeral number, as metric numeral: the next one of numbering 110 is numbered 111, between numbering 110 and numbering 115, be numbered 111,112,113 and 114.When transmission is numbered alpha code, the next one as aaa is numbered aab, and what aab and aad was middle is numbered aac.Similar example also has a lot, and in a word, as long as can the sizes of more any two numberings, obtain its next one numbering by a numbering, all well-regulated code combinations that can obtain middle numbering by any two numberings all meet the requirements.
According to a further aspect in the invention, additionally provide a kind of message receiving apparatus, comprising: interactive unit, the multiple transmission message and the transmission corresponding with each transmission message in described multiple transmission message that receive the transmission of described message dispensing device are numbered; Determining unit, is connected to described interactive unit, according to the reception order of preset numbers allocation order with the transmission numbering received, determines the transmission message that described message receiving apparatus does not receive.
In this technical scheme, message dispensing device according to preset numbers order and be sent to same message receiving apparatus multiple transmission message in the sending order of each transmission message be that each transmission message is distributed one and sent numbering, and each transmission numbering is unique, and multiple transmission numbering continuously, such as, for 10 the transmission message being sent to a message receiving apparatus distribute the numeral number from 1 to 10 respectively, like this, message receiving apparatus is according to the numbering of number order with the transmission message received, the transmission message do not received can be determined, such as receive and be numbered 1, 2, 3, the transmission message of 6, then now can determine that the transmission message being numbered 4 and 5 between numbering 3 and numbering 6 does not receive, thus again sent the message being numbered 4 and 5 to the request of message dispensing device by message receiving apparatus, thus realize the transmitting of unreliable link, ensure the transmission security of data.
In technique scheme, preferably, described interactive unit also for: the multiple transmission message received are sent in described message sink queue; Described message receiving apparatus also comprises: judging unit, is connected to described interactive unit, judges whether there is transmission message in described message sink queue according to prefixed time interval; Acquiring unit, is connected to described judging unit, is when there is described transmission message in described message sink queue in judged result, and the current head of the queue obtained in described message send queue sends message; Comparing unit, is connected to described acquiring unit, sends message numbering compare according to described preset numbers allocation order by corresponding with the transmission message that the last time resolves for the first corresponding for described current head of the queue transmission message transmission numbering second; And described determining unit specifically for: according to described first send message and described second send the comparative result of message determine described first send numbering and described second send number between whether there are other that do not receive and send and number, to determine whether there is the transmission message do not received.
In this technical scheme, the transmission message received is put into message sink queue by message receiving apparatus, and extraction transmission message is resolved from message sink queue, upper be once parsed time, then obtain transmission message from head of the queue to resolve, when getting transmission message, the transmission of this transmission message numbering is numbered with the transmission of last transmission message of resolving and compares, and then whether be adjacent both judging, if both are adjacent, the message not existing and do not receive then is described, if both are non-conterminous, the message do not received is had in the middle of then illustrating.
In technique scheme, preferably, described interactive unit also for: be when there is not described transmission message in described receiving queue in judged result, send up-to-date transmission numbering inquiry request to described message dispensing device; Described comparing unit also for: when receiving up-to-date the transmissions numbering that described message dispensing device sends, according to described preset numbers allocation order described up-to-date transmission to be numbered and described current head of the queue sends described first of message and sends numbering and compare; Described determining unit also for: according to described first send numbering and the described up-to-date comparative result sending numbering determine described up-to-date transmissions numbering and described first send whether to exist between numbering do not receive described in other send and number, to determine whether there is the transmission message do not received.
In this technical scheme, if message receiving apparatus does not receive new information, once up-to-date transmission numbering inquiry request can be sent to message dispensing device according to prefixed time interval (as 5 seconds), thus facilitate message receiving apparatus to determine whether to receive all transmission message of message dispensing device transmission, whether there is the transmission message do not received.
In technique scheme, preferably, described interactive unit also for: described first send numbering and described second send to exist between numbering described other send numberings time, described other are sent numbering and is sent to described message dispensing device, search for described message dispensing device and send described other send numbering corresponding send a message to described message receiving apparatus, and receive described other that described message dispensing device sends and send transmission message corresponding to numbering.
In this technical scheme, the transmission signal do not received can be issued message dispensing device by message receiving apparatus, when message dispensing device receives the transmission numbering of message receiving apparatus transmission, the transmission message of this numbering correspondence is found out from the information stored, then again this transmission message is sent to message receiving apparatus, ensure that message receiving apparatus can receive all message of message dispensing device transmission.
In technique scheme, preferably, described determining unit specifically for: described first send numbering numbering allocation order be positioned at described second send numbering numbering allocation order before time, the transmission message sending numbering corresponding by described first is given up, and determine described first send numbering and described second send number between there are not other that do not receive and send and number; After the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, and described first send numbering and described second sends the numbering allocation order of number adjacent time, determine described first transmission number and described second send number between there are not other that do not receive and send and number; After the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, and described first send numbering with described second send the numbering allocation order of numbering non-conterminous time, determine described first send numbering and described second sends number between there are other that do not receive and send and number, and send according to described first the numbering allocation order that the numbering allocation order of numbering and described second transmission number and determine that other transmissions do not received are numbered; And described first send numbering with described up-to-date send number consistent time, determine to there is not the transmission message do not received; Described first send numbering with described up-to-date send number inconsistent time, determine to there is the transmission message do not received, and send the numbering allocation order of numbering and described up-to-date other transmission numberings sending the numbering allocation order of numbering and determine not receive according to described first.
In this technical scheme, particularly, can according to send numbering whether adjacent or consistent, or its tandem determine two send numbering between whether exist other numbering.Wherein, send numbering and include, but are not limited to numeral number and alpha code, wherein, each transmission is numbered serial number, serial number refers to the combination of the code of front and back serial relation, can judge size, and can draw the numbering in the middle of both by any two numberings.When to send numbering be numeral number, as metric numeral: the next one of numbering 110 is numbered 111, between numbering 110 and numbering 115, be numbered 111,112,113 and 114.When transmission is numbered alpha code, the next one as aaa is numbered aab, and what aab and aad was middle is numbered aac.Similar example also has a lot, and in a word, as long as can the sizes of more any two numberings, obtain its next one numbering by a numbering, all well-regulated code combinations that can obtain middle numbering by any two numberings all meet the requirements.
According to another aspect of the invention, additionally provide a kind of message method, comprising: statistics is sent to multiple transmission message of same message receiving apparatus; According to the sending order of preset numbers allocation order and described multiple transmission message, for each transmission message in described multiple transmission message distributes corresponding transmission numbering, wherein, described each transmission message has unique transmission numbering, and the transmission numbering transmission corresponding with adjacent transmission message corresponding to described each transmission message is numbered continuously; According to the sending order of described multiple transmission message, described each transmission message and the transmission corresponding with described each transmission message are numbered and is sent to described message receiving apparatus, determine the transmission message do not received for the transmission numbering that described message receiving apparatus is corresponding according to described preset numbers allocation order and the transmission message received.
In this technical scheme, according to preset numbers order and be sent to same message receiving apparatus multiple transmission message in the sending order of each transmission message be that each transmission message is distributed one and sent numbering, and each transmission numbering is unique, and multiple transmission numbering continuously, such as, for 10 the transmission message being sent to a message receiving apparatus distribute the numeral number from 1 to 10 respectively, like this, according to the numbering of number order with the transmission message received, the transmission message do not received can be determined, such as receive and be numbered 1, 2, 3, the transmission message of 6, then now can determine that the transmission message being numbered 4 and 5 between numbering 3 and numbering 6 does not receive, thus again sent the message being numbered 4 and 5 to the request of message dispensing device by message receiving apparatus, thus realize the transmitting of unreliable link, ensure the transmission security of data.
Wherein, numbering refers to there is front and back continuous print relation between numbering continuously, can judge size, and can draw by wantonly one or two numbering the numbering that both are middle.
In technique scheme, preferably, also comprise: each transmission message in described multiple transmission message and the transmission corresponding with described each transmission message are numbered and carries out association store.
In this technical scheme, each transmission message and the transmission corresponding with it numbering can be carried out association store, thus the convenient transmission sent according to message receiving apparatus is numbered the transmission message that it determines correspondence, and again sends this message to message receiving apparatus.
In technique scheme, preferably, also comprise: when receiving arbitrary transmission numbering that described message receiving apparatus sends, from all transmission numberings stored, find out and number the target of mating and send with described arbitrary transmission and number, and obtain to send with described target and number the target be associated and send message, and described target transmission to be numbered and described target transmission message is sent to described message receiving apparatus.
In this technical scheme, when message dispensing device receives the transmission numbering of message receiving apparatus transmission, the transmission message of this numbering correspondence is found out from the information stored, then again this transmission message is sent to message receiving apparatus, ensure that message receiving apparatus can receive all message of message dispensing device transmission.
In technique scheme, preferably, also comprise: receive the up-to-date transmission numbering inquiry request that described message receiving apparatus sends; And according to described up-to-date transmission numbering inquiry request, inquire about the up-to-date up-to-date transmission numbering being sent to described message receiving apparatus of described message dispensing device, and described up-to-date transmission numbering is sent to described message receiving apparatus, determine whether there is according to described up-to-date transmission numbering the transmission message do not received for described message receiving apparatus.
In this technical scheme, if message receiving apparatus does not receive new information, once up-to-date transmission numbering inquiry request can be sent to message dispensing device according to prefixed time interval (as 5 seconds), thus facilitate message receiving apparatus to determine whether to receive all transmission message of message dispensing device transmission, whether there is the transmission message do not received.
In technique scheme, preferably, the described type sending numbering comprises numeral number and/or alpha code.
In this technical scheme, send numbering and include, but are not limited to numeral number and alpha code, wherein, each transmission is numbered serial number, serial number refers to the combination of the code of front and back serial relation, can judge size, and can draw the numbering in the middle of both by any two numberings.When to send numbering be numeral number, as metric numeral: the next one of numbering 110 is numbered 111, between numbering 110 and numbering 115, be numbered 111,112,113 and 114.When transmission is numbered alpha code, the next one as aaa is numbered aab, and what aab and aad was middle is numbered aac.Similar example also has a lot, and in a word, as long as can the sizes of more any two numberings, obtain its next one numbering by a numbering, all well-regulated code combinations that can obtain middle numbering by any two numberings all meet the requirements.
In accordance with a further aspect of the present invention, additionally provide a kind of message receival method, comprising: the multiple transmission message and the transmission corresponding with each transmission message in described multiple transmission message that receive the transmission of described message dispensing device are numbered; According to the reception order of preset numbers allocation order with the transmission numbering received, determine the transmission message that described message receiving apparatus does not receive.
In this technical scheme, message dispensing device according to preset numbers order and be sent to same message receiving apparatus multiple transmission message in the sending order of each transmission message be that each transmission message is distributed one and sent numbering, and each transmission numbering is unique, and multiple transmission numbering continuously, such as, for 10 the transmission message being sent to a message receiving apparatus distribute the numeral number from 1 to 10 respectively, like this, message receiving apparatus is according to the numbering of number order with the transmission message received, the transmission message do not received can be determined, such as receive and be numbered 1, 2, 3, the transmission message of 6, then now can determine that the transmission message being numbered 4 and 5 between numbering 3 and numbering 6 does not receive, thus again sent the message being numbered 4 and 5 to the request of message dispensing device by message receiving apparatus, thus realize the transmitting of unreliable link, ensure the transmission security of data.
In technique scheme, preferably, also comprise: the multiple transmission message received are sent in described message sink queue; Judge whether there is transmission message in described message sink queue according to prefixed time interval; Be when there is described transmission message in described message sink queue in judged result, the current head of the queue obtained in described message send queue sends message; Send message numbering according to described preset numbers allocation order by corresponding with the transmission message that the last time resolves for the first corresponding for described current head of the queue transmission message transmission numbering second to compare; And according to described first send message and described second send the comparative result of message determine described first send numbering and described second send number between whether there are other that do not receive and send and number, to determine whether there is the transmission message do not received.
In this technical scheme, message dispensing device according to preset numbers order and be sent to same message receiving apparatus multiple transmission message in the sending order of each transmission message be that each transmission message is distributed one and sent numbering, and each transmission numbering is unique, and multiple transmission numbering continuously, such as, for 10 the transmission message being sent to a message receiving apparatus distribute the numeral number from 1 to 10 respectively, like this, message receiving apparatus is according to the numbering of number order with the transmission message received, the transmission message do not received can be determined, such as receive and be numbered 1, 2, 3, the transmission message of 6, then now can determine that the transmission message being numbered 4 and 5 between numbering 3 and numbering 6 does not receive, thus again sent the message being numbered 4 and 5 to the request of message dispensing device by message receiving apparatus, thus realize the transmitting of unreliable link, ensure the transmission security of data.
In technique scheme, preferably, also comprise: be when there is not described transmission message in described receiving queue in judged result, send up-to-date transmission numbering inquiry request to described message dispensing device; When receiving up-to-date the transmissions numbering that described message dispensing device sends, according to described preset numbers allocation order described up-to-date transmission to be numbered and described current head of the queue sends described first of message and sends numbering and compare; According to described first send numbering and the described up-to-date comparative result sending numbering determine described up-to-date transmissions numbering and described first send whether to exist between numbering do not receive described in other send and number, to determine whether there is the transmission message do not received.
In this technical scheme, the transmission message received is put into message sink queue by message receiving apparatus, and extraction transmission message is resolved from message sink queue, upper be once parsed time, then obtain transmission message from head of the queue to resolve, when getting transmission message, the transmission of this transmission message numbering is numbered with the transmission of last transmission message of resolving and compares, and then whether be adjacent both judging, if both are adjacent, the message not existing and do not receive then is described, if both are non-conterminous, the message do not received is had in the middle of then illustrating.
In technique scheme, preferably, also comprise: when between described first sends numbering and described second transmission is numbered, described other of existence send numbering, described other are sent numbering and is sent to described message dispensing device, search for described message dispensing device and send described other send numbering corresponding send a message to described message receiving apparatus, and receive described other that described message dispensing device sends and send transmission message corresponding to numbering.
In this technical scheme, if message receiving apparatus does not receive new information, once up-to-date transmission numbering inquiry request can be sent to message dispensing device according to prefixed time interval (as 5 seconds), thus facilitate message receiving apparatus to determine whether to receive all transmission message of message dispensing device transmission, whether there is the transmission message do not received.
In technique scheme, preferably, according to described first send message and described second send the comparative result of message determine described first send numbering and described second send number between whether there are other that do not receive and send and number, specifically comprise: time before the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, the transmission message sending numbering corresponding by described first is given up, and determine described first send numbering and described second send number between there are not other that do not receive and send and number; After the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, and described first send numbering and described second sends the numbering allocation order of number adjacent time, determine described first transmission number and described second send number between there are not other that do not receive and send and number; After the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, and described first send numbering with described second send the numbering allocation order of numbering non-conterminous time, determine described first send numbering and described second sends number between there are other that do not receive and send and number, and send according to described first the numbering allocation order that the numbering allocation order of numbering and described second transmission number and determine that other transmissions do not received are numbered; And described according to described first send numbering and the described up-to-date comparative result sending numbering determine described up-to-date transmissions numbering and described first send whether to exist between numbering do not receive described in other send and number, specifically comprise: described first send numbering with described up-to-date send number consistent time, determine to there is not the transmission message do not received; Described first send numbering with described up-to-date send number inconsistent time, determine to there is the transmission message do not received, and send the numbering allocation order of numbering and described up-to-date other transmission numberings sending the numbering allocation order of numbering and determine not receive according to described first.
In this technical scheme, particularly, can according to send numbering whether adjacent or consistent, or its tandem determine two send numbering between whether exist other numbering.Wherein, send numbering and include, but are not limited to numeral number and alpha code, wherein, each transmission is numbered serial number, serial number refers to the combination of the code of front and back serial relation, can judge size, and can draw the numbering in the middle of both by any two numberings.When to send numbering be numeral number, as metric numeral: the next one of numbering 110 is numbered 111, between numbering 110 and numbering 115, be numbered 111,112,113 and 114.When transmission is numbered alpha code, the next one as aaa is numbered aab, and what aab and aad was middle is numbered aac.Similar example also has a lot, and in a word, as long as can the sizes of more any two numberings, obtain its next one numbering by a numbering, all well-regulated code combinations that can obtain middle numbering by any two numberings all meet the requirements.
In accordance with a further aspect of the present invention, additionally provide a kind of message exchange system, comprise the message receiving apparatus according to any one of technique scheme and message dispensing device.This message exchange system has the technique effect identical with message dispensing device with message receiving apparatus, does not repeat them here.
By above technical scheme, message can be made under unreliable link to carry out transmitting, thus guarantee the safety and reliability of transmission.
Accompanying drawing explanation
Fig. 1 shows the block diagram of message dispensing device according to an embodiment of the invention;
Fig. 2 shows the block diagram of message receiving apparatus according to an embodiment of the invention;
Fig. 3 shows the flow chart of message method according to an embodiment of the invention;
Fig. 4 shows the flow chart of message receival method according to an embodiment of the invention;
Fig. 5 shows the block diagram of data interaction system according to an embodiment of the invention;
Fig. 6 shows the flow chart that message according to an embodiment of the invention sends;
Fig. 7 shows the flow chart of message sink according to an embodiment of the invention;
Fig. 8 shows the particular flow sheet of message receival method according to an embodiment of the invention.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Set forth a lot of detail in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
Fig. 1 shows the block diagram of message dispensing device according to an embodiment of the invention.
As shown in Figure 1, message dispensing device 100 according to an embodiment of the invention, comprising: statistic unit 102, and statistics is sent to multiple transmission message of same message receiving apparatus; Numbering allocation units 104, be connected to described statistic unit 102, according to the sending order of preset numbers allocation order and described multiple transmission message, for each transmission message in described multiple transmission message distributes corresponding transmission numbering, wherein, described each transmission message has unique transmission numbering, and the transmission numbering transmission corresponding with adjacent transmission message corresponding to described each transmission message is numbered continuously; Interactive unit 106, be connected to described numbering allocation units 104, according to the sending order of described multiple transmission message, described each transmission message and the transmission corresponding with described each transmission message are numbered and is sent to described message receiving apparatus, determine the transmission message do not received for the transmission numbering that described message receiving apparatus is corresponding according to described preset numbers allocation order and the transmission message received.
In this technical scheme, according to preset numbers order and be sent to same message receiving apparatus multiple transmission message in the sending order of each transmission message be that each transmission message is distributed one and sent numbering, and each transmission numbering is unique, and multiple transmission numbering continuously, such as, for 10 the transmission message being sent to a message receiving apparatus distribute the numeral number from 1 to 10 respectively, like this, according to the numbering of number order with the transmission message received, the transmission message do not received can be determined, such as receive and be numbered 1, 2, 3, the transmission message of 6, then now can determine that the transmission message being numbered 4 and 5 between numbering 3 and numbering 6 does not receive, thus again sent the message being numbered 4 and 5 to the request of message dispensing device by message receiving apparatus, thus realize the transmitting of unreliable link, ensure the transmission security of data.
Wherein, numbering refers to there is front and back continuous print relation between numbering continuously, can judge size, and can draw by wantonly one or two numbering the numbering that both are middle.
In technique scheme, preferably, also comprise: memory cell 108, be connected to described numbering allocation units 104, each transmission message in described multiple transmission message and the transmission corresponding with described each transmission message are numbered and carries out association store.
In this technical scheme, each transmission message and the transmission corresponding with it numbering can be carried out association store, thus the convenient transmission sent according to message receiving apparatus is numbered the transmission message that it determines correspondence, and again sends this message to message receiving apparatus.
In technique scheme, preferably, described interactive unit 106 also for: receive described message receiving apparatus send arbitrary transmission numbering time, from all transmission numberings that described memory cell 108 stores, find out and number the target of mating and send with described arbitrary transmission and number, and obtain to send with described target and number the target be associated and send message, and described target transmission to be numbered and described target transmission message is sent to described message receiving apparatus.
In this technical scheme, when message dispensing device receives the transmission numbering of message receiving apparatus transmission, the transmission message of this numbering correspondence is found out from the information stored, then again this transmission message is sent to message receiving apparatus, ensure that message receiving apparatus can receive all message of message dispensing device transmission.
In technique scheme, preferably, described interactive unit 104 also for: receive described message receiving apparatus send up-to-date transmission numbering inquiry request, and according to described up-to-date transmission numbering inquiry request, inquire about the up-to-date up-to-date transmission numbering being sent to described message receiving apparatus of described message dispensing device, and described up-to-date transmission numbering is sent to described message receiving apparatus, determine whether there is according to described up-to-date transmission numbering the transmission message do not received for described message receiving apparatus.
In this technical scheme, if message receiving apparatus does not receive new information, once up-to-date transmission numbering inquiry request can be sent to message dispensing device according to prefixed time interval (as 5 seconds), thus facilitate message receiving apparatus to determine whether to receive all transmission message of message dispensing device transmission, whether there is the transmission message do not received.
In technique scheme, preferably, the described type sending numbering comprises numeral number and/or alpha code.
In this technical scheme, send numbering and include, but are not limited to numeral number and alpha code, wherein, each transmission is numbered serial number, serial number refers to the combination of the code of front and back serial relation, can judge size, and can draw the numbering in the middle of both by any two numberings.When to send numbering be numeral number, as metric numeral: the next one of numbering 110 is numbered 111, between numbering 110 and numbering 115, be numbered 111,112,113 and 114.When transmission is numbered alpha code, the next one as aaa is numbered aab, and what aab and aad was middle is numbered aac.Similar example also has a lot, and in a word, as long as can the sizes of more any two numberings, obtain its next one numbering by a numbering, all well-regulated code combinations that can obtain middle numbering by any two numberings all meet the requirements.
Fig. 2 shows the block diagram of message receiving apparatus according to an embodiment of the invention.
As shown in Figure 2, message receiving apparatus 200 according to an embodiment of the invention, comprising: interactive unit 202, and the multiple transmission message and the transmission corresponding with each transmission message in described multiple transmission message that receive the transmission of described message dispensing device are numbered; Determining unit 204, is connected to described interactive unit 202, according to the reception order of preset numbers allocation order with the transmission numbering received, determines the transmission message that described message receiving apparatus does not receive.
In this technical scheme, message dispensing device according to preset numbers order and be sent to same message receiving apparatus multiple transmission message in the sending order of each transmission message be that each transmission message is distributed one and sent numbering, and each transmission numbering is unique, and multiple transmission numbering continuously, such as, for 10 the transmission message being sent to a message receiving apparatus distribute the numeral number from 1 to 10 respectively, like this, message receiving apparatus is according to the numbering of number order with the transmission message received, the transmission message do not received can be determined, such as receive and be numbered 1, 2, 3, the transmission message of 6, then now can determine that the transmission message being numbered 4 and 5 between numbering 3 and numbering 6 does not receive, thus again sent the message being numbered 4 and 5 to the request of message dispensing device by message receiving apparatus, thus realize the transmitting of unreliable link, ensure the transmission security of data.
In technique scheme, preferably, described interactive unit 202 also for: the multiple transmission message received are sent in described message sink queue; Described message receiving apparatus 200 also comprises: judging unit 206, is connected to described interactive unit 202, judges whether there is transmission message in described message sink queue according to prefixed time interval; Acquiring unit 208, is connected to described judging unit 206, is when there is described transmission message in described message sink queue in judged result, and the current head of the queue obtained in described message send queue sends message; Comparing unit 210, is connected to described acquiring unit 208, sends message numbering compare according to described preset numbers allocation order by corresponding with the transmission message that the last time resolves for the first corresponding for described current head of the queue transmission message transmission numbering second; And described determining unit 204 specifically for: according to described first send message and described second send the comparative result of message determine described first send numbering and described second send number between whether there are other that do not receive and send and number, to determine whether there is the transmission message do not received.
In this technical scheme, the transmission message received is put into message sink queue by message receiving apparatus, and extraction transmission message is resolved from message sink queue, upper be once parsed time, then obtain transmission message from head of the queue to resolve, when getting transmission message, the transmission of this transmission message numbering is numbered with the transmission of last transmission message of resolving and compares, and then whether be adjacent both judging, if both are adjacent, the message not existing and do not receive then is described, if both are non-conterminous, the message do not received is had in the middle of then illustrating.
In technique scheme, preferably, described interactive unit 202 also for: be when there is not described transmission message in described receiving queue in judged result, send up-to-date transmission numbering inquiry request to described message dispensing device; Described comparing unit 210 also for: when receiving up-to-date the transmissions numbering that described message dispensing device sends, according to described preset numbers allocation order described up-to-date transmission to be numbered and described current head of the queue sends described first of message and sends numbering and compare; Described determining unit 204 also for: according to described first send numbering and the described up-to-date comparative result sending numbering determine described up-to-date transmissions numbering and described first send whether to exist between numbering do not receive described in other send and number, to determine whether there is the transmission message do not received.
In this technical scheme, if message receiving apparatus does not receive new information, once up-to-date transmission numbering inquiry request can be sent to message dispensing device according to prefixed time interval (as 5 seconds), thus facilitate message receiving apparatus to determine whether to receive all transmission message of message dispensing device transmission, whether there is the transmission message do not received.
In technique scheme, preferably, described interactive unit 202 also for: described first send numbering and described second send to exist between numbering described other send numberings time, described other are sent numbering and is sent to described message dispensing device, search for described message dispensing device and send described other send numbering corresponding send a message to described message receiving apparatus, and receive described other that described message dispensing device sends and send transmission message corresponding to numbering.
In this technical scheme, the transmission signal do not received can be issued message dispensing device by message receiving apparatus, when message dispensing device receives the transmission numbering of message receiving apparatus transmission, the transmission message of this numbering correspondence is found out from the information stored, then again this transmission message is sent to message receiving apparatus, ensure that message receiving apparatus can receive all message of message dispensing device transmission.
In technique scheme, preferably, described determining unit 204 specifically for: described first send numbering numbering allocation order be positioned at described second send numbering numbering allocation order before time, the transmission message sending numbering corresponding by described first is given up, and determine described first send numbering and described second send number between there are not other that do not receive and send and number; After the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, and described first send numbering and described second sends the numbering allocation order of number adjacent time, determine described first transmission number and described second send number between there are not other that do not receive and send and number; After the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, and described first send numbering with described second send the numbering allocation order of numbering non-conterminous time, determine described first send numbering and described second sends number between there are other that do not receive and send and number, and send according to described first the numbering allocation order that the numbering allocation order of numbering and described second transmission number and determine that other transmissions do not received are numbered; And described first send numbering with described up-to-date send number consistent time, determine to there is not the transmission message do not received; Described first send numbering with described up-to-date send number inconsistent time, determine to there is the transmission message do not received, and send the numbering allocation order of numbering and described up-to-date other transmission numberings sending the numbering allocation order of numbering and determine not receive according to described first.
In this technical scheme, particularly, can according to send numbering whether adjacent or consistent, or its tandem determine two send numbering between whether exist other numbering.Wherein, send numbering and include, but are not limited to numeral number and alpha code, wherein, each transmission is numbered serial number, serial number refers to the combination of the code of front and back serial relation, can judge size, and can draw the numbering in the middle of both by any two numberings.When to send numbering be numeral number, as metric numeral: the next one of numbering 110 is numbered 111, between numbering 110 and numbering 115, be numbered 111,112,113 and 114.When transmission is numbered alpha code, the next one as aaa is numbered aab, and what aab and aad was middle is numbered aac.Similar example also has a lot, and in a word, as long as can the sizes of more any two numberings, obtain its next one numbering by a numbering, all well-regulated code combinations that can obtain middle numbering by any two numberings all meet the requirements.
Fig. 3 shows the flow chart of message method according to an embodiment of the invention.
As shown in Figure 3, message method according to an embodiment of the invention, comprising: step 302, and statistics is sent to multiple transmission message of same message receiving apparatus; Step 304, according to the sending order of preset numbers allocation order and described multiple transmission message, for each transmission message in described multiple transmission message distributes corresponding transmission numbering, wherein, described each transmission message has unique transmission numbering, and the transmission numbering transmission corresponding with adjacent transmission message corresponding to described each transmission message is numbered continuously; Step 306, according to the sending order of described multiple transmission message, described each transmission message and the transmission corresponding with described each transmission message are numbered and is sent to described message receiving apparatus, determine the transmission message do not received for the transmission numbering that described message receiving apparatus is corresponding according to described preset numbers allocation order and the transmission message received.
In this technical scheme, according to preset numbers order and be sent to same message receiving apparatus multiple transmission message in the sending order of each transmission message be that each transmission message is distributed one and sent numbering, and each transmission numbering is unique, and multiple transmission numbering continuously, such as, for 10 the transmission message being sent to a message receiving apparatus distribute the numeral number from 1 to 10 respectively, like this, according to the numbering of number order with the transmission message received, the transmission message do not received can be determined, such as receive and be numbered 1, 2, 3, the transmission message of 6, then now can determine that the transmission message being numbered 4 and 5 between numbering 3 and numbering 6 does not receive, thus again sent the message being numbered 4 and 5 to the request of message dispensing device by message receiving apparatus, thus realize the transmitting of unreliable link, ensure the transmission security of data.
Wherein, numbering refers to there is front and back continuous print relation between numbering continuously, can judge size, and can draw by wantonly one or two numbering the numbering that both are middle.
In technique scheme, preferably, also comprise: each transmission message in described multiple transmission message and the transmission corresponding with described each transmission message are numbered and carries out association store.
In this technical scheme, each transmission message and the transmission corresponding with it numbering can be carried out association store, thus the convenient transmission sent according to message receiving apparatus is numbered the transmission message that it determines correspondence, and again sends this message to message receiving apparatus.
In technique scheme, preferably, also comprise: when receiving arbitrary transmission numbering that described message receiving apparatus sends, from all transmission numberings stored, find out and number the target of mating and send with described arbitrary transmission and number, and obtain to send with described target and number the target be associated and send message, and described target transmission to be numbered and described target transmission message is sent to described message receiving apparatus.
In this technical scheme, when message dispensing device receives the transmission numbering of message receiving apparatus transmission, the transmission message of this numbering correspondence is found out from the information stored, then again this transmission message is sent to message receiving apparatus, ensure that message receiving apparatus can receive all message of message dispensing device transmission.
In technique scheme, preferably, also comprise: receive the up-to-date transmission numbering inquiry request that described message receiving apparatus sends; And according to described up-to-date transmission numbering inquiry request, inquire about the up-to-date up-to-date transmission numbering being sent to described message receiving apparatus of described message dispensing device, and described up-to-date transmission numbering is sent to described message receiving apparatus, determine whether there is according to described up-to-date transmission numbering the transmission message do not received for described message receiving apparatus.
In this technical scheme, if message receiving apparatus does not receive new information, once up-to-date transmission numbering inquiry request can be sent to message dispensing device according to prefixed time interval (as 5 seconds), thus facilitate message receiving apparatus to determine whether to receive all transmission message of message dispensing device transmission, whether there is the transmission message do not received.
In technique scheme, preferably, the described type sending numbering comprises numeral number and/or alpha code.
In this technical scheme, send numbering and include, but are not limited to numeral number and alpha code, wherein, each transmission is numbered serial number, serial number refers to the combination of the code of front and back serial relation, can judge size, and can draw the numbering in the middle of both by any two numberings.When to send numbering be numeral number, as metric numeral: the next one of numbering 110 is numbered 111, between numbering 110 and numbering 115, be numbered 111,112,113 and 114.When transmission is numbered alpha code, the next one as aaa is numbered aab, and what aab and aad was middle is numbered aac.Similar example also has a lot, and in a word, as long as can the sizes of more any two numberings, obtain its next one numbering by a numbering, all well-regulated code combinations that can obtain middle numbering by any two numberings all meet the requirements.
Fig. 4 shows the flow chart of message receival method according to an embodiment of the invention.
As shown in Figure 4, message receival method according to an embodiment of the invention, comprising: step 402, and the multiple transmission message and the transmission corresponding with each transmission message in described multiple transmission message that receive the transmission of described message dispensing device are numbered; Step 404, according to the reception order of preset numbers allocation order with the transmission numbering received, determines the transmission message that described message receiving apparatus does not receive.
In this technical scheme, message dispensing device according to preset numbers order and be sent to same message receiving apparatus multiple transmission message in the sending order of each transmission message be that each transmission message is distributed one and sent numbering, and each transmission numbering is unique, and multiple transmission numbering continuously, such as, for 10 the transmission message being sent to a message receiving apparatus distribute the numeral number from 1 to 10 respectively, like this, message receiving apparatus is according to the numbering of number order with the transmission message received, the transmission message do not received can be determined, such as receive and be numbered 1, 2, 3, the transmission message of 6, then now can determine that the transmission message being numbered 4 and 5 between numbering 3 and numbering 6 does not receive, thus again sent the message being numbered 4 and 5 to the request of message dispensing device by message receiving apparatus, thus realize the transmitting of unreliable link, ensure the transmission security of data.
In technique scheme, preferably, also comprise: the multiple transmission message received are sent in described message sink queue; Judge whether there is transmission message in described message sink queue according to prefixed time interval; Be when there is described transmission message in described message sink queue in judged result, the current head of the queue obtained in described message send queue sends message; Send message numbering according to described preset numbers allocation order by corresponding with the transmission message that the last time resolves for the first corresponding for described current head of the queue transmission message transmission numbering second to compare; And according to described first send message and described second send the comparative result of message determine described first send numbering and described second send number between whether there are other that do not receive and send and number, to determine whether there is the transmission message do not received.
In this technical scheme, message dispensing device according to preset numbers order and be sent to same message receiving apparatus multiple transmission message in the sending order of each transmission message be that each transmission message is distributed one and sent numbering, and each transmission numbering is unique, and multiple transmission numbering continuously, such as, for 10 the transmission message being sent to a message receiving apparatus distribute the numeral number from 1 to 10 respectively, like this, message receiving apparatus is according to the numbering of number order with the transmission message received, the transmission message do not received can be determined, such as receive and be numbered 1, 2, 3, the transmission message of 6, then now can determine that the transmission message being numbered 4 and 5 between numbering 3 and numbering 6 does not receive, thus again sent the message being numbered 4 and 5 to the request of message dispensing device by message receiving apparatus, thus realize the transmitting of unreliable link, ensure the transmission security of data.
In technique scheme, preferably, also comprise: be when there is not described transmission message in described receiving queue in judged result, send up-to-date transmission numbering inquiry request to described message dispensing device; When receiving up-to-date the transmissions numbering that described message dispensing device sends, according to described preset numbers allocation order described up-to-date transmission to be numbered and described current head of the queue sends described first of message and sends numbering and compare; According to described first send numbering and the described up-to-date comparative result sending numbering determine described up-to-date transmissions numbering and described first send whether to exist between numbering do not receive described in other send and number, to determine whether there is the transmission message do not received.
In this technical scheme, the transmission message received is put into message sink queue by message receiving apparatus, and extraction transmission message is resolved from message sink queue, upper be once parsed time, then obtain transmission message from head of the queue to resolve, when getting transmission message, the transmission of this transmission message numbering is numbered with the transmission of last transmission message of resolving and compares, and then whether be adjacent both judging, if both are adjacent, the message not existing and do not receive then is described, if both are non-conterminous, the message do not received is had in the middle of then illustrating.
In technique scheme, preferably, also comprise: when between described first sends numbering and described second transmission is numbered, described other of existence send numbering, described other are sent numbering and is sent to described message dispensing device, search for described message dispensing device and send described other send numbering corresponding send a message to described message receiving apparatus, and receive described other that described message dispensing device sends and send transmission message corresponding to numbering.
In this technical scheme, if message receiving apparatus does not receive new information, once up-to-date transmission numbering inquiry request can be sent to message dispensing device according to prefixed time interval (as 5 seconds), thus facilitate message receiving apparatus to determine whether to receive all transmission message of message dispensing device transmission, whether there is the transmission message do not received.
In technique scheme, preferably, according to described first send message and described second send the comparative result of message determine described first send numbering and described second send number between whether there are other that do not receive and send and number, specifically comprise: time before the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, the transmission message sending numbering corresponding by described first is given up, and determine described first send numbering and described second send number between there are not other that do not receive and send and number; After the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, and described first send numbering and described second sends the numbering allocation order of number adjacent time, determine described first transmission number and described second send number between there are not other that do not receive and send and number; After the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, and described first send numbering with described second send the numbering allocation order of numbering non-conterminous time, determine described first send numbering and described second sends number between there are other that do not receive and send and number, and send according to described first the numbering allocation order that the numbering allocation order of numbering and described second transmission number and determine that other transmissions do not received are numbered; And
Described according to described first send numbering and the described up-to-date comparative result sending numbering determine described up-to-date transmissions numbering and described first send whether to exist between numbering do not receive described in other send and number, specifically comprise: described first send numbering with described up-to-date send number consistent time, determine to there is not the transmission message do not received; Described first send numbering with described up-to-date send number inconsistent time, determine to there is the transmission message do not received, and send the numbering allocation order of numbering and described up-to-date other transmission numberings sending the numbering allocation order of numbering and determine not receive according to described first.
In this technical scheme, particularly, can according to send numbering whether adjacent or consistent, or its tandem determine two send numbering between whether exist other numbering.Wherein, send numbering and include, but are not limited to numeral number and alpha code, wherein, each transmission is numbered serial number, serial number refers to the combination of the code of front and back serial relation, can judge size, and can draw the numbering in the middle of both by any two numberings.When to send numbering be numeral number, as metric numeral: the next one of numbering 110 is numbered 111, between numbering 110 and numbering 115, be numbered 111,112,113 and 114.When transmission is numbered alpha code, the next one as aaa is numbered aab, and what aab and aad was middle is numbered aac.Similar example also has a lot, and in a word, as long as can the sizes of more any two numberings, obtain its next one numbering by a numbering, all well-regulated code combinations that can obtain middle numbering by any two numberings all meet the requirements.
Fig. 5 shows the block diagram of data interaction system according to an embodiment of the invention.
As shown in Figure 5, data interaction system 500 comprises the message dispensing device 300 in above-mentioned arbitrary technical scheme and the message receiving apparatus 400 in above-mentioned arbitrary technical scheme according to an embodiment of the invention.
Wherein, message dispensing device is responsible for:
1. organizing messages
2. add unique serial number to the message of same message receiving apparatus.
3. the message sent recently and numbering corresponding to message are carried out association store.
4. open numbering inquiry service, message receiving apparatus can pass through this service, finds the up-to-date message numbering sending to this message receiving apparatus of message dispensing device.
5. turn-on data access service, message receiving apparatus can pass through this service, obtains message body by message numbering.
Wherein, as shown in Figure 6, message transmission flow comprises:
Step 602, organizing messages.
Step 604, checks the message numbering that sent to this message receiving apparatus last time and this numbering+1.
Step 606, sends to message receiving apparatus message and numbering composition new information.
Step 608, the local message numbering storing this message and correspondence.
Wherein, message receiving apparatus is responsible for:
1. accept message by link.
2. obtain by the mode of numbering School Affairs timing heartbeat the message numbering that oneself loses message.
3. send numbering to message dispensing device, fetched the message of loss by numbering.
Wherein, as shown in Figure 7, message sink flow process comprises:
Step 702, monitoring reception port, obtains the message that transmitting terminal sends.
Step 704, is dealt into message in receiving queue and goes.
Step 706, repeats step 702 and step 704.
Be numbered numeral number to send below, describe technical scheme of the present invention in detail.
As shown in Figure 8, the idiographic flow of message receival method comprises (wherein, if latest news is numbered n, being initially 0) according to an embodiment of the invention:
Step 802, judging whether there is message in receiving queue, when judged result is for being, entering step 804, when judged result is no, enters step 806.
Step 804, goes head of the queue message.
Step 806, whether m constantly detects receiving queue in second has new information.
Step 808, has judged whether new information, when judged result is for being, enters step 804, when judged result is no, enters step 826.
Step 810, judging message numbering whether large than n 1, when judged result is for being, entering step 812, when judged result is no, enters step 814.
Step 812, cancels and ceases and resolve.
Step 814, judging that whether message numbering is larger than n, when judged result is for being, entering step 818, when judged result is no, enters step 816.
Step 816, give up this message, n is constant.
Step 818, obtains being clipped in the message numbering between 2 numbers with message numbering n.
Step 820, provides the message numbering of previous step to message dispensing device, obtain the message that these message numberings are corresponding.
Step 822, makes the message numbering that n equals up-to-date in these message.
Step 824, resolves these message successively.
Step 826, to the message numbering that the request of message dispensing device is up-to-date.
Step 828, judging that whether up-to-date message numbering is consistent with n, when judged result is for being, returning step 802, when judged result is no, enters step 830.
Step 830, calculates the message numbering do not received.
More than be described with reference to the accompanying drawings technical scheme of the present invention, by technical scheme of the present invention, message can have been made under unreliable link to carry out transmitting, thus guarantee the safety and reliability of transmission.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (21)

1. a message dispensing device, is characterized in that, comprising:
Statistic unit, statistics is sent to multiple transmission message of same message receiving apparatus;
Numbering allocation units, be connected to described statistic unit, according to the sending order of preset numbers allocation order and described multiple transmission message, for each transmission message in described multiple transmission message distributes corresponding transmission numbering, wherein, described each transmission message has unique transmission numbering, and the transmission numbering transmission corresponding with adjacent transmission message corresponding to described each transmission message is numbered continuously;
Interactive unit, be connected to described numbering allocation units, according to the sending order of described multiple transmission message, described each transmission message and the transmission corresponding with described each transmission message are numbered and is sent to described message receiving apparatus, determine the transmission message do not received for the transmission numbering that described message receiving apparatus is corresponding according to described preset numbers allocation order and the transmission message received.
2. message dispensing device according to claim 1, is characterized in that, also comprise:
Memory cell, is connected to described numbering allocation units, each transmission message in described multiple transmission message and the transmission corresponding with described each transmission message is numbered and carries out association store.
3. message dispensing device according to claim 2, is characterized in that, described interactive unit also for:
When receiving arbitrary transmission numbering that described message receiving apparatus sends, from all transmission numberings of described cell stores, find out and number the target of mating and send with described arbitrary transmission and number, and obtain to send with described target and number the target be associated and send message, and described target transmission to be numbered and described target transmission message is sent to described message receiving apparatus.
4. message dispensing device according to claim 1, is characterized in that, described interactive unit also for:
Receive the up-to-date transmission numbering inquiry request that described message receiving apparatus sends, and
According to described up-to-date transmission numbering inquiry request, inquire about the up-to-date up-to-date transmission numbering being sent to described message receiving apparatus of described message dispensing device, and described up-to-date transmission numbering is sent to described message receiving apparatus, determine whether there is according to described up-to-date transmission numbering the transmission message do not received for described message receiving apparatus.
5. message dispensing device according to any one of claim 1 to 4, is characterized in that, the described type sending numbering comprises numeral number and/or alpha code.
6. a message receiving apparatus, is characterized in that, comprising:
Interactive unit, the multiple transmission message and the transmission corresponding with each transmission message in described multiple transmission message that receive the transmission of described message dispensing device are numbered;
Determining unit, is connected to described interactive unit, according to the reception order of preset numbers allocation order with the transmission numbering received, determines the transmission message that described message receiving apparatus does not receive.
7. message receiving apparatus according to claim 6, is characterized in that, described interactive unit also for:
The multiple transmission message received are sent in described message sink queue;
Described message receiving apparatus also comprises:
Judging unit, is connected to described interactive unit, judges whether there is transmission message in described message sink queue according to prefixed time interval;
Acquiring unit, is connected to described judging unit, is when there is described transmission message in described message sink queue in judged result, and the current head of the queue obtained in described message send queue sends message;
Comparing unit, is connected to described acquiring unit, sends message numbering compare according to described preset numbers allocation order by corresponding with the transmission message that the last time resolves for the first corresponding for described current head of the queue transmission message transmission numbering second; And
Described determining unit specifically for:
According to described first send message and described second send the comparative result of message determine described first send numbering and described second send number between whether there are other that do not receive and send and number, to determine whether there is the transmission message do not received.
8. message receiving apparatus according to claim 7, is characterized in that, described interactive unit also for:
Be when there is not described transmission message in described receiving queue in judged result, send up-to-date transmission numbering inquiry request according to prefixed time interval to described message dispensing device;
Described comparing unit also for:
When receiving up-to-date the transmissions numbering that described message dispensing device sends, according to described preset numbers allocation order described up-to-date transmission to be numbered and described current head of the queue sends described first of message and sends numbering and compare;
Described determining unit also for:
According to described first send numbering and the described up-to-date comparative result sending numbering determine described up-to-date transmissions numbering and described first send whether to exist between numbering do not receive described in other send and number, to determine whether there is the transmission message do not received.
9. message receiving apparatus according to claim 8, is characterized in that, described interactive unit also for:
When between described first sends numbering and described second transmission is numbered, described other of existence send numbering, described other are sent numbering and is sent to described message dispensing device, search for described message dispensing device and send described other send numbering corresponding send a message to described message receiving apparatus, and
Receive the transmission message of other transmission numbering correspondences described that described message dispensing device sends.
10. message receiving apparatus according to claim 8, is characterized in that, described determining unit specifically for:
Time before the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, the transmission message sending numbering corresponding by described first is given up, and determine described first send numbering and described second send number between there are not other that do not receive and send and number;
After the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, and described first send numbering and described second sends the numbering allocation order of number adjacent time, determine described first transmission number and described second send number between there are not other that do not receive and send and number;
After the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, and described first send numbering with described second send the numbering allocation order of numbering non-conterminous time, determine described first send numbering and described second sends number between there are other that do not receive and send and number, and send according to described first the numbering allocation order that the numbering allocation order of numbering and described second transmission number and determine that other transmissions do not received are numbered; And
Described first send numbering with described up-to-date send number consistent time, determine to there is not the transmission message do not received;
Described first send numbering with described up-to-date send number inconsistent time, determine to there is the transmission message do not received, and send the numbering allocation order of numbering and described up-to-date other transmission numberings sending the numbering allocation order of numbering and determine not receive according to described first.
11. 1 kinds of message methods, is characterized in that, comprising:
Statistics is sent to multiple transmission message of same message receiving apparatus;
According to the sending order of preset numbers allocation order and described multiple transmission message, for each transmission message in described multiple transmission message distributes corresponding transmission numbering, wherein, described each transmission message has unique transmission numbering, and the transmission numbering transmission corresponding with adjacent transmission message corresponding to described each transmission message is numbered continuously;
According to the sending order of described multiple transmission message, described each transmission message and the transmission corresponding with described each transmission message are numbered and is sent to described message receiving apparatus, determine the transmission message do not received for the transmission numbering that described message receiving apparatus is corresponding according to described preset numbers allocation order and the transmission message received.
12. message methods according to claim 11, is characterized in that, also comprise:
Each transmission message in described multiple transmission message and the transmission corresponding with described each transmission message are numbered and carries out association store.
13. message methods according to claim 12, is characterized in that, also comprise:
When receiving arbitrary transmission numbering that described message receiving apparatus sends, from all transmission numberings stored, find out and number the target of mating and send with described arbitrary transmission and number, and obtain to send with described target and number the target be associated and send message, and described target transmission to be numbered and described target transmission message is sent to described message receiving apparatus.
14. message methods according to claim 11, is characterized in that, also comprise:
Receive the up-to-date transmission numbering inquiry request that described message receiving apparatus sends; And
According to described up-to-date transmission numbering inquiry request, inquire about the up-to-date up-to-date transmission numbering being sent to described message receiving apparatus of described message dispensing device, and described up-to-date transmission numbering is sent to described message receiving apparatus, determine whether there is according to described up-to-date transmission numbering the transmission message do not received for described message receiving apparatus.
15., according to claim 11 to the message method according to any one of 14, is characterized in that, the described type sending numbering comprises numeral number and/or alpha code.
16. 1 kinds of message receival methods, is characterized in that, comprising:
The multiple transmission message and the transmission corresponding with each transmission message in described multiple transmission message that receive the transmission of described message dispensing device are numbered;
According to the reception order of preset numbers allocation order with the transmission numbering received, determine the transmission message that described message receiving apparatus does not receive.
17. message receival methods according to claim 16, is characterized in that, also comprise:
The multiple transmission message received are sent in described message sink queue;
Judge whether there is transmission message in described message sink queue;
Be when there is described transmission message in described message sink queue in judged result, the current head of the queue obtained in described message send queue sends message;
Send message numbering according to described preset numbers allocation order by corresponding with the transmission message that the last time resolves for the first corresponding for described current head of the queue transmission message transmission numbering second to compare; And
According to described first send message and described second send the comparative result of message determine described first send numbering and described second send number between whether there are other that do not receive and send and number, to determine whether there is the transmission message do not received.
18. message receival methods according to claim 17, is characterized in that, also comprise:
Be when there is not described transmission message in described receiving queue in judged result, send up-to-date transmission numbering inquiry request according to prefixed time interval to described message dispensing device;
When receiving up-to-date the transmissions numbering that described message dispensing device sends, according to described preset numbers allocation order described up-to-date transmission to be numbered and described current head of the queue sends described first of message and sends numbering and compare;
According to described first send numbering and the described up-to-date comparative result sending numbering determine described up-to-date transmissions numbering and described first send whether to exist between numbering do not receive described in other send and number, to determine whether there is the transmission message do not received.
19. message receival methods according to claim 18, is characterized in that, also comprise:
When between described first sends numbering and described second transmission is numbered, described other of existence send numbering, described other are sent numbering and is sent to described message dispensing device, search for described message dispensing device and send described other send numbering corresponding send a message to described message receiving apparatus, and
Receive the transmission message of other transmission numbering correspondences described that described message dispensing device sends.
20. message receival methods according to claim 18, it is characterized in that, according to described first send message and described second send the comparative result of message determine described first send numbering and described second send number between whether there are other that do not receive and send and number, specifically comprise:
Time before the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, the transmission message sending numbering corresponding by described first is given up, and determine described first send numbering and described second send number between there are not other that do not receive and send and number;
After the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, and described first send numbering and described second sends the numbering allocation order of number adjacent time, determine described first transmission number and described second send number between there are not other that do not receive and send and number;
After the described first numbering allocation order sending numbering is positioned at the numbering allocation order of described second transmission numbering, and described first send numbering with described second send the numbering allocation order of numbering non-conterminous time, determine described first send numbering and described second sends number between there are other that do not receive and send and number, and send according to described first the numbering allocation order that the numbering allocation order of numbering and described second transmission number and determine that other transmissions do not received are numbered; And
Described according to described first send numbering and the described up-to-date comparative result sending numbering determine described up-to-date transmissions numbering and described first send whether to exist between numbering do not receive described in other send and number, specifically comprise:
Described first send numbering with described up-to-date send number consistent time, determine to there is not the transmission message do not received;
Described first send numbering with described up-to-date send number inconsistent time, determine to there is the transmission message do not received, and send the numbering allocation order of numbering and described up-to-date other transmission numberings sending the numbering allocation order of numbering and determine not receive according to described first.
21. 1 kinds of message exchange system, is characterized in that, comprising:
Message dispensing device according to any one of claim 1 to 5; With
Message receiving apparatus according to any one of claim 6 to 10.
CN201410413075.2A 2014-08-20 2014-08-20 Message-sending device and method, message-receiving device and method, and message interaction system Pending CN105450365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410413075.2A CN105450365A (en) 2014-08-20 2014-08-20 Message-sending device and method, message-receiving device and method, and message interaction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410413075.2A CN105450365A (en) 2014-08-20 2014-08-20 Message-sending device and method, message-receiving device and method, and message interaction system

Publications (1)

Publication Number Publication Date
CN105450365A true CN105450365A (en) 2016-03-30

Family

ID=55560197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410413075.2A Pending CN105450365A (en) 2014-08-20 2014-08-20 Message-sending device and method, message-receiving device and method, and message interaction system

Country Status (1)

Country Link
CN (1) CN105450365A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027379A (en) * 2016-07-28 2016-10-12 贵州中科汉天下信息技术有限公司 Push message receiving processing method
CN109040118A (en) * 2018-09-06 2018-12-18 北京达佳互联信息技术有限公司 Message treatment method, device, electronic equipment and storage medium
CN111083145A (en) * 2019-12-18 2020-04-28 北京华宇信息技术有限公司 Message sending method and device and electronic equipment
CN111953618A (en) * 2020-08-21 2020-11-17 锐捷网络股份有限公司 Disorder-removing method, device and system under multistage parallel exchange architecture
CN114020495A (en) * 2021-11-10 2022-02-08 中国建设银行股份有限公司 Information processing system, method, device, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040100964A1 (en) * 2002-11-27 2004-05-27 Robotham Robert E. System and method for detecting lost messages transmitted between modules in a communication device
CN101656756A (en) * 2009-09-17 2010-02-24 中国科学院声学研究所 File transferring method with self-adaptive control of transmission speed and system thereof
CN102132515A (en) * 2008-08-20 2011-07-20 三星电子株式会社 Apparatus and method for generating automatic repeat request (arq) feedback message in wireless communication system
CN102571635A (en) * 2012-01-18 2012-07-11 浪潮(北京)电子信息产业有限公司 Message transmission method and equipment
CN102655449A (en) * 2012-03-31 2012-09-05 杭州再灵电子科技有限公司 Communication method of modem
CN103220206A (en) * 2012-01-19 2013-07-24 阿里巴巴集团控股有限公司 Message sending method and device and message receiving method and device
CN103561394A (en) * 2013-11-08 2014-02-05 惠州Tcl移动通信有限公司 Method and system for sending message

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040100964A1 (en) * 2002-11-27 2004-05-27 Robotham Robert E. System and method for detecting lost messages transmitted between modules in a communication device
CN102132515A (en) * 2008-08-20 2011-07-20 三星电子株式会社 Apparatus and method for generating automatic repeat request (arq) feedback message in wireless communication system
CN101656756A (en) * 2009-09-17 2010-02-24 中国科学院声学研究所 File transferring method with self-adaptive control of transmission speed and system thereof
CN102571635A (en) * 2012-01-18 2012-07-11 浪潮(北京)电子信息产业有限公司 Message transmission method and equipment
CN103220206A (en) * 2012-01-19 2013-07-24 阿里巴巴集团控股有限公司 Message sending method and device and message receiving method and device
CN102655449A (en) * 2012-03-31 2012-09-05 杭州再灵电子科技有限公司 Communication method of modem
CN103561394A (en) * 2013-11-08 2014-02-05 惠州Tcl移动通信有限公司 Method and system for sending message

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唯贤: "即时消息用户行为和网络特征的分析", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027379A (en) * 2016-07-28 2016-10-12 贵州中科汉天下信息技术有限公司 Push message receiving processing method
CN109040118A (en) * 2018-09-06 2018-12-18 北京达佳互联信息技术有限公司 Message treatment method, device, electronic equipment and storage medium
CN111083145A (en) * 2019-12-18 2020-04-28 北京华宇信息技术有限公司 Message sending method and device and electronic equipment
CN111953618A (en) * 2020-08-21 2020-11-17 锐捷网络股份有限公司 Disorder-removing method, device and system under multistage parallel exchange architecture
CN111953618B (en) * 2020-08-21 2022-07-19 锐捷网络股份有限公司 Method, device and system for de-ordering under multistage parallel exchange architecture
CN114020495A (en) * 2021-11-10 2022-02-08 中国建设银行股份有限公司 Information processing system, method, device, equipment and medium

Similar Documents

Publication Publication Date Title
EP3298824B1 (en) Method and apparatus for managing buffer in wireless communication system
CN105450365A (en) Message-sending device and method, message-receiving device and method, and message interaction system
CN106550318A (en) A kind of processing method and terminal in the conflict of direct mode operation lower channel
CN107634964B (en) WAF (Wireless Access Filter) testing method and device
CN109274592B (en) MAC address table item processing method and device and computer readable medium
WO2014190738A1 (en) System and method for locating a mobile device
CN112579515B (en) Thread message processing method and related product
CN104320162B (en) Method for synchronizing contact persons, intelligent mobile terminal and mobile terminal
CN105391629B (en) A kind of method and device of resource backup
CN104541536A (en) Method, user equipment and base station for detecting device to device signals
CN104092632A (en) Network equipment
CN102891851A (en) Access control method, equipment and system of virtual desktop
US20160286583A1 (en) Method for terminal accessing base station, and apparatus
RU2013115879A (en) DEVICE, METHOD AND SYSTEM FOR INSERTING NOTIFICATIONS
CN104935614B (en) Data transmission method and device
US20150256383A1 (en) Method for transiting operation mode of routing processor
CN106487988A (en) A kind of method and system realizing terminal control
CN109617817B (en) Method and device for generating forwarding table entry of MLAG networking
US20170116046A1 (en) Method, Device for Setting System Data and Terminal
CN101286991B (en) Implementing method and device for dynamic host configuring protocol Option82
EP3220607A1 (en) Service data processing method, device and system
CN113794620A (en) Message sending method, device, equipment, system and storage medium
CN106302728A (en) Household equipment long-range control method and device
CN102571277A (en) Method and device for sending serial number detection message
US9307509B1 (en) Transmitting radio signals using simultaneous retransmission

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160330

RJ01 Rejection of invention patent application after publication